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




Problem With LoadMovie() Preloading



Hi,
I've got an XML drivin page, loading thumbnails and images into movieclips.

They populate all at once but obviously they dont load in at the same time, they pop up randomly as they finish loading.

So I've got individual preloaders on each of the holderMovieClips that checks the loadedDate/totalData of each MC.

The problem I have is that I can't get the movie to detect when it's finished loading the actual image or when it's just loaded the empty movieclip. Because I need to terminate the enterframe script once it's done because it's draining too much processing power and causes the movie to play slowly...

(I can't make it stop if loadPercentage = 100 because it starts on 100 when the movieClip is still empty)

Thanks for any sugestions



ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 09-21-2005, 12:30 PM


View Complete Forum Thread with Replies

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

Preloading LoadMovie
hello!!

my mate jeremy (brown trowsers) suggested this this board, so here goes! (thanks to anyone for the random loadMovie tips earlier - will help out loads!)

i have a base level movie which i want to use to load other swf files. but i need them to preload. at the moment i am trying a fla supplied on the flash 5 studio book (very, very good) which allows you to load a swf to replace a movie clip on the stage. although it allows a preload, it wont allow me to load the swf into a level - something i really need!!

does anyone have a simpler method out there?

thank you,

jake

Preloading With Loadmovie
Hi.My problem is that i have 3 scenes in my movie.
In first scene i have the preloader and a bit of the main movie.
THen in scenes 2 and 3 i have used many times the function loadmovie.The problem is that the preoader doesn't check if the EXTERNAL movies have been preloaded.So it just play sthem in streaming.

I jsut wonder how i could preload the external movies?

Thx.

Preloading With Loadmovie
Hi.My problem is that i have 3 scenes in my movie.
In first scene i have the preloader and a bit of the main movie.
THen in scenes 2 and 3 i have used many times the function loadmovie.The problem is that the preoader doesn't check if the EXTERNAL movies have been preloaded.So it just play sthem in streaming.

I jsut wonder how i could preload the external movies?

Thx.

Preloading LoadMovie
hi guys, i have a problem. i am able to make a preloader in the root level, but when i made a preloader for a loadMovie mc, the preloader only appears once that the whole preload mc is loaded. so, in effect, you only see the preload popup window for a split second.

this is how i worked it. there is a file "preloader" that is called by each of the different loadMovie mc's.
at the beggining of these mc's, it calls the preloader and these mcs will not continue unless specified by the preloader. the preloader then will call "_parent.getBytes... blah" and then compute and supposedly show how much has been downloaded.

my problem is that i don't see the increment. it just pops up for a split second. what do i do? might it help if i post the files? or can u email me at monrayagta@icqmail.com if u want to see the files and stuff? thanks a lot!

Preloading A LoadMovie SWF
I have been needing for long time a good preloader that can work for swf that will be called into a main swf using loadMovie, anyone has any Idea?

Preloading 'loadmovie's
I'm not sure if this is possible - hence me asking.

In my movie - I have a bunch of buttons that load external swf's into level2. simple enough.
I've eliminated any 'unloadmovie' commands, and just let the loadmovie from each button replace the one that was already there, so they're not dumped from the cache.

Now, to cutdown the load time when someone clicks on one for the first time - is it possible to load these external swf's into the cache at the same time I'm preloading the main movie?

Thanks,
Nathan

Preloading Loadmovie
This should be easy for you guru's :-)

I'm using MX.

I have a main movie. User clicks a button which calls loadMovie. I want a preloader (bar preloader) for the movie that's called from the button click.

I've found a ton of info out there regarding this but no clear ansewrs how to do it.

I assumed when first doing this that I could just stick a preloader in the swf that is dynamically loaded. No go. I'll send code if needed.

Thanks

Loadmovie Preloading Help
Hey guys,

I am putting together a flash website that uses the loadmovie command for each section. I cant quite find the best way to do a preloader for this.

Here is the function:

- User clicks on the Navigation a submenu drops down

- After selecting an option from the submenu the preloader is supposed to kick in showing a percentage of the loading movie.

- After the percentage reaches 100% the loaded movie will play.

I apologize up-front that my actionscripting is basic, I am a designer and not a programmer. So I may need a bit of spoonfeeding.

Thanks for the help!

Pauly

Preloading When Using Loadmovie?
Hi,

I am making a presentation and want to take the content with "load movie" to some upper levels of my main movie. But my content is also big so I want to make a special (not traditional bar) preloader for my upper level content movies. I am working on this about 2 days but can't get it work. I can make it work for slide 1 (p001) but when I want to go to the next slide the preloader doesn't work. While I was playing with it I think I make it worse. So now p001 is not preloading either... So any help would be appreciated... Thanx in advance...

The files are in: http://www.izdir.com/test/presentation.zip

Cem Louis

Preloading And LoadMovie
Hi all, I read other topics about this two things, and I know how use them but I still have a problem.

My problem is that i have got old swf which I have lost their .fla, and i need put a preloader before them are loaded.

The only solution that I can think is put a main swf that load the externals swf and the main preload for the external swf their weight.

But I don't know how obtain the size of each movie before load them and give this data to the preloader.

If is not possible I must put writing each kb dimension of each swf...

can someone gives to me some ideas or alternative solutions?

p.s. I tried to import in swf decompiler, export a fla and put from the start the preloader, but for some reasons decompiler doesn't work properly and the fla after some modifing result alterated and with some error in the animation.

they are animations like this:
http://keybrain.it/eng/works/2000/Ce.../centurion.htm

Preloading When Using Loadmovie?
Hi,

I am making a presentation and want to take the content with "load movie" to some upper levels of my main movie. But my content is also big so I want to make a special (not traditional bar) preloader for my upper level content movies. I am working on this about 2 days but can't get it work. I can make it work for slide 1 (p001) but when I want to go to the next slide the preloader doesn't work. While I was playing with it I think I make it worse. So now p001 is not preloading either... So any help would be appreciated... Thanx in advance...

The files are in: http://www.izdir.com/test/presentation.zip

Cem Louis

Preloading A LoadMovie()
Does anyone know if it is possible to use a preloader when using loadMovie("image1.jpg", 100)? Any help would be appreciated. Thank you.

By the way, if there's any Flash Designer/Developers out there, let me know I've got a whole bunch of projects that I need help with. Let me know if you're interested in working together in the future. Thanks again.

Bo

What The Hell?<preloading Loadmovie Num?>
My preloader is screwing off, and I cant understand why. How do I get my preloader to include a movie I overlayed as part of the preloading process?

Preloading A Movie From LoadMovie()
Hey,

I'm using this tutorial: http://www.flashkit.com/tutorials/Ac...1019/index.php

Except without the unload movie function, and I have it all working apart from when I add a preloader to the movie I'm trying to load into my main swf.

Instead of loading the external .swf and showing the preloader, it simply doesn't show anything at all.

Is there a reason for this? do i need to change the code somehow?

Thanks for any help given!

Preloading LoadMovie() ? Freeze ?
hi!
I am new to Kirupa forum....
I am having this problem with the loadMovie()...
after googleling it alot... i found out that many people have the same problem....
but i still haven't found a definite answer (though i did find some interesting tips...)
i've posted this question on another online forum too.... anyway.....

the problem is... i have this really big external swf, its 7mb... ok... not REALLY big... but big enough to freeze whenever its loading!
aarrggh.....
it freezes... thats my problem.
it freezes the entire animation. The animation only starts working again after this external file has finished loading.....and that takes a few awful seconds... wich almost seemes like hours... and is really bothering me....
Im almost getting cold myself!

is there a way to preload this external movie so that it won't freeze my animation?
I don't expect it to load IMEDIATELY after I call, I just want it to load... take whatever time it wants to load... NOT INTERFERING with my animation!

anyone can at least tell me how to solve this?
or why this is the way it is?

thanks in advance

Preloading Includes Loadmovie Swfs?
Just wondering...
If I preload an entire scene, and that scene contains buttons that load external swf files. Are those swf files also preloaded?

Preloading Problems When Using LoadMovie Action.
I have a flash movie. I'll call it movie A. I have another movie that loads on top of movie A when a certain button is pressed. I'll call it movie B. The movie that I load on top (movie B) has a preloader built into it, so it isn't supposed to play until it is completely loaded. When I test movie A and use the 'Show Streaming' option and press the button that loads movie B, movie B does load on top of A, but skips the preloader and begins to play before it is completely loaded.

When I test movie B alone, and choose 'Show Streaming', my preloader works fine, and the movie completely loads before I can view it. In other words, it works like I want when it is alone, but behaves differently when it is told to load on top of movie A.

What gives? If you can solve my problem, I would be so thankful. Please ask questions if you don't understand my explanation.

Thanks in Advance,
Gray.

Preloading Sequence For LoadMovie Function.
Ok so I haven't done much scripting in my flash life yet, but i'm starting to get more into it. I'm thinking about making a website ( well it's actually already made but its half flash half HTMl and I'm wanting to transfer it completely into flash in a few months. Now the site has 6 sections and I want those to load into the main movie as external files. The loading code is pretty clear to me as is the code for positioning the loaded movie in the right place. I've looked on the internet for more information on PRELOADING external files, but didn't quite find what I was looking for.

What I'm trying to do is when the button is pressed, i want there to be a sequence "wiping" the current content off the page ( which is easy ) and then display some kind of aloading animation while the external movie is preloading.

Now, how do I get that preloader to work ? Do I make one in the external file or is there a code accompanied by the animation that I can put in the main movie ?

Thanks for your help guys !

After Preloading Jpg, LoadMovie Still Slow To Load Jpg
I have made four or five jpg and swf preloaders successfully so I can get through the code but I'm not aware of all of the little problems. In my most recent preloader, I watch the progress bar move along but when the main movie opens and I click on a button to load a JPG, the jpg takes a second or two to download again before it is displays. Here is the code I use for the preloader:

else {
loader.loadClip(pagesVars.path+pagesVars.code+"_"+ ipic+"_0.jpg", "holder");
loader.loadClip(pagesVars.path+pagesVars.code+"_"+ ipic+"_1.jpg", "holder");

and the button to load the movie does this:

image_base.image_load_into_3.loadMovie(pagesVars.p ath+pagesVars.code+"_"+target+"_3.jpg");

image_base.image_load_into_2.loadMovie(pagesVars.p ath+pagesVars.code+"_"+target+"_2.jpg");

during my troubleshooting, I replaced my preloader and loaded a jpg using loadMovie to a visible clip in the main movie so I could see that the correct jpg was preloaded. Even while looking right at the loaded jpg, when I clicked on its corresponding button it took a second or two to download and display in another area. The 2nd time I click that button, the JPG loads instantaneously. Am I missing something obvious here?

Kevin

Preloading LoadMovie(JPEG-file)
I'm loading a JPEG file with the loadMovie() method, is there any way to preload this, or to view the loading progress?

(note: I quickly browsed through some of the preloading topics here, but none answered this issue.)

Preloading External Swfs Using LoadMovie
I'm seriously getting my butt kicked in with this, please help!
I'm trying to:
1) load external swf into a new mc created using createEmptyMovieClip
2) show size and loaded size of the external swf using getBytesTotal() and getBytesLoaded()
3) display a progress bar based on bytes loaded
Now, I presume one can do this a couple of different ways. You can build the preload into the external swf itself (I have tried this but had problems - the swf wouldn't display until it was mostly or fully loaded, so the progress bar wouldn't be seen...) or, I would think you can do it the way I'm trying here...
From my main movie, i have three frames:

