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




LoadMovie ... Can It Keep It's Own _root?



i have a container file in which i'm loading several other swfs.

in these swf files there are _x and _y positions being set based on the root of those movies. i can not change or remake these swfs so i need to find a way so that when i load them into my container and they reference their root it is their root and not the root of the container.

is this possible?



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 06-21-2006, 03:51 PM


View Complete Forum Thread with Replies

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

This _root And That _root, Parents, Children, LoadMovie...
I'm building a showcase to show a bunch of my work. Let's call my work "children" and the showcase file the "parent".

A lot of the children files have some actionscript that references functions and variables on the root level. However, when those files are loaded into the parent file, the root is now the root of the parent file, not the child file.

SOME of the stuff, I've been able to remedy by opening each flash file and copying and pasting all that crud into the shell flash movie.

Unfortunately, not all of my wizardry is working, and hey, who knows what's wrong. Since the individual files each have functionality that works on it's own, is there some way of telling those children files to look at the root ONLY on their own file, or, as soon as the swf is loaded, the root is changed?

How can I avoid this in the future?

ALSO, is there some way to globally override the "getURL" function call so any and all clicks are now dead links?

LoadMovie Apart From _root
I would like to use loadMovie to load an image to flash
I can do it using:
_root.loadMovie("abc.jpg","POST");
however, as the size of the image occupied the whole screen, so I have created another movieclip with smaller size, and wrote:
onClipEvent(load) {
this.loadMovie("abc.jpg","POST");
}
However, it does not work and no image was shown, please help, thanks!

LoadMovie And _root
in the timeline i loaded a movie ,
loadMovie("work.swf");
_root.nextFrame();
but when i test it, the move goes to the next frame and also load the movie (work.swf) and i want it to go to the next frame only when the movie (work.swf) finish, how can i do it?

_root.loadMovie();
When using the _root.loadMovie(); feature, is it possible to go to a specific frame within the movie thats being loaded instead of directly to frame one? I have 3 movies I want to link.
TMC-HOME
TMC-HOME2
TMC-HOME3
on TMC-HOME2 AND 3 I want to click on the home button and go to TMC-HOME but to frame 53. Can this be done?
Also, when loading dynamic text from an external file, I'm using the filename.txt with the scrollbar, is it possible to create links from the loaded file to other sections of the text being loaded and to other external files. If so, can you please show me how? Thank you very much.

Mike

Cant LoadMovie Unless Im On _root....
Alright im trying to attach a thumbnail to a nested movie clip through XML. The code I have right now is

ActionScript Code:
var livexml = new XML();livexml.ignoreWhite = true;livexml.onLoad = function(success) {    if (success) {        livelength = livexml.firstChild.firstChild.childNodes.length;        live = livexml.firstChild.firstChild.childNodes;        for (i=0; i<livelength; i++) {            _root.content.window.gallery.attachMovie("thumb", "thumb"+i, _root.getNextHighestDepth());            _root.content.window.gallery["thumb"+i]._x = i*100;            _root.content.window.gallery["thumb"+i]._y = 400;            _root.content.window.gallery["thumb"+i].thumbnail.loadMovie("photos/livetn/"+livexml.firstChild.firstChild.childNodes[i].attributes.src);        }    } else {        trace("Error loading XML file");    }};livexml.load("live.xml");



That isnt working for some reason...If I replace _root.content.window.gallery with just _root it works fine. The thing is I dont want it on the _root I want it where my code is pointing to now. This xml exists on my gallery mc by the way. Any pointers please?

Cant LoadMovie Unless Im On _root....
Alright im trying to attach a thumbnail to a nested movie clip through XML. The code I have right now is
Code:

var livexml = new XML();
livexml.ignoreWhite = true;
livexml.onLoad = function(success) {
   if (success) {
      livelength = livexml.firstChild.firstChild.childNodes.length;
      live = livexml.firstChild.firstChild.childNodes;
      for (i=0; i<livelength; i++) {
         _root.content.window.gallery.attachMovie("thumb", "thumb"+i, _root.getNextHighestDepth());
         _root.content.window.gallery["thumb"+i]._x = i*100;
         _root.content.window.gallery["thumb"+i]._y = 400;
         _root.content.window.gallery["thumb"+i].thumbnail.loadMovie("photos/livetn/"+livexml.firstChild.firstChild.childNodes[i].attributes.src);
      }
   } else {
      trace("Error loading XML file");
   }
};
livexml.load("live.xml");



That isnt working for some reason...If I replace _root.content.window.gallery with just _root it works fine. The thing is I dont want it on the _root I want it where my code is pointing to now. This xml exists on my gallery mc by the way. Any pointers please?

Loadmovie And _root Question
I have an empty mc on my main timeline which I want to load an external movie (swf) into.

In the external movie, there are several movieclips - in each mc there is a frame action that should target this movie's main timeline. Tell Target ("_root" ) { gotoAndPlay ("whateverlabel"); }Everything works ok when I publish the movie as a swf.

However, when I load this swf into my MAIN movie, something strange seems to happen...the frame actions in these mcs don't work...Instead it seems as though the actionscript is now trying to target "_root" as the MAIN movie
timeline, as opposed to the loaded movie timeline. (I could be wrong here - but that's what it seems like it's doing)
The main movie timeline starts playing when it shouldn't.

Can someone please tell me where I've gone wrong.Instead of _root; is there another name I should use to avoid the confusion? (IF this is what the problem is)

LoadMovie Help Plz. Going To Frames & _root.
I recently updated a project i was working on to use loadMovie to areas i already created. I ran into a problem... I have submenu buttons that take you to a (labeled) frame in each loaded movie, but they wont work because the actionscript takes place while the movie is loading.

IF ANYONE KNOWS A TUTORIAL, SOLUTION, OR JUST-POINT-ME-IN-THE-RIGHT-DIRECTION ADVICE FOR 3 ISSUES BELOW, I THANK YOU.

Is there a way to do this in the preloader of each loadedmovie (ie when preloader goes to 100% loaded gotoAndPlay (frameX) )?

Would it be a function or a variable or something else... (yes, semi-selftaught newbie)?

Finally, I've been having a little confusion in how the absolute _root. of a loaded movie works. I had an area that was _root.areas.newsmovieclip...
I surgically removed the newsmovieclip into a new loadmovie swf file, but suddenly my buttons weren't working. My placeholder for the movie was _root.areas.
Where did I go wrong?

Thanks for the help

_root. And Button Help With Loadmovie
I think I'm having root problems!!

My main movie is doing a loadmovie("menu.swf", menu_holder_clip)

My menu.swf does a loadmovie("random.swf", _root.random_holder_clip) upon rollovers on my buttons and works fine within the menu.fla.


The problem is it doesn't work in the main movie...I know it has something to do with _root.


THANKS a MILLION

Aloha
Andrea

LoadMovie Change Of _root...?
If I have a loadMovie the _root's of the movies I load changes. I was told to put a variable into the movie that changes that, but can anyone explain me where and how??? How exactly is that variable gonna be and where do I put it???

Thanks... :-)

Loadmovie Problems With _root
Hey guys,
I have a swf which contains a text feild and the following declaration:
sender_mail = _root.Semail.text;
The above basically just sets send_mail equal to whatever is in the Semail text box. I then take this swf and load it into another swf using that loadmovie function via this code:
loadMovie("email.swf", _root.box2, "GET"); where box2 is a movie clip inside the main swf which the text field swf is loading into. However, when I go to run the main swf which loads the text field swf, whatever is entered in the text boxes no longer works as it should. My asumption is because the text field swf has that _root but when its loaded into the main swf some sorta parent-child thing changes but im not sure how to fix this. Anyone know how I can fix this problem? many thanks!

LoadMovie And _root Timelines
I put the following on the last keyframe of the swf:

stop();
_root.gotoAndStop(10);

I want it to go to frame 10 of the timeline that this swf has been loaded into. Yet it goes to frame 10 of its own timeline.

I thought that a loaded swf's _root is the timeline it's loaded into. And that in order for it's own script to refer to it's own _root, that you would have to use the _lockroot command. Or if you want to have an mc be its timeline, you could specify the _lockroot within the mc. But that with any actionscript inside a loaded swf, the default is that _root always refers to the main root timeline it was loaded into.

Thanks!

Difference Between _root.loadmovie
on (press) {
loadMovie("Accessories.swf", _root.target);
}

and

on (press) {
_root.loadMovie("Accessories.swf", "target");
}

What's the difference? Well, the top one works for me but I'm not sure why. And what differene does it make have quotation marks around TARGET?

LoadMovie Using _root Not Working?
Hello everyone ,

i want a loadMovie button to use a parent movie function in the _root.

Ok, here's what i'm doing:

I loadMovie("ball.swf", "container"). That works.
I have a command inside ball.swf's onPress handler that looks like this:

_root.parentMovieFunction();

now in the parentMovie i have this:

_global.parentMovieFunction = function(){
trace("hello");
}

but the loadMovie does not access the parentMovieFunction.

I've tried lockroot=false in the loadMovie with no luck. Any suggestions? Thanks in advance and I've learned a lot from these threads. Keep on actionscripting!

LoadMovie _root Probleme
Hey guys,

As some of u might know if you use loadMovie the root of the swf movie will change from its own root into the root of the movie it's loaded into.

It can be manually fixed by doing a find and replace(in my case) :
search: _root
replace with: _root.empty

but is there a way to do this with actionscript? or some other way to fix the root problem.

I'm loading lots of diffrent swf's(portfolio) and in some there might be _root scripts.

any idea?

LoadMovie To _root Timeline
hi there,
I got this menu movie in the root timeline, and inside that movie I got another pop-up movie for submenu, and inside that submenu I got buttons obviously :)
I used :
on (release) {
loadMovie("h_euro.swf", "_root.now");
}

but just not work, and for some interesting reason it reloads the main movie. kinda confused here. "now" is a movie located in the root timeline.
hoping for some help
thanks

LoadMovie And _root PLEASE HELP [renamed]
I'm so freakin' frustrated!!!!

OK!!! i have an external movie clip that i want to load to a main clip.
This external clip have something to do with its root

So my question is:
1) How do u tell the _root in the external MC to point to its real root? (I've search the forum and tried to change _root to _parent but it doesnt work)

2) If changing to _parent doesnt work, does this means that there is something wrong with the empty MC container that i use?

I know there are some pro in this forum so PLEASE HELP ME!!!!!!!!!

_root.contenst.LoadMovie HELP PLZ
I have contents and contents2 as a movie clip !

I have placed contents in the upper header and the contents2 Under"down the Page "

I have a home buttom !

I whant when i press Home it will call up the contents and contents2 to load up 2 swf files in each other so i tryd ==>

On release

"Call funtion" !
_root.contents
LoadMovie
"HomeIMG.swf"

I added the same as above under it agein to load the other file in other to contents2

On release
_root.contents
loadMovie
"Hometxt.swf"


But it loads the furst one and not the last one ?
WHy and how !

-Note_ "Contents" loads the image and "Contents2" loads the text under the image thats the window under the image.

this is the interface.
http://www.home.no/millad/Layout/1.gif


Please help me out !

Thank you very much for your help !

_root.contents.loadmovie
well at the end of a swf i have the above code , and it loads another swf into that one but the thing is, the swf its loading has different dimensions,so it doesnt display the entire swf. is their anyway of making the swf im loading into change its dimensions to accomodate the bigger .swf?

i tried searching but could find anything

