Solved

Action in movie to move to a frame in the main scene?

Posted on 2002-04-24
3
226 Views
Last Modified: 2010-04-03
I'm having a problem with trying to get the following statement to work.  This action is attached to the button in a movie, which is inside another movie.  The first frame in the main scene is stopped.  So the navigation movie appears and when you hover over a word (navigation button) it starts the second level movie.  In the second level movie if the person clicks on one of those buttons it will advance the main scene to the approperiate level which is the code I have pasted to here.

on (press) {
    gotoAndPlay ("Scene 1", 5);
}

When the button is pressed the webpage that it is suppose to open comes up in the lower frame window, but doesn't advance to the next part of the flash movie's main scene.  Any ideas what I'm doing wrong?

Jon....
0
Comment
Question by:Zantis
  • 2
3 Comments
 
LVL 6

Expert Comment

by:rootdir
Comment Utility
You are not providing proper level of movie

try this code

on(release) {
// name of target movie it could be parent movie
tellTarget("ball") {
     gotoAndPlay("Scene 1", 5);
}
}


or
on(release) {
   //_root is main parent movie
  _root.gotoAndPlay("Scene 1", 5);
}

If you still have any problem send me your fla file to rotdir@hotmail.com I will take a look

Cheers
RootDir
0
 
LVL 6

Accepted Solution

by:
rootdir earned 200 total points
Comment Utility
0
 

Author Comment

by:Zantis
Comment Utility
Thanks a lot for the help.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now