Copy link to clipboard
Copied
Copy link to clipboard
Copied
click file>publish settings>swf>tick permit debugging. retest.
copy and past the complete error message and highlight the line of code mentioned in the error message.
Copy link to clipboard
Copied
TypeError: Error #1123: Filter operator not supported on type builtin.as$0.MethodClosure.
at midterm2013_fla::MainTimeline/frame85()[midterm2013_fla.MainTimeline::frame85:27]
at flash.display::MovieClip/gotoAndStop()
at midterm2013_fla::MainTimeline/goGame0()[midterm2013_fla.MainTimeline::frame84:7]
when i click button to the right
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at midterm2013_fla::MainTimeline/frame105()[midterm2013_fla.MainTimeline::frame105:4]
at flash.display::MovieClip/gotoAndStop()
at midterm2013_fla::MainTimeline/goGame1()[midterm2013_fla.MainTimeline::frame84:13]
when i click left
Copy link to clipboard
Copied
that's 1/2 of what's needed to help you.
again, copy and past the complete error message and highlight the line of code mentioned in the error message. ie, frame85, line 27 and frame105, line 4.
Copy link to clipboard
Copied
the new error message reads :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at midterm2013_fla::MainTimeline/frame84()[midterm2013_fla.MainTimeline::frame84:17]
at flash.display::MovieClip/gotoAndStop()
at midterm2013_fla::MainTimeline/goGames()[midterm2013_fla.MainTimeline::frame31:23]
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at midterm2013_fla::MainTimeline/frame84()[midterm2013_fla.MainTimeline::frame84:17]
at flash.display::MovieClip/gotoAndStop()
at midterm2013_fla::MainTimeline/goGames()[midterm2013_fla.MainTimeline::frame31:23]
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at midterm2013_fla::MainTimeline/frame105()[midterm2013_fla.MainTimeline::frame105:4]
at flash.display::MovieClip/gotoAndStop()
at midterm2013_fla::MainTimeline/goGame1()[midterm2013_fla.MainTimeline::frame84:13]
Since I dont know what scene they are referring to, this is from the main timeline :
this is from the scene that isnt working :
Copy link to clipboard
Copied
frame 84 is the total frame number. if you 10 frames in your first scene, 20 in your second, 30 in your third and 40 in your 4th scene, frame 24 in your 4th scene is frame 84.
with that in mind, what are the first 17 lines of of frame 24. and again, copy and post is better than using a screenshot. use your keyboard shortcuts to copy and past.
Copy link to clipboard
Copied
1.game0Butt.addEventListener(MouseEvent.CLICK, goGame0); 2.game1Butt.addEventListener(MouseEvent.CLICK, goGame1); 3.homeButt.addEventListener(MouseEvent.MOUSE_UP, goHome); 4. 5.function goGame0(event:MouseEvent):void { 6. 7. gotoAndStop("game0"); 8. 9.} 10. 11.function goGame1(event:MouseEvent):void { 12. 13. gotoAndStop("game1"); 14.}
Copy link to clipboard
Copied
1. that's not easily legible. format your code. if you copy and paste formatting is usually preserved by this forum. you don't need to add line numbers. just bold line 17 if you include more than 17 lines of code.
2. if you have code in more than one layer the line numbers start are totaled in the order that your layers load (which, by default, is top-to-bottom, i think).
Find more inspiration, events, and resources on the new Adobe Community
Explore Now