Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








[F8] Button Script - Play Until The End Of The Scene, Then Go To Scene X


I'm just a newbie to actionscript, but I'm working on a project in which the following is vital, and I was really hoping that someone might be able to give me a helping hand.

- Scene A lasts for 100 frames, and it includes a button on one layer (lasting from frame 1 - 100) that links to Scene B - pretty standard fare.
- When the user clicks the button at any time within these 100 frames, I need the Scene A to play until the end (frame 100), then go to Scene B.

The reason behind this is that I would like the video clip of Scene A to have a seamless transition into the video clip of Scene B, and the only way I see this happening is to force Scene A to end before playing Scene B.

To sum up, is there any method to delay the event of a button (such as gotoAndPlay("Scene B", 1), until the end of Scene A, or until a specific frame? (whichever is easier)

Sorry for any confusion - If the above explanation is unclear, just let me know and I'll try to write it more precisely.

Many thanks, and any help would be extremely appreciated!

Costas




FlashKit > Flash Help > Flash ActionScript
Posted on: 01-24-2007, 07:35 PM


View Complete Forum Thread with Replies

Sponsored Links:

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.

View Replies !    View Related
Button Script - Play Until The End Of The Scene, Then Go To Scene X
I'm just a newbie to actionscript, but I'm working on a project in which the following is vital, and I was really hoping that someone might be able to give me a helping hand.

- Scene A lasts for 100 frames, and it includes a button on one layer (lasting from frame 1 - 100) that links to Scene B - pretty standard fare.
- When the user clicks the button at any time within these 100 frames, I need the Scene A to play until the end (frame 100), then go to Scene B.

The reason behind this is that I would like the video clip of Scene A to have a seamless transition into the video clip of Scene B, and the only way I see this happening is to force Scene A to end before playing Scene B.

To sum up, is there any method to delay the event of a button (such as gotoAndPlay("Scene B", 1), until the end of Scene A, or until a specific frame? (whichever is easier)

Sorry for any confusion - If the above explanation is unclear, just let me know and I'll try to write it more precisely.

Many thanks, and any help would be extremely appreciated!

Costas

View Replies !    View Related
Getting A Button In Scene 1 To Play Scene 2
okay here's the deal. i've got a button in scene 1. i want it to play scene 2, frame 1, but when i put in scene 2, frame 1, it ends up playing scene 1, frame 1... any ideas??? god it's annoying!

thanks...

View Replies !    View Related
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

View Replies !    View Related
Play, Pause, Next Scene, Previous Scene.
Hi all, could some give me an example of Play, Pause, Next Scene, Previous Scene, preferably in action script 2. (Flash MX 2004)

Id like it to work like so…

Pause - Pauses sound and movie.

Play – Continue Movie and sound were it was paused.

Next/Previous Scene - +1/-1 to current scene so that I would not need to edit it for each slide. (Is this possible?)

I’m reflectively new to action script so please don’t bite.

Thx in advance.

View Replies !    View Related
Making Scene 2 Play AFTER The First Scene Is Finished
hello everyone. I am hard at work trying to figure out as much flash as possible (hence the posts I've made recently). I am now working on a flash project that has 3 scenes, each scene has one frame and 3 layers (2 layers used for masking a picture and making it appear with boxes and 1 layer as a button).

The problem I am having is that when i test movie, it shoots back and forth from scene to scene without playing the movie instance of the masking I have created. I have uploaded the file for anyone who would like to look at it to see what i mean.

I just need to have scene two play AFTER the first scenes movie clip is done, and scene 3 to play after scene 2's movie clip is done, ect.

Thanks for the help everyone.

- Robb

View Replies !    View Related
Play Next Frame In The Current Scene Then Go To Play Other Scene
Hello !! Everybody

I'm minny. I'm the new one who use flash ^_^

I don't know how to write this action scirpt about to play next scene -_-

How can i do ??? In the scene 1, when push the button (that it is menu), i want it play next frame in the current scene and then it go to play in the frame 1 in other scene. I have 5 menu, Each menu in their scene. How can i write this script ???

Help me please...eeee
Thank you :-)

View Replies !    View Related
[f8]Button Won't Play Second Scene
Won't play scene 2

See Earlier Post I can Break anything

Why does this not play Scene 2 movie?
Have tried the following code on 1st frame of button in Actions script - Button:
on (release) {
gotoAndPlay("movie");
}
and also
on (release) {
gotoAndPlay("Scene 2");
}

But neither worked.

View Replies !    View Related
[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.

View Replies !    View Related
HELP URGENTPause And Play Button For Scene
I need a Pause and play button for scene.
I've 3 different scene, every each width 5 minutes.
I need to do a pause in every time and then play for continue my movie.
Somebody Can I help me?
I need this command for finish a presentation for my job.

Thank you for your help
Nicolas

View Replies !    View Related
Can A Button Play A Movie Then Go To Another Scene?
Can a button play a movie then go to another scene? In other words, you click a button and the scene plays from frame "x" to frame "z". At frame "z" it jumps to whatever scene the button specifies. I guess I need specific Actionscipt, but I'm not sure how to do it. Any help would be cool.

View Replies !    View Related
How Do I Tell A Button To Play A Few Frames THEN Go To Another Scene...
Ok, it's probably not as bad as I think it may be but I have a navigation bar and each button links to another scene. What I NEED each button to do though BEFORE they switch to their respective scenes is to play 10 or so frames from the current scene (which are at the end of the scene) AND THEN go to their respective scenes....can anyone help? MAN I gotta learn to program!

Thanks

View Replies !    View Related
Button To Play&go To Another Scene After 15 Frames
i have a button that suppose to play 15 frames when u click it, and after that 15 frames must go to another scene.
Now the button do this. i click and jump direct to the other scene.
actionsript in the button:
on (release) {
gotoAndPlay (16);
}
on (release) {
gotoAndPlay ("tecnico", 1);
}


PLEASE SEND HELP!!!!!

View Replies !    View Related
How To Go Back From A MC In Scene 2 To Play Scene 1
i have this,

1-main scene
2-scond scene ( in this scene i have one MC and inside another MC with a go back button and a home button)

i need to know how i can tell that button to go and play home.

let look aT IT THIS WAY.

in my scond scene i have a MC called "lines" inside "lines" i have another MC called "map" and inside "map" i have a button called "back" and one called "home"

"back" must return to "lines" and play frame 13
while "home" must return to the first scene and stop at frame 14.

Have any idea?

another thing.

I have a button inside a MC that has to go to scene2, how can i target that button the right way tat will understand that it does not need to play "the main scene" but the second one?

View Replies !    View Related
How To Play Scene 1 For 20 Seconds Before Scene 2
i've searched for a few answers to this on the board, and found similar q/a's, but not something as exact, so ill ask here:

i want scene 1 of my movie to play for, oh, 20 seconds or so before moving on to scene 2.

currently, my scene 1 is 10 frames.

an instance of a movie begins on frame 2.
when the player reaches frame 10, there is an action script there to jump back to, and play, frame 2 (thus, starting another instance of the MC).

so, my move repeats 2-10 over and over and over again, only advancing to the next scene by the click of an "enter" button.

but, is there anyway to have it automatically advance to the next scene after a certain time period? (if i put some sorta script in frame 1, telling the movie to advance, to scene 2 frame 1 after 20 seconds)

?

thanks in advance

View Replies !    View Related
Button In MC Won't GoTo Play Frame In Scene
i am fumbling my way through scripting and need help.
I have a button in a movie clip, which is in another movie clip, which is on a layer in my scene. I want that button to go to and play a frame in that scene.

going to that button in the first movie clip and telling it to GoTo and play frame 15 isn't working. I have tried telling it both "curent scene" and the scene's name.

is there some sort of scripting that I need to know to get the movie clip's buttons to control the scene?

-josh

View Replies !    View Related
I Would Like To Play And Then Goto Scene Only If Button Event
I would like to play and then goto scene only if button event is true
so is there someone who can help me to build the script to do so

example: scene1 is playing and stoping into the midle
i have 3 buttons
if one of these is click the scene1 continue to play and
at the end goto the scene coresponding to the button clicked.

I have no idea to make it work

View Replies !    View Related
How Make Button Go To Play Beginning Of Scene
i have created a project with one scene about 1:30 long. It contains moving pictures then an embedded movie plays. On the frame the movie ends i put a stop action. I then created a new layer for a button which I took from the common library. For the actions of this button i put the on release action then the goto and play frame 1 action but the button still doesnt work. Now how do i make it so when you click on this button it goes back to frame one to start the whole project over?

View Replies !    View Related
Press A Button To Play An Animation In Another Scene
okay, i'll try my best to explain my situation.

I have a button in my main scene. I want to be able to press it and have it rock back and forth (for reference, it's a picture of a guitar).

I have made the animation for the rocking back and forth in a second scene. This might be the wrong way of doing it, if it is please let me know.

So what I want to know is, is this the correct code?

I have this:

stop();

guitar1_btn.onPress = function() {
//gotoAndPlay(1);
trace("guitar pressed");
}


It works, but I think once I start adding other scenes it's going to not work (or I'm missing some code that tells it which scene to refer to).

Basically what I'm asking for is the correct code. First things first, but I would also please like to know how to make this animation loop so that when I click on the button it goes to frame 1 and plays, and when it reaches the last frame of that animation (which would be frame 6), make it go back and do it again, over and over, until it is re-clicked.

that should be all for now, thanks a lot in advance

View Replies !    View Related
How To Play A Scene Through Nested Button Inside Movie
how will work a menu which is on main movie, in that main movie section I hv put button, In this button I hv put several menus (buttons) and I want to play next scene on that menu, I m in very tense they are not working.
on(release){
_root.gotoAndPlay("Scene3", 1);
}

and

on(release){
_parent.menu.gotoAndPlay("Scene3", 1)}

and lot more I hv tried but not get my result.

SO plz plz plz help me!!!

View Replies !    View Related
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!

View Replies !    View Related
Button Action - Finish Scene And Go To Other Scene
hello and thanks for any help,

i have a main scene that runs to frame 125 and stops.

i have a few buttons, each one i want to (upon click) continue the movie (up to, say, frame 130, which has my 'transitional fade') and then go to the corresponding scene (each button corresponds to it's own scene).

this is what i've been trying, and it's continuing past the 'stop' but not going to the scene:

button:
on (release) {
_root.choice = 1;
_root.play();
}

frame 125
stop();
if (_root.choice == 1){
_root.gotoAndPlay("Scene 2",1)
}

if (_root.choice == 2){
_root.gotoAndPlay("Scene 3",1)
}


thanks a lot !

View Replies !    View Related
Need A Button To Navigate From Scene 1 To Scene 2 [renamed]
Hi !

How do i do a button in scene one that opens scene two?????

View Replies !    View Related
Need A Button To Navigate From Scene 1 To Scene 2 [renamed]
Hi !

How do i do a button in scene one that opens scene two?????

View Replies !    View Related
Button Action: Finish Scene And Go To Specified Scene
hello and thanks for any help,

i have a main scene that runs to frame 125 and stops.

i have a few buttons, each one i want to (upon click) continue the movie (up to, say, frame 130, which has my 'transitional fade') and then go to the corresponding scene (each button corresponds to it's own scene).

this is what i've been trying, and it's continuing past the 'stop' but not going to the scene:

button:
on (release) {
_root.choice = 1;
_root.play();
}

frame 125
stop();
if (_root.choice == 1){
_root.gotoAndPlay("Scene 2",1)
}

if (_root.choice == 2){
_root.gotoAndPlay("Scene 3",1)
}


thanks a lot !

View Replies !    View Related
Scene 1 Play One Time And Play Scene 2
I'm creating a flash project and have two differant scenes. Scene 1 is the intro which I only want to play ONE time. Scene 2 plays with interactivity. Right now the swf file plays but once the animation in scene 2 ends it goes back and plays scene 1. I would like scene 1 to play only one time and scene 2 loop. Can someone help please?

Thanks!!
Jeff

ImCoolToo@aol.com

View Replies !    View Related
Problem Getting A Button From A Movie Clip To Play A Frame In Main Scene
I am at a stumbling block and need help!!

I have created a animation that is a scrollbar full of buttons as a separate clip, the prob is that when I set the action from the button of that clip to the main scene, the action doesn't happen.

Please help! you can reach me by aim or e-mail and I will send you the fla to help me debug, thanks!!

View Replies !    View Related
Scene 1 To Scene 2 With Nested Button
I am having trouble getting a nested button in an MC to follow script, and go to scene two when released.

Over view, I have an MC and a stop action on the first frame in separate layers in scene one. I have also given an MC/graphic in scene two an object name so to use it in scripting. When the MC in scene one plays its last frame, it stops on a keyframe which is the button with the script. This is the button that will trigger the action script to take the viewer to the next scene when the mouse is click released on. I have placed the script that is:

on (release) {
_root.portfoliobutscene2.gotoAndPlay(1);
}

I have a stop action in the first frame of scene two on its own layer, and the MC/graphic on another.

When the button in scene one is click released it does not go to scene two as scripted. It does nothing.

What am I doing wrong, I know this is pretty simple! For your reference I am using Flash MX.

I have place the button for navigation in the desired frame in scene one, and not nested as it was earlier in the MC. It seem to work fine this way with the *script, but alignment with the MC animation and the button is a pain in the ass since they are both separate objects, and are not together. My realization is that a button object placed in an MC that is placed in a scene, can not navigate or control anything outside that MC. Only when the button for navigation is placed outside, and standing alone as its own keyframe in a scene will it understand the script for navigation to another scene. Is this true for all instances? I don’t know, please help.

*
on (release) {
gotoAndPlay(Scene_2)
}


Thank you for your help.

View Replies !    View Related
A Button To Change One Scene To Next Scene
I have choosen this script on my button

on(press){
nextScene();
}

But, it doesnt work. Is here any problem?

View Replies !    View Related
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!!!

View Replies !    View Related
Script On Button To Play Scene/clip From Frame To Frame
I there an action script that will allow the user to click a button and it will only play a section of the movie? Such as so many frames of a scene (like frames 20-176) or of a movie clip?

Thanks
ryan

View Replies !    View Related
HELP Button From Scene 3 To Scene 5
Hello.

on the homepage the first button links to Scene 4, but i want another button on the homepage to link to Scene 5.

I have tried and tried but with no effect.

on (release){gotoAndPlay (5,1)
}

Also i am using Flash 5 does that make a difference?

Can someone please help.

Thank you.

View Replies !    View Related
Play Scene From MC?
I can't seem to find the answer to this. My movie has Scene 1 and Scene 2. I have a MC in Scene 2 that has a button within it that says "replay movie". I want to have it so that when you click on the movie it will play Scene 1, frame 1.

I know I have to do something like _root. something.

Can anyone help me?
Thank you
linkme75

View Replies !    View Related
Last Scene Won't Play
I've created a Flash MX piece that will be played locally from a Projector file off of a CD. The piece has 13 scenes, each composed of numerous layers with photo images that animate over the timeline as a voiceover plays all the way through each scene on its own layer. Each scene (except the opening "intro") has a stop action in the last frame, and the various scenes are accessible to the user through buttons.

Everything plays well, looks great, actions/buttons all work as they should EXCEPT one scene, which is the last one in the scene order. It plays about 3/4 of the way through (no matter where it's accessed from in the piece), then the voiceover layer continues playing, but the remaining image layers won't play, it just stays on the one image(layer) that it appears frozen at as the timeline continues to play the narration layer until the end of the scene.

I tried re-doing the layers/tweens from the "frozen" point forward and re-publishing, checking actions, frames, everything and can't find anything that accounts for this problem.

In the fla file, if I scrub/play the timeline the images all appear and animate as they should. And, in published (projector) form, I can "force" it to "fast forward" past the frozen point using the Ctrl-> keys to step it forward, however it will not play on its own, and in the "test movie" mode, it won't even scrub past the frozen point.

I'm not a newbie, but not very sophisticated with action script either--any help with a workable solution would be greatly appreciated!
Thanks

View Replies !    View Related
Last Scene Won't Play...
I've created a Flash MX piece that will be played locally from a Projector file off of a CD. The piece has 13 scenes, each composed of numerous layers with photo images that animate over the timeline as a voiceover plays all the way through each scene on its own layer. Each scene (except the opening "intro") has a stop action in the last frame, and the various scenes are accessible to the user through buttons.

Everything plays well, looks great, actions/buttons all work as they should EXCEPT one scene, which is the last one in the scene order. It plays about 3/4 of the way through (no matter where it's accessed from in the piece), then the voiceover layer continues playing, but the remaining image layers won't play, it just stays on the one image(layer) that it appears frozen at as the timeline continues to play the narration layer until the end of the scene.

I tried re-doing the layers/tweens from the "frozen" point forward and re-publishing, checking actions, frames, everything and can't find anything that accounts for this problem.

In the fla file, if I scrub/play the timeline the images all appear and animate as they should. And, in published (projector) form, I can "force" it to "fast forward" past the frozen point using the Ctrl-> keys to step it forward, however it will not play on its own, and in the "test movie" mode, it won't even scrub past the frozen point.

I'm not a newbie, but not very sophisticated with action script either--any help with a workable solution would be greatly appreciated!
Thanks

View Replies !    View Related
Last Scene Won't Play
I've created a Flash MX piece that will be played locally from a Projector file off of a CD. The piece has 13 scenes, each composed of numerous layers with photo images that animate over the timeline as a voiceover plays all the way through each scene on its own layer. Each scene (except the opening "intro") has a stop action in the last frame, and the various scenes are accessible to the user through buttons.

Everything plays well, looks great, actions/buttons all work as they should EXCEPT one scene, which is the last one in the scene order. It plays about 3/4 of the way through (no matter where it's accessed from in the piece), then the voiceover layer continues playing, but the remaining image layers won't play, it just stays on the one image(layer) that it appears frozen at as the timeline continues to play the narration layer until the end of the scene.

I tried re-doing the layers/tweens from the "frozen" point forward and re-publishing, checking actions, frames, everything and can't find anything that accounts for this problem.

In the fla file, if I scrub/play the timeline the images all appear and animate as they should. And, in published (projector) form, I can "force" it to "fast forward" past the frozen point using the Ctrl-> keys to step it forward, however it will not play on its own, and in the "test movie" mode, it won't even scrub past the frozen point.

I'm not exactly a newbie, but not very sophisticated with action script either--any help with a workable solution would be greatly appreciated!
Thanks

View Replies !    View Related
Why Does One Scene Play Over Another?
A button in the main scene start onrelease another scene. Goes great.
But when I press the backbutton it goes to the wright scene, but over that scene still plays the other scene.
Please see the URL cause explaining is a little hard.

Press the second rose FOTO'S BEKIJKEN (see pictures)

http://www.buromoerel.nl/test/index.html

How do I unload that scene?

Thanks loots

Petra

View Replies !    View Related
How To Play Scene?
I have a button inside of the movie clip and I need this button to play a scene.
Here is what I tried:

on (press){
gotoAndPlay("Scene1",1);
}

it wont work

on (press){
_root.clipname.gotoAndPlay("Scene1",1);
}

it wont work

The only way it works when I place the button to the upper level
But I need it work while the button inside of clip

Any suggestions?
thanx

View Replies !    View Related
Play Another Scene, How?
Hi there,
I'm really new to flash, tough I have used it abit in school.
But now I'm making a little flashmovie for a schoolwork, and now I am stuck at a place.
I have got almost every scene done, only problem is that they aren't in the places they should be (i.e scene 4 should be scene 2, etc).

So I tried to add this action:
gotoAndPlay("4","Layer 1");
which should tell it to play scene 4, but instead it do play scene 2.
I maybie use the wrong action, but I hope someone is willing to help me out here.

Thanks in advance.

View Replies !    View Related
Scene 2 Won't Play
My new movie has two scenes. The first scene displays the title and the creator's name. Then it goes into the second scene which shows an animation. But when i play it, it show the first scene, then when it goes into the second scene, it only shows the first frame and loops back into the first scene and display the name again. What's wrong?

View Replies !    View Related
Getting The Scene To Play...
Is there a way to have my opening scene ( a bunch of animated pics) start to play BEFORE the entire scene itself is loaded?
I wanna cut down on load time.

View Replies !    View Related
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 += "&nbsp;&nbsp;<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.

View Replies !    View Related
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

View Replies !    View Related
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!

View Replies !    View Related
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

View Replies !    View Related
Scene -> Object? Turning A Scene Into An Importable Symbol For Other Projects
Okay I made a scene with movement and everything, but when I convert it to a symbol I lose the movement frames.
I want to be able to import it as an object so that the animation loops for as long as I need it to in the other project.

How do I do this?

View Replies !    View Related
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!!!!!

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
How To Disable The Intro Sound When Switching From 1 Scene To 2nd Scene
hi guys
i got another problem in my project

below is an attacchment
i wanna stop the intro sound from playing when i from scene 3 go to scene 2
how to fix it? T_T


i want the song to autoplay for the scene 1 without adding button to control it.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved