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




Loading A .swf From Inside Another Movie



I'm trying to load a short movie from inside my main movie and then have it disappear when the user clicks on it. I have code that loads it up fine, but I can't get the main program to recognize any click events. This is what I have so far:

**************
this.createEmptyMovieClip("error_mc", 1);
this.error_mc.loadMovie("error.swf");
this.error_mc.onRelease = function(){
error_mc.unloadMovie();
}
*************

Any ideas on how to make the loaded .swf recognize click events to that it can be unloaded?

thanks.



DevShed > Flash Help
Posted on: February 17th, 2003, 05:33 PM


View Complete Forum Thread with Replies

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

Loading Text Inside Movie -> Inside A Movie
Ok so I have a movie that has a bunch of little movies which are played on a click of a button. Now inside the second layer movie I want to load some text from an external txt file but for some reason it is not working. I am using, loadVariablesNum("content.txt", 0); and my dynamic txt area is suppose to retreive the variable rafting. now for some reason it is not loading the text into the text area, could it because it is not in the main scene??? Can someone please help me out???

Thanks

Nick

Detecting A Loading Movie Inside Your Main Movie?
Hi, I'm stuck on trying this thing, I'm loading in movies for my site, I wanna make stuff load when clicked, ya know to save dl time and all. Ok, So I'd like a button to load in another movie, preferably in two places, but I want the cursor to be the load bar, and I know how to do all that, it's just to how do I address the movie loading in, so I can monitor it's progress?

Basicly I'd have a mc called loader, which would follow the cursor, and have this AS attached to the main timeline


Quote:




loadedbytes=getBytesLoaded();
totalbytes=getBytesTotal();
percentbytes=int(loadedbytes/(totalbytes/100));
loader.gotoAndStop(percentbytes);






That's just a simple script I got off a tutorial, so how do I make that work for movies being dynamicly loaded in? And wont those clips loaded in have to be put into a blank MC with createEmptyMovieClip, then use attachMovieClip to assign them to the two different final MCs?

Thanks for your time, and any help you can give.

Loading Inside A Movie
its probly easy and has been brought up plenty of times before but how do u load movies within a movie say a portfolio or contact us page. if anyone could pont me in the right direction. thanks

Loading A Movie Inside A Movie W/preloader?
I just came from a website where after the movie was loaded and your in the main interface. . as you click on buttons to view certain things, smaller movies appear with their own preloaders which then load and you can view. . .(example: http://members.tripod.com/betathree/ )

I want to create a similar effect in my masterpeice to optimize the bulk of the movie.

Can I get a lending hand from the gurus of the board?


Thanks alot
[Edited by Apollo Becate on 07-10-2002 at 09:00 PM]

Loading Movie Inside A Loaded Movie
I am working on my site navigation and have found some difficulty. I have my main menu which loads my .swf's into a blank movie clip, works great. I now have a situation with the portfolio section. I do not want to load the entire segment due to file size. I want to load the individual segments(web,experiments,print,games,etc.) inside of the already loaded portfolio .swf. Any input, message board, ste links are greatly appreciated.

Loading Movie Inside A Movie Part 2 HELP
Hi... okay

i got a movie with a navigation menu.... and i was showed to to load a mvoie inside it so when people click a button it wouldn't have to load the navigation menu again

i have 1 problem.... i want to place some text and some pretty pictures and things on the navigation movie page..... thing is... when i click a button to load another movie it just wacks it on the top of it!

how can i fix this?

please help

thanks

Loading Movie Clips Inside A Another Movie
hi everyone.

i hope that you are all having a great morning and i would really like some help.

i have a scrollpane with some logos on, on top of these logos are button, when i have pressed the buttons i would like to action to load a new movie clip onto the main timeline to show more information on the logo clicked......basically on release i would like to show a movie clip on the stage, and when you click on another one of the logos i would like the last on to disappear and to be replaced by the other one.

if anyone could help me i would really appreciate it, cheers everyone.

mr blair

Loading Movie Clips Inside A Another Movie
hi everyone.

i hope that you are all having a great morning and i would really like some help.

i have a scrollpane with some logos on, on top of these logos are button, when i have pressed the buttons i would like to action to load a new movie clip onto the main timeline to show more information on the logo clicked......basically on release i would like to show a movie clip on the stage, and when you click on another one of the logos i would like the last on to disappear and to be replaced by the other one.

if anyone could help me i would really appreciate it, cheers everyone.

mr blair

Loading Url Inside A Flash Movie...
if you go to www.2advanced.com and then go navigate around, you see that its all one flash file but theres like seperate pages that can be loaded inside the whole flash movie.

i want to have a flash movie, but i dont want it to load all at once, and i dont want to have to have it link to a whole different page.
can i do it like the 2advanced page does? and have different pages load inside the one movie when you click on a button?

anyone know how to do this? this would make my site a lot cooler =)