frame 1:
==========

Code:
_root.createEmptyMovieClip("loader",-100);
_root.loader.loadMovie(_root.portfoliosection+".swf");
frame 2:
=========

Code:
total_bytes = _root.loader.getBytesTotal();
KBoutput = (Math.round((total_bytes / 1024) * 1000) / 1000 + " Kb");
loaded_bytes = _root.loader.getBytesLoaded();
remaining_bytes = (total_bytes-loaded_bytes);
percent_done = (((loaded_bytes/total_bytes)*100) + "% Loaded");
pbar.gotoAndStop(percent_done);
frame 3:
=========

Code:
if (loaded_bytes >= total_bytes) {
stop();
}
else {
gotoAndPlay(20);
}
Does someone know how to do a proper preload with external swfs?

Preloading Loadmovie Content Into Respective Frames...
Hi Everybody,

Once again I'm wondering if I can ask for everyones help and precious time. I'm working with a multi frame(at the moment 2 but soon to be more) movie, that has to take all of its data from xml. I can import the xml, but I'm trying to figure out how I can get the images loaded prior to getting to their frames. When I try to do a loadMovie to incorporate them onto their movie clips, it just isn't happening.

Any tips on how I can set something like this up?

Regards,

Plasnid

<as>stop();
offFrame = new XML();
offFrame.ignoreWhite = true;
offFrame.load("fram.xml");
offFrame.onLoad = function() {
_root.firstPic = offFrame.childNodes[0].childNodes[0].attributes.image;
_root.secondPic = offFrame.childNodes[0].childNodes[1].attributes.image;
_root.secondPic = offFrame.childNodes[0].childNodes[2].attributes.image;
loadMovie(_root.firstPic, _root.hld1);
loadMovie(_root.secondPic, _root.hld2);
loadMovie(_root.thirdPic, _root.hld3);
};</as>

