?
Solved

Button and Scene navigation problem

Posted on 2002-05-06
10
Medium Priority
?
200 Views
Last Modified: 2010-04-03
Hi guys,

I have a weird problem. I was developing a movie which as 20 scenes. After a while I decided to add another scene for another section of the movie and a button so that a user can jump from any scene to this specific scene (scene 21). And it won't work. I used the same code as for all the other button to get to other scenes and they work fine except for this one. I tryied rebuilding the button and altering the code but it still won't work. Since I have the button in a movie clip I use this code:

on (release) {
_root.gotoAndPlay("Scene 21", 1);
}

Please help, I really appreciate it.
0
Comment
Question by:cyberspy
[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
  • 4
  • 2
  • 2
  • +2
10 Comments
 
LVL 6

Expert Comment

by:rootdir
ID: 6992925
use this code

on(release)
{
    _flash.gotoAndPlay("Scene 21", 1);
}

Cheers
RootDir
0
 
LVL 1

Author Comment

by:cyberspy
ID: 6992975
It didn't work.  This stuff is really weird.  I tried many different things, I tried to look for errors or something.  You see, I created this scene later after all movie was basically complete and all buttons were connected to other scenes.  Now this button won't work with this scene, and no other button would.  Although, when I have this button outside of the movie clip, it works.  When it's inside any movie clip - it doesn't work.  I don't get it? Can you see the problem? Thanks.
0
 
LVL 1

Author Comment

by:cyberspy
ID: 6993024
Thanks....I got it! After spending two days figuring this out, I put frame label instead of number and it worked!!
that's weird I think...
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

by:cyberspy
ID: 6993025
do you mind if I delete it?
0
 
LVL 6

Expert Comment

by:rootdir
ID: 6994072
It's upto you. You got the answer that's imp.
0
 
LVL 1

Expert Comment

by:chill0123
ID: 6994830
it always helps to use the following format when trying to link/play a MC or Scene:


on (release) {
_root.MOVIECLIPNAME.gotoAndPlay("Scene 21", "framelabel");
}

or

on (release) {
gotoAndPlay("Scene 21", "framelabel");
}

use frame labels when ever possible, and I would also recommend that you name your scenes something specific.... that will help you or others know what the scene contains and makes it easier to maintain...

c

0
 
LVL 1

Author Comment

by:cyberspy
ID: 6995046
chill0123,
Thanks for your answer, but if you read before i have already figured that out.  I'm deleting this question so please don't post any more comments. it's not necessary.
0
 
LVL 1

Expert Comment

by:chill0123
ID: 6995110
just giving you my "expert" advice...  

glad you figured it out yourself

c

0
 
LVL 9

Expert Comment

by:OBCT
ID: 10319899
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ/Refund

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

OBCT
EE Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10361984
PAQed, with points refunded (50)

Computer101
E-E Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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 load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

764 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