Error #1009:appears when trying to moveti another frame
Hi, I have a short animated intro that is added as a child to the stage. At the end of the animation this is my code:
stop();
stage.addEventListener(Event.ENTER_FRAME, goNext);
function goNext(e:Event):void{
MovieClip(parent).gotoAndStop("menu");
after a few seconds I get this in my ouput window:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Flute/frame450()Frame 450 is the last frame on the intro
I have a skip intro button that appears when the intro is playing. If I use that button it moves to my next label("menu")
with no error.
I shifted to the stage event listener thinking that might identify the MovieClip.
Any suggestions as to how I can solve this.
Thanks
ok, going back to the link i referenced above....let me explain a little further.....
in my FIRST post on that thread, i have the code i was using.....
look at the line:
bg.addChild(bgloader);
bg is the instance name for a movie clip on my stage....the movie clip is just a shape i drew, and then 0 the alpha out....it acts as the container for my SWFS
now, notice at the top of the code, and below we have :
var Xpos:Number=0; // this is setting the x and y coordinate for your loader ( i named mine bgloader )
var Ypos:Number=0;
var swf:MovieClip;
and
bgloader.x=Xpos; // this is where it tells your swf where to load in the movie clip
bgloader.y=Ypos;
so what you want to do is create a shape, and make it as big as the area you want the intro to be ( im assuming the size of your stage )
once you make the shape, convert it to a movie clip...go inside the movieclip and 0 out the alpha...
when you click the shape that is in the movie clip, in the properties tab it should tell you the x and y coordinates are 0....if you move the shape, it will change the coordinates....
give the movie clip an instance name of "holder"
try this code:
var Xpos:Number=0;
var Ypos:Number=0;
var swf:MovieClip;
var loaderA:Loader = new Loader();
var reqAURL;
reqA=new URLRequest("Nu_flute_intro.swf");
loaderA.load(reqAURL);
loaderA.x=Xpos;
loaderA.y=Ypos;
holder.addChild(loaderA);
stop();
loaderA.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
function loaderCompleteHandler(event:Event) {
(event.currentTarget.content as MovieClip).addEventListener("eventTriggered", eventHandler);
function eventHandler(event:Event):void {
gotoAndPlay("your frame label goes here");
just keep this in your external swf
stop();
dispatchEvent(new Event("eventTriggered"));
Similar Messages
-
Error message appears when trying to start server in VM Manager
Error message appears when trying to start server in VM Manager
OVMAPI_4005E No worker server found to perform operation on: OracleVMsrv-1
When trying to restart server:
OVMRU_004007E Cannot perform the operation. Server: OracleVMsrv-1, is not running.Hey SDGardella,
Thanks for the question. I understand that you are receiving error 499 when attempting to download purchases from the iTunes Store. The following resource outlines this error message:
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
"Error 499"
This alert occurs due to security software. Follow iTunes for Windows: Troubleshooting security software issues.
Thanks,
Matt M. -
Error(-9808) appears when trying to install ipad
when instaling ipad error(-9808) appears and says to try again later any suggests
In the course of your troubleshooting to date, have you worked through the following document?
iTunes Store: "An unknown error occured (-9808)" -
I downloaded an album I purhcased a few days ago but one of the album's songs did not download. I received an error message, #499, for which I can get no explanation or interpretation of what error #499 even is (other than generic terms). All my efforts to re-start the download have failed. I've tried several times to download the file to no avail, tried the cloud service to no avail, and re-started the computer to no avail.
My main intention is to, of course, get the download completed. My secondary intention is to, hopefully, bring to the attention of Apple - iTunes staff, the grossly inadequate, dare I say cryptic, error message descriptions iTunes displays.
I can provide the purchase receipt number if it is required.Hey SDGardella,
Thanks for the question. I understand that you are receiving error 499 when attempting to download purchases from the iTunes Store. The following resource outlines this error message:
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
"Error 499"
This alert occurs due to security software. Follow iTunes for Windows: Troubleshooting security software issues.
Thanks,
Matt M. -
Error message appears when trying to open recently updated itunes
Updated to newest Itunes...when i try to open i get this error message and it won't open:
An unhandled win32 exception occurred in iTunes.exe [1564]. Just-In Time debugging this exception failed with the following error: No installed debugger has Just-In -Time debugging enabled. In Visual Studio,Just-In -Time debugging can be enabled from Tools/Option/Debugging/Just-In-Time. Check the documentation index for "just-in-time, errors' for more informationMessage numbers in the 13000 range are usually do to a problem with Genius. I have seen 2 totally different fixes posted here in the forums. edit - Sounds like you already tried method 1.
*Method 1*
Rename these files, or delete them
iTunes Library Genius.itdb
iTunes Library Extras.itdb
Try opening iTunes again. And turn off Genius as fast as you can. You can turn it back on later, but first get iTunes running.
*Method 2*
Go to Control Panel > Add/Remove Programs
Choose iTunes, press the Change button and then the repair button.
Message was edited by: Katrina S. -
HELP! Error (-50) appearing when trying to sync ipod and shuffle
The story so far....
My ipod has recently been playing up (cutting songs short etc), at the same time I bought a shuffle online. When I recently plugged both of these into my itunes it's been playing up. Im not sure if this is just coincidence or if the shuffle/ipod classic are not working.
Whe trying to sync my itunes with either of my devices I get so far then they both come up with the unknown error (-50).
I have been reading all the support from previous discussions and have tried the following but with no avail!!
Removed and reinstalled itunes as per apple recommnedations
removed all security protection from my computer
Checked apple mobile device USB
Restored ipod classic to factory settings (now no music on it!!!)
I have been through "Help > run diagnostics" and it looks like the ipod is recognised sometimes and not others
I have checked the SMART data:
Retracts: 1
Reallocs 8528
Pending Sectors: 112
Power On hours: 29
Start/Stop: 4501
Temp Min: 10c
Temp Max: 56c
I have all my music on an external hardrive. I have a PC laptop with Windows XP. I have previously had no problems with syncing itunes etc. Im worried about plugging my iphone 4 into my computer in case anything else goes wrong would I be able to?
Previously some music was transferring on (manually) but then it slowed right down and gave me the (-50) error and when I disconnected the ipod (did not eject but never have done previously) all the music was gone!
Please please please help before I lose the will!!!
Many thanks in advance for anyone who knows their itunes/ipod inside out!
JCCI have also done this:
regsvr32 /s softpub.dll
regsvr32 /s wintrust.dll
regsvr32 /s dssenh.dll
regsvr32 /s rsaenh.dll
regsvr32 /s gpkcsp.dll
regsvr32 /s sccbase.dll
regsvr32 /s slbcsp.dll
regsvr32 /s mssip32.dll
regsvr32 /s cryptdlg.dll
regsvr32 /s initpki.dll
as per apple support. -
Error message appears when trying to log onto itunes:
itunes could not connect to the itunes store. The network connection timed out.
Make sure your network settings are correct and your network connection is active, then try again.Hey SDGardella,
Thanks for the question. I understand that you are receiving error 499 when attempting to download purchases from the iTunes Store. The following resource outlines this error message:
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
"Error 499"
This alert occurs due to security software. Follow iTunes for Windows: Troubleshooting security software issues.
Thanks,
Matt M. -
Need to change a barcode: Error message appear when trying to update
Hello,
I need to change a barcode on the master data screen. When I take out the barcode and choose update I get an error message:
This entry already exists in the following tables "(AIT3) (ODBD-2035) (Message 131 - 183)
Please advise how to proceed?
Kind regards,
Ilze FourieHi,
Please refer SAP note:1844928 - This entry already exists in the following tables
AIT3
Run attached query in note, if any result, raise ticket to SAP support.
Thanks & Regards,
Nagarajan -
"Unknown error" (with no error code) appears when trying to buy music on iPhone 4
I am attempting to buy music on the iTunes app on my iPhone 4 and a message appears saying "unknown error." With the options of cancel or retry. There is no error code or anything. I'm not sure how to fix this problem. My iPhone is complete updated.
Try here since error 14 is one of the listed errors:
http://support.apple.com/kb/TS1275
(Update and restore alert messages on iPhone, iPad, and iPod touch) -
Hi all, I'm trying this morning to make the backup of my iPhone from 32 gigabytes. When I start the synchronization and backup I get written'' iTunes could not back up iPhone because an error occurred. I tried it on another iphone (4) and everything works fine. I can not reset the device because I have too much important data on it. Please help me.
Salve a tutti, sto cercando da stamattina di effettuare il Backup del mio IPhone da 32 gigabyte. Quando avvio la sincronizzazione e il Backup mi esce scritto '' iTunes non ha potuto eseguire il backup di Iphone perche si è verificato un errore. Ho provato su un altro iphone (4) e tutto funziona correttamente. Non posso ripristinare il dispositivo perchè ho troppi dati importanti sopra. Vi prego aiutatemi.Ok I tried to delete the backup by using your location via preferences, but I did not find any file, maybe because I've already deleted following the path to the disk. I repeat that I have 2 devices and the problem only occurs on one
-
when i try to download an apps a message error 1009 appear ,please help me,what i have to do
plishing/scam. I would go to Settings>Safari and Clear Cookies. Data and History and not go to that site for a while. Seems like an infected site.
See this previous discussion on same symptom
https://discussions.apple.com/thread/6042028?tstart=0 -
Iphone 5 IOS6.0.1 Error appears when trying to connect to Itunes Store
Iphone 5 IOS6.0.1 Error appears when trying to connect to Itunes Store as Cannot connect to Itunes Store
you are not alone! I get the same for weeks now and I got an itunes voucher for xmas!
enjoy ecuador you lucky liucky barsteward, I have been to honduras/belize/mexico/guatemala/peru/bolivia/chili but ecuador is meant to be BRILLIANT
so to recap obviously some glitch at apple!, sorry I couldn't help -
Error #1009 When trying to return to frame 1
I am getting an error #1009 "Cannot access a property or method of a null object reference." Frame one is not empty. I have buttons in frame 1 that use this code to gotoAndStop on frames 5,10,25...they work just fine. I only get the error when trying to return to frame 1 from those locations. Can someone help me out with this issue?
stop();
btn_rtni.addEventListener(MouseEvent.CLICK, mainBooth_1);
function mainBooth_i(MouseEvent):void {
gotoAndStop(1);I allowed "debugging" and this is the error that appreared. But I still don't get what the problem is or how to correct it. Most of my content is in frame 1, so I don't understand why it's returning null. Any advice would be appreciated.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at VB_NABR_fla::MainTimeline/frame1()[VB_NABR_fla.MainTimeline::frame1:93] -
How do I fix Error Code 4260 when trying to burn a CD from the iTunes library, please? Previously I had no problem. Thanks.
I am having the same problem. Did you resolve this error?
-
Error code 0x80070BC9 when trying to install itunes
I'm getting error code 0x80070BC9 when trying to install iTunes
These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? Are they also 80070BC9, or some other number? (If they're another number, what number are you getting?)
Maybe you are looking for
-
Doubt Regarding MIGO Transaction
Hi, Where exactly the source code of MIGO transaction fills these two fields : BED , SED (Note: Under the Tab Excise Invoice). Thanks & Regards, Lakshmi.
-
How do I print a specific sized picture.
I'm trying to print a picture to fit in a frame size of 6 5/8 X 4 5/8. (6.625 X 4.625). The size of the picture in pixels is 416 X 288. The width is more important than the height. I've used the "constrain" feature in iPhoto, to constrain the size to
-
Can i put a 750GB seagate HDD in my Macbook Pro?
I want to upgrade my stock 320GB drive in my Mcbook Pro 2.3 GHz i5
-
Acrobat X Pro PDF Portfolio does not display video correctly
Windows XP Acrobat X Pro SWF file, also SWF file converted to PDF I am trying to place an SWF file in a portfolio so that the first frame of the video will be visible as the user pages through the portfolio. All I see is a white screen. When I double
-
How can I re-open a pdf file which I had downloaded and opened, then saved. I get a message "There was an error opening this document. There was a problem reading this document (14)." Richard 4420