[Flash MX] Preloading JPG's When Using Mymovie.loadMovie() And GetBytesLoaded()
i have a script that creates a few instances of the MC imageHolder tha i created. within imageHolder there is another MC called loader. to bring in JPG images i use:

code:
_root.imageHolder.loader.loadMovie("imageURL")


if i want to use getBytesTotal() and getBytesLoaded() for a graphic preloader, what MC do apply these methods to? i have tried both of the following:

code:
total = _root.imageHolder.getBytesTotal()
total = _root.imageHolder.loader.getBytesTotal()


but neither work. any suggestions? please it's quite urgent

Preloading .swf Before Preloading Main Movie
Ummm

Things are getting complicated lol

I have my main movie going ..AND I actually managed to get a pre-loader working ...

and it's all ok as long as you have adsl or cable connection - otherwise it is REALLY messy.

The main .swf uploads onto the web .. but the secondary swf have not yet loaded .. and so it is all out of synch .. if you wait a while and refresh you get it ... but argh it is horrible .....

so .. is it possible to block the preload of the main movie until it has preloaded its secondary swf's ??

I should imagine it's recoding the actions AGAIN .. can any one get me started please ..

Is this often a problem if you add swf to a main movie ???

tyyyy all

julia

Help Required Progress Indicator Bars. NOT PRELOADING BARS AND NOT A PRELOADING QUE
Help required ! progress indicator bars. NOT PRELOADING BARS AND NOT A PRELOADING QUESTION!

OK I have a swf called audio.swf which just contains a 15 minute streaming audio file that it just dragged along the time line.

I want to have some visual indicators in the swf, so that the user has some info of what is going on:

What I require within the swf are the following:

1.Progress Bar: How much of the movie has been played. This will obviously go up as the timeline for the swf progresses.
2.Streaming bar: Giving the user an indication of the amount of swf that has currently been downloaded.
3.Time (minutes and seconds) that the movie clip has been playing for
4.Elaped time (time remaining)

As you can see I have attached no fla, as I am sure that these 4 visual indicators are all fairly simple to code of any of you action script daddies out there.

Any help on one or all the 4 things I require would be brilliant.

If anyone could help me this would be more than appreciated.
Cheers

PRELOADING (dynamic Preloading?)
dear all

i hope someone could give me tips how to do this:

i have one main scene and 7 navigation-points. each of the 7 scenes are external movies which should be loaded.

but can they load in the background too, even if the user didnt select a point yet? and when he does, the progress bar would automaticly fill up as much as the movie is loaded already. and it should continue loading all the scenes in the background, while he is in one section.

i hope you know what i mean, excuse my english.

looking forward for a help asap. thanks a lot in advance!

PreLoading Scenes (PRELOADING)
Hi everyone. Ive had my website running for a while now www.coriolis-effect.co.uk Its nearly done all but preloading really. I want visitors to be shown that something is happening rather then just waiting. This has caused a fair percent of people to leave the site straight away especially those with crap connections. Anyway Ive had a look around on the forum a bit for help and I can't see anything about Scenes and preloading them. Maybe there is a way to just preload so many frames? Any help appreciated Lewis

http://www.purgeme.co.uk/lewis/Corio...lis-Effect.fla

How To Loadmovie The Place Iwant? I Have Loadmovie But It Just Take All The Screen
i load a swf and it just take all the space
and my buttoms and others are all been covered
here is how i do it

onClipEvent (enterFrame) {
ifFrameLoaded (1) {
loadMovieNum ("first.swf", 0);
}
}


i put this in the layer called middle where i have put a instance of a w700 h270 movieclip so i can try to loadmovie the same size of it but it just failed
did i miss anything else? i know i did
please tell me~~~~~~~~~~~~~~~~~~~~~

LoadMovie Target Vs. LoadMovie Level
can someone please explain to me why when I load an external movie as a target, the action scripting in the loadedmovie doesn't work.
But if i load the movie into a level it works fine. I want to load into a target beacuse I want it positioned in a specific co-ordinate.

thanks

LoadMovie Calling MC With LoadMovie Problem
I am loading a movie clip into a target MC on my timeline and it works fine, but the movie clip that I'm loading in is also using loadMovie to load a movie into a MC on it's own timeline. For some reason, the MC that is getting loaded doesn't load the MC it is calling on it's own timeline. It works fine when I test it out on it's own, but as soon as I load it in using the first MC, the loaded MC doesn't call the movie clip it's supposed to load.

Any suggestions?

-k

(I said "load" way too many times!)

LoadMovie/loadMovie From Loaded Movie?
I know I know .. messed up heading .. but ..

I have a button that loads a swf into an empty mc (sliderContainerMC)

(release) {
_root.sliderContainerMC.loadMovie("http://www.justinsteiger.com/flash/anims/sliderOpen.swf");
}

That works as advertised. The difficulty comes when I tell the button on that swf to load a new swf into the same MC (sliderClose.swf). Since the swf in the MC (sliderOpen.swf) isn't the same swf (loading into a MC in justinsflashsite.swf) do I need to change the path? Say to include something telling it to load the swf into the parent swf?

Eventually the swf that's called into the empty MC is going to have buttons that are supposed to call up other swf's that load in other empty MC's around the site. HELP?!

Thanks,
Justin
http://www.justinsteiger.com/flash/justinsflashsite.fla (Is the parent swf)

Loadmovie Inside Loadmovie Problem?
Hi,

I have a main movie which use's the loadmovie function to load up an external SWF. But then inside that SWF there is another loadmovie function to load another external SWF into that.

But the problem is that when the first movie is loaded all of its loadmovie commands are disabled.

Is there something i could do to rectify this?

Thanks,
T

Local Loadmovie Ok / Online Loadmovie Bad
I'm at my wit's end with this one. I have an swf that's loading fine locally but refuses to be loaded online. Here's the script. It's in the first frame of the root mc ....
code:
_root.createEmptyMovieClip("slideshow", this.getNextHighestDepth());
_root.slideshow.createEmptyMovieClip("container_mc ", 0);
slideshow_btn.onRelease = function() {
this._visible = 0;
this.gotoAndStop(1);
_root.slideshow.container_mc.loadMovie("temp.swf") ;
};


Loads no problem locally. Nothing when I upload it. I have lockroot set to true in the same frame as the above script. I also tried a simple test with ....
code:
_root.slideshow.loadMovie("temp.swf");

.... in a simple mc containing only a 'slideshow' mc. Works if I access the URL directly, doesn't if I put it in an html page. What mistake could I be making?

thanks
mark

[F8] Need To Change A Variable In A LoadMovie Mc While In Another LoadMovie Mc
So I have a shell mc that has 2 mc's loaded into it with loadMovie (let's call them project1 and project2). While I'm in project1...how do I change a variable in project2 to be true instead of false?

I thought I could do it like this (in Project1...):
myBtn.onPress = function()
{
_parent.dropZone_project2.myVar = false;
}

Nothing seems to be working. Any insight would be greatly appreciated.

Resize LoadMovie Container, Not LoadMovie?
I've searched and searched but haven't found what I'm looking for.

I'm wanting to load different sized .swf into the same field and I want the field to adjust (preferably some smooth transitions for the size change) to fit the size of each different .swf loaded. I've seen it done on quite a few sites but I haven't been able to find a tutorial of any kind addressing this specifically. Can anyone help?

I'm keeping it simple, i.e. thumbnails with titles above or off to the side; click one; the field where the .swf will play adjusts itself; .swf loads and plays. When completed, user can click another thumbnail and the previous .swf will "unload" then the field adjusts for the new .swf and the new one loads. Follow me? Just any tutorial you guys may know of would be great.

