Search : in
By :

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 BST 
 Report this message to moderators

Hello,
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

Best answers for « HELP, I am in school project due monday and n » in :
Project stages Show The stages of the project In order to be managed in an atmosphere of quality, a project must pass through various phases, at the end of which milestones should be defined. Each stage is related to a deliverable and a validation based on a specific...
Execution phase of a project Show Execution phase Preparation Before beginning the execution of the work, it is necessary to take the time to break the project down into tasks in order to plan the performance of these tasks and determine what resources need to be mobilized....
Introduction to project management Show Project management Project refers to all actions to be taken in order to meet a defined need within fixed deadlines. Thus, because a project is a temporary action with a beginning and an end, mobilizing identified resources (human and material)...
Free alternative to Microsoft Project ShowFree alternative to Microsoft Project Microsoft Project is a software project management highly valued for managing large projects, to achieve the (Gantt chart or PERT network) There is no free software as comprehensive as Microsoft...
Download GANTT Project ShowGanttProject is a free project management tool allowing to realize GANTT diagrams to plan a project and manage the resources. GanttProject is a complete tool proposing import / export features towards Microsoft Project, as well as export functions...
Preparatory phase of a project ShowThe preparatory phase The term preliminary project is generally used to refer to all preparatory stages necessary for the launch of the project. Thus, the idea is to precisely define the nature of the project in order to finalize the contractual...
Project management methodology ShowProject management - The need for a clear methodology "Project management" refers to the methodological organization put in place to ensure that the work done by the contractor meets the expectations of the client, and that it is delivered within...
Project implementation phase ShowImplementation phase R&I "R&I" (Receiving and Inspection) refers to the verification of the conformity of the work with the request stated in the validated design file. R&I is a rigorous, methodological process carried out upon receipt of the...

1

ericssionz, on May 12, 2009 5:15:09 am BST

Try this code as

{myBtnClick(event:MouseEvent)void
{ gotoAndPlay(1,"Scene1");
}}

Reply to ericssionz

2

 darlin1, on May 12, 2009 11:40:03 am BST

Thank you for your help, I greatly appreciate it, I am sorry I did not get back to the forum sooner.

Reply to darlin1