Skip to main content
Participant
October 1, 2017
Question

Error In action script couldnt fine scene.

  • October 1, 2017
  • 2 replies
  • 275 views

/*This is the error*/

ArgumentError: Error #2108: Scene homepage was not found.

at flash.display::MovieClip/gotoAndPlay()

at projek_ten10_fla::MainTimeline/fl_ClickToGoToScene_10()[projek_ten10_fla.MainTimeline::frame1:13]

/* This Is my action script*/

homebut10.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_10);

function fl_ClickToGoToScene_10(event:MouseEvent):void

{

MovieClip(this.root).gotoAndPlay(1, "homepage");

This topic has been closed for replies.

2 replies

Participating Frequently
October 1, 2017

Also, scenes are case sensitive.

kglad
Community Expert
Community Expert
October 1, 2017

you don't have a scene named 'homepage'.  fix that.

using copy and paste (from actionscript to your properties panel, or vice-versa is the best way to fix it).