Here's the closest example I could find... cool site too. http://www.pollenation.org

Loadmovie Over Prev Loadmovie And Positioning Jpg
Hello, a little question and i have the feeling i am very close.

i use loadmovie to load an image into an movieclip.
that movieclip goes to the position x and y of the movieclip - the loaded image width/2

my problem is that when i load a new image the position is not correct.

my code:
--------------------------------------------------------------------------------------------------------------------
function nextImage1()
{
if (p < total - 1)
{
++p;
if (loaded == filesize)
{
trace(p);
trace("x van inst0"+litlimg_instance.ltlimgmc_instance0._x);
trace("y van inst0"+litlimg_instance.ltlimgmc_instance0._y);
litlimg_instance.ltlimgmc_instance0._alpha = 0;
litlimg_instance.ltlimgmc_instance0.holder.loadMovie(image[p], 1);

var maxWidth = 250;
var maxHeight = 200;

var myWidth = litlimg_instance.ltlimgmc_instance0._width;
var myHeight = litlimg_instance.ltlimgmc_instance0._height;
// Calculate percentage by which image will need to change to fit
if (myWidth > maxWidth){
var xscalePercent = (myWidth*100)/maxWidth;
}
if (myHeight > maxHeight){
var yscalePercent = (myHeight*100)/maxHeight;
}
// Multiply both height and width by the bigger percentage
if (xscalePercent>yscalePercent) {
litlimg_instance.ltlimgmc_instance0._width /= (xscalePercent/100);
litlimg_instance.ltlimgmc_instance0._height /= (xscalePercent/100);
} else {
litlimg_instance.ltlimgmc_instance0._width /= (yscalePercent/100);
litlimg_instance.ltlimgmc_instance0._height /= (yscalePercent/100);
}
var test=litlimg_instance._x-(litlimg_instance.ltlimgmc_instance0._width/2);
trace("width img:"+litlimg_instance.ltlimgmc_instance0._width);
trace("width:2 :"+litlimg_instance.ltlimgmc_instance0._width/2);
trace("x position must be:"+test);
trace("x position is:"+litlimg_instance.ltlimgmc_instance0._x);
trace("----------------------------------------------------");

litlimg_instance.ltlimgmc_instance0._x=litlimg_instance._x-(litlimg_instance.ltlimgmc_instance0._width/2);
litlimg_instance.ltlimgmc_instance0._y=litlimg_instance._y-(litlimg_instance.ltlimgmc_instance0._height/2);
slideshow();
} // end if
} // end if
} // End of the function


function slideshow()
{
function pause_slideshow()
{
clearInterval(myInterval);
if (p == total - 1)
{
p = 0;
firstImage1();
}
else
{
nextImage1();
} // end else if
} // End of the function
myInterval = setInterval(pause_slideshow, 4000);
} // End of the function

p = 0;
--------------------------------------------------------------------------------------------------------------------

what i do is i have an array with the image links.
on a interval i load an image. and if p has reached the number of loaded images i start over again.

i traced the following while testing a bunch of images:
-------

1
x van inst0-125
y van inst0-93.55
width img:250
width:2 :125
x position must be:-125
x position is:-125
----------------------------------------------------
2
x van inst0-125
y van inst0-93.55
width img:258.05
width :2 :129.025
x position must be:-129.025
x position is:-125
----------------------------------------------------
3
x van inst0-129
y van inst0-93.55
width img:140.3
width :2 :70.15
x position must be:-70.15
x position is:-129
----------------------------------------------------
4
x van inst0-70.15
y van inst0-93.55
width img:243.2
width :2 :121.6
x position must be:-121.6
x position is:-70.15
----------------------------------------------------
1
x van inst0-125
y van inst0-93.55
width img:250
width :2 :125
x position must be:-125
x position is:-125
----------------------------------------------------

It looks like he takes the position of the prev image or something like that.

Please some help here.

Greetz. Jacob

Ps: this was some code i posted.. i would like to know how you put it into such a nice code block on the forum so it becomes more readable.

Set LoadMovie Time, UnloadMovie, LoadMovie
in that order-

Put simply-
can anyone guide me to any resources that would explain how to do this?

