ActionScript 2.0 :: [fmx] Go To A Specific Scene In The SWF?

Aug 17, 2004

I've got a script that once a button is clicked it loads an external SWF on level 0. However, I need to go to a specific scene in the SWF. I've searched the usual ie Flash Kit with no luck!

Here's what I've got

on (release) {
loadMovieNum("CRM_1.swf", 0, "GET");
}

What script do I need to add and where?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Events Move On To A Specific Scene AFTER The Rest Of The Scene's Animation Has Played Out

Aug 11, 2009

so I have some buttons that, as of right now, simply trigger the scene to move on while at the same time killing some particle effect animations I have spawning when the animation is idle. What I now need to do is make these events move on to a specific scene AFTER the rest of the scene's animation has played out (about 400 more frames) I'm figuring that the gotoAndPlay command has to be tied to some sort of timer variable that I would have to figure out based on my fps. Or maybe there is a way to set up a timer directly tied to a certain amount of frames allowed to go by. I'm pretty noob at actionscript, so keep that in mind. Here is the script at the point where the animation pauses to await user input on the buttons:

[Code]....

View 4 Replies

Actionscript 2.0 :: Jump From One Scene To Another Scene's Specific Frame?

Nov 25, 2009

I am making an online portfolio and I have created the following scenes:homeaboutontactright now, I have three movie clips on the home screen that I have created into buttons.

on (press) {
go to Scene 2, frame 25 ?????????????????????
}

What I would like to do is after someone clicks on the button, it should then jump to another scene's specific frame number. So for example when you press the "about" button, the playhead goes to the "about" scene to 25th frame. Same thing for each button

View 3 Replies

ActionScript 2.0 :: Go To Specific Scene?

Jan 25, 2005

How do I go from 1 scene in a file, to a specific scene in another file? Must I use those Named Anchors, and whats the scripting then??

This is what I've got at the moment:

Code:
on (release, keyPress "<Left>") {
loadMovieNum("presentation.swf", 0);
}

but it just starts the whole file from the start.. I want it to go to example: scene 5 in presentation.swf....??

View 5 Replies

ActionScript 2.0 :: Go From 1 Scene In A File, To A Specific Scene In Another File?

Jan 25, 2005

How do I go from 1 scene in a file, to a specific scene in another file? Must I use those Named Anchors, and whats the scripting then??This is what I've got at the moment:

Code:
on (release, keyPress "<Left>") {
loadMovieNum("presentation.swf", 0);

[code].....

View 5 Replies

Flash 8 - Goto Specific Scene In MovieClip

Jun 7, 2009

I am getting better at Flash 8, but I have a problem. I am in a Movie Clip, and when you press 'g' it returns you to the first scene, and I want it to go to the second scene.
on(keyPress "g"){
_parent.gotoAndStop("Scene 2",7);
}
Is there a way you can do that?

View 1 Replies

ActionScript 3.0 :: Get Number Of  Frames In A Specific Scene?

May 22, 2010

Are there anyway to get number of frames in a specific scene? There's a totalFrames property of MovieClip class, but that's the total frames of all scenes.

View 3 Replies

ActionScript 2.0 :: Go To Specific Scene When Button Pressed

Apr 1, 2011

I am creating a music project using flash that will show students how to play scales and chords. At the moment I have 3 combo boxes ('tonic', 'tonality' and 'type') and a 'go' button. and when I press the go button I want it to go to the scene that contains the chord/scale that has been chosen. at the moment i have the code :

if((Tonic.value == 'C') and (Tonality.value == 'Major') and (Type.value == 'Chord'))//CmajorChord {
gotoAndStop(3);
} else if((Tonic.value == 'C') and (Tonality.value == 'Major') and (Type.value == 'Scale'))//CmajorScale {
gotoAndStop(4);
} else if((Tonic.value == 'C') and (Tonality.value == 'Minor') and (Type.value == 'Chord'))//CminorChord {
gotoAndStop(5);
} else if((Tonic.value == 'C') and (Tonality.value == 'Minor') and (Type.value == 'Scale'))//CminorScale {
gotoAndStop(6);

I have this code for all 12 keys.

View 0 Replies

ActionScript 2.0 :: Stop Specific Frame Go To Next Scene?

Jul 14, 2011

i want to make a puzzle..a photo seperated in 10 pieces(10 scenes)withdifferent speed.each piece does a move from right to left and back again.when i push a button in the correct frame i want to go to the next scene to do to the same thing,if its the wrong frame i want to play another scene.and is it possible to all that staff with one button?

View 0 Replies

ActionScript 2.0 :: Change Scene In A Specific Hour

Jan 17, 2012

I was wondering how i can change scene in AS2 in a specified hours of the current day..Until the date the scene 1 contain "Promo coming soon".when the time set is reached (example at 5pm) the swf go to scene2 and play the promo image.. it's possibile?

View 9 Replies

ActionScript 2.0 :: Refresh A Scene To A Specific Frame?

Apr 8, 2003

