HELP, I am in school project due monday and n
Last answer on May 12, 2009 11:40:03 am BST darlin1, on May 7, 2009 4:03:50 pm BSTHello,
I am taking a course in Visual communications and was given a code for the flash cs4 to use in an ad/movie to replay and I am posting the issues here, hoping for help since the instructor at university of phoenix suggested the students give me help, I am in a time crunch. please if anyone can help me:this is what I posted to class.
When I typed in this:
addEventListener(MouseEvent.CLICK,myBtnClick);
function {myBtnClick(event:MouseEvent)void
{ gotoAndPlay(1,Scene1");
{}
This is what I got, I got the movie to stop at the end but I cannot get it to replay, I have no idea what I am doing wrong I have no experiance what so ever with code so I need help please?
1084: Syntax error: expecting identifier before leftbrace.
function {myBtnClick(event:MouseEvent)void
1084: Syntax error: expecting leftparen before leftbrace.
function {myBtnClick(event:MouseEvent)void
1084: Syntax error: expecting identifier before leftbrace.
function {myBtnClick(event:MouseEvent)void
1084: Syntax error: expecting rightparen before leftbrace.
function {myBtnClick(event:MouseEvent)void
1084: Syntax error: expecting rightparen before colon.
function {myBtnClick(event:MouseEvent)void
1084: Syntax error: expecting rightbrace before void.
function {myBtnClick(event:MouseEvent)void
1095: Syntax error: A string literal must be terminated before the line break.
{ gotoAndPlay(1,Scene1");
What am I doing wrong? Anybody ?
I am not even sure now if the code for stop is correct.
Configuration: Windows XP Internet Explorer 8.0

