Movieclip On Root Timeline Functioning As Button
I have a movie clip on my main timeline that is functioning as an invisible button. For some reason the actionscript that I have on the clip doesn't want to control the main timeline. Here's the code:
onClipEvent (load){ this._alpha = 0 } onClipEvent (enterFrame) { if (this.hitTest (_root._xmouse, _root._ymouse, true)) { _root.gotoAndPlay (2); }else { _root.gotoAndStop (1); } }
FlashKit > Flash Help > Flash ActionScript
Posted on: 07-18-2006, 01:37 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Help W/controlling Movieclip From Root Timeline
I would appreciate any help on the following:
I am trying to control the animation of a movieclip from the root timeline but not getting the expected results.
Root timeline has single frame and two layers.
First layer is for the actions and the second layer for the movieclip (instance name is baller) itself. Root timeline has the following code:
stop()
baller.gotoAndPlay (2)
The movieclip (baller) has 30 frames and 2 layers. First layer is for actions and the second layer has a simple animation which moves an object from point a to b.
Animation starts on the second frame and continues to the 3oth frame.
First frame of the actions layer of the movieclip has the following code
this.stop()
and the last frame has
this.gotoAndPlay (2)
What I was expecting was that the root should start the movieclips animation from frame 2 and continue to play.
What happens is that movieclips timeline advances to frame 2 and just stops. I also made sure that action layer's frames between 1 and 30 are empty key frames.
I realize that there are other ways of doing this but I need to use this approach for more complex animation if it works.
Thanks in advance for anyone offering some ideas.
Controlling Root Timeline With MovieClip
I load an external movieClip into a blank movieClip and then I also have a stop on the root timeline. After the loaded movieClip is finished playing I want to move to the next frame on the root timeline.
I've tried _root.play(); and play(); on the last frame of my loaded movieClip but the root timeline wont advance.
I've also tried _root.gotoAndPlay as well as gotoAndPlay.
Can anyone direct me to a tutorial that explains controlling the root timeline with ActionScript from within a loaded movieClip?
I have no trouble using a loaded movieClip to load other movieClips on to the root timeline but I can't get it to stop and go. HELP!!!
Targeting Root Timeline From A Movieclip
I have a seemingly very simple question but cant get things to work.
I have a simple movie with 2 scenes;
Scene 1
Scene 2
I have a movieclip on scene 1. Inside the mc is a button. On the button I have the following action;
on (release) {
_root.gotoAndPlay("Scene 2", 1);
}
I expect the button to control the root timeline and goto scene 2.
Any idea why this is not working for me?
thanks,
ab
Dragging A Movieclip Attached To The Root Timeline
Can anyone help? I used _root.attachMovie to attach a movie clip to the root timeline, but I can't seem to get the attached movie clip to be draggable. Here's what I did (the movieclip - called myMC - has a linkage identifier called "myMC"):
_root.attachMovie("myMC", "myMCattached",getNextHighestDepth());
myMCattached.onPress = function(){
this.startDrag();
}
myMCattached.onRelease = function(){
this.stopDrag();
}
It doesn't work. Any help is much appreciated!
Michael
Controlling The Root Timeline From Inside A MovieClip
[preface] I'll apologize in advance. I'm a designer, not a developer. I know very little about actionscript so if you can help me out, please pretend like I know nothing.
[/ preface]
I just need actionscript to check the value of a variable when the end of a movie clip is reached and then call an action.
Here's what I've got and it doesn't work. Please don't laugh.
if (p == 1){
tellTarget (_root) {
play();
}
}
else if (p == 0){
stop();
}
(the "stop" on the "else if" is referring to the movie clip's timeline, not the root timeline... in case you're wondering)
Any help would be greatly appreciated. Thanks!
AS 3.0 Referring A Root Timeline Variable Inside A Movieclip
Hi all,
I'm having a problem of referring a root variable defined in the first frame(as var randomListMsg:String) of the main timeline inside a movieclip. in AS 2.0 I could easily refer it by _root.variableName or _parent.variablename but I'm really confused how it works in AS 3.0.
can anybody help me in this? here is the code I used inside the movieclip. I've tried tracing it in the root timeline before these traces and it worked.
Code:
trace(this.parent[randomListMsg]); //doesn't work
trace(MovieClip(this.root).randomListMsg); //doesn't work
trace(MovieClip(this.parent).randomListMsg); //doesn't work
trace(MovieClip(root).randomListMsg); //doesn't work. returns 'undefined'
Thanks in advance.
Button Inside MovieClip Not Functioning [renamed]
I have a MovieClip called "mousetest" that I can move from a button on the stage:
Code:
Código:
on (click) {
_root.mousetest._visible = 1;
_root.mousetest._x=210;
_root.mousetest._y=201;
}
Inside this MC "mousetest" I have a buttom that "close" (hide/move) the MC but I can't make this WORK, I try evrything I don't know if is a problem using _root
Boton dentro del MC
Code:
on (click) {
_root.mousetest._visible = 0;
_root.mousetest._x=800;
_root.mousetest._y=800;
}
But until know I don't know how to make _global work or if this is the best solution someone can give a hand on this one? (step by step plz)
Thank you.
_LOBO_
I Don't have a clue how to implement _global
http://www.kirupa.com/developer/acti...addressing.htm
Button Inside MovieClip Not Functioning [renamed]
I have a MovieClip called "mousetest" that I can move from a button on the stage:
Code:
Código:
on (click) {
_root.mousetest._visible = 1;
_root.mousetest._x=210;
_root.mousetest._y=201;
}
Inside this MC "mousetest" I have a buttom that "close" (hide/move) the MC but I can't make this WORK, I try evrything I don't know if is a problem using _root
Boton dentro del MC
Code:
on (click) {
_root.mousetest._visible = 0;
_root.mousetest._x=800;
_root.mousetest._y=800;
}
But until know I don't know how to make _global work or if this is the best solution someone can give a hand on this one? (step by step plz)
Thank you.
_LOBO_
I Don't have a clue how to implement _global
http://www.kirupa.com/developer/acti...addressing.htm
How To Play Root Timeline From Button.
sorry..simple question..waiting for my new MX books to come.
How do I play a the .root movie from a button deep inside two movie clips.
i have a hidden button on a graphic..and i want to do the on mouse click. play . root movie.
any flash MX tutorials links on this would be great.
also what is up with the with tag is that the new way to reference a movie clip on stage.
Can you not use the alt + F3 movie explorer to choose which movie clip you want to target when doing a button actionscripting properties..
thanks for your time and energy.
Ryan
Accessing Root Timeline Button
Hi,
I think this is a fairly basic thing to do, but I can't seem to figure it out. I have a movie clip(mc1) with a button(btn1) and a movie clip(mc2) in it. The button plays this second embedded movie clip(mc2). In this second movie clip(mc2), I have a button(btn2) that, when clicked, I would like to cause the first button(btn1) (on the root timeline) to disappear. Is this possible, and if so, could you help me figure out how to do so?
Thank you,
Brad
EDIT: Just so its easier to visualize, here's a hierarchy of the relevant elements:
mc1
-------btn1
-------mc2
-------------btn2
Edited: 10/30/2008 at 09:49:28 AM by bathkbra000
Button On Root Timeline GotoAndPlay An MC Into Another MC
First of all is it possible !!! the button got to play a label frame into the second MC
first movieclip instance is lineart_mc and it got to play the lineartoff label into the ball_mc wich is inside the lineart_mc.......... the button is on the root timeline ...
Thx guy's
Button Inside An Mc To Control The Root Timeline?
Ok, how do I make a button inside an movieclip on the main timeline successfully gotoAndPlay on the main root timeline that holds rthe ms where the button is contained. I want the button in the mc to play the root timeline of the whole flash movie with a
gotoAndPlay("scene",1);
my_btn._parent is:
level0.myMovieClip
but my_btn._parent.goto...
and my_btn._root.goto...
both do not work?
Any ideas?
Make Button Disappear On Root Timeline?
Hello,
I want to make a skip intro button disappear. This skip intro button is on the root timeline. I have another button that is two Movie Clips in. When the button from the two Movie Clips in is pressed, the Skip Intro button from the root timeline should disappear. So far nothing works.
Here is the code. Any suggestions on fixing the problem?
Thanks for your help.
Code:
on (release) {
this._parent.gotoAndPlay("gotoNextRoom");
__root._parent.skipButton.visible = false;
//_parent._parent.skipbutton._visible = false;
//_parent._visible.skipButton._visible = false;
//_parent._parent.skipButton._visible = false;
}
Making Button Disapear On A The Root Timeline?
Hello again,
How do I make a skip intro button disappear after it's clicked?
I have it on the main timeline. The content movie clip is covered by a mask that does NOT cover the skip into button. When the skip intro button is clicked it plays a movie clip that is two MCs deep in. As a result, after it's clicked and I put the graphic to cover it within the movie clip that is playing, it does not do the trick since it is not on the same timeline.
I hope I made myself clear. Any suggestions? I'd be happy to clarify if I have to.
Thanks
How Do I Use A Button Within A Movieclip To Go To The Root?
Hi there, I am new to flash and AS3 and need some help getting my buttons to work.
I made a script for the file that i am working with that has buttons located within 2 movieclips. I want that button to load and image into a UILoader (problemLoader_mc) that I placed on the stage on the main timeline (the timeline that contains WeekBar_mc). The problem is that I don't know how to get to the root of the file to start a new directory to tell my function to load the image i want. I have tried multiple approaches including:
MovieClip(root).problemLoader_mc.source = problemArray[0]
MovieClip(parent).problemLoader_mc.source = problemArray[0]
root.problemLoader_mc.source = problemArray[0]
parent.problemLoader_mc.source = problemArray[0]
(root as MovieClip).problemLoader_mc.source = problemArray[0]
If anyone can help me out with this, I would greatly appreciate it, I am banging my head against a wall at the moment. (Also, please excuse my vague descriptions, I am still learning the official terms.)
Here is the code that I have written that pertains to this problem:
Attach Code
var problemArray:Array = ["Problem01.png"]
WeekBar_mc.WEEKS_mc.WEEK1_btn.addEventListener(MouseEvent.CLICK, pload1)
function pload1(event:Event)
{
problemLoader_mc.source = problemArray[0]
}
Edited: 12/04/2008 at 02:25:30 PM by Lone Star Learning
MovieClip.onRelease Not Functioning Properly
Greetings,
I am attempting to make a portfolio that pulls info from a database and provides a vertically scrolling bar of thumbnails. When the user clicks a thumbnail it will appear in another area full size.
I have everything working great so far except that I cannot seem to get the scrolling thumbnails to act like buttons. Here is my code:
Code:
for(i=1;i<=sectioncount;i++){
imagename = eval("this.image"+i);
scrollItemName = "scrollitem_"+i;
// scrollPage is a placeholder movieclip for my strip of thumbnail images.
thisImage = _root.scrollPage.scrollItemBase.duplicateMovieClip("scrollItem_"+i, i);
thisImage.LoadMovie(imagename);
thisImage._xscale=50;
thisImage._yscale=50;
thisImage.onRelease = function () {
_root.fullsizeImage.LoadMovie(imagename);
};
if(i != 1){
_root.scrollPage["scrollitem_"+i]._y = _root.scrollPage["scrollitem_"+(i-1)]._y + _root.scrollPage["scrollitem_"+(i-1)]._height + scrollItemSpacing;
}
}
Not sure why this doesn't work. I can say "_root.scrollPage.onRelease..." and it functions (however it turns my entire scroller into one button). Hopefully I am missing something small. Any help would be greatly appreciated.
Mitchell Killian
Integrity Design and Coding
http://integritydc.net
Global Tech Hosting
http://globaltechhosting.com
'Except a man be born again, he cannot enter into the kingdom of heaven.' John 3:3
Control MovieClip's Timeline With Button
Is there a way to have a button in the main timeline verify and control a MovieClip's timeline? I specifically want it to check to see if a MovieClip's timeline is currently at a specific labeled frame (let's say a frame label: "middlepoint"), and then if it is, to tell it to goto and play another frame label ("finishanimation").
I am doing this so that I can have buttons that upon rollover, will have an actionscript to play a MovieClip that animates the rolling out of a dropdown menu. I also want each of these main buttons to check the other 4 buttons, and if they have been played (dropdown menu is expanded) and are at the "middlepoint" frame label, to tell them goto and play the "finishanimation" label so that the rolled over button's MovieClip will show up (and not be covered by any MovieClips that might have already been activated).
Is this possible?
I'm not very great at ActionScripting, so any suggestions on how this could be scripted are greatly appreciated. Thanks!
Button In Movieclip To Main Timeline
I have a button(A) that opens a movie clip which contains a button (B). I want button B to go to and play a frame on the main timeline, NOT a frame in the movieclip. Is this possible?
If not, what I am aiming for is a menu of buttons, that are rollovers from which another menu pops up with buttons you can click.
Help!
Thanks
External Swf - Movieclip Not Functioning In Main Movie
I have loaded an external swf into an empty movie clip in my main movie.
Movie clip works fine when I test the external swf by itself. Once I test the main movie and load the ext. swf file the movie clip stops working.
This movie clip will act as a button. It is a small folder tab that will move up once clicked and move down when it is clicked again.
Will changing the _root to _parent work?
Thanks.
DW
AS for the movieclip:
onClipEvent (load) {
speed = _root.variSpeed;
}
onClipEvent (enterFrame) {
if (_root.dotclicked) {
targetY = 340;
Ydiff = targetY-_root.dot._y;
_root.dot._y += Ydiff/speed;
}
if(targety==int(_root.dot._y)){
_root.dotclicked == false;
_root.gotoAndPlay("speedUp");
}
}
External Swf - Movieclip Not Functioning In Main Movie
I have loaded an external swf into an empty movie clip in my main movie.
Movie clip works fine when I test the external swf by itself. Once I test the main movie and load the ext. swf file the movie clip stops working.
This movie clip will act as a button. It is a small folder tab that will move up once clicked and move down when it is clicked again.
Will changing the _root to _parent work?
Thanks.
DW
AS for the movieclip:
onClipEvent (load) {
speed = _root.variSpeed;
}
onClipEvent (enterFrame) {
if (_root.dotclicked) {
targetY = 340;
Ydiff = targetY-_root.dot._y;
_root.dot._y += Ydiff/speed;
}
if(targety==int(_root.dot._y)){
_root.dotclicked == false;
_root.gotoAndPlay("speedUp");
}
}
Gotoandplay From Button In Movieclip To Main Timeline
Hey,
Perhaps a simple question, but I just can't find the answer on the internet.
I have movieclip, that contains several movieclips and one of those movieclips, contains UIloaders. Now when the picture is loaded I want to be able to click on that picture followed by a gotoandplay back to a frame on the main timeline.
What code is need, since the simple gotoanplay(2) won't work. This will redirect you to frame 2 within the movieclip.
Button Inside Movieclip Cannot Control Main Timeline
I come accross a reoccuring problem, where a button nested inside a movieclip cannot control the main timeline, in terms of skipping to certain scenes or frames. I've tried
_root.gotoAndPlay("Scene2");
_level0.gotoAndPlay("Scene2");
but this action doesn't seem to affect the main timeline. Does anyone know how to select the main timeline as the object?
Kind Regards,
Scott Lahney
--
James Cook University
Townsville, Australia
How Do I Get A Button In A Movieclip To Link To A Scene On The Main Timeline?
How do I get a button in a movieclip to link to a scene on the main timeline?
I took a button I had on the main time line that was linked to goto another scene on release.
I copied and pasted that same button into a movieclip but when you click on the button nothing happens.
Is my path to the movieclip different?
aboutus is the name of the scene
I tried: _level0.aboutus
I also tried: _root.aboutus
as well as:
/aboutus and aboutus
Thanks ahead for help,
-Line
Accessing 2nd Frame Movieclip Button From Main Timeline
I have a movieclip placed on the stage called splashScreen. Inside this movieclip i have a button called easy_btn on the second frame but every time i try and access this button from the main timeline using actionscript i get the message
TypeError: Error #1009: Cannot access a property or method of a null object reference.
I'm not sure why because i think i have referenced it properly. Here's my code -
splashScreen.easy_btn.addEventListener(MouseEvent. CLICK, chooseEasy);
function chooseEasy(evt:MouseEvent):void{
for (var i:int = 0; i < 5; i++)
{
etc.....
Can anyone help?
AS3 Nested Movieclip As Button Main Timeline Won't Stop
Hello all,
Finally I've given in and am struggling to make the transition from AS2 to AS3. I bought a great book "Learning ActionScript 3.0" which has been very helpful. All in all, it's not as bad as I thought it would be. But I have run into a problem that no matter how many google searches I do and help files I read I cannot find a solution for.
On frame 5 in my main timeline I load a movieclip from the library.
ActionScript Code:
stop();
var pl:MovieClip = new mc_PrimaryLinks();
addChild(pl);
pl.x=400;
pl.y=300;
pl.addEventListener(MouseEvent.CLICK, navigate, false, 0, true);
function navigate(event:MouseEvent):void {
gotoAndPlay("btn_strategy");
removeChild(pl);
}
Nested in the mc_PrimaryLinks() movieclip is another movieclip (named "btn_strategy", same as the frame label) that is intended to control the main timeline.
The script works, it goes to the frame labeled "btn_strategy" in the main timeline. But then the problem starts. On that frame I have "stop();" but the movie won't stop, instead it replays the movie clip (pl) that I loaded at frame 5.
Has anyone else run into this problem or is there an error in my script?
Thanks,
Joe
Load A Movieclip Which Isn't At The Main Timeline When Hitting A Button, HOW?
Hey
I really wonder how i can define a button to load/start a movieclip which isn't on the mainstage, but within a moveclip.
Usually you insert a stop action at frame 1 of the movieclip and then set the button to jump to frame 2 when hit so the movieclip will start. But how can I make the movieclip start when a button has been hit, When the movieclip which should be loaded has it's own timeline? ( isn't at the main timeline )
-Mikkel
[mx2004] Control Main Timeline From Button Inside Movieclip
I've created a movieclip with buttons inside that I want to use to navigate to different scenes on the main timeline. I have created a function() that loads the button movieclip into the main timeline, but if I try to write a function() to activate the button and move the main timeline to a different scene/frame label it doesn't work. I have tried various things:
navBack_mc.book_btn.onRelease = function() {
_root.gotoAndStop("book1");
}
I put the code above on the main timeline. It doesn't seem to work. Basically, I could put just an on(release) handler on the buttons, but I wanted to try to keeping all the AS in one place if I can.
Thanks in advance.
[mx2004] Control Main Timeline From Button Inside Movieclip
I've created a movieclip with buttons inside that I want to use to navigate to different scenes on the main timeline. I have created a function() that loads the button movieclip into the main timeline, but if I try to write a function() to activate the button and move the main timeline to a different scene/frame label it doesn't work. I have tried various things:
navBack_mc.book_btn.onRelease = function() {
_root.gotoAndStop("book1");
}
I put the code above on the main timeline. It doesn't seem to work. Basically, I could put just an on(release) handler on the buttons, but I wanted to try to keeping all the AS in one place if I can.
Thanks in advance.
Changing Frame On Main Timeline From Externally Loaded SWF Button/movieclip
Ok so I have a Main.swf which loads a menuheader.swf which is the menu.
I have a button called loginBut inside menuheader.swf that once clicked should change the frame on the main timeline, any idea's?
here is the code on the menuheader SWF, it obviously just changes the frame on itself.
ActionScript Code:
loginTestBut.addEventListener(MouseEvent.CLICK,myLoginFunction);
function myLoginFunction(evt:MouseEvent):void{
gotoAndPlay(2);
}
I also tried having the event listener on the actual main SWF aswell and put something along the lines of.
ActionScript Code:
var header:PreLoaderSwf = new PreLoaderSwf();
addChild(header);
header.y = -10;
header.startLoad("xswf/MenuHeader.swf");
header.loginTestBut.addEventListener(MouseEvent.CLICK,myLoginFunction);
function myLoginFunction(evt:MouseEvent):void{
gotoAndPlay(2);
}
I think the problem here was that I'm using my own PreLoaderSwf class to load it, so it refers to that when it looks to add the eventlistener.
Targeting The Root Timeline
i have a menu which is a movie clip that slides about on stage I got buttons on this menu that are supposed to jump back to a frame labelled on the main timeline. i have a feeling its got something to do with targeting the root timeline in actions for the button but I cant get no joy - could anybody help?
Accessing The Root Timeline
Hello,
I have a set of buttons that are contained within a movieclip and all I simply want to do it to tell flash to go to a frame on the root time line when a button is pressed.
However, flash will not accept the code (or variations I have tried) as follows:
on (release) {
_root.gotoAndPlay("10");
}
However, this doesn't work and the output window kindly tells me that: "Statement must appear within on handler
_root.onRelease"
Being unexperienced still i'm not sure what that means!
Anyhelp appreciated - I'm sure it's simple!
Thank
How Do I Control Root Timeline?
Hi flash experts,
i have encounterd a problem with an external swf that i externally loaded to the main movie/root timeline.
what i'm trying to achieve is quite simple. i want to be able to click on one of the butttons in the loaded swf to controll the root timeline. here is the actionscript i'm using but it didn't do anything. i'm using frame lables.
on (release) {
_parent.gotoAndStop("none");
}
am i missing something?
cheers,
samboy
Targeting Timeline Of Swf From Root
I have my buttons on the root, with a holding mc that I load my swf's into. Is it possible to target a certain frame or label within the loaded swf. The idea is to target a frame in the swf that is in the holding mc so that it animates out prior to a new swf loading in.
Can I Make A MC Of The Root Timeline?
I've just spent a few hours making this frame by frame animation across a number of layers, all existing on the main timeline in flash.
I've just decided, I would rather this animation be housed in a movieclip, so I can move the whole thing around easily. Is it possible to make a movieclip of the main timeline, that keeps the layers and frames as they were?
Any hints, much appreciated
p.s.
I'm using Flash8
GotoAndStop At The The Root Of The Timeline
HI
I have a movie clip with onRollOver and onRollOut script attached. When clicked I would like the root of the timeline to move to a different label. At present I have tried the following first script on the MC to move the root timeline, however this is not working and I assume this is due to the complexity of the movie clip:
I have therefore used the following 2nd script for the first frame of the timeline within the MC which works with getURL but I am unable to get it to work with moving the root of the timeline. Do I need to add .root somewhere? Thanks
Attach Code
On the MC:
on (release) {
gotoAndStop ("event1");
}
Firtst frame of timeline within the MC:
this.onRelease = function(){
gotoAndStop ("event1");
}
How Do I Control Root Timeline?
Hi flash experts,
i have encounterd a problem with an external swf that i externally loaded to the main movie/root timeline.
what i'm trying to achieve is quite simple. i want to be able to click on one of the butttons in the loaded swf to controll the root timeline. here is the actionscript i'm using but it didn't do anything. i'm using frame lables.
on (release) {
_parent.gotoAndStop("none");
}
am i missing something?
cheers,
samboy
Referencing Root Timeline From Within A Mc
Hi,
This is probably a really simple question....
I have a root timeline in which contains a movie clip on a certain frame.
Inside that movieclip, on it's second frame, there is a button.
I would like to use this button, when clicked, to move take the user to a frame on the root timeline.
Anyone know the how to do this.
Peace to all mankind.
Referencing The Root Timeline
Ok, so my problem stems from my dependence on the _root object in AS2.0
If I have a movieclip that I want to call a function that is on the main timeline, which reference would I use? I tried root.testFunc() to call said function, but got no play.
Any ideas?
How To Control Root Timeline?
Hi flash experts,
i have encounterd a problem with an external swf that i externally loaded to the main movie/root timeline.
what i'm trying to achieve is quite simple. i want to be able to click on one of the butttons in the loaded swf to controll the root timeline. here is the actionscript i'm using but it didn't do anything. i'm using frame lables.
on (release) {
_parent.gotoAndStop("none");
}
am i missing something?
cheers,
samboy
Accessing The Root Timeline.
Hello,
I have a set of buttons that are contained within a movieclip and all I simply want to do it to tell flash to go to a frame on the root time line when a button is pressed.
However, flash will not accept the code (or variations I have tried) as follows:
on (release) {
_root.gotoAndPlay("10");
}
However, this doesn't work and the output window kindly tells me that: "Statement must appear within on handler
_root.onRelease"
Being new i'm not sure what that means!
Anyhelp appreciated - I'm sure it's simple!
Thanks.
Address Root Timeline From Loaded Swf
OK, I am a newbie at anything past the basics with Actionscript, so bear with me, please. Here is what Iam trying to do:
I have a movie where the start is a group of people, when you click on an individual, they get bigger and the others shrink and some text appears describing the selected person. The way that I am trying to do it is: The starting swf has the group, clicking on a person starts the playhead and the image fades out. The mouse event also loads a swf on the next level that has the selected person large and the others small. The loaded movie fades in as the level 0 movie plays and stops. The effect is very nice.
However, then I want to click on the now small figures and load the appropriate swf on another level and unload the one previous. I have placed buttons on the swf that gets loaded with the script to unload movie and go to a point on the level o movie where I have an action to loadmovie that corresponds to the particular person.
The first one works, but that's it. I can't seem to address the timeline of the level 0 movie (_root?) to start the playhead to move to the frame label where the action is.
I am trying it this way, because I don't want the different images to load until someone wants them to. The bitmaps are kind of big. I could just have them all in the same swf at different places on the timeline. That just seems so clunky to me.
Anyone with any suggestions? Sorry to go on so long.
Thank you.
|