Moving To Next Scene
i used a tutorial found on flashkit called hydrogen, basically what it was is just text spinning in a circle, the user controls the speed of the spinning text by drag speed. anyways, when i click on the text, which is a button, it wont jump to the next scene. since the scripting on the spinning text is complex, how do i click on a button to get it to go to the next scene?
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-07-2001, 07:49 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- [MX04] Moving From Scene To Scene
- Moving To Next Scene From A MC
- Moving On To The Next Scene
- Moving A Scene
- Scene Moving
- Scene's, Moving To And From
- [HELP] Moving Scene
- Moving To The Next Scene
- Moving A Scene From One Fla To Another...
- Moving Between Scene
- Moving From Scene To Scene
- Moving To A Scene Using Time?
- Problems Moving To The Next Scene ::: =(
- Moving Things From Scene...
- Fading Out Before Moving To Next Scene
- Moving To Next Scene Without Buttons
- Moving To Next Scene Without Buttons
- Moving To The Next Frame In A Scene
- Help Urgently Wanted Please Help Moving To A New Scene
- Moving Or Resizing The Background Of A Scene
- Stopping Sound After Moving To Next Scene In Flash 5
- Moving To Next Scene With Button Inside Movieclip
- Moving To Next Scene After Streaming Video Plays
- Moving Movie Clip Symbol Content To Scene 1.
- Strange Problem - Moving Backwards And Forwards (framewise) Within Scene...
- Question About Boundaries And Moving To Next Scene If The Character Move To The Door
- Won't Change Scene...neither With Actionscript,neither From Scene To Scene
- Moving Vertical Bar Which Holds Moving Thumbnail Images When Mouse Is Over
- Slowly Moving Smoothly - Moving Photos And Pixel Smoothing
- How Do You Click On A Moving Button And Make It Stop Moving?
- Moving Running Forward But Elements Moving Off Stage
- [F8] Flash Site, Multiple Scenes, Button Moves Scene To Scene Instead Of Navigating
- Moving Across A Photo While Mose Moving With Acceleration
- Help With Passing Number From Scene 1 To Scene 2's Dynamic Text Field
- Targeting Frame Label In Scene From Movie Clip In Same Scene
- Simple Gotoandplay - Animate The Scene Out Before Playing Selected Scene?
- Scene 2 Works Fine, But When Preloaded Added Scene Will Not Work
- Play The Rest Of Current Scene, THEN Gotoandplay Another Pre-determined Scene
- Scene -> Object? Turning A Scene Into An Importable Symbol For Other Projects
- Sound Plays From Next Scene, While Playing In Current Scene?
- I Cant Navigate 1 Scene From Another Scene Thorogh Movie Clip
- On My Movie, At The Middle Of The 3rd Scene, Goes And Plays The Sounds On 4 Scene...m
- Button Relase; Play Curent Scene And Go (scene)
- How To Disable The Intro Sound When Switching From 1 Scene To 2nd Scene
- Buttons Aren't Going To Correct Scene, Just Progresses To Next Scene :(
- How To Start Play Scene From Movie Located In Another Scene
- Changing Form Preloading Scene Into Main Scene.
- Click, Clear Stage Scene, THEN New Scene
- Button In Scene 1 Loads A Specific Mc In Scene 2?
[MX04] Moving From Scene To Scene
Here's my situation: I just made a button in Scene 1 and converted it to MC. I was planning on making the movie go to frame 1 of Scene 2...
I added this code to the button:
on(release){
this._root.gotoAndPlay("Scene 2", 1);
}
However, when I try playing the movie, nothing happens when I click the button.
What's wrong with my coding? Or is there something else I missed out?
Help!
Moving To Next Scene From A MC
How would I use actionscript to check to see if the end of a movie clip has played and then proceed to the next scene?
say the movie clip name is clip and the scene I want to go to is main. I know the command to proceed to the next scene would be
gotoAndPlay("main", 1)
but I don't know how to check to see if that movie clip is done yet.
Please help!
Moving On To The Next Scene
I finished my first scene and want to use a button to move on to the next scene.
I have everything put in and have an on action on my button that looks like this
on (press) {
gotoAndPlay ("Scene 2", 1);
}
when i play the .swf and press the button nothing happens except that the button fades back in again.
I have a small test picture in my 2nd scene to see if it is working but i'm getting nothing.
Please help.
Moving A Scene
Can you move an entire scene?
I made this website but later decided to put a pre-loader in (once it got pretty large). But now when I move my frames forward to make room for the preloader it totally messes up the content. I tried to make the preloader in scene 2 and just move scene 2 in front of 1(in Movie Explorer)but it seems that you can't do that. Anyone know of a fix for me? It would be nice for dial-up users to see that it's loading and not just looking half loaded and funny lookin'.
Any insight would be appreciated.
§entinel
Scene Moving
I have a movie with a Scene 1. I would like to put in a scene before that, as there is a lot of code and images I would rather not move into another scene. if there is a way to put scenes in before another one, please help me out!!! Thanks.
Scene's, Moving To And From
I dont understand why it wont work but I followed the example in flash and for some unknown reason when ever i clicked the button (the two little arrows) the damn thing never went the the scene "template",
if anyone can tell me how to do it, it would be very much apreciated
[HELP] Moving Scene
I making a 2-D game I need the code to make it where I have the sprite in the middle of the screen and when I choose these directions the screen moves that direction and the sprite stays in the middle
forward-W
backward-S
left-A
right-D
please help
Moving To The Next Scene
I have a problem concerning different scenes in Flash.
The Scenario:
I have a series of buttons which are animated, each button is stored on a different layer. On another separate layer I have another button (arrow button) that is supposed to take me to the next scene… but it isn’t doing so.
On the last button (which is on a separate layer) I wrote the stop(); command, so that it stops the first scene from replaying the animation.
On the arrow button I wrote the following actionsript:
on (release) {
gotoAndPlay(“scene2”);
}
This isn’t working… could someone suggest me a solution please.
Moving A Scene From One Fla To Another...
I've got a intro scene from a fla of a game I got made, I want to copy the entire scene to another fla of a different game, how do I do this? I'll give good sitepoint rep to anyone who helps.
Moving Between Scene
Hi Folks,
I've just joined this forum in hope that somebody may be able to help stop me from pulling ALL my hair out.
I'm using flash mx 2004 pro.
I've create a swf from an animation that contains scenes. Within this animation I can switch scenes perfectly welll. But ... here's the problem ...
I've loaded this swf file into another swf:
_root.createEmptyMovieClip("present_mc", _root.getNextHighestDepth());
_root.present_mc._lockroot=true;
_root.present_mc.loadMovie("intro.swf");
(If I don't put the _root in front of it , it won't display the movie)
I need to be able to switch scene by pressing a button on the container swf, but it doesn't make the blindest bit of difference.
Actually, I've had some really wierd behaviour of my movieclips in the embedded swf. I seem to have got rid of those by using _lockroot = true.
But, please, please, please would somebody be SOOO kind as to tell me why none of these make the blindest bit of difference ....
_root.present_mc.gotoAndPlay(305);
_root.present_mc.nextScene();
_root.present_mc.gotoAndPlay("Scene",1);
I've tried witout _root, and with this. Both cause it not to be displayed.
I'm getting seriously stressed by this. Rather new to this flash stuff ... looks so cool but it feels like a black art right now!
CHEERS!!!!
Moving From Scene To Scene
We're using flash five trying to create a website.
We're trying to move from scene to scene in my movie. We have buttons and are trying to make it so that when you click on the button it moves to a different scene. We tried to create a script like:
on (release) {
gotoAndPlay ("Scene 3", 1);
}
when we preview it it won't move to the next scene,
if you have any ideas please let me know what we might be doing wrong thank you.
tricia.
Moving To A Scene Using Time?
Ok heres another one.
I have 4 scenes, the first is intro,
I want it to move to another scene according to what time it is. I tried this script
adlibbing here so it may not be totally correct
mydate=new Date();
hours= mydate.getHours();
if (hours= "1" or "2"){
gotoPlay (scene2,2)
}
thats a short version of it.
i keep getting errors for the gotoplay part.
i know it needs property it usually is written hours=gottoPlay i tried that that didnt work either.
if someone has a suggestion id be a happy man lol.
thanks in advance
sam
akaeadsam
Problems Moving To The Next Scene ::: =(
Hello,
I've run across a weird problem. I have btns in a movie clip and even though they are correctly mapped to send you to the appropriate scene in my movie-- it's not changing scenes. Any help would be greatly appreciated. I attatched an fla that shows what's happening.
Thanks in advance!!
Mrt
Moving Things From Scene...
so when i first got flash, a few weeks back, i made something right away.
i constantly work on it as i improve and understand flash and actionscript more thoroughly. and i realized i can make it into multiple scenes...so i have a folder on the main timeline that i would like to move to scene 2, but im not sure how to do that...or if id have to just redo everything in scene 2, which i would rather just skip out on. thanks.
Fading Out Before Moving To Next Scene
Can anyone please tell me how I can go from a stop point in the middle of a timeline and on a button release (which there are three in this stop() location)
I want it to play the rest of the timeline to fade out before moving to designated scene from the button that I placed the action on.
Moving To Next Scene Without Buttons
can anyone help me.. i want to go from one scene to another without using buttons or any clicking...
i thought gotoAndPlay("scene 2",1); would work but that has to have a handler.. please help...
Moving To Next Scene Without Buttons
can anyone help me.. i want to go from one scene to another without using buttons or any clicking...
i thought gotoAndPlay("scene 2",1); would work but that has to have a handler.. please help...
Moving To The Next Frame In A Scene
I have a movie symbol within my scene that when finished I would like it to call the next frame in my scene. I am using flash mx 2004 and have no idea how to go about this.
I tried using gotoAndPlay("scene_name", frame#), but it didn't work.
Any suggestions?
Thanks in advance
Help Urgently Wanted Please Help Moving To A New Scene
i am creating a virtual school tour which aims to allow a character to go from one scene to another when they hit an object or a box. i have created a simple character and when he gets to the end of the screen and hits a door, it moves to the next scene.
i know how to make the character more left, right , up and down but i cant get them to move to the next scene when they get to the end of the door
i have attached when i have got to go far but need help moving to the next scene
pleaswe help
contact me by email if need be amangera@yahoo.com
Moving Or Resizing The Background Of A Scene
Is there a way to shift or move the background of a scene without moving the contents of it? So for example, let’s say I have an animated ball bouncing in the center of the screen, and I realize that I want to add something else to the animation (another ball perhaps) but I don’t have enough room to do this. If I just grab the ball and move it the animation will get messed up because the key frames are already set in place. In order for it to work right I’d have to grab every key frame and move them one at a time, which is basically like doing the animation all over again (especially if you have a complex animation with multiple layers and key frames). Resizing the background doesn’t always help either because by default flash always adds the new portions to right (if you add width) and the bottom (if you add height).
If there’s not a way to move the background, is there a way to specify which direction flash will add the new pixels to when resizing the document?
Any help will be appreciated. I can’t tell you how many times I've run into this problem.
Stopping Sound After Moving To Next Scene In Flash 5
I have a piece of music that I'd like to loop in a stopped frame, but I also want the music to stop when I use a button to move to the next scene. It's a single frame that I've added it into, but the music should stop entirely so I can play different sounds in other scenes. In other words, I can't mute everything when I move to a new scene. I just want to stop this one piece of music.
Should I just add a stop music line to each button? If so, what's the code for that?
Moving To Next Scene With Button Inside Movieclip
This is probably something easy that I am neglecting, but it's totally driving me nuts:
I have a button within a movie clip which I am using to control the main timeline via "_root". This is working fine except that it refuses to work when I want to to goto a frame in another scene. My syntax is thus:
on (release) {
_root.gotoAndPlay("About", 1);
}
"About" being the scene I want to goto. However when I click the button literally nothing happens. I've tried romoving "_root" but that sends me to the first frame of the movie clip, totally ignoring "About". Any help on this one would be great.
Thanks!
Moving To Next Scene After Streaming Video Plays
I have a streaming video that loads into a scene called "intro". I would like the second scene, "home" to load after the video finishes playing. Unfortunately, the movie stops once the video finishes playing. How can I get the second scene to load after the video finishes playing?
Below is the code that automatically plays the video:
stop();
videoConn = new NetConnection();
videoConn.connect(null);
videoStream = new NetStream(videoConn);
//the attachVideo() method of video class is invoked on the
//flv_video instance. The parameter for the attachVideo() method
//is the instance name of the NetStream object created in line 10
flv_video.attachVideo(videoStream);
// a buffer time is established to determine how many seconds
//of the stream must download before playback begins
videoStream.setBufferTime(5);
videoStream.play("capture_Small.flv");
Any help would be appreciated.
Rick
Moving Movie Clip Symbol Content To Scene 1.
Hi there.
I'm kinda new to the Flash community and I need some help.
I made a Intro movie clip symbol (a lot of layers and over 700 frames long). When I was done, I realized that I wanted all this content in the Scene 1. I tried cutting/copying the layers and frames from my Intro movie clip back to the Scene 1...but it doesn't work.
I also made a lot of random movie clips which I want to include in my Intro, but I want all the layers and frame to be together in Scene 1.
Can some Flash dude help me out. I hope you guys know what I'm talking about. I'm trying to learn about Flash and my terminologies are not up to par yet.
Thanks in advance.
Strange Problem - Moving Backwards And Forwards (framewise) Within Scene...
So I have a strange problem - basically, I've got a scene set up where you can move left or right over an image via buttons - you click the "Scroll Right" button, and it pans across to the right side, and vice versa for "Scroll Left". "Scroll Right" works fine - it pans across to the right side, stops, and then the "Scroll Left" button pops up. Click that, and it moves back across to the left side, stops, the "Scroll Right" button appears, and then it flashes back to the main scene - leaving the image's scene entirely.
I have ActionScript set up so that upon clicking the "Scroll Left" button and it hitting the left side, it should gotoAndStop at the prior frame, so that basically it creates a loop between the two sides, using essentially something like 30 or so frames for all of the animations. However, like I said, this doesn't seem to work, it seems to as soon as the animation to scroll left is over go back to the main scene... anyone got ANY ideas?
Here's the FLA and SWF files (the problem is in the "Self Promo" scene - from the main screen, the second from the right image on the bottom):
http://www.kyleconrad.com/temp/main.fla
http://www.kyleconrad.com/temp/mainfull.swf
Thanks for any help you guys can offer -
Question About Boundaries And Moving To Next Scene If The Character Move To The Door
Hi,
Sorry to trouble you guys again, thanks for the great advice some of you have given me. Well i am facing some queries, hope you guys can help me out.
First
I have written codes for boundaries/walls that it should let the moving character stay in the space in it, but after some tries, it still fails.
My character code:
onClipEvent (load) {
moveSpeed = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._x += moveSpeed;
} else if (Key.isDown(Key.UP)) {
this._y -= moveSpeed;
} else if (Key.isDown(Key.DOWN)) {
this._y += moveSpeed;
} else if (Key.isDown(Key.LEFT)) {
this._x -= moveSpeed;
}
}
My walls/boundaries code:
Wall 1:
onClipEvent (enterFrame)
{ if (this.hitTest(_root.Wall))
{ _x = _x+10;
}
}
Wall 2:
onClipEvent (enterFrame)
{ if (this.hitTest(_root.Wall2))
{ _y = _y+10;
}
}
Wall 3:
onClipEvent (enterFrame)
{ if (this.hitTest(_root.Wall3))
{ _y = _y-10;
}
}
Wall 4:
onClipEvent (enterFrame)
{ if (this.hitTest(_root.Wall4))
{ _y = _y-10;
}
}
Done. As for after a few tries, my character will move out of the walls and cannot stay in the visable area. Am i on the right track?
Second
I want to make my character move from scene to scene. I started by creating a door and follow a game tutorial help and try to use it. I also create another door and set the codes as taught so that the character would appear on the second position. but when i reach the door on the first scene, it does not change the scene. Can i ask how should i do or what codes i should set so that when my character step on the door/portal, it will switch the player to the next screen/map.
Third
Can i create a button and set a diameter/radius around it(e.g a telephone booth set as a button function) and when the character in the story move to the diameter of the button, it will be able to select the function if let say we press an enter key in the moblie device. (e.g when the character move to the detect space of the telephone booth, it is able to use the next scene i set for the telephone booth).
Thank you for answering my queries and spending your time reading, your help will be very useful. hope to hear from you guys as soon as possible. Thank you once again
Regrads,
-=FYProject=-
Won't Change Scene...neither With Actionscript,neither From Scene To Scene
I have a big problem...why won't my movie change from my intro to scene one...I built my intro, i built my scene one but it won't skip from one to another. At the begining i had a loop problem on my intro,and it would never go on to the next scene,and now even if i build a new page it won't change to another scene either....HELP PLEASE!!!
Moving Vertical Bar Which Holds Moving Thumbnail Images When Mouse Is Over
Hi!
im not completely new to Flash MX - have utilised all basic animation tween/morphing /buttons
and very simple action script- movie controls - stop , back ,forward etc
however i need a moving bar feature, e.g. a moving news reel or a vertical bar which holds a number of images i.e.10 and
when the mouse is over - i want it to move downwards and when is not over the feature i want it to stop moving
(or even instaed of the feature to automatically scroll images i could also use a button to press to move through the images)
then: the thumbnail images from the moving feature i need to be selectable which then produces a larger version of the image on
another section of the page.
i dont no if i put this thread in the right forum!
if any one knows of any tutorials or has any suggestions to help implement this feature
i would appreaciate any help!
- dont really know where to start with it!
thanks
(i have looked at the flash kit tutorials but havent found what im looking for
dont even no if this is more of an animation or action script questions)
Slowly Moving Smoothly - Moving Photos And Pixel Smoothing
So, I'm slowly....very slowly moving a small thumbnail across my stage. The problem is that when the pic moves over a pixel it looks choppy, I want it to look smooth. The border of it looks especially choppy, it's distracting from the site.
Is there a pixel-smoothing option for the stage? or some equivalent?
Does my question even make sense?
Please help.
Thanks
Moving Running Forward But Elements Moving Off Stage
I'm positive I've done it by the book. All symbols on the stage - one by one dragged them off the stage creating timelines - about 6 layers. Play the movie and all the elements start on the stage and move off. Just the way I wanted it but in reverse. Simple vertical and horizontal motions. My mistake must have been in the beginning somewhere - but where ?
[F8] Flash Site, Multiple Scenes, Button Moves Scene To Scene Instead Of Navigating
Hi...I am very new at flash, so forgive my ignorance in advance...I really really need help!
I created a site, separated into scenes (intro, main-home, about, portfolio, press, contact).
About half the time the navigational buttons work fine. However, the other half of the time one of the buttons, the Press button, instead of bringing me to the Press scene, just moves scene to scene (for example, say I'm on the home page and I want to go to the Press page, it just goes to the about page...I hit the button again it goes to the Portfolio page, etc.). I think the problem lies somewhere in bypassing the intro prematurely (you can skip intro and go straight to the site/home-main scene), but I'm not positive.
Here's the code for the Press button:
on (release) {
gotoAndPlay("press", "pressframe");
}
where pressframe is the name of the first frames in the Press scene.
I can upload the fla file to my own site for download and review if necessary....
Please help!....I am losing sleep and hair over this.
Help With Passing Number From Scene 1 To Scene 2's Dynamic Text Field
hi all ,
i have 2 scenes on the first i retreve user information from flash and through php to a mysql database then send it back to flash. on one of the lines i retreive a id number
content.htmlText += " <a href='#" + this["id"+i] + "'>" + this["id"+i] + "</a><br><br>";
when the user clicks on this ahref i want to goto scene 2 and insert the id into a dynamic textfield with an instance name of "recorde_id"
this scene is complete and works it retreives more infor about the user..
but i have to manualy enter a id number into a INPUT filed i want it to be automatic that why i have changed it to be dynamic so it can capter the ahref from scene 1.. if you need more code or information just ask and ill deliver, im a flash newbee..
cheers aron.
Targeting Frame Label In Scene From Movie Clip In Same Scene
Hey Pals,
I'm trying to target a frame label on the timeline of a scene from a movie clip within the same scene, using Flash MX 2004 Pro. The scene is ultimately used as a .swf to load as a page of a website. The frame label is called "miscOn", the scene is called "misc". The below code is attached to a button within the movie clip.
on (release) {
loadMovieNum("tajwebsite_main.swf",1);
gotoAndPlay(miscOn);
}
Thanks!
Stu
Simple Gotoandplay - Animate The Scene Out Before Playing Selected Scene?
Hey there again,
Just wondering if you guys could point me in the right direction.
Before, when I made full-flash websites, when I clicked a button I'd have it gotoandplay frame 60 or whatever (or scene 2 or 3 or 4 etc.) and that page would start up there and have a nice little animating intro but it would be a very abrupt start because anything on the previous page would just disappeer jaggedly.
But I've seen a lot of nice sites, that once you press a button, it'll clean up the current scene, say have everything burn out or fade or or something instead of just having the next option just appear, then go to the selected page. Say they clicked News or Contact, and they were on products. It would allow me to have a timeline to animate all the objects out (just a simple tween) then once it reached the end and all the objects were out, it knew which button they pressed and where to gotoandplay.
This is probably easy actionscripting (or not, I have no clue) so it would be greatly appreciated if someone could direct me, thanks!
Scene 2 Works Fine, But When Preloaded Added Scene Will Not Work
I have a website at wosso.com which I needed a preloader. So currently the site works fine. I am toying with a preloaded, but when I add it the main part of the site does not function.
There are two scenes, PRELOADER and SCENE 1. My preloader includes this script in the first frame of the preloader: ifFrameLoaded ("Scene 1", 105){
gotoAndPlay ("Scene 1", 1);
}
I have also inluded this line at the end of the preloader, but also tried it without this line:
gotoAndPlay ("Preload", 1);
I haven't used Flash in some time and I am not good at scripting. It seems to make sense, but why is it not working when SCnene 1 works fine by itself.
Any sulotion/suggestions?
Thanks,
Wayne
Play The Rest Of Current Scene, THEN Gotoandplay Another Pre-determined Scene
Hi,
Im my scene contains 6 buttons, I want button '1' to play the rest of the current scene (for example scene '0' then goto and play scene '1'
I want button '2' to play the rest of the current scene (for example scene '0' then goto and play scene '2'
I want button '3' to play the rest of the current scene (for example scene '0' then goto and play scene '3'
etc....
any ideas? this is for actionscript 3. My current script just makes the button goto a certain frame, can I edit it? here it is:
stop();
thumbbtn1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
function mouseDownHandler1(event:MouseEvent):void {
gotoAndStop(2);
}
thumbbtn2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2);
function mouseDownHandler2(event:MouseEvent):void {
gotoAndStop(3);
any help greatly appreciated.
Ger
Sound Plays From Next Scene, While Playing In Current Scene?
i am making an animation, i have about 8 scenes.
for some reason it starts playing the sound from the next scene in the middle of the current scene.
why?? i checked movie explorer and the sound is in another scene. does that sound like a flash bug, or just me? it is a big file, could that be it. please help it is driving me crazy!!!!!
I Cant Navigate 1 Scene From Another Scene Thorogh Movie Clip
SIr i made a Movie Clip and in the movie clip there are 4 buttons when i want to use the button so go to another scence it cant happen so how can i go to Another scene by the button which is present in the MOVIE clip
i think u understand my Problem
simply summary is that i there is a button in the movie clip and i want to use the button to go to another scene but it cant happen
Thk u in adnvance for any body Consideration
On My Movie, At The Middle Of The 3rd Scene, Goes And Plays The Sounds On 4 Scene...m
on my movie, at the middle of the 3rd scene, goes and plays the sounds on 4 scene...leaving some stuff of the 3rd... then goes blank... then it just gets crazy... no where there in the middle of the scene i gave it a command to go to the next scene... what on earth is going on...
please help...
it never happened before...
mayor deadline/...
urgent care...
thank you in advance:
chesckob
Button Relase; Play Curent Scene And Go (scene)
I need a bit of help, and its hard to explain. I have a menu that consist of 6 buttons on Scene1. I want to be able to click on a button and play scene1,frame37, then after it finishes playing I want it to move over the designated scene from the button pressed.
//This is what I currently have which makes the button play the ending of the scene.
on (release)
{gotoAndPlay( "scene 1", "fadeout");
}
//I need to finish the actionscrip by going to a different scene after it finishes playing the current scene. This is for all the buttons.
Example:
Button1 needs to play "scene 1", "37" then go to scene 3
Button2 needs to play "scene 1", "37" then go to scene 4
(any button) to Play "scene 1", "37" then go to (scnen asign from button)
and so on.
Any feedback is greatly appreciated.
Buttons Aren't Going To Correct Scene, Just Progresses To Next Scene :(
Anyone ever have the problem when your buttons have the code to jump to a specific scene, they just jump to the next scene on your palette instead?
For instance, I've got 6 buttons that I need to operate as a normal HTML site. So I programmed each button to jump to the corresponding scene with...
Code:
on(release) {
gotoAndPlay("fine, frame1");
}
In this situation, that button needs to jump to the scene "fine", but instead, when I click on it, it simply jumps to the next scene in the scene palette (which isn't "fine").
Interestingly as well, once it scrolls through all 6 scenes (by clicking on any button 6 times), it starts over with the first scene again.
Anybody know what I am doing wrong?
Thanks!
Changing Form Preloading Scene Into Main Scene.
hi all,
i've got a problem i can't figure out. i'm working on my website in flash. this is how i will do it:
http://www.auto-i-public.ch/adi/aresthetics.html
now, you see the letters cercling around in the upper left corner. all is well. now i created a preloader (there will be heavy stuff on it...maybe even shockwave files). i chose to do it with a new scene. it's a basic one. bar filling up, a few dynamic texts with the status. this is working too.
but then, when the preloading is done, it jumps into the main scene. everything appears and works. but the circeling letters don't work anymore. they run on a little loop for themselves. it's actually the only loop i have on my mainline. the rest is in mc's. i even tried to put the letters in a mc. didn't work either. it seems as the letters wouldn't initialize anymore. i checked if there are no already set variables coming over from the preloader. negative. i'm out of wisdom. if anyone could help me...i'd send the files, if nothing else helps. it's nothing really to steal.
tnx
adrian
Click, Clear Stage Scene, THEN New Scene
I think this is a common problem, but I haven't found the common solution. We've discussed this a little on a another thread, but we didn't really come up with a solution.
I know a lot of people want to have a button (well, multiple buttons), that when you click on it, it gotoAndPlay()s a scene that clears the stage, and THEN goes to a new scene (or in my case webpage) based on what button was clicked.
I know the answer has to be some use of variables and actionscript, but I haven't been able to puzzle it out, being new to flash.
Does anyone know the solution, or better yet, have a .fla file with the solution (so we can all see greatness in action)?
Thanks!
Button In Scene 1 Loads A Specific Mc In Scene 2?
Unfortunately my brain isn't really designed for understanding or figuring our ActionScript very well... Here's what I'm trying to do and the problem:
The user arrives at a 'splash screen' in Scene 1 which gives them the option to choose to view the demo in 'interactive' or 'autorun' mode (the two modes are slightly different in terms of their content so I'll have two separate scenes, Scene 2 will contain all the 'interactive' movie clips and Scene 3 will contain all the 'autorun' movie clips). The user can then choose whether they'd like to view the demo with the sound on or off. Once they've made this selection they'll be taken to the opening animation of the mode (i.e. interactive or autorun) they selected, with the sound on or off as they specified.
What ActionScript needs to be applied to the sound on or off buttons in Scene 1 to ensure that the correct sound movie clip loads at the beginning of Scene 2 or Scene 3.
If the user initially decided to view the demo in autorun mode they will be able to change to interactive mode at any time... how can I ensure the sound setting they have selected remains unchanged across Scenes (and they can choose to turn the sound on or off at any time)?
I need to create this as a single SWF - I can have as many Scenes and movie clips as is necessary but cannot use loadMovie and multiple SWF's
If anyone has any ideas I'd love to hear them! I just can't figure it out and I'm getting REALLY desperate!
Thanks!
|