Loading A Url Inside A Flash Movie
Recently started workin with flash and was wondering if it would be possible to make html pages display inside a flash movie....

Loading Movie Inside Button
I'm creating a tree type menu in flash and need some help with integrating a movie with a button. Here's what I want to do. When I click an arrow button that expands the tree and shows textual buttons below, I want a movie to load which runs in place of where the textual button is located and when the movie if finished running display the textual button. My goal is to get this movie to run before the button appears and then allow the user to click the button to proceed.

The movie I'm trying to load is located on Frame 11 underneath the heading Main Menu. If you can help me I would greatly appreciate it.

thanks

Loading External Swf's Inside A Movie
I have a small site im working on and have worked with flash for years but not much with actionscripting.. just cartoons, buttons etc. I dont get what im doing wrong here. Im trying to make these buttons pull up movies into an empty area.
I created a place holder and named it stage1. In flash during testing, the movie works perfect but not in the browser. Ive tried many different suggestion form many sites and nothing is working. Its not rocket science.. bleh..

This is what i currently have ( i have tried action on the button itself as well, which also works in flash)

this.news_btn.onRelease=function(){
createEmptyMovieClip ("stage1", _level0.getNextHighestDepth());
stage1.loadMovie("news.swf"); }

i have 6 of those on one action (only) level for each button. I got that script from another site.

I was using

on (release){
loadMovie("news.swf", stage1);
}

and that works in flash as well..

any help would be awesome.

lostlogo

p.s. I also tried changing publishing options to network rather than local files with no luck..

Loading .swf Inside Current Movie
Hi there,

I was wondering if anyone could help with a small problem i have encountered.
I am trying to get a button to load a specific .swf into a specific area using placeHolder_mc. I want the button to load the movie at a certain frame and stop when i roll over it, but when i click the button i want the button to load the same movie but at a different frame which will continue playing the .swf

Here is the code i added to the button :


on (rollOver) {
loadMovie("mikegardner.swf", "placeHolder_mc");
gotoAndStop(1);
}

on (press) {
loadMovie("mikegardner.swf", "placeHolder_mc");
gotoAndPlay(2);
}

The first half works fine, when i roll over the button it loads the .swf and stops at the frame i want, but when i press the button it freaks out and directs me to a totally different scene in my original movie. The effect i am going for is so when you roll voer the button it loads the .swf only half way, half capacity, but when the button is clicked it carrys on playing the .swf and makes the content motion tween to full capacity.

If anyone can help i would much appriciate it as this is for a project / client which is pretty important, thank you

Loading One Movie Clip Inside Another
Is it possible to load one movie clip inside another at runtime?

Loading Movie Inside Button
I'm creating a tree type menu in flash and need some help with integrating a movie with a button. Here's what I want to do. When I click an arrow button that expands the tree and shows textual buttons below, I want a movie to load which runs in place of where the textual button is located and when the movie if finished running display the textual button. My goal is to get this movie to run before the button appears and then allow the user to click the button to proceed.

thanks

Loading Movie Inside Button
I'm creating a tree type menu in flash and need some help with integrating a movie with a button. Here's what I want to do. When I click an arrow button that expands the tree and shows textual buttons below, I want a movie to load which runs in place of where the textual button is located and when the movie if finished running display the textual button. My goal is to get this movie to run before the button appears and then allow the user to click the button to proceed.

thanks

Loading Inside A Loaded Movie
I have a swf (updates) that I have loaded with action script into my main website swf.

In the 'updates' swf I have a dynamically loaded text file.

When I test the 'updates' swf by itself, it works. But, when I test the main website swf, the text file is not pulled.

Tell me if this is a true statement:

Flash doesn't allow loaded content inside a loaded content?

let me know if more clarification is needed...this is preventing me from progressing on my new website...

THank you in advance for any help you may have to offer...

jeannie

Loading Variables Inside A Movie Clip
Hi!

I'd like to put a dynamic text inside a movie clip, how can I load the value of this text that is placed inside a .txt.

Note: I know how to asign a .txt to a dynamic text, but what I want to know is how to do it when it is inside a movie clip.

Please, help me!!!

Loading MovieClip Inside Flash Movie
Hi,

I guess i've worked a lot in FlashMX and created quite a bit of things. Including working with Flash & php/mySQL etc., so i wouldn't call myself a newbie, but in this particular case, please strictly regard me as one as i have no clue how to go about.

I have a mainframe interface which had a preloader.
After a certain frame is reached.. on the click of a button, A huge set of images with some interactivity/nagivation are to appear... i want them to Preload .. but only after the Click of that button in the mainframe. If i combine total preloading, it will take a lot of time.. so i want the user to get into something, then when he clicks the button, this particular new movie clip loads.

So this is like a Preloader for Movie Clip which is not preloaded in the initial Preloader for the entire Movie. I have seen this so much in so many places.

Apart from this, there is another problem. Thing is, this new MovieClip is supposed to be controlled/navigated, through buttons in the mainframe system which appear even before this new clip is loaded. When i'll be making ActionScripts for this.. will there be any problem? If i make normal reference to this new Clip. will it work? Or is something specific to be done then?

Thanks...

2Shy

Loading Movies Inside Movie Trouble
Hello
In my flash movie I have a few external flash movies loading up (using the load movie action).

The problem is once they are loaded, they stay up and keep playing until you click on any button that takes you backwards in the timeline of the main movie. If you go forwards in the timeline the loaded movie stays up.

Now how do I...

1. Make a loaded movie unload/disappear when the user clicks on another button.

2. Make a loaded movie play autonamously regardless of what the user clicks on or navigates to in the main movie timeline.

Please help!
Mishiko

Loading Movies Inside A Loaded Movie..
So I have a menu in my main movie. When you click on a button it loads a movie below (we will call this sub movie). Inside sub movie I want to have another menu that loads another movie. This just isnt working.. is this possible? If I run the sub movie in flash it loads additional movies fine.. but when I run the main movie that loads the sub movie.. the movie loader in the sub menu isnt working.

Here is the loader code for the main movie
on (release) {
_root.contents.loadMovie("members.swf");
}
on (release) {
gotoAndPlay(1);
}

Here is the loader code for the sub movie
on (release) {
_root.contents2.loadMovie("nam.swf");
}
on (release) {
gotoAndPlay(1);
}

I made sure the root.contents had the variation of "2" so it would not confuse the empty movie clip to load into..

Wait Loading Inside The Attached Movie
Hi everyone!

Im attaching lots of movies in to empty clip in a for loop.like this


Code:
...
for (i=total-1; i >= 0; i--) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
creatPage(i);
}
AFUNCTION_AFTER_FOR();
...
function creatPage(j){

mclips[j] = _root.ana.attachMovie("gana", "gana"+j , ana.getNextHighestDepth());
mclips[j].mc.loadMovie(image[j]);
}


As you can see i also load something into the clip that i attached. So i creat lots of attached movies and load images into MCs inside the attached movies.

The problem is that , i want the AFUNCTION_AFTER_FOR() wait, untill all mcs in all attached movies loaded.

I thinking of using counters for loaded movies..and somemore things but.. i cant come up with an exact solution, and i also searched the web, im sure there must be at least one more person in the galaxy who comes up with this problem but i couldnt find him on web.

So anyone has idea?

Thnx alot.

Help With Loading Movie Clip Inside Scrollpane
hello all. im stuck with loading a movieclip with a scrollpane. i have a movieclip name "test" but i cant seem to have it to load inside the scrollpane component. this movielcip loads xml stuffs and it works when the movieclip was tested.

is this possible? do i need to write anything like scrollpane.setcontent? im using flash mx 2004.

any help and/or advice is greatly appreciated

Loading External .SWF's Inside Main Movie
Hi everyone, I'd like to know if any if you could help me with this.

I have a main flash movie, and I want to load external .SWF's inside that movie. When it loads, I want to have a loader bar and a transition if possible. I've looked and asked around a few places but I'm still lacking information. I wanted to know if any of you knew if there was a tutorial available for this.

I'm not sure if loading external SWF's is better then just making one main flash movie and having the sections preload, if you have any suggestions on how I should optimize this, please let me know.


Thanks!

Loading An Html Page Inside A Movie (urgent...)
Hello, first off, thanks for reading this message... I have a slight problem, I am a rookie or a flash newbie, and I really want to know how to load up an html page of a fixed size inside a flash movie. I'm guessing it is load variables, or get url, but i know with geturl i can only make it open the page in a new page or in the same page, but I want the html page loaded directly into the movie. It's really urgent, so if you could just reply or email me, my email is bite_yo_rhymes@yahoo.com. I have done research and I know that this technique I am using by integrating paypal buttons into my flash movie has been used by many other sites. My site is for two other students at a university, so they are getting pissed at me for not getting a view cart button up. Anyways, uh, sorry if I lost you with all my ramblings.

Thanks, JJ

HELP - Loading A Text File Inside Of A Movie Within A Moive
Okay, I am not really any sort of action scripter, but I do have a
question that I believe applies to action script.

I have created a movie with buttons in it that is the main console
to my site. This is an ALL Flash site. When you click a button to go
to one of the backpages it will:

_root.profile.loadMovie("images/contact.swf");
stop();

After loading this movie.. the movie profile.swf needs to be able
to call up a dynamic text file.

loadVariablesNum("http://design.sevenpoint.net/bobby/images/contact.txt", 0);

It doesn't work. I am using Flash MX. If you play
just the contact.swf it will work.

Main Site: http://design.sevenpoint.net/bobby
Working Dynamic Text: http://design.sevenpoint.net/bobby/images/contact.swf

So, it works, but not inside of the current movie console.swf that it
is loading into. How can I make it work after it is loaded into my
main console.swf? ANY HELP would be much much much much greatly
appreciated!!!!!

Loading Inside An Already Loaded Movie... _root N Stuff
2 Questions:

I am making a site and I want to make seperatie directories for the menu, and the content files. I have made a .swf with a menu in it (index.swf). This menu has a little animation that is loaded externally (topanim.swf). I have set up my site maps like this:

Site (Contains mainindex.fla)
||
||=>Menu (Contains index.swf and topanim.swf)
||
||=>Left(Contains content index, leftindex.swf)
||
||=>Content (Contains content pages, example: home.swf)

I have made a little border, and saved this in the leftindex.swf. The content pages should be loaded into this file. So I have made an empty mc (in the leftindex.swf) with the instance name leftcontent. I have only done this with the contentstuff and not with the menu.

I have created a empty page, named mainindex.swf. I've placed 2 empty mc's on this page that load the menu (index.swf) and the content border (leftindex.swf).

The menu loads fine except the little animation. How do I fix this?

And also how do I load the content pages (home.swf) into the border by pressing a button in the menu?

I know it's a little complicated, and it can be done a lot easier, but I want to do it this way. It's too hard for me to explain in english why.

Please help me...

Loading External Text From Inside A Movie Clip
Hi, I'm having a little problem loading external text from a button inside a movie clip, I'm pretty sure it has something to do with my paths...the code for external text loading is the one I got from one of the tutorial in this site (chris99022 ). Anyway, I attach the source code. I'd appreciate any help. Thank you.

Arggh, I can't attach it coz my file's too big. Well, the code is :

ActionScript Code:
on (release) {    loadText = new loadVars();    loadText.load("TEXT1.txt");    loadText.onLoad = function(success) {        if (success) {            // trace(success);            newsBox.html = true;            newsBox.htmlText = this.myNews;        }    };}

How should I modify it so the path points to the textfield that's on the main scene?

Loading Inside An Already Loaded Movie... _root N Stuff
2 Questions:

I am making a site and I want to make seperatie directories for the menu, and the content files. I have made a .swf with a menu in it (index.swf). This menu has a little animation that is loaded externally (topanim.swf). I have set up my site maps like this:

Site (Contains mainindex.fla)
||
||=>Menu (Contains index.swf and topanim.swf)
||
||=>Left(Contains content index, leftindex.swf)
||
||=>Content (Contains content pages, example: home.swf)

I have made a little border, and saved this in the leftindex.swf. The content pages should be loaded into this file. So I have made an empty mc (in the leftindex.swf) with the instance name leftcontent. I have only done this with the contentstuff and not with the menu.

I have created a empty page, named mainindex.swf. I've placed 2 empty mc's on this page that load the menu (index.swf) and the content border (leftindex.swf).

The menu loads fine except the little animation. How do I fix this?

And also how do I load the content pages (home.swf) into the border by pressing a button in the menu?

I know it's a little complicated, and it can be done a lot easier, but I want to do it this way. It's too hard for me to explain in english why.

Please help me...

Loading External Text From Inside A Movie Clip
Hi, I'm having a little problem loading external text from a button inside a movie clip, I'm pretty sure it has something to do with my paths...the code for external text loading is the one I got from one of the tutorial in this site (chris99022 ). Anyway, I attach the source code. I'd appreciate any help. Thank you.

Arggh, I can't attach it coz my file's too big. Well, the code is :

ActionScript Code:
on (release) {    loadText = new loadVars();    loadText.load("TEXT1.txt");    loadText.onLoad = function(success) {        if (success) {            // trace(success);            newsBox.html = true;            newsBox.htmlText = this.myNews;        }    };}

How should I modify it so the path points to the textfield that's on the main scene?

Loading Movies Inside Movie That Are Inside Other Movies
I have built a website in flash.
I have a main interface with navigation. On press of a button (topic) it loads a movie into a certain area.

//area on timeline to stop any probs or overlapping
on (release) {
gotoAndStop ("1");
}
// get the clip
on (release) {
loadMovie ("mainmovies/products.swf", "_root.mainmovieframe");
}

this works fine and is the simplist and most effective way (i think)

NOW... what happens if I have buttons inside the products movie that inturn call movies inside the sub movie..

It will now work, just crashes flash player. I am using the same command as in the interface but with different clip/instance name...

Please tell me how to make movies work. I cannot make layers and stuff work for some reason.

Loading A Movie Inside Of A Movie
Hey, i was wondering how you load another movie while one is still playing ad on top of that in a certain spot! Can anyone help? thanks - EnSanity

Loading A Movie Inside A Movie
Hi,

I'm trying to load a movie (swf) into an instance of a movie clip symbol in a level of another movie. I'm not sure of the correct grammar or flash jargon here and I'm not quite sure where to begin looking. If you have an idea, I'd appreciate your help. Thank you.

The content I wish to load on a different level should appear in a horizontal sliding panel type navigation.

Sincerely,

Rob.

Loading External Movie Clip With A Button Inside Another Movie Clip Help
Hi,

I am working on a scrolling thumbnail movie clip, that when you click on the thumbnail button inside the movie clip it will load an external movie clip. I have an empty movie clip on the main stage, and have been trying all sorts of code, but for some reason it doesn't like that I am inside a movie clip using buttons. It can't seem to find the external swf.

I have tried:

on (release) {
loadMovie (ithink.swf, "loader");

and

on (release) }
if (firstTime == true) {
loadMovie("ithink.swf", _root.loader);
firstTime = false;
} else {
_root.clicked = "ithink.swf";
_root.loader.gotoAndPlay("goback");
}
}

and so far nothing, for some reaosn when I click on a button outside of the movie clip with the above code it loads... and than the other works too, but if I click on the buttons inside the scolling movie clip first they won't work.

Any suggests or ideas!!?

I would really appreciate it... I am beyond frusterated!!

How To Have A Button Link To A Certain Frame Inside A Movie Clip From Inside A Movie
Is this possible? I have a menu and would like to have a drop down box nested inside the menue which links to certain frames inside the main movie clip.

Button Inside Movie Clip Inside Scrollpane Doesn't Work In Xml
This is sorta odd but I'm hoping somewhat easy to fix. This is in AS2 and is the last problem I have in a very small project of mine.

I have button called button01 inside a movieclip called movieclip01 which is the contentPath for a scrollpane called scrollpane01. I'd like the button to work, and depending on the code it will work in the normal .swf but won't when I embed my movie into xml.

If I put the code inside movieclip01

button01.onRelease=function(){
_root.gotoAndPlay("Frame Name");
}

It will work when I test it but not in the XML. So what I want to do is go to the main timeline where the scrollpane is and write the code there. That is where I'm stuck.

I've tried scrollpane01.movieclip01.button01 and tried movieclip01.button01 and also tried scrollpane01.button01. Just for giggles I also tried scrollpane01.movieclip01 but none of that works

Last night I had a similar problem with buttons inside a movieclip that was on the root stage. They worked in the swf but not when I embedded the file - so I found this which worked (typed in the root stage)

movieclip01.button01.onRelease=function(){

Can't Seem To Get The Paths Correct When It's Occuring Inside A Movie Clip Inside
main movie on _level0, navigation loads into _level1, icon is dragged and dropped loading another samples.swf into _level2.

drag and drop works fine running outside of main movie but not inside main movie. i'm assuming i've messed up paths.

i tried to include the code (twice now) but it keeps cutting off my message.

it's an action on a button inside a movie clip inside a movie loaded into _level1. it needs to reference a movie clip on the main timeline of the _level1 movie. what would the path be?

Behavior On Buttons Inside A Movie Clip Inside A Button.
I would like t create an animated button with menu inside, how do i do it.

something like on here http://www.demarchelier.net

hidden menu on left side (contents) but on flash. I have flash 8. any tutorial that explain how to do that ?

Loading An External Movie Inside An External Movie?
This is my problem.

First my nav buttons load an external movie to a container movieclip. However in this loaded movie I am using another container to load in other movieclips (I am loading a movie in turn that movie contains buttons which loads in other movies to another container in that movie).

I'm using the following code on the buttons -

on (release){
_root.container.loadMovie("test.swf");
}

however when I click on the button in the movie clip it just goes white. Is my code wrong? Can you only load one movieclip using containers? I know I've explained it very complicated.

1. I click a button.
2. That button loads an external file to a container.
3. In that external file there is another button, when clicked loads another external file into it using another container.

Please someone help!!!

Loading A Movie Clip Inside Of A Movie Clip?
I have a movie clip on my stage, and when you click a button I want to load a movie clip inside of that one from my libary. I know this is a stupid question, but right now mind mind is boggled.

Loading An External Movie Inside An External Movie?
This is my problem.

First my nav buttons load an external movie to a container movieclip. However in this loaded movie I am using another container to load in other movieclips (I am loading a movie in turn that movie contains buttons which loads in other movies to another container in that movie).

I'm using the following code on the buttons -

on (release){
_root.container.loadMovie("test.swf");
}

however when I click on the button in the movie clip it just goes white. Is my code wrong? Can you only load one movieclip using containers? I know I've explained it very complicated.

1. I click a button.
2. That button loads an external file to a container.
3. In that external file there is another button, when clicked loads another external file into it using another container.

Please someone help!!!

Loading A Movie Clip Inside Of A Movie Clip?
I have a movie clip on my stage, and when you click a button I want to load a movie clip inside of that one from my libary. I know this is a stupid question, but right now mind mind is boggled.

Loading Movies Inside Other Movies In An Ext Movie Holder?
Here's one for you:

I've got my main movie that has a movie holder on it (entitled movieholder.) The buttons on the left control what goes in the movie holder. In one of the movies there is a list of songs that are actually buttons. These buttons call up another movie(with MP3s). How do I get the MP3 movies to go into "movieholder" when they are being called by a button inside 'movieholder'

I'm using MX

Hope that made a slight bit of sense!

Thanks for any help,

Graeme

Tween Inside A Button Inside A Movie Clip
Say I have 3 squares, from left to right, blue, red, yellow. The 3 squares together are a MC that move from off the stage on right, across the stage to line up on the left. Now say I want to make the left blue square a button so that when you roll over it, it has a orange frame and then when you press down on it it dims, and a larger version of it shows up above it. how would I do this? What i've done so far is made a button inside the MC, then on the down state of the button made a graphic button for the blue square, but it doesn't stay dimmed, and I don't even know how to make the larger blue square appear.

Is this too confusing?
please help.
thanks

Load A Movie Inside Blank Clip From Inside Itself?
Hi,
I am working on a site and I have a blank movie clip called contents. I have a button that when clicked, loads a swf (2.swf)inside of it. then I have a button in 2.swf, when clicked, I want it to load a swf in contents (the same movie clip that it was loaded into). I have tried using _root. and _parent. infront of the loadmovie code, but those aren't working. What code would I use to do this?
Thanks, Matt

Using External .txt Inside Movie Clip Inside .fla
I've seen a hundred and a half posts on similar subjects, but goshdarnit, I just can't make this work. Let me explain the problem, and I've included a link to a Zip file with my .fla file and the away.txt file I'm calling the variables from.

Basically, I want to create an interactive menu thing, that starts with a row of each of the 26 letters of the alphabet. When one clicks on a letter, the letter is tweened to a larger faded state, and so is the rest of the alphabet, and I want the names of the schools starting with that letter to then fade in. I have a movie clip inside the last frame of the main tween, which should then tween (fade in over 12 frames) the graphic symbol containing my dynamic text box, which is supposed to be linked to the text variables in the external file. The text variable is created on the first frame of the main timeline using Actionscript on the static header layer, and so I should be able to load it inside my movie clip (I think). Everything looks fine to me, but then I've only been using Flash for 2 weeks.

My Zipped source files can be found at: http://www.tolcs.org/athletics/away.zip

If anyone would be willing to download my source files and give some wonderful advice, I'd revere and adore them forever.

Showing Total Progress Of A Loading MC And A MC Loading Inside Of It.
When entering a page I want a main.swf to load, using the MovieCLipLoader. When main.swf has completed loading, it automatically starts loading another swf, home.swf, into itself in a specific area.

I want to display the total download progress of loading the main.swf and home.swf.

First when the whole download progress is done, I want the main.swf together with the home.swf to be visible.

Any ideas on how to do this ?

A Movie Inside A Button Inside A Movie
OK... I need to tell a movie (named contact_movie) that is inside a button (named Contact Button) that is inside a movie (named navigation) to gotoAndPlay (6) on the release of Contact Button, but I can't figure out how to do that.

any suggestions?

Thanks
Charlie

Movie Inside Movie Inside Movie Problem :P
Ok, this is probably something stupid that i havent realised how to do but here goes...

I have a health bar which is in _root.bar.health movie clip. when the health gets to the end frame i want it to go to another scene, the goto command won't work for some reason.... any suggestions?

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