is there a way to refresh a scene to a specific frame?

I am making a chat room and am trying to figure out how to refresh the messages.

View 1 Replies

ActionScript 2.0 :: Printing Movieclips From A Different Scene In A Specific Area?

Jul 22, 2011

So I've recently started working with ActionScript 2.0 at my internship. I am now working on a game, that already had all its graphic interface designed and I am doing all the programming. Basically what I have to do is get some movie clips (randomly) from a different scene and print them on another scene in a designated area (but also randomly). I am not sure the best way to explain my problem, so I made a sketch of how the scene should look. [URL] So basically I want to print the movie clips on the black space, as if they were the red squares. But the movie clips are stored in a different scene in the same project. So I want to know two things: how do I get the movie clips from the different scene? And how do I print those movie clips on the specific area?

View 1 Replies

ActionScript 2.0 :: Between Scene Navigation To Specific Frames : Flash 8?

Feb 2, 2012

In the live preview mode, buttons/frames enabled I can navigate between scenes to specific labelled frames.However, when I view the 'movie' I can not navigate between scenes at all.My frames are all labelled.

View 1 Replies

ActionScript 2.0 :: Point To A Specific Scene When Mouse Is Inactive?

Oct 17, 2006

I'm working on a presentation to be presented on a Trade Show. It have an inicial movie, running in loop, but with a Menu bar, so people could stop the movie and go to a product catalogue. I want that when people stop looking the catalogue and go away, the presentation go (after a few minutes) to the initial movie loop again.

View 4 Replies

ActionScript 2.0 :: When Press The Movie Clip It Goes To Specific Scene Label

Aug 20, 2011

i have a menu with 8 buttons and every movie clip of them have the following script on it

[Code]....

what i need is when i press the movie clip it goes to specific scene label. i tried this code

on (release) {_parent._parent.gotoAndPlay("b")
}

but it doesnt work with movie clip but works with buttons only , so is there any equivalent code to use with the main code above of movie clip.

View 7 Replies

ActionScript 3.0 :: Make Buttons Within A Movieclip Play From A Specific Frame In Scene 1?

Aug 30, 2011

I have a movie clip on the main timeline. This movieclip has buttons that I want to play different frames in scene 1.
 
At the moment, this is the code I'm using in scene 1.
 
[Code]...
 
I'm getting the error below but have no idea what I should be doing.
 
[Code]...

View 3 Replies

ActionScript 2.0 :: LoadMovie - Target A Specific Scene In The Load Movie Command?

Jul 9, 2002

I want to load a movie loadMovie ("target", _root....) and so on. My question is can you target a specific scene in the load movie command?? I have a movie with a button that loads a new movie into level 0 so it replaces the first movie. Now in the new movie I have a button that unloads the new movie and loads the previous one. But it starts it off at the veru beginning of the movie. I want it to pick up where the first button click took place.

View 2 Replies

ActionScript 2.0 :: MX04 To Make The Mouse Cursor Start At A Specific Coordinate Upon Enterig A Scene?

Jun 6, 2010

I'm trying to make a game of sorts. I have a button that you need to click that is in the center of the screen. Upon clicking it, it goes to the next scene.What I need here is for the mouse cursor to start in the upper right-hand corner of the stage of the second scene whenever said button is clicked. Not just a movieclip of a cursor, but the actual mouse itself, since it needs to be able to click a button on the other side.Below I've included an example of what needs to be done (not my actual game, but it shows the problem that I'm having. IT IS AN MX2004 FLA FILE.

View 3 Replies

ActionScript 2.0 :: Preloader - Load A Movie Clip After Pressing A Specific Button In The Main Scene

Jan 2, 2005

I wrote this AS for my preloader which schould be able to load a movie clip after pressing a specif button in the main sceene:

[Code]....

1) The problem is that to be able to target a movieclip I will need to give it a instance name. Where can i find this function in MX ?

2) I cannot understant how I schoul put a loadBar being a small movieclip on the main timeline, I think( the same timeline the container clip is at ) or maybe not ? well I am bit confused now..

Well I have done already a sceene preloader for my site and it works perfectly and i did not experience any problems as Im having now with this new kind of preloader.

View 2 Replies

Flash :: Make A Button Navigate From Scene 1 To Scene 2 Without Displaying Both Scene Content In Scene2?

Jan 27, 2011

ive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.

[Code]...

View 1 Replies

ActionScript 2.0 :: Passing Parameters - Swf Should Open A Particular Scene Called 'Scene 2' Rather Than Scene 1

Sep 13, 2004

Check out this code:

[CODE]...

everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried

[CODE]...

View 2 Replies

ActionScript 2.0 :: Have A Main Scene, Then Sitting In The Root Scene Have 2 Movie Clips.1)?

Dec 28, 2009

No..not that type of parenting ;DOK,I have a main scene, then sitting in the root scene I have 2 movie clips.1)centro2)fotoIn the first movie "centro" there is a menu btnI want this menu btn to call up mclarge + its frame (1) thats housed 3 levels inside the foto mc in root.