1. Load 2 swf's into empty mc's (this part is already done)
2. Have those 2 swf's be on the stage for 3 seconds.
3. Unload those 2 swf's.
4. Then load a completely new swf once those have been unloaded.

LoadMovie Talks To Other LoadMovie
ok this is baffling me!

i'm using loadmovie (target movieclip) alot

*main.swf
contains
**buttons.swf

i need button.swf to tell main.swf to loadMovie "contents.swf" into another movieclip.

i thought it would be as easy as:

[this script on button in button.swf]

on(release) {
loadmovie("contents.swf", _root.contents)
}

but of course this loads "contents.swf" into level0 of the current .swf (buttons.swf)

do i use globals or something?

set up ALL scripts in main.swf...

LoadMovie In LoadMovie Won't Work...
So I've been trying to get this loadMovie within an loadMovie to work...with no luck at all...

// This code is in my main 'shell' swf file
myBtn.onPress = function()
{
dropZone.loadMovie("projects/project1.swf");
}

// This code is in the first frame of my project1 swf file in the 'projects' folder
dropZone2.loadMovie("content/contentPage.swf");


Anybody have any insight on this?

LoadMovie Inside LoadMovie
im trying to make a movie clip that loads another swf that in turn loads a movie;



I created A.swf, which contains a movieclip; inside it has a shortshort animation and then loads an image:

loadMovie("image.jpg",_root.Image.PlayerScreen);
//_root.Image is the movieclip

then i created B.swf, wich loads A.swf;

loadMovie("A.swf", _root.PlayerScreen);

the problem is that B.swf loads with no prob, it loads the animation in A.swf, but instead of getting the image, i get a purple square...

any idea what's wrong?

thnx!

PRELOADING A MC...is It Same As Preloading A Swf
i have a site where i want to load closer shots of thumbnails and i have the close shot in a MC with a frame infront of it that has it preload it..

my question is that i dont want my whole site to wait for those images to load....

i want my site to stream and then preload the MC if they want to see close ups....

am i doing this right!?

thanks in advanced,
mannyme80

Preloading Swf's
I have a movie which contains two external swfs. I want the whole site to preload. At the moment my preloader only affects the initial movie, how can i preload the swfs and have them recognised by my preloader as well as the main movie.

Thanks

Preloading A MC
Hi! I want to preload a MC, and once it has done this i want it to jump to the next frame, so that the movie continue to plays.
I have got the movie clip to load into a target which is in the first frame, so i want it to jump to the next frame once it has loaded.
If anyone can help i would be much happy!

cheers

Preloading A .swf
im wondering how u preload an external .swf file ?

i got an interface with buttons, and when u press any of the buttons it will call another .swf file that plays an animation of a door closing.

now i want the next .swf to be preloaded at the backside off the door while its closed. after the preloading is complete i want the doors to open and have the preloaded .swf visible.

the door is at "level 10" and i have the other .swf clips at "level 9"

PRELOADING AN .SWF ?
im wondering how u preload an external .swf file ?

i got an interface with buttons, and when u press any of the buttons it will call another .swf file that plays an animation of a door closing.

now i want the next .swf to be preloaded at the backside off the door while its closed. after the preloading is complete i want the doors to open and have the preloaded .swf visible.

the door is at "level 10" and i have the other .swf clips at "level 9"

Preloading
I have a preloader as one .swf and my main movie as another .swf, so how can I preload a seperate .swf? Thanks

Preloading
NEED HELP! I've made preloaders for intros and main pages. The intros I have created have been from the basic if frame is loaded to a more complex par and percentage loader. Now I face a problem, I'm loading a external flash movie into a target and I can't get it to preload. Can anyone point me to a good tutorial or help.

Zero

Preloading A SWF From Another SWF ?
Hi,

Is it possible to preload an external swf-file from another one. Or a preloader which loads several swf-files?

Please reply

Thanx

Help...preloading A Swf
When I load my movie in _level2 I also want other swf movies preloaded in _level3.
I have a preloader movie that checks if my _level2 movie is loaded. This works fine.

The first frame of the _level2 movie has this code

dnumber=number + 1;
loadmovienum ("drop"+dnumber+".swf");

on the next frame

IfFrameLoaded (1){
play ();
}

This is not working. it is not caching the movie in _level3 only the movie in _level2.
Can anybody help me or point me in some kind of direction?

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