_root.loadMovie() Equivalent?
I need the functionality that "_root.loadMovie()" provides in every other Flash version!!

I CANNOT utilize "stage.addChild(Loader.content)" as a workaround. A Flash 6 .swf is involved whose script does NOT execute properly under an AS3 umbrella. In fact, this particular Flash 6 .swf CRASHES Flash CS3 when addChilded!! However, this crashing problem does not occur when I use _root.loadMovie() instead.

Plus, FlashVars are preserved with _root.loadMovie().

so is there an equivalent? something like "this.root.swapWith(Loader.content);"?

It's VERY important to me and I would be extremely grateful for any help.

LoadMovie And _root PLEASE HELP [renamed]
I'm so freakin' frustrated!!!!

OK!!! i have an external movie clip that i want to load to a main clip.
This external clip have something to do with its root

So my question is:
1) How do u tell the _root in the external MC to point to its real root? (I've search the forum and tried to change _root to _parent but it doesnt work)

2) If changing to _parent doesnt work, does this means that there is something wrong with the empty MC container that i use?

I know there are some pro in this forum so PLEASE HELP ME!!!!!!!!!

Loadmovie - Problem With _root
i am currently working on a portfolio site and want to load
several movies in the portfolio. using the command
"loadmovie" does´t really work when the loaded movie
the actionscriptcommand "_root" contains. is there any fast
possibility to load the movies but not to change the actionscript
(from e.g. _root. to _parent or whatever)???

thx in advance
max

Loadmovie And _root? +global Variables?
on no.. again another problem...

here we go:

i have two movies, one with a mousetracker and stuff
like that and one with the main thing in it..
here starting my problem, i load the movie with:

loadMovie("flash/main.swf", "holder");

it perfectly work, but in the main movie i have for
example a button (whitch also works fine when played alone):

with this code in it:

on (release){
if (_global.walked == 0) {
setProperty ("_root.walk_bgclp", _visible, "0");
_root.aboutclp.gotoAndPlay("start");
}
if (_global.walked == 1) {
setProperty ("_root.sign_helloclp", _visible, "0");
_root.walk_bgclp.gotoAndPlay("start");
_root.aboutclp.gotoAndPlay("start2");
}
}

seems not to work..
so here is my question..
is it possible to create global varables in the second
movie?
and what about the _root-command if i let the global thing
out and do something like
"on release -> _root.walkclp.gotandplay start" - it doesn't
play either.. if i let the _root away it wount play
not alone and not together with two movies..

whats wrong??

paraf

Loadmovie From _root Versus Movieclip?
Hi there!

I have a MC on stage named 'clip' that has this code ...

Code:
onClipEvent(load) {
this.loadMovie("image.jpg");
}
onClipEvent(enterFrame) {
trace("size = " + getBytesLoaded());
}


This traces the bytesize of 'image.jpg' but the image is not visible??

If instead _root loads the image into 'clip' ..
clip.loadMovie("image.jpg");
.. the image is visible and off course traces the same filesize.

I find this very odd! Does anybody have a clue why this happens... ?
//pod

_root.loadMovie And _global Functions
If I load a new swf into the root with _root.loadMovie my _global functions and variables should still be there shouldn't they?

I would have thought so but it doesn't seem to be the case.

Thanks for amy help.

LoadMovie Into _root.dummy.new + CreateNewMovieClip ?
I want to load several movieClips into:

_root.dummy.newlycreated

but I don´t get it to work, could anyone help?
I need all the stuff in the dummy to move around and resize it all together later. And the movies to be loaded are changing, it works dynamically via XML.

_root.dummy.createNewMovieClip("foo");
loadMovie("data/foo.swf", _root.dummy.foo);

doesn´t work, and

_root.createNewMovieClip("foo");
loadMovie("data/foo.swf", _root.foo);

neither works.

Do I have to include "createNewMovieClip" from somewhere or is it part of MX and AS 2? Why is there no documentation?

might this help:
dummy.createClassObject(movieClip, "foo");
?