Main scene - (1) centro (banner which houses menu btn)
(2) foto_mc
- Main_boy_mc (<---works if menu btn houses in here)

[code].....

View 0 Replies

ActionScript 2.0 :: Make The Movie Jump From Scene 1 To Another Scene By Clicking On A Button?

Apr 17, 2004

I have a movie with 4 or 5 scenes. How can i make the movie jump from scene 1 to another scene by clicking on a button?

View 5 Replies

ActionScript 3.0 :: ArgumentError: Error #2109: Frame Label Null Not Found In Scene Scene 1

Apr 1, 2010

ArgumentError: Error #2109: Frame label null not found in scene Scene 1. at flash.display::MovieClip/gotoAndPlay() at intro_fla::MainTimeline/intro_fla::frame606()[intro_fla.MainTimeline: :frame606:3]

View 3 Replies

ActionScript 3.0 :: ArgumentError: Error #2109: Frame Label FrameThree Not Found In Scene Scene 1

May 21, 2010

I'm trying break down a large Flash project into smaller swf's using a Loader :
 
stop();
var reqA:URLRequest = new URLRequest("New_Inro.swf");var loaderA:Loader = new Loader();
function imageLoadedA(event:Event):void {    addChild(loaderA);}   loaderA.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoadedA);loaderA.load(reqA);
 
Some of these swf files are animations which have code that states :

MovieClip(parent).gotoAndStop("frameThree");

The first loader works but I cannot get that swf to move on to the next frame(frameThree) to load the next swf file
 
Instead I get this message
 
ArgumentError: Error #2109: Frame label frameThree not found in scene Scene 1.    at flash.display::MovieClip/gotoAndStop()    at New_Inro_fla::MainGuy_1/frame146()[New_Inro_fla.MainGuy_1::frame146:2 ]

View 4 Replies

ActionScript 3.0 :: Error #2109: Frame Label <BUTTON INSTANCE NAME> Not Found In Scene <SCENE NAME>.

Sep 2, 2011

I'm getting this error in the OUTPUT window, when I PREVIEW (COMMAND + RETURN) my SWF:
  
ArgumentError: Error #2109: Frame label nGallery_btn not found in scene Scene 1.
at flash.display::MovieClip/gotoAndStop()
at BrookBrovazMusic004_fla::MainTimeline/pageSelect()
 
- The funny thing is that the SWF works the way I want it to. You can view it here:  http://brookbrovaz.com
  
- I just don't like the idea that something's wrong, according to the OUTPUT window anyway.

[Code]...

View 3 Replies

Actionscript 3.0 :: ArgumentError: Error #2109: Frame Label Instance121 Not Found In Scene Scene 1

Jun 22, 2010

the error is:

ArgumentError: Error #2109: Frame label instance121 not found in scene Scene 1.
at flash.display::MovieClip/gotoAndStop()
at Untitled_fla::MainTimeline/goLabel()

this is my code:

stop();
function goLabel(e:MouseEvent):void
{

[code]....

i am using a movie clip button to open a swf with a loader. hope i m not missing any information/other coding....

View 3 Replies

ActionScript 2.0 :: Error - Scene=Scene 1, Layer=balls, Frame=1:Line 15: Identifier Expected

Oct 10, 2005

I've created a class which simulates an action for example a ball bouncing about a screen thus I'd create it like so:

Code:
var Ball1:ball = new ball(x,y);

How would I go about adding this to a loop, in a sense of every frame add another ball till you reach the maximum balls
currently after looking in help, google and forums this is all I could find

Code:

var ["Ball"+currentball]:ball = new ball(x,y);

but this doesn't seem to work and just causes

"**Error** Scene=Scene 1, layer=balls, frame=1:Line 15: Identifier expected"

View 3 Replies

ActionScript 3.0 :: ArgumentError: Error #2109: Frame Label Contact Not Found In Scene Scene 1

Mar 4, 2011

I have created a new Flash file using A3.It has a menu system which all works, I have included trace code that outputs button pressed.So the next step is when the right button is clicked it takes them to the next scene. Please note I have coded it in AS3. When I compile it returns no error however at run time when I click on the buttomit returns the following error:

Menu 1, button 1
ArgumentError: Error #2109: Frame label contact not found in scene Scene 1.
at flash.display::MovieClip/gotoAndStop()
at menuformason_fla::MainTimeline/itemButtons()

[code]....

View 1 Replies

ActionScript 3.0 :: ArgumentError: Error #2108: Scene Scene 2 Was Not Found

Feb 22, 2009

The code below works fine in CS3. But I get the following code when I try to run it in CS4:

ArgumentError: Error #2108: Scene Scene 2 was not found.
at flash.display::MovieClip/gotoAndStop()
at
introActionscriptWorkFile_Scene1_fla::MainTimeline/gotoScene2()

Here is the code: (Note: "scene2Frame1" is a frame label).

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved