Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error In action script couldnt fine scene.

New Here ,
Sep 30, 2017 Sep 30, 2017

/*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");

244
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2017 Oct 01, 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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2017 Oct 01, 2017
LATEST

Also, scenes are case sensitive.

Image 1176.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines