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




Preloader Problemon External SWF's?



OK, time for major help here.

Old designer - new to ActionScript. Bum killing me, sat here too long trying to get this working!

I have a main SWF that loads fine, used preloader code from tutorial http://www.flashkit.com/tutorials/Ac...89/more3.shtml

works fine, understood it as well.. lol.. however... used the loading script in my parked/targeted movies. They load fine into a placeholder called "dummy" (dont laugh!) but when previewed from the main SWF they keep showing the bytes loaded from the main SWF not the loading external SWF??

Narrowed it down to targetting (I think), but havent got the hang of it yet.. need assistance.. the code I think is causing the trouble is:


if (_root.getBytesLoaded() == _root.getBytesTotal()){
loadPercent = "100%";
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000)
/ 1000 + " Kb of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000
+ " Kb total Loaded.");
gotoAndPlay("Button");
}

where I need to target the command to look fir the bytes loaded in "dummy" but cant get it to work. Tried _root.dummy.getBytesTotal... and other variations..

OoOoOoOoOo my head hurts!!

Help!!! =:?(



FlashKit > Flash Help > Flash Newbies
Posted on: 08-08-2002, 11:08 AM


View Complete Forum Thread with Replies

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

Large Movie Preloader /External Preloader Question...
I have a fairly large movie (about 380KB) with a status bar preloader in the first frame. The problem is that I load a few of the MC's in the movie into ScrollPanes and then don't work unless I export them on the first frame (these MCs make up about 200KB). Therefore, there is no flash shown until it has loaded up about half way.

I tried to use an External Preloader, but that loaded the MC on level 1, and no buttons or functions within the entire movie worked properly.

My question is, is there a way to either use the external preloader and swap (or reload) the movie on level 0, or does anyone know a way to load the MCs on another frame other than 1, but before they load to the Scroll Pane? Any other ideas would also be appreciated.

Thanks!

Preloader For External Swf That Pauses External Swf Until Completely Loaded
I'm fairly new to all of this stuff, so bear with me . . .
I want to load an external swf into a main swf movie. (This much I can do).

I would like a separate preloader movie in the main swf movie to display the amount loaded.(I've found tutorials for that, so that's not the issue.)

The problem is that I want the external swf not to start playing until it is completely loaded.

If I put a stop on the first frame of the external swf, that will keep it from playing, but, I'm not sure how to get the external swf to recognize that the load is complete.

I could put a preloader in the external swf, but I'm trying not to so that I can reuse the preloader for other external swf files without having to put it in each one.

Maybe I put a preloader without a visual component on each external swf?

Any help would be greatly appreciated.

Thanks.

Preloader For External Swf That Pauses External Swf Until Completely Loaded
I'm fairly new to all of this stuff, so bear with me . . .
I want to load an external swf into a main swf movie. (This much I can do).

I would like a separate preloader movie in the main swf movie to display the amount loaded.(I've found tutorials for that, so that's not the issue.)

The problem is that I want the external swf not to start playing until it is completely loaded.

If I put a stop on the first frame of the external swf, that will keep it from playing, but, I'm not sure how to get the external swf to recognize that the load is complete.

I could put a preloader in the external swf, but I'm trying not to so that I can reuse the preloader for other external swf files without having to put it in each one.

Maybe I put a preloader without a visual component on each external swf?

Any help would be greatly appreciated.

Thanks.

Generic Preloader For External Swfs From Within An External Swf
Hi,

I have a full flash site that has a main interface.swf that loads in external swf's as holders for their relevant page contents. E.G. using loadMovie I load portfolio.swf into the mainLoader (movieclip) within interface.swf. Within portfolio.swf I load in a further series of external swf's based on button click events, for these I want to use a generic preloader to prevent having to put a preloader in each individual swf.

I have found some code on O'Reilly (http://web.oreilly.com/news/action_0501.html) which seems to offer what I need but I'm having problems implementing this, I'm pretty sure this is down to incorrect targeting due to the fact I am not preloading from _root.

This is what i've been working with:

code:
// ON THE MC I'M LOADING INTO
onClipEvent (enterFrame) {
// If the host clip contains an external .swf file...
if (this._url != _root._url) {
// ...call our preload() function, which displays the
// loading .swf file's download progress.
_parent.preload(this);
}
}

// AND THE PRELOAD FUNCTION ITSELF
function preload (theClip) {
if (!theClip.doneLoading) {
// If we have all the frames, make a
// note that download is complete.
if (theClip._framesloaded > 0
&& theClip._framesloaded == theClip._totalframes) {
theClip.doneLoading = true;

// Optionally start the clip once it's done loading...
// theClip.play();
} else {
// Optionally pause the clip until it's loaded...
// theClip.stop();
}

// Display loading byte counts in text fields.
bytesLoadedOutput = theClip.getBytesLoaded();
bytesTotalOutput = theClip.getBytesTotal();

// Strip out the file name of the .swf loading into the
// clip and display it in a text field.
var lastSlash = theClip._url.lastIndexOf("/");
clipURLOutput = theClip._url.substring(lastSlash + 1,
theClip._url.length);

// Set the width of the loading bar.
var percentLoaded = (theClip.getBytesLoaded()
/ theClip.getBytesTotal());
preloadBar._width = preloadBarBG._width * percentLoaded;
}
}


When testing the preloader never seems to get started, my movies just play and seem to ignore this code.

Any ideas would be much appreciated.

Loading External Jpeg Via External Preloader
mx2004

hello all, i have a button which loads an external jpeg from a folder. what i want is to have it so when the command to load the external jpeg is sent, an external preloader preloads it in the placeholder. this preloader will be generic so it can be applied to load before any image selected in any folder, for updating purposes. anyone know where to start with action script, or how to set it up,

Preloader (multi-external Preloader)
This loader i made is makeing my movie play() before its done? ARG!

Anyone see anything i overlooked?

Thanks,


PHP Code:



bytes_loaded = 0;
bytes_total = 0;
numOfThumbs = 15;
for (l=1; l<=numOfThumbs; l++) {
    loadMovie("Images/Thumbs/image"+l+".jpg", _root.thumbStrip["TN"+l]);
    _root.thumbStrip["TN"+l]._y = _root.thumbStrip["TN"+(l-1)]._y+thumbHeights;
}
for (t=1; t<=numOfThumbs; t++) {
    bytes_total += _root.thumbStrip["TN"+t].bytesTotal;
}
this.onEnterFrame = function() {
    for (f=1; f<=numOfThumbs; f++) {
        bytes_loaded += _root.thumbStrip["TN"+f].bytesLoaded;
    }
    if (bytes_loaded>=bytes_total) {
        _root.play();
        delete this.onEnterFrame;
    } else {
        _root.stop();
        loaded_txt = bytes_loaded+"/"+bytes_total;
        loaded_percent_txt = (bytes_loaded/bytes_total)*100 add "%";
    }
};

External Preloader/ Internal Preloader
can someone explain me the difference? i am trying to achieve a loader but that loads a movie clip wich is part of the same swf(i dont see the point in converting this mc to a jpeg as it would weight more), how can this be achieved?

Help Making Preloader Into A External Preloader
Hey Flash Gurus

I need some help changing a preloader I have into a preloader that can be used for loading external swf.

Now the code for the preloader is

loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes/1000);
totalkbytes = Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
nextScene();
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop(_root.frame);
}

Ie the preloader and steps through a preloader animation filling the logo (ie loader)

Now I have tried changing a few things but having problems tried loading into a container and a level

Help would be awesome

Thanking you in advance
jacko

Help Making Preloader Into A External Preloader
Hey Flash Gurus

I need some help changing a preloader I have into a preloader that can be used for loading external swf.

Now the code for the preloader is

loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes/1000);
totalkbytes = Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
nextScene();
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop(_root.frame);
}

Ie the preloader and steps through a preloader animation filling the logo (ie loader)

Now I have tried changing a few things but having problems tried loading into a container and a level

Help would be awesome

Thanking you in advance
jacko

Preloader For A External Swf.
Here is my problemmo:
I have one main swf file with my menu on. When i press one of the buttons I want it to load another swf file onto _level01. This is not the problem though.
Before the _level01 movie plays I want it to preload. I can't make the preloader in the swf it self cus its a avi converted to swf with Flix.

Is there any action I can give to the button to check weither a swf movie is 100% loaded before it plays??

I hope you know this masters

External Swf Preloader
Hi,

I have been working on a flash website and I am trying to load an external swf file into my movie and displaying it's loading progress with a progress bar (see http://www.actionscripts.org/tutoria...s/index2.shtml for the code/design I adpted to load an e-swf)

The problem is that It craps out at about 8% or jumps to 100% and sometimes it just doesn't work...so what I am asking is if anyone who has made a movie where they loaded an external swf - and displayed it's loading with a progress bar - would like to tell me how or maybe whipout some source code?

Thanks

Kenneth

(* Please note this was posted quite late at night - so excusue my improper use of the english language)

Preloader With External .swf?
i need preloaders for my movies that are to be loaded in my main movie - however, when i made preloaders for my .swfs and tested them on the server, the .swfs wouldn't load??
Do i need special code or something? I have my external .swfs targeted to a blank MC on the main timeline.

Need A Preloader For An External .swf
Can someone tell me how to make a preloader for an external .swf? Mine dosen't work, it won't allow the the .swf to load into my main movie, instead, I think it reloads the main movie.

Preloader For External .swf
I am trying to create a preloader when playing an external .swf in a movieclip.

I am using...

onClipEvent (data)
{
if (getBytesLoaded () == getBytesTotal())
{
play();
} }

...as a movieclip event.

On a frame in the same movieclip I have the code...

loadMovie ("movie1.swf")

It does not seem to work. Is there something wrong in the code? Do I have to write the name of the .swf in the play() command?

One problem could be that the external .swf is created in After Effects and I couldn't put
stop();
on the first frame.

Is that why the .swf is playing ritght away without waiting for the loading to finish? Or is the problem that flash can't count bytesloaded when it comes to files created in After Effects?

Is what I'm trying to do possible?

Thankful for any help

Lotta

Please HELP With Preloader For External .swf
I am at my wits end trying to make this work!

I have an MC with multiple buttons each button loads in a different external swf. Since these swfs have jpeg imgs in them I want a preloader to run while they are loading.

I have placed a blank MC, the Btns MC and a preloader MC all into one MC.

The Blank MC has this:

onClipEvent (enterFrame) {
if (_level1.getbytesloaded()/_level1.getBytesTotal() == 1) {
_level1.play();
}
else if (_level1.getbytesloaded()/_level1.getBytesTotal() < 1){
tellTarget (PRE) {
gotoAndPlay (2);
}
}
}

My btn has:

on (release) {
loadMovieNum ("Movie.swf", 1);
}

Preloader In External Swf
I have a preloader / loadbar in a swf that gets loaded. (hehe - drinking problem)) into my main swf.

it is just a graphic box with the following script
setProperty (this, _xscale, (_root.getBytesLoaded()/_root.getBytesTotal())*100);

it grows horizontally proportionately to the percentage of bytes loaded.

works great ! I have the same loadbar in use in my main movie

BUT it doesn't work in the loaded movie when loaded, only when it played on its own

whats wrong with the targeting of the getBytes command?

Thanks

Preloader On External Swf
Hi

My main swf loads several external swfs. Each of them have their own preloader. Below is the script that I use. Its a simple bar preloader that also shows the percent loaded.

The preloader works fine when I test it online only with the external swf. But When I try to call up the swfs through my main swf, it doesn't appear to work.


loaded = int(_root.getBytesLoaded()/_root.getBytesTotal()*100);
if (loaded>=100) {
gotoAndPlay (20);
} else {
tellTarget (bar) {
gotoAndStop (int(_root.getBytesLoaded()/_root.getBytesTotal()*100));
}
percent = loaded add "%";
}


I figure that it has something with the root value but I'm new to action scripting so I'm not sure what to do...

Any help would be greatly appreciated.

Preloader On An External .swf
Hi

My main swf loads several external swfs. Each of them have their own preloader. Below is the script that I use. Its a simple bar preloader that also shows the percent loaded.

The preloader works fine when I test it online only with the external swf. But When I try to call up the swfs through my main swf, it doesn't appear to work.


loaded = int(_root.getBytesLoaded()/_root.getBytesTotal()*100);
if (loaded>=100) {
gotoAndPlay (20);
} else {
tellTarget (bar) {
gotoAndStop (int(_root.getBytesLoaded()/_root.getBytesTotal()*100));
}
percent = loaded add "%";
}


I figure that it has something with the root value but I'm new to action scripting so I'm not sure what to do...

Any help would be greatly appreciated.

Need External Preloader With % BAR
Could someone

modify a preloader with % bar etc. that it @ 1st preloads an external INTRO.swf and then plays it in _root...

would love ya 4 this!

sembe@gmx.de

by(e) SEMBE

Preloader W/ External Swf?
Ok... I have this basic bar preloader that is doing a get byte = load byte scenario. There are 3 scenes... preloader, intro, and the main scene. Now all of that is fine and dandy, but I have an external swf file loading in at the beginning of the intro. The problem is that there is a couple second delay for that sound to start. Is my preloader too simple? Or is there and easy actionscript fix to this? Anyone's help would surely be appreciated.

All I can say is that the Flash community rocks when it comes to help!

thx

External Preloader
I have made a movie which preloads a number of external movies. It is working fine, but I can't get the loader bar to work. here's the code:

actBytes = eval("_level" add movielevel).getBytesLoaded() || 0;
totBytes = eval("_level" add movielevel).getBytesTotal() || 100;
percent = Math.round(actBytes * 100 / totBytes);

********this is the script for the loaderbar movie********

frame = int(actBytes/(totBytes/100));
tellTarget (_root.loader) {
gotoAndStop (_root.frame);
}

if( totBytes - actBytes > 10){
gotoAndPlay(3);


} else if(actMovieIdx < moviearray.length){
gotoAndPlay(2);

}

The rest of the code is working fine, I'm sure it's something simple to get this working, I just can't put my finger on it.

Kindest Regards

Preloader For External Swf ?
i need a preloader for a numbers of external swf in a pop-up window in on of my scene..
hmmmm i can load in a external movie in my meny pop-up but the preloader donīt work... i need a exempel for this problem... if some one can mail me a fla file plz!
mikaelnorin@hotmail.com

THZ Mike

Preloader For External .swf's?
Ok..I have one PAIN IN THE ASS trying to get help for this.

What I want to know is this:

I know you can have a preloader for external .swf's...as I have been looking at the FLASH 5 bible...and it has a tut. (sorta) the problem is..it has too many extras that I dont need...(it is for loading external.swf for aduio...) I can not seem to understand it.

I have a button on my main (level_0) time line..

I also have an MC on my main time line. This "MC" holds 3 seperate MC's inside of it...(because they will be swapDepth'd..on top of each other) each of the "3" MC's inside of the LARGE (holder) MC has a STOP action on frame '1'..and on frame '2' the load an external.swf.

(SO basically each button calls forward (swapDepth) the cooresponding MC..."AND" also sets that MC to frame '2'..(where it calls an external.swf)
I need to swapDepth to keep the effect I have going...

So far ALL is good. and it works well....but when uploaded to the NET...and users view it..when they click a button...nothing happens for a couple of seconds. (obviously..because the .swf is loading still)

What I need is a way, that when I click on a button...all the above happens...but I want a preloader (either a scaling 'bar' or percentage) to be shown until the the external.swf is ready.

I can NOT put the 'preloader' in the external.swf as that will take away the effect.

to look at what I am tryign to do..check here.. I used the same BG image for each external.swf for filler... The reason I need to swapDepth is if you look....when you click on a button..you will notice that the previous "content" page is still visible when the "NEW CONTENT" is MASKING in..(so to speak)

http://www.dmstudios.net/shake/index_1.html

How can I get the scaling bar..or percentage of the external.swf to be on the MAIN timeline....or in the root of the CONTAINER MC?

Thanks.
Please be gentle..my AS skills are not too good.

-whispers-

External Preloader?
Hi, - where can I find the best external preloader for flash mx??


regards

Godowsky

Preloader In External SWF ?
I got simple preloader in my external swf movie
that works when tested,
but when my main movie loads external swf
that preloader is not working(or displayed)
anything else works fine.
Why?

Paul[b][color=blue]

Preloader In External SWF
I dont know if there is difference or not in preloaders
for external SWF but if there is,
can anyone send me link to tutorial
on preloader for external SWF that will load
in empty MC in main movie?
Thnx.

ps
I tried my own preloader but it's not working with external SWF.

External Swf Preloader
I got this code for an external swf preloadbar.This is placed in a scene befor the actual scene(the one that has to be loaded):
- frame 1 code :
geladen = _root.container.getBytesLoaded();
__________________________ totaal =_ _root.container.getBytesTotal();
___________________ percentage = Math.round(geladen/totaal*100);
___________________ _root.container.bar._xscale = percentage;
___________________ if (geladen == totaal){
_______________________ _root.container.gotoAndPlay (nextScene);
___________________ }
- frame 2 code : if (geladen < totaal){
___________________________ _root.container.gotoAndPlay(1);
________________________ }
My question is:container is this the name of the swf file?
Which code should I give to my button(the one in the main swf file).
Is it normal if I test the external file itself(not from the main swf file) I don't see the preloadbargoing from 1 to 100 pixels.
Must say am not that good at actionscripting so if you can help me out.Thanks.

Preloader For External .swf
I have a movie with a preloader which is working fine. To see the movie, click Launch on this page: http://home.earthlink.net/~chrisrfox...foxdesign.html

The issue I'm having is that I don't understand how to make a preloader for the external .swf files I want to load into this movie.

1. Does the preloader for the external .swf reside in the original movie, or in the external .swf?

2. If it lives in the original movie, how does it know the load status of a particular external.swf? I have 18 separate movies to load into this site. Should the loader script go on the button that launches the movie?

Really stumped here.

Right now the movie that loads into button "2" or "3" is loading into a holder, not a level.

Flash MX on the Mac. Thanks!

External Preloader?
MX

I want to make a preloader that can be called by multiple different .swf's that are loaded in the same mc in the main timeline. How do you do it?

External Preloader
I want an external preloader.. please help

Preloader For External Swf...
Hey guys and girlies,

I want to use this preloader for a external swf. What must I change to connect the swf in level 1?? I can't get it out...

if (Number(_framesloaded) >= Number(_totalframes)) {
gotoAndPlay("start");
} else {
setProperty("preloaderMC", _xscale, (_root.getBytesLoaded()/_root.getBytesTotal())*100);
}



E.

External .swf Preloader? How?
Hi all,

How can one make a preloder for the externally (into an empty mc) loded .swf, I tried to use the same technique as on my main movie but something doesn't add up and i have a hunch it has sonething to with the _root.getBytesLoaded action, but since my skills are very limeted and just learning i can't get over this...

ANY help is MOST appreciated...

Thnks

External Preloader
hi everyone, new here. just a quick question:

in my flash site, i wanted a preloader, since it is rather large due to some music used. i figured i could put it before the first scene, etc., but it wasn't working. i did some research and discovered that the sounds and music i have 'linked' have to load before anything else, so the preloader doesn't even appear until 50%; not good.

so i was thinking i could do an external preloader in flash on one page, and have it load the main movie, and when finished, open the new movie in another page. and then i thought, i haven't the slightest idea of how to do that!

so my question is, is this possible? can i make a preloader load a separate .swf and have it know it's bytes loaded, etc.?

thanks in advance!

Preloader For External Swf
Hi Buddies !!!
I m using Flash 5 !, and now a days i m working on a project of a website .. The problem is that i hav made a single scene on which i hav made the whole navigation//buttons ... so i m loading external files from out theRe ... !!!! THE thing is that i aint getting how 2 make a preloader for the external files!@! and where to place that .. secondly the 1st scene on which the navigation is made is havin buttons ... so i m loading the external files in "_level"(s) so it successfully loads the movie but as i would put that on net it would definetely asume time for loadin and every 1 would leave the site sayin its uncomplete or break !!! as i m callin the external files in levels the buttons r on the scene 1 which means _level0 and the 1st external file is on _level1 as suppose V goto the portfolio scene as i put the scrpit to load that portfolio'z external swf so the button still reamain there active ... i want 2 make that button disactive too ... I NEEEED HELP and HURRY coz hafta Complete that site ... i m REALLY STUCKED in this PROBLEM ... NE 1 LIKING TO HELP ME PLEASE

External SWF Preloader... Help
I've been trying, trying and trying to get this to work but I just don't seem to be able to do it.

This site has basically what I want to do...

http://www.fernandalessa.tv/

just go to the photos : tutorials section


I can get to external SWF to load on level 1 like I want and I can get it to be moveable and closeable but I can't get it to display the preloading scene at the right time. It just waits to load the entire external swf before it will display any of it. Anyone have any ideas or know where I can find the solution?

Preloader For External Swf's - Almost There
Hey everyone. I'm almost there with this preloader. All that it doesn't do is count properly from 0% to 100% for my swf's. Would anyone be able to solve it? Here's the code on frame 1:

stop();
preloadMain();
format = new TextFormat();
format.font = "Arial";
format.size = 10;
format.textColor = 0x000000;
function drawBar() {
createEmptyMovieClip("preload", 9999);
with (preload) {
beginFill(0xffffff);
lineTo(100, 0);
lineTo(100, 10);
lineTo(0, 10);
endFill();
}
createTextField("label", 10000, 325, 175, 100, 100);
label.setTextFormat(format);
label.align = "left";
label.selectable = false;
preload._x = 293;
preload._y = 146;
preload._xscale = 0;
}
function preloadMain() {
drawBar();
preload.onEnterFrame = function() {
this._xscale = _level0.getBytesLoaded()/_level0.getBytesTotal()*100;
this.label.text = Math.round(this._xscale)+"%";
if (this._xscale == 100) {
this._alpha -= 10;
if (this._alpha<=0) {
play();
removeMovieClip(this);
}
}
};
}
function startPreload(file) {
loadMovieNum(file, 1);
drawBar();
preload.onEnterFrame = function() {
_level1.stop();
this._xscale = _level1.getBytesLoaded()/_level1.getBytesTotal()*100;
this.label.text = Math.round(this._xscale)+"%";
if (this._xscale == 100) {
this._alpha -= 10;
if (this._alpha<=0) {
_level1.play();
removeMovieClip(this);
}
}
};
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

External Preloader?
I need to preload a swf file that does not have a preloader...And I can't find the fla...is it possible through an external file?

Preloader For External SWF
Quote:




if ((filmplaying != true) && (_root.filmHolder_mc._alpha>80)) {
loadMovie("film.swf", "_root.filmHolder_mc");
filmtotalBytes = _root.filmHolder_mc.getBytesTotal();
filmloadedBytes = _root.filmHolder_mc.getBytesLoaded();
remainingBytes = filmtotalBytes-filmloadedBytes;
if (filmloadedBytes>0) {
filmLoading = Math.round((filmloadedBytes/filmtotalBytes)*100);
_root.percentLoadedText = filmLoading+"%";
_root.remainingBytesText = remainingBytes;
_root.bar._xscale = filmLoading;
}
if (filmLoading>99) {
_root.filmHolder_mc.gotoAndPlay(2);
}
filmplaying = true;
}




Im trying to create a preloader for an external SWF. I have this as an enterframe event. The bar expands quickly and the percentage loaded just shows a "1" but the external swf doesn't play. I have a stop() on the first frame of the external swf, but its not playing when its being told to goto frame 2. What am I doing wrong?

External SWF Preloader
http://www.waykool.com/preloader.htm

Here is the link to the FLA that contains the preloader code I am using.


I am trying to add a preloader to external swf's that I pull into a parent flash. The preloader works fine when it is played by itself, but when pulled into the parent it does not work.

Am I missing something

External Preloader
Hi, I'm new to the forum and Flash. My wife, the artistic one of us, has generated a great flash site, but it has grown to such a size that a pre-loader is in order. I being the technical one have been charged with showing her how to do it.

The swf file has grown to about 1.6MB. Most of it is a bunch of pictures that most visitors will never see. These pictures have been moved to the end of the movie. She followed a tutorial that put a preloader at the beginning of the movie. This worked for her and provided the progress bar that she wanted.

The problem is that there is so much stuff included in this movie, that frame one has is around 350KB. This means that on a slow connection it takes a long time before you even see the preloader.

What it seem like she needs is a stand alone preloader movie, that will load and present the user with a progress bar and load her existing movie.

I have yet to find any preloader examples that accomplish this. Is this possible?

Thanks
mike

Preloader For External Swf
Hi
I have a preloader in my main movie with an animation (MC) running through 100 frames in synchrony with the percentage loaded.
The problem rises when I try to use that preloader for preloading external swfs into my main movie.
I know the code must be modified but my knowledge of actionscript is short. I've tried changing _root for _parent, setting the complete path (_root.menu.container...) but with no result.
I have some bar preloaders that work with external sfw. I could use one of those and don't ask for help here, but I'd like to use the preloader/animation I have in my main movie.
Here's the code, in case someone want to help
(I'm using flash mx 2004)

frame 1:

txtPercentage = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100) add "% cargado";
tellTarget ("loader") {
gotoAndPlay(Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100));
}

frame 2:

if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay("Scene 1", 1);
} else {
gotoAndPlay(1);
}

External Jpg Preloader
know its been a million $ q but
can someone direct me to a sample or how
to do a percentage preloader for an external jpg file

its a bit heavy to use the component methods since i
want a diffrent look
tanks

External Preloader
here's what i'd like to have.

lets say i've got me a main swf file.

and into this main movie. i would like to load various other swf's.

instead of giving each of those swf's their own preloader within themselves.

can i have an external preloader that loads in the same place in my main movie whenever another swf is being loaded into it?

if anyone can give me some starting tips, or just point me to a tutorial or related thread that would be great...i've searched and searched and haven't found anything on this subject so far.

Preloader For External Swf?
hi,
iīm new here. I just donīt get it.although i tried almost everything, it doesnt work.

I have one main movie (mainmovie.fla)

Inside, there are two buttons (filmbutton and button).

On release (button) , an external (movie_preview.swf) should open as a preview for the actual movie. the preview opens in "filmbutton". Since its a bigger file, I need a preloader for it.

If preview is loaded, you can click on it and another external movie will open (movie_big.html, inside the html thereīs the swf "movie_big.swf" ) in a new window. Here again, I need a preloader.

When I tried to program a preloader in the external swfīs I noticed that the preloader doesnīt show in "filmbutton". The external swf is loading but no preloader...

I always use a preloader like this:

