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




Control The Main Swf Timeline From The External Swf.



I have a main swf, and I am loading an external swf. I want to move the timeline of the main swf that I am loading the swf into?I need help please Thanks dudes!



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 05-05-2006, 05:29 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Can External Swf's Control Your Main Timeline?
My main question is :
Can an external swf that you load into your Main timeline control you Main fla timeline???

Basically, I have a simple preloader that of course pre-loads my main movie than it plays till it reaches a stop action then loads in an external .swf in Level_1 above Level_0, main timeline/movie.

...as my main movie is stopped on the main timeline, is there any way to have the external .swf I loaded in (with it's own preloader), tell my main movies timeline to play within the Level_1 external loaded swf's timeline? It's is already a part (loaded into) my main timeline on Level_1. Should'nt the external .swf's timeline control my main movies timeline in it's actions with a simple:

TellTarget (_parent)
Play

or

TellTarget (_root.parent)
Play

or

Tell the parent timeline of my main movie to go to a frame label and play???


I am so confused with everything I've tried & I can get it resolved. Can anyone help or know what I am trying to accomplish?
Any Pointers a PLUS!

External Control Of Main Timeline
Hi. I'm befuddled. hehe. I should know this, but for some reason my synapses aren't synapsing. My pages navigation is an external movie clip(I DONT KNOW WHY!heehee)and I'm having problems with that...but I can figure that out. What I'm trying to get ahead with is, should I place buttons in the MAIN movie(that's loading the external nav) for the navigation? Or is it feasible for me to have the buttons in the external nav to control the MAIN timeline? I'm sure all I need to do is use .root to tell it where to go, but I'm not sure if it can do that. Ummm. Let me clear that up. I have external movie clip loaded into main timeline of main movie. Can I control the main timeline with the bottons in an external movie clip? Thanks for any help. SOrry about the disorganization.

Can An External Swf Control The Main Timeline?
I'd really appreciate any advice about this.

I'm working on a Flash MP3 player that loads mp3s from the web. For back-compatibility, it also plays .swf audio files. At the end of each swf (song), there's an action: _level0.nextTrack(); which tells the player to load the next track and keep playing.

Works great online, but as a projector or in test movie, it never seems to get the function call so the music just stops.

Is this a security feature? Is it possible to target the main timeline from a swf that was loaded from the web?

To clarify, here's the situation:

Main Movie (player) loads song.swf into _level1. At the end of song.swf, _level0.nextTrack(); is called.

If both files are on the same machine, works like a charm. But if the player is on my local machine and song.swf is loaded from an http address, no worky.

FYI: There are already 1200 songs with that _level0.nextTrack(); bit of code. So changing it in all 1200 files really isn't an option.

Any ideas?

Control Main Timeline Of External SWF
Ok, I have an swf called "music.swf" loaded in to the main timeline of the main movie. It is in a movie clip called music

I'm trying to get it to go to frame 13 of the loaded swf from a button within a movie clip in the main movie and StopAllSounds as well.

if any could please fill in the blank

on(release) {

~fill in here~

}


Thanks
- Jared

Control MC On Main Timeline Through External Swf?
Can someone explain to me how to code from an outside SWF that needs to have a button that will close the swf - go to some type of ending animation and then at the end of that, go to a frame within the timeline of an attached MC?

Control Main Timeline From External AS
--------------------------------------------------------------------------------
This has got me stumped
The Requirement: To cause the Main Timeline to play(), gotoAndStop(), etc, on command from an AS3 class instance (defined in an external package).
The Situation: Two strategies have worked fine in the IDE (standalone player), but fail when uploaded to a server and run through a browser (IE7, FP 10,0,12,36).
Strategy 1:
Pass the timeline reference to the constructor (from the main timeline) thus:
myInstance = new myClass(this);
In the constructor use the reference (this -> tl) to call a main timeline function tl.myFunction(param) that calls gotoAndPlay(), etc.
Result 1: Works in IDE, fails on-line (i.e. no frame advance on gotoAndPlay() etc).
Strategy 2:
1. Define a CONST for user-defined events.
2. Dispatch the events from various places within class (instance) code thus:
var result:Boolean = this.dispatchEvent(new Event(MY_EVENT)); ('result' gets true)
Define listeners on the timeline like so:
myInstance.addEventListener(MY_EVENT,myFunction);
Result 2: Works in IDE, fails on-line (no frame advance on gotoAndPlay() etc)
What's going on that both approaches work in the IDE, but neither work in the browser?
Grateful for any clues.

Control External Swf From Main Timeline
I have a external SWF loading into a target on my main swf. Is there a way to control the timeline from the loaded movie from the main timeline. So , control B timeline from A. I've tried mcholder.gotoAndPlay (2); but it won't work. Also, how can I get the mumbers of frames from the external swf into the main timeline. Will a global variable work?


Thanks

Flash MX : Can External MC's Control Main Timeline?
Hey quick question...can a movie clip which is loaded from an external source control the main timeline? For example I have a set of buttons contained within a movie clip which is loaded externally onto my main timeline...can those buttons direct the swf to a specific frame on the main timeline? Also...is there any way to load an external movie clip into a specific LAYER rather than Level? Maybe these seem like stupid questions but any one who can gimme a little help to an actionscript noob like me - thanks a lot!

Loader Component Holding External .SWF Control Main Timeline?
Hey sorry to cross-post but i don't think it's possible to move my existing topic to this forum!


FLASH 8
ACTIONSCRIPT 2

This code is being executed from an external .SWF inside of the loader component. it loads the movie, but the progress bar isn't working for this.... anyone gotta tip?

basically: main.swf has 2 loader components ("loader" and "loader2" in seperate locations, and a progress bar ("Pbar") component on the timeline. main.swf loads movie2.swf into "loader", and "pBar" shows the loading status just fine. there is a button inside of movie2.swf that triggers main.swf to load movie3.swf into "loader2". it shows up fine, but the progress bar doesnt work for this second loading action.


Code:
on (release) {
_root.pBar.source = _root.loader2;
_root.loader2.contentPath = "movie3.swf";
}

Can't Control Mc From Main Timeline
I am having a huge problem getting a button on the main timeline to control a mc I have placed along side it.
I think it has something to do with sytanx:

on (release) {
tellTarget (targetName) {
_root.lib-folder.symbol.gotoAndPlay("mc-label");
}
play ();
}

Is this wrong? I've tried several different variations, all with no results.
Please help!

Control Main Timeline With MC?
Can I place a MC on my main scene and control the scene frame with some action script in that MC? Can someone please post a little sample code. I am having issues getting this to work.

Control Main Timeline
i've got to be losing it. i have a navigation mc on the main timeline. also on the main timeline, i have 4 frames that each have an mc of content. in the nav, i have a next button and a previous button. when i use:

on (release) {
_root.gotoAndStop(nextFrame);
}

it doesn't do anything. when i try:

on (release) {
_root.gotoAndStop(_currentframe+1);
}

it goes to the last frame on the main timeline, even though i have stops in every frame. what am i missing?!?!

How To Control A Mc From The Main Timeline?
I am relatively new to flash and I was wondering if someone could help me understand how to control a movie clip from the main timeline... I want to use a button to call a function that makes a movie clip shrink. Is there a way to control the _xscale (or any other 'onClipEvent(enterFrame)' property) of a movie clip from the main timeline?

I can make the movie clip shrink by attaching the action script directly to the mc:

onClipEvent(enterFrame) {
if (this._xscale>=0) {
this._xscale -= 10;
}
}

but I want to control to a bunch of movie clips with one button and I dont want to rewrite the actionscript for every single one, so I am looking for another option...

Thanks for your help!

Can't Control Mc From Main Timeline?
am I stupid or just going insane here?

I have a movie clip on the main timeline with the instance name of "surfboard_mc" with a stop(); action on the first frame. I have an action somewhere down the timeline that says:

Code:
surfboard_mc.play();
when the movie reaches this frame, however, the movie clip does not play.
I've also tried sticking _root. on the front of that code but it still does not play.

The only thing I can think of that is a bit odd about this is that the movie clip used to be designated as a grapic symbol, but I changed it to a movie clip in the timeline (on every keyframe it exists on) and in the library. So that shouldn't be an issue? I can make it play from within the movieclip with a button inside the movie clip but I can't seem to control it from the outside. Is there something obvious I'm missing here?

Control Main Timeline With As3
I'm having some problems playing the main timeline from one of it's children. In actionscript 2 the command would have been:
_root.gotoAndPlay(2);

How is this done with actionscript 3?
root.gotoAndPlay(2) does not work since root is a DisplayObject instead of a MovieClip.

Control A MC From Main Timeline
I have 3 buttons on first frame. When clicked each button should take me to frame label "edv" and to a specific frame in the movie clip. I could do this in AS2 but it seems to elude me in AS3.

Thanks,

Al

How To Control The Main Timeline From An MC Timeline?
May an action in a movie clip's timeline or within an OnClipEvent target the scene's main timeline, say, forcing the swf to go to its third frame, for example? Thanks for any idea.
P.S. Actionscript 1.0

Control Of Main Timeline From Another Timeline
Working in Flash Pro 8 (on a Mac), I've got a movie clip on the main timeline. Within the movie clip is a button which, upon pressing, reveals a series of three more buttons.

My objective here is that when you press any one of those given buttons that are within the single button that is within the movie clip an instance of which is on the main timeline that it will take you back to a specific frame on the main timeline.

I am having a devil of an unsuccessful time with the concept of connecting back to the main parent timeline from a child timeline.

Any words of direction on how this is accomplished would be, as usual, appreciated.

Christian Seaborn
seaborn.christian@gmail.com

[MX] Control Main Timeline From Loaded SWF
I have a question for everybody who's past the newbie stage :-)

I have a flash movie (mainmovie.swf) that stops wht a stop action at frame 10.

At frame 10 there's a MC (box1) that is used to load another movie (movie1.swf).

I want to place an action at the end of movie1.swf, that tells the playhead to go to frame 11 in the mainmovie (mainmovie.swf).

How can I do this?

The reason that I use a MC to load a another movie instead of loading it in another level is that in this way its easier for me to position stuff.....

Can anybody help me out please?
Thanx..

How To Control Main Timeline From A MovieCLip?
I have a button within a MC. I want that button ONRELEASE to tell the main timeline to go back to FRAME LABEL "main" and stop.

I know this has got to be easy....what's the code for it??

How Can I Control The Main Timeline From A Moviclip?
What I'm trying to do is add a feature to my movie that would act as a drop down menu with scene selection, play, stop, and, pause buttons. The only way I know to make a drop down menu is to make a movie clip. I've already added the correct actionscript to control the movie to the buttons in the drop down menu movie clip but they do not work. Im geussing this is because they are tring to jump to a scene inside the movie clip itself and not the main movie.

Anyone know how to get this to work?

Control Main Timeline From A Clip?
I'm sure this is a simple syntax thing - and seems like a very basic thing to know - but I don't :-(

I have a very simple movie (slideshow style)

I'm creating 2 movie clips within my main movie which will be different lengths.

So clip 'a' is 90 frames, clip 'b' is 125 frames.

I have 2 frames in my main movie - each with one of the clips on it and each with a stop(); action.

***
I want to add a script to the end of my clip 'a' that says "go to and play frame 2 in the 'MAIN MOVIE' timeline" so that it will play clip 'b'
***

I tried using goto("scene1", 2) but it didn't work - would just restart clip 'a'

NOW - I do realize that I could simply space the movies out on my main timeline so it would just run its course and remove the stop so it would continue to clip 'b' but thats probably not the 'clean' way to do it - and then when my clip 'a' changes in frame count for whatever reason I have to go move everything - so I don't want that solution.

I'm looking for the way to move the main timeline to the next frame (or any given frame) from within the clip - either that or from the main timeline - if it can simply detect when clip 'a' has finished...

Sorry I think this is long winded for a simple question. Thanks for any help on the matter! --bp

[CS3] Arrow Key To Control Main Timeline
I want pressing the right arrow key on my keyboard to take my root timeline to frame 10 and stop. I get no error messages, but nothing happens when I press the arrow key. (cs3 on mac)

I have an empty mc on the main timeline with the following code:


Quote:




onClipEvent(keyDown)
{
if (Key.isDown(Key.RIGHT))
_root.gotoAndStop(10);
}

Asking A MC Symbol To Control Another MC From Main Timeline
Is there something wrong with the code I'm using? I used the target tool in flash to make sure the paths were correct


Code:
this.frameselect_MC.F_B2.onRelease = function() {
if (frameset_MC._currentframe == 1) {
this.frameset_MC.gotoAndStop("F_B2_V");
}
if (frameset_MC._currentframe == 20) {
this.frameset_MC.gotoAndStop("F_B2_V");
}
if (frameset_MC._currentframe == 30) {
this.frameset_MC.gotoAndStop("F_B2_H");
}
if (frameset_MC._currentframe == 50) {
this.frameset_MC.gotoAndStop("F_B2_H");
}
};
Before I embedded the MC "F_B2" into the MC "frameselect_MC" it worked fine, but as soon as I embedded it and changed the paths it doesn't work anymore?

here's the .fla file
http://stevenewport.com/printsTEST.fla.zip

I've been trying for the past hour, but I'm new so it was kind of in vain

any help would be great, thanks

Control The Main Timeline Using A Function
Hi, Can someone point me in the direction of a tutorial or help me understand
how to jump to different frame labels in the main timeline of a SWF file
using functions....

I have a SWF file and want somekind of function that makes the SWF play a
specific frame label when a true or false is present

i have 8 points on frame labels..

e.g. from an external file x=hot / in the swf, if "hot = true" then play frame label 'hot'....

you can kind of see what im trying to do....
Help?!
THANKS !
: )

Right Click To Control Main Timeline
I have a new template in AS 3 that I built and I have been trying to get to do right click functionality. The template has ActionScript code built in some I am guessing I cannot do packages as found on this site. http://www.uza.lt/blog/2007/08/solve...-click-in-as3/

I am wondering if I should do an ExternalInterface, but was not sure how to do it.

My end goal is to right clcik on the SWF and have it move ten frames forward in the trimeline. Any recommendations on how to do this?

Thanks in advance.

:: | Control Main Timeline From Within A Movieclip | ::
I am having no luck getting my main time line movie clip to play. I have a control box movie clip that has a play button on it. The control box movie clip is dropped onto the main stage, in layer 1, and draggable. The play button is embedded in the control box movie clip that's now on the stage, and draggable. In frame 1 of layer 2 of the main stage I have my movie clip, "Animation1b" which I dragged from the library, waiting to be played. I cannot figure out how to get the play button on the embedded movie clip, (that's now on frame 1 of layer 1 of the main stage) to play the movie clip "Animation1b" that's on the second layer of the main stage. This should be pretty simple, I just have never done this before.

//script currently on the play button that's inside the draggabe control box movieclip.
_root.on(Release){
gotoAndPlay("Animation1b");
}

I have tried variations of the above script, but I can not figure it out. It's pretty much just a remote control movie clip that needs to play a movie clip on the main stage. I need to make sure that the remote is still visible ont op of the movie "Animation1b" as it is playing. Can someone please help me out?

Thanks in advance!

How Can An Imported Swf Control The Main Swf Timeline?
I've previously created things in Flash, exported the swfs, and imported them into Director and used them as cast members. As you're probably aware, Flash can control the Director timeline like so:


Quote:




getURL("lingo: go to "MarkerName"");




However, I'm now moving entirely into Flash. I'm importing swfs to the stage, and I now want the imported swfs to control the timeline of the main movie. How would it be possible, for example, for the imported swf to send the playhead of the main movie to frame 20?

Control UILoader On Main Timeline From MC
Hello,

This may be a simple issue but: I have a movie clip on my main timeline. Within that movie clip I have a button (also a MC). When I click on that button I would like to have the UILoader on the main timeline populate with a specified swf. I have tried everything I know, but it still will not work unless the UILoader is inside the MC which does not help.

Here is the AS3 code I am using inside the MC:

stop();

//packaging main button

this.pOne_btn.addEventListener(MouseEvent.CLICK, help);

function help(evt:MouseEvent):void
{
this.imageLdr.source = "lOne.swf";
}

Here is the error message:
Error #1010: A term is undefined and has no properties.
at newWork_fla::packagingBtn_12/help()

I do not know why this is happening. Any help would be greatly appreciated.

Thanks.
Rob

Button Control Over Main/sub Timeline
i hav 2 scene, using button to swap in between file.
if the button is in maintime line i can swap in between
but my button is inside a movieclip in overview.
After i click it reload the overview_scene,
and my script on button is


********
on (release) {
nextScene();
}
********
is it using
_root or
this.(dot)
.

Button Control Over Main/sub Timeline
i hav 2 scene, using button to swap in between file.
if the button is in maintime line i can swap in between
but my button is inside a movieclip in scene_1.
After i click it reload the scene_1,
and my script on button is
********
on (release) {
nextScene();
}



********
is it using
_root or
this.(dot)
.

Arrow Key To Control Main Timeline
I want pressing the right arrow key on my keyboard to take my root timeline to frame 10 and stop. I get no error messages, but nothing happens when I press the arrow key. (cs3 on mac)

I have an empty mc on the main timeline with the following code:


Quote:




onClipEvent(keyDown)
{
if (Key.isDown(Key.RIGHT))
_root.gotoAndStop(10);
}

Button Control Over Main/sub Timeline
i hav 2 scene, using button to swap in between file.
if the button is in maintime line i can swap in between
but my button is inside a movieclip in scene_1.
After i click it reload the scene_1,
and my script on button is
********
on (release) {
nextScene();
}



********
is it using
_root or
this.(dot)
.

Control Main Timeline From A MovieClip
I'm trying to control when the main timeline advances from a mc on a layer, but it doesn't seem to work.

First, I'm loading an external SWF into the mc on the layer. Then, when the external SWF is loaded, I'm trying to advance the main timeline.


Code:
bkgpicblur.loadMovie("m"+_root.nRnd+"_blur.swf",0);
bkgpicblur.onEnterFrame = function() {
tBytes = this.getBytesTotal();
lBytes = this.getBytesLoaded();
rBytes = tBytes-lBytes;
pDone = int((lBytes/tBytes)*100);
if (pDone >= 100) {
// gotoAndPlay(3);
// _level0.gotoAndPlay(3);
// make the main timeline play frame 3!!!
}
else {
gotoAndPlay(2);
}
}
Help??

Control Main Timeline From Within A Movie Clip? Help
Please help...
I have a video game on the main timeline of a scene. The scene label is "Game"... before the game starts, I have frame 1 of the main timeline attach the movie clip "Instructions" and play it. Once instructions reaches the end, I have Flash remove the video clip(works) and I want it to go back to the main timeline(Game) and play frame 2. What command do I use to have it do this? I tried:

Game.gotoAndPlay(2);
_root["Game"].gotoAndPlay(2);

BUT it Doesnt Work! I assume because "Game" is the Scene name, not a movie clip name... Any ideas on how to do this??

THANK YOU!

Main Timeline Control From A Movie Clip
we got a problem, we want to jump to specific keyframe in the main timeline from a button in a movieclip. Please tell us how?

How To Control The Main Timeline In A Movie Clip?
I tried _root.gotoAndPlay(3); in a frame of my movie clip, but it seems to have no effect.

Is there somebody who could show me the right way to do it?

thanks

Control Main Timeline From Within A Movie Clip
Is it possible to control the main timeline from within a movie clip without a button? Basically what I am doing is, I have snow using Actionscript on the main timeline, actually I have two snow effects. One is just regular snow, the other is snow that "sticks" and plies up when it hits a MovieClip.

Then, I have a couple other movie clips on the main timeline as well. One is a changing background and the other is snow at the bottom of the screen piling up.

I have 3 frames on the main timeline that keep looping to produce the snow, then inside the movieclips I have about 215 frames. Now, at the end of one of those movie clips, I want the one that was piling up snow to fade out, along with the snow effect that was piling on top of it. What I did was created another scene. However, I can't get to that scene from inside of a movie clip without a button, can I?

Thank you very much in advance.

Help How To Control Main Timeline From Nested Clips
I KNOW i'm just getting some punctuation mark wrong, right?

I have a dozen sub-movie clips nested in my main movie clip (Scene 1) and I would like to set up action frames in these sub-movies that tell the playhead in the main movie to gotoframe, etc... can someone send me the simple gotoframe script?

when i use gotoframe("Scene 1", 5) or gotoframe(_root.5) ... 5 being the frame i want to jump to... Flash tells me it contains no errors, but it just wont work!

thanks!!!!

jason

Buttons In Moviclips. Can They Control The Main Timeline?
does anyone know of any actionscript that can be applied to a button that is
IN a movieclip so it can navigate the main timeline INSTEAD of just the mov
ieclip's timeline?

I've tried applying this script to a button in a movieclip:


on (press) {gotoAndPlay("scene1","1");

}


this doesn't seem to navigate the maintimeline at all though.

I would really appreciate any help

Main Timeline Control From Nested Movies?
Hello,

I would really appreciate help with the following problem. Flash MX

Multi-scene movie. I want to control the main time line from a nested movie and it does not seem to work!

Example. Movie nested in second scene, frame '10'. Main time line plays to frame 10 and stop(); Nested movie begings playing, on the last frame of that nested movie I want to move the main timeline play head, so I try:

_root.gotoAndPlay("scene_3", 1);

does not work.

What am I missing here, or is this even possible. To control the main time-line from within another movie?

Thanks in advance!

Peter

Control The Main Timeline From A Loaded SWF File In A MC
Hi

I've been beating myself up trying to figure this out. It should be simple.

I have a presentation file called 'Portfolio.'

Inside of 'Portfolio' I have a short introduction as the first scene. This introduction is an EXTERNAL swf that is loaded into a MC called 'introContainer' in the _root.

Here's the problem. When the 'Intro' finishes playing I want to go to the next scene in my 'Portfolio' that contains my actual portfolio.
i.e. intro(contains MC with loaded SWF)--->portfolio(contains the rest of my flash stuff)

QUESTION: How do I tell my _root movie that the external swf is finished so that it can go to the next scene? Do I do that on my Main Timeline or in the MC itself OR in the loaded swf?

This is done so that I can work on the intro file separate to the Main porfolio page for reasons of ease of update and smaller file size.

I could put a button to tell the user to go to the next scene, but I am trying to make it as simple as posible for the user.

Can anyone assist me?

thanks

-ian

Can A Movie Clip Control The Main Timeline?
ok, heres the deal, im making a game in which if you hit the movie clip (path_mc) you go to the next level (the next frame). The script is on the player.
heres what my script looks like:

onClipEvent (enterFrame) {
if (this.hitTest(_root.path)) {
//action to get to timeline{
nextFrame()
}
}
}

i need a way to preform an action from movie clip to timeline
i tried _parent.timeline, _root.timeline is there any way i could set timeline as a variable?
please help.
thanks in advance.

Control Main Timeline From .swf Loaded Into Layer
How do I do this code??

I have an promo.swf that contains a promo_mc, that contains a button.
This.swf then loads onto level 2 of the main site's .swf

When the button is clicked in the promo.swf, I want it to control the main timeline so that it will gotoandPlay a frame.

Control Main Timeline From Within A MC Validation Script.
Hey all.

I have come to a dead-end with trying to find a solution to a problem I am having. Would you be able to assist me with some Actionscripting?
I have a feeling that this is a simple solution that I am just not seeing. I've tried everything...

Attached is the FLA file I have been working on.

On the 6th frame of the elements layer on the main timeline, I have a movie clip called Scene05.

The desired action occuring on this frame has the user typing "henrywells" into an input field and pressing the <Tab> key.
If they don't do it correctly, an error message displays and a demo movieclip displays.
If they do it correctly, they advance to the next page (which is on the 7th frame of the main timeline).

I built an invisible button called Demo_03_04 (instance name "tab_pb") that is the trigger. I put all of the actionscript on the button object itself (not as a function or a variable). Basically, it checks if the user typed "henrywells" correctly.

Everything works fine for an incorrect action, but when the user performs the action correctly I can't get the movie to advance to the next frame on the maintime line.
Basically, I am looking for a way to control the main timeline from within a movieclip. I can do it in other instances, but not with this action.

I figure this is simple, but I'm just not seeing it. Any advice?

Thanks in Advance!

Can You Control One Swf Timeline Through Action Within The Main Swf File?
I've looked all over to get the info . . . can't find it anywhere.

I have main.swf which loads 4 other swfs inside of it such as navigation.swf, audioplayer.swf, and purposes.swf.

I want to be able to code from one button in the navigation.swf to move in the timeline of purposes.swf. HOW DO I DO THIS?

I have tried the _root.purposes.swf (but how can i get specific within the external swf file to specify the frame location [ex. gotoAndPlay (4)].

Does this make sense? It may make more sense if you go to the website.

http://www.fusionokc.com

The top buttons and content are "navigation.swf"
The bottom three buttons and content are "purposes.swf"
And "main.swf" is what loads both of them.
I want to be able to close the navigation.swf content when you push the bottom three "purpose" buttons and vice versa - when pushing top navigation, it moves the timeline to close purposes.swf

HELP!?!?!?!

Script To Control Main Timeline From Inside MC?
This is such a newb question and I'm sorry! I have a Movie Clip on the main timeline and inside that MovieClip are several buttons. I want the buttons to go to specific frames in the main timeline. I have:

on (release) {
gotoAndPlay("PowerPoint");
}

I know there needs to be something in there to tell it the main timeline. I searched for this very basic, simple question and couldn't find anything.

Thanks for any help.

Control Main Timeline With As3 Class File
Hello,

I'm having a problem with what should be a simple issue. Here's the problem... I have a menu btn that is created via an external class. I want to move the main timeline of my flash file to a frame label but I'm having a hard time referencing the main timeline via my external class code.

How do I control the timeline via this external class.

Control Dynamic Content From Main Timeline
I'm sure this has been asked many times before...but I can't find anything that will help so I'm gonna ask again..sorry to all of you that have seen this question a million times before...

can you control/access the timeline of a dynamically loaded swf? If so how?

if I use this code:


Code:
loadMovie("a.swf", "contentLoader");
how can I access the timeline of "a.swf" from the main timeline of my flash movie? is it possible?

thanks in advance!

Copyright © 2005-08 www.BigResource.com, All rights reserved