-
1. Re: ArgumentError: Error #2109: Frame label <BUTTON INSTANCE NAME> not found in scene <SCENE NAME>.
kglad Sep 2, 2011 8:33 PM (in response to adobe1kenobe066)you don't have a frame labeled "nGallery_btn". when you click that button and execute:
gotoAndStop(evtObj.target.name);
you're generating that error. fix it.
-
2. Re: ArgumentError: Error #2109: Frame label <BUTTON INSTANCE NAME> not found in scene <SCENE NAME>.
adobe1kenobe066 Sep 22, 2011 1:18 PM (in response to kglad)I know I'm generating that error. That's not very helpful.
And I know I need to fix it. That's not very helpful either.
At one point I did LABEL, or NAME [I'm assuming naming a frame and lableling a frame are the same thing; unless I'm missing something?] a frame with the 'nGallery_btn' naming scheme, and then I apporiately targted the frame label/name with, 'nGallery_btn.addEventListener (MouseEvent.CLICK,pageSelect);' and so forth, and it only gave me more errors and on top of that it STOPPED working correctly.
Remember with the above script in my original post, it was giving me 'ArguementErrors' but not real 'Errors' (that would stop it from working). It seems that getting ArguementErrors still allows your SWF to work, but it's just that Flash is telling you it doesn't like how you scripted something, but it won't stop the SWF from functioning, whereas a true Error will stop it from functioning.
So please try to keep in mind that the SWF works as it is, but it's giving me ArguementErrors, not Errors.
So I just want to clean up the script so that I illiminate the ArguementErrors.
-
3. Re: ArgumentError: Error #2109: Frame label <BUTTON INSTANCE NAME> not found in scene <SCENE NAME>.
kglad Sep 22, 2011 4:19 PM (in response to adobe1kenobe066)add a frame label (nGallery_btn) to the timeline that contains that code.



