Skip to main content
Known Participant
March 10, 2013
Answered

Help please - ArgumentError: Error #2108

  • March 10, 2013
  • 1 reply
  • 3809 views

Hi, I am new to flash cs3 and for my clas project we have to do a flash product. I have made a movie clip which has a button inside and I have coded the button to open another scene but I keep getting ArgumentError: Error #2108: Scene Contactsvid was not found whenever I test it. The actionscript I am using is the following:

stop();

btn_contacts.addEventListener(MouseEvent.MOUSE_DOWN,mouseDownHandlerbtn_contacts);

function mouseDownHandlerbtn_contacts(event:MouseEvent):void {

MovieClip(root)}gotoAndStop(1, "Contactsvid");

I have entered the name of the scene exactly how its named but it still fails to work.

Please help me

This topic has been closed for replies.
Correct answer Ned Murphy

That looks okay, but I think I now see a problem that might be the cause, though I get different results when I test with your code...

MovieClip(root)}gotoAndStop(1, "Contactsvid");

In the middle of that line is a curly brace where a period should be.  That brace belong at the end of the function

1 reply

Ned Murphy
Legend
March 10, 2013

Show the frames panel where you assigned the scene its name.

shas95Author
Known Participant
March 10, 2013

Layer 2 is a videohttp://i.imgur.com/yY42MGY.png

Ned Murphy
Ned MurphyCorrect answer
Legend
March 10, 2013

That looks okay, but I think I now see a problem that might be the cause, though I get different results when I test with your code...

MovieClip(root)}gotoAndStop(1, "Contactsvid");

In the middle of that line is a curly brace where a period should be.  That brace belong at the end of the function