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
Solved

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

Posted on 2002-04-24
3
228 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Action Script commands 4 317
What languages and tools i need to use to develop Teen Patti game. 9 611
Script to Delete registry entry based on Product name 6 168
Flash Converter 8 127
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

861 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