Thank you very much,
Michael

LoadMovie _root Reference Query
i'm loading movies into a movieclip in my main movie using the loadMovie command.

each movie that's loaded has actionScript that references variables and functions on the _root, which means that when the movie is loaded into another movieclip the _root becomes the _root of the movie it's loaded into rather than the _root of the movie itself.

is there any way round this problem? the only solution i can think of is to replace all the references to _root in the movie with _parent._parent etc, to get to its own main timeline rather than that of the movie into which it's loading.

this is inconvenient, as i have upwards of 30 movies i want to load into the main movie (not all at once, obviously) and i don;t want to have to go through each one changing the actionSctipt.

would it help if i loaded the movies into levels rather than movieclips?

thanks in advance to anyone who can help

andy.

[F8] _root.variable? Problem Using LoadMovie
Hi,

I'm making a site that is one of those one-big-swf, click a nav and watch it fly to the right area type thing. (like this: http://www.flashvista.com/details/item/746/ )

I bought a XML Flash gallery from iStock, and embedded that .swf into my main.swf with the loadMovie command. Here's the code for that .. gallery55 is the instance name of the square where the swf goes to. Note, this is all working fine.

loadMovie("http://www.mydomain.com/flash/gallery.swf", "gallery55");

Unfortunately, while it all works, the arrows that scroll through the thumbnails stop working when I use this method (they work if I go directly to the gallery.swf).

Here is the actionscript for the arrows, in the gallery.swf:

on (release) {
_root.scrollAlbumThumbnails(1);
}


Now my guess is that the _root is making the gallery.swf look in the main.swf file, and therefore it's not working. What I need to do I guess is tell flash that it has to look in the same file that the arrow is (gallery.swf), and not go back one level to the main one.

Is that right? And if so, how do I do that? I've searched around and tried various things, but there's been no difference. I'm sure it's possible to do this, but I just don't know the right code.

Any help would be greatly appreciated! Thanks

Why Does LoadMovie Push Functions To _root?
I posted this over at Kirupa, but didn't find an answer. Basically I want to know why Flash, when loading external swf's that contain looping functions(such as for a timeline, or anything constantly updated), the second swf loaded seems to push the functions from the first to the _root level. I'll attach a zip with example files, but let me explain more first:

I have my main flash file that has 2 buttons and a container MC named "contentclip". The first button has this code:

on (release) {
contentclip.loadMovie("Loader1.swf", "contentclip");
}

and the second, this code:

on (release) {
contentclip.loadMovie("Loader2.swf", "contentclip");
}


Now, say I have the two external flash files named Loader1.swf and Loader2.swf. One has the following function:

fruitbowl = function() {
apples = "36"
}
setInterval(fruitbowl,20)

and the second has no function at all.

What happens is that when I click on the first button, things load normally. If I click it again, OR if I click on the second button, the variable "apples" gets pushed to level0 (_root). Why? Thanks so much guys, I'm trying hard to figure this one out, but its stumping me.

Here's the file: http://www.netonup.com/echelon/FlashCourse.zip

Loadmovie _root And Levels Problem
Hi,
I'm loading an external swf file into a mc placeholder with the following code:

mc1.loadMovie(cliptoload.swf);

cliptoload.swf has plenty of actionscript in it and often it refers to "_root" which sould be interpreted as cliptoload.swf 's root, not mainfile.swf's root (which would be _level0).
All my actionscript with "_root" (in the loaded clip) is not being interpreted correctly. Am I missing somethig?
I'm on Flash MX (ver 6)...
thanks for any help

LoadMovie _root Reference Query
i'm loading movies into a movieclip in my main movie using the loadMovie command.

each movie that's loaded has actionScript that references variables and functions on the _root, which means that when the movie is loaded into another movieclip the _root becomes the _root of the movie it's loaded into rather than the _root of the movie itself.

