Solved

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

Posted on 2002-04-24
3
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

733 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