Solved

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

Posted on 2002-04-24
3
227 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
ID: 6967199
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
ID: 6967212
0
 

Author Comment

by:Zantis
ID: 6972117
Thanks a lot for the help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

911 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

25 Experts available now in Live!

Get 1:1 Help Now