is there any way round this problem? the only solution i can think of is to replace all the references to _root in the movie with _parent._parent etc, to get to its own main timeline rather than that of the movie into which it's loading.

this is inconvenient, as i have upwards of 30 movies i want to load into the main movie (not all at once, obviously) and i don;t want to have to go through each one changing the actionSctipt.

would it help if i loaded the movies into levels rather than movieclips?

thanks in advance to anyone who can help

andy.

[MX] LoadMovie _root Reference Query
--------------------------------------------------------------------------------

i'm loading movies into a movieclip in my main movie using the loadMovie command.

each movie that's loaded has actionScript that references variables and functions on the _root, which means that when the movie is loaded into another movieclip the _root becomes the _root of the movie it's loaded into rather than the _root of the movie itself.

is there any way round this problem? the only solution i can think of is to replace all the references to _root in the movie with _parent._parent etc, to get to its own main timeline rather than that of the movie into which it's loading.

this is inconvenient, as i have upwards of 30 movies i want to load into the main movie (not all at once, obviously) and i don;t want to have to go through each one changing the actionSctipt.

would it help if i loaded the movies into levels rather than movieclips?

thanks in advance to anyone who can help

andy.

[MX] LoadMovie _root Reference Query
--------------------------------------------------------------------------------

i'm loading movies into a movieclip in my main movie using the loadMovie command.

each movie that's loaded has actionScript that references variables and functions on the _root, which means that when the movie is loaded into another movieclip the _root becomes the _root of the movie it's loaded into rather than the _root of the movie itself.

is there any way round this problem? the only solution i can think of is to replace all the references to _root in the movie with _parent._parent etc, to get to its own main timeline rather than that of the movie into which it's loading.

this is inconvenient, as i have upwards of 30 movies i want to load into the main movie (not all at once, obviously) and i don;t want to have to go through each one changing the actionSctipt.

would it help if i loaded the movies into levels rather than movieclips?

thanks in advance to anyone who can help

andy.

[MX] LoadMovie _root Reference Query
i'm loading movies into a movieclip in my main movie using the loadMovie command.

each movie that's loaded has actionScript that references variables and functions on the _root, which means that when the movie is loaded into another movieclip the _root becomes the _root of the movie it's loaded into rather than the _root of the movie itself.

is there any way round this problem? the only solution i can think of is to replace all the references to _root in the movie with _parent._parent etc, to get to its own main timeline rather than that of the movie into which it's loading.

this is inconvenient, as i have upwards of 30 movies i want to load into the main movie (not all at once, obviously) and i don;t want to have to go through each one changing the actionSctipt.

would it help if i loaded the movies into levels rather than movieclips?

thanks in advance to anyone who can help

andy

Loadmovie Of Movie Of Diff Size Then _root
i want to do a loadMovie on _root w/ a movie that has a different stage size as my original movie. is there any way to modify the html on the fly somehow w/ javascript so that the movie will not be stretched to fit the original size??

ie _root is 800x600(and object tag in html is 800x600) but then i do a load movie on a movie on a movie that is 400x200
but now the movie is being stretched to 800x600, but i want it to be displayed at 400x200

XML Drop Down Menu And _root.theClip_mc.loadMovie
I have thoroughly checked the forum but no answer has been offered...
How can I run an XML drop-down menu that loads _root.theClip_mc.loadMovie rather than a URL?

Am I missing something in the tutorial re. variables?

Cheers.
Alex

XML Drop Down Menu And _root.theClip_mc.loadMovie
I have thoroughly checked the forum but no answer has been offered...
How can I run an XML drop-down menu that loads _root.theClip_mc.loadMovie rather than a URL?

Am I missing something in the tutorial re. variables?

Cheers.
Alex

After A LoadMovie(MovieA,_root.loadWindow); The Action Script Of MovieA Is Not Workin
Hello,

I am coming back with my problem in case someone have not see it.

