Tacking this preloader on almost working - what's missing?
Hi
I found a cool preloader tutorial with a free preloader which I added onto my flash project. I did it by creating a new scene before my project scene, and adding the preloader to it.
The pre loader works fine, and my project all worked fine before I put the preloader on, but now after the preloader finishes, my site's buttons won't work and in Flash CS4 there is a compiler error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at website_fla::MainTimeline/frame2()
Take the preloader scene away, and my site works fine again.
Any idea what I need to do to make them work together?
Cheers
Shaun
Sorry - here it is:
01.import flash.events.ProgressEvent;
02.function update(e:ProgressEvent):void
03.{
04. var percent:Number = Math.floor( (e.bytesLoaded*100)/e.bytesTotal );
05. if(preloaderMC is MovieClip){
06. preloaderMC.gotoAndStop(percent);
07. }
08. if(percent == 100){
09. play();
10. }
11.}
12.loaderInfo.addEventListener(ProgressEvent.PROGRESS, update);
13.// Extra test for IE
14.var percent:Number = Math.floor( (this.loaderInfo.bytesLoaded*100)/this.loaderInfo.bytesTotal );
15.if(percent == 100){
16. nextFrame();
17.}
18.stop();
and here's the page it came from:
http://www.flashmagazine.com/tutorials/detail/how_to_make_a_custom_as3_preloader/
Cheers
Similar Messages
-
i am using windows xp profession sp3 os
when i open firefox it runs in background but does not open(see through task manager or one message "firefox is already running in background" when i again click the icon.)
if i disable the internet connection, immediately it opens. each and every time i do this when i start work. what kind of problem is this
== This happened ==
Every time Firefox opened
== i every time starts firefoxI had the same problem and it was because of my firewall settings, which I had set to block all activity and forgot to reset it.
-
Do we know what the root cause is for this issue ? Does it need a software update from apple to resolve ? I have a 3rd replacement phone arriving tomorrow, I'm losing confidence that I'll ever connect to the Wifi !
If it is a wifi connection that is most likly a software issue. Try this:
IOS Restore Steps
Before restoring:
Verify that you are using the latest version of iTunes.
Back up your device.
Transfer and sync content to your computer.
Restoring your iOS device
Connect your device to your computer.
Select your iPhone, iPad, or iPod touch when it appears in iTunes. Select the Summary tab, and click the Restore button.
Click Restore.
After a restore, the iOS device restarts. You should then see "Slide to set up". Follow the steps in the iOS Setup Assistant.
If needed, restore your device from a previous backup. -
Photoshop CS3 says "licensing for this product has stopped working"
I'm trying to open Photoshop CS3 and it is saying that "licensing for this product has stopped working", what can I do?
I no longer have the original discs on me, but have my serial #sDownload the Photoshop CS3 installer Max or PC here. You should be good to go.
Download CS3 products -
I'm having trouble buying a season pass for The Americans. I have purchased passes to Justified for the past 4 years with no problem. Can't figure out why this purchase won't work.
What is the problem that you are having ? If you are getting an error message then what does it say ?
-
When attempting to login to a GlasPac (auto glass) website, it requires an F5 Plugin to be installed. This has been working in the past using Firefox 3.x.x and now since I upgraded to Firefox 4.0.1 it says the plugin in not compatibable with Firefox 4 and will not load it so I am dead in the water !!!!!!! The FF 4.0 upgrade has caused this serious situation ... what needs to be done to rectify it ???
Thanx in advance ... DennyDo these hotfixes help you? http://support.f5.com/kb/en-us/solutions/public/12000/700/sol12757.html
-
I installed Mac OSX Snow Leopard 10.6.3 And now my Java is not working,what can I do to fix's this?
Run Software Update to get to 10.6.8 and update Java.
-
Why do I keep getting an error message from Digital Editions saying that it has encountered a problem and needs to close. I need this programme to download a text book from Proquest for University work what gives????
You are using ADE on Windows or Mac ? and their versions ??
Please restart your machine and try once again.
Thanks -
I'm trying to migrate my CS4 from my old Mac to my new one. When trying to open photoshop, i get a message saying "Licensing for this product has stopped working." And "Error: 150:30" I don't know what to do from here. Can someone help me? Thanks.
"Migrating" and/or "transferring" an application is not just asking for trouble but demanding it!
Always install an Adobe application from scratch, from the original media: CD or download. -
I am running CS6 on a 2014 21" IMac version 10.9.5. I have an earlier version of Illustrator on CS4. When launching the CS4 Illustrator the message says "License for this product has stopped working". What can I do to get this to work?
Mylenium,
Before downloading CS4 again, how do I uninstall the versions that are currently on my Mac?
Many thanks for your help! -
trying to add Itunes match, and am almost at the end of installation when an error message pops up. it says error 4010 cannot connect to ittunes store at this time try again later. what is the problem?
Contact Apple support for warranty service.
-
"the iPhoto library needs to be upgraded to work with this version of iPhoto." WHAT?
Ran software update a few weeks back and now I cannot seem to open iPhoto or access files within.
The error message as soon as I open up iPhoto reads: "the iPhoto library needs to be upgraded to work with this version of iPhoto."
What do I do to overcome this? What happens to the files in "UPGRADE?"
Should I be worried about the safety of the files during upgrade?Yes - you should always be worried about yoru files if they are important to you - never upgrade without backingup just in case (the normal case is no problem but you must be prepared)
LN -
i buy anew i phone 5 from ksa from karfor market to use in egypt
when i insert the sim inside i the i phon dosnt work and say the the sim card inserted in this i phone is not supported
so i try the sim in another i phone it work
what can i do for this proplemThe iphone where the sim didn't work is probably locked to a carrier. You need to contact the carrier of that phone. If it's unlocked, then I'm not sure what the problem is, given that the sim works in another phone.
-
when I make a call or recieve a call, the voice of the other person is not heard. but speaker phone works. what could be the trouble. could you please help me in resolving this? iPhone 4, iOS 6.1.3.i had purchased my iphone 4 factory unlocked from usa last month.i am from india so will any apple service centre help me for this issue?
They will help you just make sure that you make a appointment before you go into the store. Also if the iPhone needs to be replaced and you are not within your year of hardware coverage, that is when they will ask you to pay a fee.
-
What does "licensing for this product has stopped working, Error 150:30" indicte?
My CS4 has stopped working. I get the message..." licensing for this product has stopped working, Error 150:30" After taking all the steps listed and uninstalling CS4 and Reinstalling it I finally got it working again ( which took a couple of hours of down time) Now ...every time I turn my computer off and back on, I get the same message again, and must go thru the 2 hours "fix"... any suggestions. Adobe Support has been less than helpful with this... which is unusual.
PhotodebPhotoDeb, I have the same problem with my CS4 suite. I get the 150:30 error, "licensing has stopped working."
Fortunately, I'm subscribed to CC, so I can still open all CS4 files with CC apps.
BUT, I DO want to get my CS4 working again.
Have you been successful yet, in getting your CS4 back to working as it should?
I tried downloading the "License Repair Tool" [www.adobe.com/support/contact/licensing.html] file from Adobe, but it didn't work.
I have read that if it is downloaded with Safari (as I did), it won't work; that it has to be downloaded with Chrome or a browser other than Safari.
Also, I deleted the FLEXnet Publisher preferences folder. But, I now wish I had simply moved it to the Desktop, instead of trashing it entirely.
So far, I haven't done anything about reinstalling CS4.
QUESTION: From what you've learned, is it recommended to UNinstall CS4 suite (like you did) BEFORE reinstalling it?
Maybe you are looking for
-
In PDF Booklet printing how do I ensure that center column (for binding) is properly aligned?
-
Hi ... I was doing soap to Java Proxy scenario.I have deployed the ear file in the server. Then while executing the sceanrio, in SXMB_MONI i am getting the below error. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!-- Inbound Mess
-
BC Forum Module feedback?
Can anyone share their experience with using the BC forum module? Does it work and would you recommend it? Are there any known problems or issues with BC Forums that I should be aware of? Any honest input would be appreciated. Thank you!
-
Troubleshooting Ethernet socket
My Airport card's been giving me fits, so I've tried to connect an ethernet cable to my router, but get no connectoin. The G4 keeps telling me there's no cable connected. When I connect the same cable to another device (Xbox), it works fine. This lea
-
Time Machine - system won't recognise previous backup
Hi there, I have just restored my iMac with a clean install of ML. I particularly wanted a clean install as my TM backups were reporting massive and impossible file sizes, so I skipped the Migration Assistant's offer and proceeded as normal. Now