Linking Scenes Together?
alright my brain went did. im trying to link my content by placing it on different scences. i know all the other ways but i really want to try this. it dosnt seem like the best way. but on "SCENE 1" i have navagation bar with. buttons on it and i have a actionscript of...
on (release) { _root.gotoAndPlay("Scene 2", 1); }
i tried it with and with outthe "_root" but it wont go to scene 2 for some wierd reason!!!!!!!!!!!!!!!!!! um...........the navigation bar is its own movieclip..........any HELP PLEASE!!!!!!!!!!!!!!!!
-dennis
FlashKit > Flash Help > Flash MX
Posted on: 04-27-2003, 01:13 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Linking Between Scenes
If I have 2 scenes and I want to get to scene 2 from scene 1, then the following works:
on (release) {
gotoAndStop ("Scene 2", 1);
}
This works fine because the button sits in the ROOT of scene 1.
The problem is that my button that has the above action is not in the ROOT of scene 1. It is in a movie clip which is in another movie clip (2 levels down).
How do I get the actions to work on my button? I have even tried:
on (release) {
_root.gotoAndStop ("Scene 2", 1);
Linking Scenes
I have tried many times reading through the posts here trying all the solutions about linking buttons to other scenes, but the project I'm working on now, I'm baffeled.
The link is located at http://dtk.jbdonaldsonco.com.
When you drop down the 1st menu, and click the bottom link, it should take you to the next scene (specified scene) but does not. I have tried many various ways to do it, but cannot.
The actual fla is located at http://www.triocom.com/jbdonaldson/index.fla
I'm thinking because it is a separte layer of a layer that it is not working, but the _root or _level0 before gotoandplay function did not work either?
Any suggestions?
Thanks!!
Linking Scenes
Hey,
I have a movie of 2 scenes so far and when I click the link to my second frame, the movie advances. However, when I don't click anything, once my first frame is over, it advances. How can I prohibit this from happening?
Thank you,
Dan from Long Island
Linking Scenes
Hey I'm kinda new at flash and I made a page and I am trying to make buttons that link to other scenes within my flash page. and I already know that you can "convert" the symbol into a button, and I have already tried to set an action for that symbol to "gotto" a different scene. But that has not been working any help would be great. I'm kinda in a cruch I gotta have the site up and running by Monday.
Thanks
Tim
Linking To Scenes In .swf
I can't seem to get this to work..I want to create a button that links to a particular scene in an .swf, but it won't do it---it keeps playing the first scene.
this is what the code looks like:
on (release) {
unloadMovieNum(0);
}
on (release) {
loadMovieNum("interface/chara.swf", 0);
gotoAndPlay("2", 1);
}
Am I doing anything wrong?
Thanks!
Linking Scenes
I am trying to make a short cartoon for a school project.
I've made a few scenes but I am ignorant as to how to join them together. I would be grateful for any advice.
Linking Scenes
Hello every one
Rite i am new to Flash MX 2004, i am trying to create a personal web site with flash because i am fed up with a crap looking web site. So i need to no what i have to do to link scenes? because on a normal web site you clink a button and it takes you to another page on that web site. But as i have found out you cannot do this with flash MX 2004 so can some please help me?
thanks chris
Linking To Different Scenes
Guys,
I was just wondering if it was possible to do the following in either MX / MX2004...
My full-Flash site has 4 scenes:
1: Preloader
2: Splash page
3: Interface transformation
4: Main site (has a number of "pages" using frame labels to separate them for navigation purposes).
What I would like to achieve is this: there will be buttons in the splash page (scene 2) linking to various frame labels in scene 4 (Main site), the idea being that scene 3 (the interface transformation) is shown first when the user clicks one of the buttons, and then they are taken to the correct frame label in scene 4.
Any ideas on the best ways to do this?
Linking To Scenes
im real new to flash and am trying to make a button link from scene 1 to scene 2 can any one help
thx
thanks for the help catbert303 iv tried it and it works.
Linking Scenes
IM allitle stressed out because i dont know nor does it seem anyone else knows the proper way to link scenes. The way i did it in my last movie was to IMport the .swf files into a new movie and all place them together. This works fine except the problem is that My movie clips dont play. There has got to be a better more effective way to link scenes together. Plz tell me if you happen to know.
Thanks
Linking Scenes Help
Hi, i'm soemwhat new at actionscript and wanted to know how to create a counter button that adds one to some score whenever you click on it. Also, once you have the button to do that, how would you get it to display the score (the number of times it was hit).
Thanks
Linking To Scenes
Hi there, this is my first post here, ive noticed the great amount of topics and stuff... Ive also noticed that there are like 50 more topics about this subject, ive tried them all and no success
if im linking to a new scene (lets say from scene 2 (called main) to scene 7 (called rocchicks) it sets me back to the very beginning...
if im not clear with my english *cuz its not my best subject * i can always post my .fla file...
im using this command
Code:
on (release){
//goto and play scene 'scene2', frame 1
gotoAndPlay("rocchicks",1);
}
wish stands for (if im correct) going to scene 7 (called rocchicks) starting to play from.. frame 1
if i click it it sets me back to scene 1 frame 1
Help Linking Scenes
I stopped this website project for a couple of months and went back to do it and I can't figure it out. I have named different scenes to flip back and forth through, and one of the pages linking to the "main" page isn't linked to the page that I need. How do I get the page that i need onto the scenes panel so I can create a button connecting them. Is the only way to do that by using the swap symbol? Also, this page that i need is in a different file. thanks.
lopezs
Linking Scenes
I have never EVER had trouble linking scenes. However, today my code seems to make the links/buttons select the next scene rather then the desired one. Does anyone know why this is and can you help?
Linking Between Scenes
Hi, I appologise if this is me just being stupid, but I just can't seem to resolve my issue using trial and error !
Here's my problem:
I have built a flash based interactive presentation for a Client - it's my first time using Flash, and I've hit a stumbling block. The problem is I can't seem to link back to Scene 1 from Scene 2. - I can link from Scene 1 to Scene 2, but not back!
Scene 1 is an intro animation, then buttons fade up and the timeline stops.
I've put on one button:
on (press) {
gotoAndPlay("anaesthesia", 1);
}
(anaesthesia being the name of my 2nd scene) This works and Scene2 plays in and stops. No problems.
from Scene2 I need to return to Scene1 (back to the buttons or home screen if you like)
So on a button in Scene 2 (anaesthesia) I've put this code:
on (press) {
gotoAndPlay("intro", 1);
}
Linking Scenes.
Hi,
I have about 12 different scenes in my movie, and the animated buttons that I've made to link the scenes together don't seem to work.
I've tried various codes for example:
level1_btn.onRelease = function() {
_root.gotoAndPlay("Level 1",1);
}
or
level1_btn.onRelease = function() {
_root.gotoAndPlay("Level 1","l1_1");
}
(where l1_1 is the frame label)
neither of these do anything and I'm really not sure what to do.
Thanks.
[CS3] Linking Scenes
How do I link scenes I've forgotten, the last time I tried this was on MX (long time I know) also to link different catogories on my page should I use scenes at all?
Help appreciated.
Linking To Other Scenes.
Hi, i'm new to flash. but i think i have picked it up pretty well. I have made a few movies and have now decided to do something else.
So i am making a website in flash. I have got this really cool slide-out menu on the side. It contains links to the other parts of the site. The slideout menu is a movie clip. the links inside the slide menu are buttons within the movie clip. the whole thing is in the main document. (sorry if i am stating the obvious or being too vague).
I have the buttons inside the menu with, for example.
on (release) {
gotoAndPlay("Tutorials", 1);
}
that is another scene in which the "tutorials" part of my site lies.
When i test the movie, the slideout menu slides out fine. and goes back in when told to. but the buttons within the menu don't do anything. They just make the menu disappear. Am i doing something wrong??? Is there an extra line of code to tell the movie where it needs to go???
the .fla file is attached. Please help me!!
Linking Scenes Together
Hello,
I have yet another question. How do I link scenes together. If i have a scene profiles and when i click a button i want to link to profile_jason, how do I do this?
What do I put into the goto command?
Linking Scenes
Ive got 2 scenes, both with stop actions at the end. Ive also got a button on the first scene. How do I get it so that when you press the button, it goes to the next scene?
Linking Scenes
This is the most pathetic problem really.I am bulding a website in flash version flash mx 2004 professional and I'm having a rather huge headache over this. I have my scenes all done up but I cant link them to the buttons.The other problem is linking my dropdown movie clip buttons to scenes.Please help!
I have used the following code for the buttons on (press) {
gotoAndPlay("scene3",frame1);
}
and the following for the dropdown menu I have the following
on (release) {
_root.gotoAndStop("scene 2, 1");
}
please help!!!!!!
Linking Scenes Together
Hello, I'm completly new to the world of Flash and this forum. Hopefully I can get some help with my questions here.
I'm having some problems with a project I'm supposed to be done with on Monday. The project is to tell the story of your life using Flash, graphics, sounds and some interactivity. My problem is that I don't know how I should connect the scenes together. I thought of using clickable areas in the pictures that takes you back or forward. How should I do this? (as simple as possible please)
Linking Scenes
Hi -
Im trying to teach myself flash. Can anyone explain to me how to link my movie between scenes? I'm sure it's easy, I just can't get it! Right now I am building the entire thing using different layers. I'd like to learn how to use multiple scenes.
Also, the website I am building is already 7mb and it takes kind of a long time to load. Is there a way to make the movie smaller without compromising quality?
Thank you Thank you!
Vicki
Linking Scenes
Hi there..can anyone help me?
I am trying to link two scenes together....I can do that easily, what I have problem with is the fact that I have a button that is within a movie clip in Scene 1 which is trying to call Scene 2....Is there a way to link to a scene from a button that is not on the same level?
Thanks for the help
UK
Linking Scenes Help
Check it, I'm working on this site and I'm having each section in a different Scene in flash...I know how to link them together, but I'm using a different kind of buttons to have a "flashy" rollover...so the gotoandplay() actionscript would be within the movieclip that acts as a button. But, now the buttons wont go to the scene that its targeted to...anyone know what I'm missing? I'd appreciate any help.
This is the actionscript for the buttons.
Code:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
_root.gotoAndPlay("About", "1");
}
Linking Scenes
hey whatsup everyone ya I need a little help...Im creating a walk around game and I need to know how to link Scenes or frames or whatever! to make them one big world and not just one scene! please tell me! ok and if your confused by what im saying have u ever played stick RPG? I wanna be able to move trhough my scenes/frames just by walking(moving my character). thanks!
By the way im using Macromedia Flash 6 (MX)
Linking Scenes
hi,
i am very new to flash(so please have patience)
i am trying to link the main scene to scene 1, and i have a button on main the scene that says to go to scene 1, but when i play it the two play at the same time.
what am i doing wrong?
and is there a better option i can use to fix it?
thank you
Linking Scenes
Ive got 2 scenes, both with stop actions at the end. Ive also got a button on the first scene. How do I get it so that when you press the button, it goes to the next scene?
Linking Scenes
This is the most pathetic problem really.I am bulding a website in flash version flash mx 2004 professional and I'm having a rather huge headache over this. I have my scenes all done up but I cant link them to the buttons.The other problem is linking my dropdown movie clip buttons to scenes.Please help!
I have used the following code for the buttons on (press) {
gotoAndPlay("scene3",frame1);
}
and the following for the dropdown menu I have the following
on (release) {
_root.gotoAndStop("scene 2, 1");
}
please help!!!!!!
Linking Scenes
Hey,
Can anyone help me link a few scenes together..
I got two in my movie..
Intro_Movie
Main_Movie
Intro plays first, all it contains is about 50 frames of a animation I want played before the movie loads.
Main_Movie contans a preloader.. then the entire web site.
At the end of Intro_Movie I have:
stop();
_root.gotoAndPlay("Main_Movie", 1);
Which doesn't work..
I was thining it might be because on the first frame of my movie I have a preloader and a stop which is required for the preloader to work.. but that wasn't it.. it doesn't even load to the next movie.. just stops at the end of this one.
If I take out the stop(); then it jus replays the Intro_Movie over and over...
I've been posting at FlashKit.com usually but they duno...so I figured i'd venture out and found this site.. so i'll try here first.
Any help is apreciated.
Thanks,
Ian
Linking Scenes
Hi,
I have about 12 different scenes in my movie, and the animated buttons that I've made to link the scenes together don't seem to work.
I've tried various codes for example:
level1_btn.onRelease = function() {
_root.gotoAndPlay("Level 1",1);
}
or
level1_btn.onRelease = function() {
_root.gotoAndPlay("Level 1","l1_1");
}
(where l1_1 is the frame label)
neither of these do anything and I'm really not sure what to do.
Thanks.
HELP With Buttons Linking To Scenes
need help bad, thanks in advance peeps...
ok i have a menu with 3 buttons. buttons are labeled home, info, and links. i made a scene for each thing. so now i wanna program the button so 'on mouse event click' it will goto scene x. but when i bring up the actionscript window, i am unable to do anything for the button.
i uploaded the .fla, 160k. thanks.
http://frealfso.frostburg.edu/cs110L...m/follower.fla
Linking Scenes In A Movie
Hi
i was just wondering how do i link various scenes in one movie to various buttons? are there any tutorials out there which can help me?
thanks
Please Help Linking To Scenes Within A Movie
I am having difficulty integrate buttons that take you to various scenes in my flash movies that are sitting within a movie. They work fine if they are in the main scenes but if they are in a movie within the scene they do not want to link to the scenes. Please help as I have very basic knowledge of Flash 5 scripting.
Problem Linking Different Scenes
Hello,
I am having trouble linking different scenes...
In each button in each scene, I put
on (release){
gotoandPlay("name of the scene", 1);
}
However, it doesn't WORK!!!!
Can anyone help me??
thankx
Buttons Linking Scenes Together?HOW?
im sure this is a really easy action to do, im just trying to have a button on one scene. lets say scene 1, and when i click it make it go to scene 2. how would i do this? action's or what? thanks a bunch jeff
Linking Scenes Trouble
hello everyone. Im trying to learn flash by putting a site together...but...Im having some problems. I'm using Flash 5.
I can't seem to get my buttons to link scenes to one another. When I enable buttons in flash most of them work, but when I test my movie (and when I export it) the buttons don't link to anything. They rollover just fine, but that's about it.
Does anyone know why this is happening...or are there any good tutorials where I can "re-learn" how to do this?
Thanks!!!
Buttons Linking To Different Scenes
I'm working on a website for a school project and basically I'm trying to make it out of Flash. However whenever I try to link a button to another frame or a different scene it won't work. Now it works in enabled simple button mode but anything else doesn't work. I've checked all the coding and it seems to be fine, so I can't think of anything wrong with it. Anyone have any idea's?
Problem Linking MC Between Scenes
Hi there,
I made an easy animation in Scene 1. The animation MC is played in a mask.
Now I wish to make another animation covering the whole stage but which isn't affected by the mask (but which does use backgrounds which are affected by mask.
Since i am quite new at flashing I made a copie of the background in Scene 2 and started an animation MC as i wanted.
Now I wanted to let the controller go from the end of MC in Scene 1 jump to frame 1 of scene 2. This is my action script which i placed in the last frame of MC (of Scene 1):
stop();
gotoAndPlay("Scene 2", 1);
But when i test the swf, it doesn't work. It just repeats and repeats the MC of Scene 1.
Does anyone can help me linking this 2 scenes?
I included the fla file so it may seem easier.
thanks a lot & enjoy!
koebaba
MC Linking Problem Between Scenes
Hi there,
I made an easy animation in Scene 1. The animation MC is played in a mask.
Now I wish to make another animation covering the whole stage but which isn't affected by the mask (but which does use backgrounds which are affected by mask.
Since i am quite new at flashing I made a copie of the background in Scene 2 and started an animation MC as i wanted.
Now I wanted to let the controller go from the end of MC in Scene 1 jump to frame 1 of scene 2. This is my action script which i placed in the last frame of MC (of Scene 1):
stop();
gotoAndPlay("Scene 2", 1);
But when i test the swf, it doesn't work. It just repeats and repeats the MC of Scene 1.
Does anyone can help me linking this 2 scenes?
I included the fla file so it may seem easier.
thanks a lot & enjoy!
koebaba
Linking Scenes With Buttons
Hi,
I am fairly new to Flash and I cannot get my scenes to link correctly.
Does anyone know why it is that when I link buttons from my intro
scene to the various destination scenes the scene which is played is
always the 4th scene? Should I be assigning an action to each button
(they are all distributed on different layers) or to the individual
frame?
I also have the intro set up so that it plays, stops, when a button's
pressed it should continue to play current scene and then finally go
to the appropriate new scene. No matter how I set the scene up, it
keeps going to the end and stopping on the last scene of the Intro or
it goes automatically to scene 4.
Please, any help is greatly appreciated!!!!
Linking Scenes With Buttons
Hi,
I am fairly new to Flash and I cannot get my scenes to link correctly.
Does anyone know why it is that when I link buttons from my intro
scene to the various destination scenes the scene which is played is
always the 4th scene? Should I be assigning an action to each button
(they are all distributed on different layers) or to the individual
frame?
I also have the intro set up so that it plays, stops, when a button's
pressed it should continue to play current scene and then finally go
to the appropriate new scene. No matter how I set the scene up, it
keeps going to the end and stopping on the last scene of the Intro or
it goes automatically to scene 4.
I want my movie controlled by button actions i.e. stopping at a particular frame in the current scene then when a button is clicked the scene should continue playing to its finish and then go to the approriate scene associated with the button.
OK, here is my link.
A million thanks!
Luchino
http://www.aliciamarantz.com/ANM_FLA_Preview.htm
Linking Btwn Scenes
this is a bit of a beginner's problem, but I'd appreciate any advice..
basically, I have a movie clip within a scene, & upon reachning the end of this clip I have an
on(release) gotoAndPlay (Scene 1, framelabel) action applied to a button.
however, when clicking on this button, rather than taking me to the specified frame label in Scene 1, it seems to be replaying the same movie clip (current scene)
any thoughts?
thanks
Linking Scenes To Buttons
Hey,
I've only been using flash for a few days, and I'm having huge trouble linking from scene to scene...
in the action panel I have something like this....
home_btn.onRelease = function() {
gotoAndStop("Scene 1", "Frame 1");
};
When I check the syntax it tells me there are no errors, but when i go to test my scene or movie nothing happens when i click the button and I have an error in output saying...
**Error** Scene=Scene 2, layer=Layer 1, frame=20:Line 1: Statement must appear within on handler
home_btn.onRelease = gotoAndStop ("Scene 1", "Frame 1");
Total ActionScript Errors: 1 Reported Errors: 1
What am I doing wrong???
Please, I would really appreciate any help I can get, it's driving me nutty! )
I'm usng MX Pro 2004
Thanks!
Adding/Linking Scenes
Hey it's me again, now i'm wondering how u can Make scenes and the Action Script for linking to each scenes anything you know will be great if u post it here
Linking Movies Like Scenes?
I guess I should have posted this here before.
Basically I'm trying to load a movie as though as if it were a scene.
What do I mean, well lets say a movie has 4 scenes, well ... i have two buttons one that goes back and one that goes forward... the forward button would call upon a movie in a certain order and load it.... as though as if it were a scene or even a frame...
(I actually just need the buttons to cycle through a bunch of external 'movie clips' in .swf format.. can it be done?
Does anyone know how to do this?
Linking Scenes In Mx2004
hi everyone,
i've created 2 scenes in my mc with flash mx2004, but i cannot link them.
if i test each one everything works,but whrn i use gotoandplay() something bad rises...
the right command should be gotoandplay("scene"); but if i write this on the last t.l. frame of first scene, i can only see the second scene (i've even tried to change order via scene inspector).
so i tried to label the first frame of second scene and call it - in the first scene - with gotoandplay(keyframe_label); but it still doesn't work..
please help..
thanks
soren
|