My MovieA (who is loaded and opened in my root movie called MainMovie) include some ActionScript in order to display an image only if the mouse rollover a specific zone. (I am using the _xmouse and _ymouse with some condition in order to do that).

I have loaded my movie using the following actionscript.

loadMovie(MovieA,_root.loadWindow);

This movie (MovieA) is working correctly when I launch it out of the MainMovie (In 'standalone'), but the thing is that it is not working when I load it in the MainMovie, the image is never displayed. Why ?

What do I have to do in order to make its actionscript work correctly ?

Attoc.

_root.mc.loadmovie("movie.swf") With Flash Games #@%$#
With certin games like r-shot or the kill jp-dart game, i can sucsfully load the movie but the cursor movement is not working properly. if i use loadmovienum("movie.swf, 1) it works fine but i loose my alinement... #@!%$#!

code example http://www.bantv.com/games/gameloader.fla
game example http://www.bantv.com/games/game.swf
pafe example http://www.bantv.com/games/gameloader.swf

thanks
Krake
[Edited by krakedwebguy on 09-14-2002 at 11:41 PM]

HOWTO Convert _root.loadMovie("a.swf"); To AS3 Style
HOWTO convert
_root.loadMovie("a.swf");
to AS3 style since the code above was writen in AS2.
thx for reading....

_root.contents.loadMovie("contact.swf");
(Newbie) I have gone through the "Create Full Flash Site" tut for two days and I can't seem to get the next external movie to load by itself...it loads but the main_content.swf stays and when I go back to the home_btn it goes back home but the original main_content.swf is still there after two seperate clicks and movie loads. I know I have overlooked something simple so if someone could help I would greatly appreciate it.

Thanks

Flashmx-Im Trying To Make It So That When _root.lazer Collides With _root.bad It Goto
Im trying to make it so that when _root.lazer collides with _root.bad it gotoandplays("Explode"); im using this script

onClipEvent (load) {
if (this.lazer(_root.bad)) {
this.gotoandplay("Explode");

My fla is attached.

_root.play() / _root.gotoAndPlay() Not Working
Hi,

I am working on an interactive movie, the movie consists of a number of small movie clips. I need each clip to play and when it reaches it’s end stop and tell the main time line to move to next frame, on that frame the next MC will [play and do the same.

I am trying to use this script for the last frame of the movie:


_root.play()

I also tried “_root.gotoAndPlay()” and “_root.nextFrame()

It doesn’t seem to work.
Anyone has any idea why ???

? -- TellTarget(_root.man_0 && _root.man_1) { -- ?
Can you tellTarget multiple targets?

Loading .swf To _root And Performing Actions On _root
Hello, I have a loader which should load a movie which should be placed on the _root so that all of it's actions will still work. also, i need to perform some actions on the _root which is specified in my loader. f.eks. say I load my movie at _level0 and then I trace "movieLoaded" all the time.

And I use flash MX

_root.loadMovie("")....
HI!

How can I set "_root.loadMovie" function address to be some http?

example: _root.loadMovie("http://www.FlashMovieStoredHere.com/example.swf") ?

I'm using 2 swf files and have uploaded both of 'em to server, but it seems the fist file load since I've made the url modification in HTML, but the 2nd file won't load??????



pls help me...

Container.loadMovie ("image"+_root.variable+".swf") Doesn't Work, Help
what i'm trying to do is dynamically load a movie based on the name of a variable called "whichPic". the swf calling for the movie is nested inside another movie that has loaded it. the variable is defined in the _root movie. for whatever reason i can't get this to work. here is what i have right now:

container.loadMovie("image"+_root.whichPic+".swf") ;

it keeps trying to load a movie called "image.swf" instead of "image1.swf" or "image2.swf", etc. the variable is there but i just can't access it for some reason. i assume i'm just writing the actionscrpt incorrectly, nesting movies always throws me for a loop. thanks!

_root.xyzxyz What This _root Means?
What is the meaning of _root. What does it represent.

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