1. keyframe

ActionScript:--------------------------------------------------------------------------------bytes_gesamt = _root.getBytesTotal() add " Bytes gesamt";
bytes_geladen = _root.getBytesLoaded() add " Bytes geladen";
prozent = int(_root.getBytesLoaded()*100/_root.getBytesTotal()) add " Prozent";
if (prozent == "100 Prozent") {
gotoAndPlay(3);
--------------------------------------------------------------------------------


2. keyframe


ActionScript:--------------------------------------------------------------------------------gotoAndPlay(1);
--------------------------------------------------------------------------------


3. keyframe: movie to be loaded.

It would be nice if the preloader for the external files is alike. Since I donīt have a lot of knowledge about as, I really need help here.

How can i realise this? Please help me! I try to attach the files. Thanks!

Lotta

Preloader External SWF
Hello Everyone,
I have an empty movie clip in which I load external SWF's. I do not want to add individual preloaders to each SWF and instead want to create a dynamic preloader in the main movie.

It seems as though I have code that works in IE but in netscape.
I have been working on this problem for about 5 weeks now and I am turning to you guys for some answers

I know that only a portion of individuals use netscape but for my own personal edification, I would like to design a dynamic preloader that works in both browsers. I kindly ask for your help and guidance. Thank you
Don Ho

The code that I actually have is attached. Thank you

Preloader/ External SWF
I'm using flash mx to create a cd-rom. My finished SWF file is 200 MB, and takes a bit of tome to open. During this time it seams as if nothing is happening. I want to create a seperate movie with a preloader that loads the main external SWF, so that users dont' think that nothing is happening. Is this possible to do? Any help would be greatly appreciated?

I know about loadMovie but that requires a button?
Is it possible to get a movie with a preloader to automatically start to load an external swf and then play it when it is done loading?

Preloader/ External SWF
I'm using flash mx to create a cd-rom. My finished SWF file is 200 MB, and takes a bit of tome to open. During this time it seams as if nothing is happening. I want to create a seperate movie with a preloader that loads the main external SWF, so that users dont' think that nothing is happening. Is this possible to do? Any help would be greatly appreciated?

I know about loadMovie but that requires a button?
Is it possible to get a movie with a preloader to automatically start to load an external swf and then play it when it is done loading?

Re-using An External Jpg Preloader...
I know you're all thinking "Not another preloader thread", but please bear with me; I've searched all over, and I can't find a preloader that I can get to work the way I need...


After a few years of using Adobe LiveMotion, I'm migrating back to flash, and it's a painful process, as I have to re-learn everything again...

My problem is this: I need a preloader that will properly load external jpgs... I have it set up so a button from a menu will load a variable (the number of the jpg), and also call a clip that will raise a "curtain", load the external jpg into a holder, run a preloader to make sure the jpg is fully loaded, then lower the curtain... This curtain/loader clip can be (or rather, should be) able to be launched using any button in the menu...

So how exactly is a bytesLoaded preloader created & reused for multiple external images?

I would show the example I have created in LiveMotion (which works as far as the preloader is concerned, but has other issues), but it seems something has gone wrong with my host, and my site is down for now...

cheers;

Help With External Preloader.....
Hi,

I need to create a external preloader that loads my Main movie,
I've asked this question before and been given a tutorial file which was helpful. I believe there is just one or two things that need to be modified apart from the movie name, to achieve my goal.

Here, I have a simple preloader movie with the actionscript, could someone be kind enough to tell me where I'm going wrong?

Would greatly appreciated

Thanks...

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