Preloading External Swf's
hi all,
I want to preload an external swf, without putting the preloader in the external flash movie if you see what i mean.. is it possible?
Cheers
FlashKit > Flash Help > Flash ActionScript
Posted on: 03-17-2002, 08:21 PM
View Complete Forum Thread with Replies
Sponsored Links:
Preloading External.swf
I have a main.swf movie that is the back of a movie that uses three different.swfs. What is the best way to preload all of these before the page shows, preferably with a status message/bar. Any help Appresiated
Cheers
Anthony
View Replies !
View Related
Preloading External Swf's
Is there a way of preloading an external swf. NOT like on actionscripts.org, he's putting a preloader into all the files. I want it so that the preloader on my main.swf includes and loads my loadedMovie.swf. anyone know how? please help
Thanks
View Replies !
View Related
Preloading External Swf (x2)
I'm segmenting up my main movie (for preloading purposes) into individual .swf files for each scene. i have 1 large .swf file (1 MB). it is a survey and i have provided audio for people who cannot read. i want to make a short form that collect demographic data as my first scene (actually, as my first movie). it will be a very small file and will load quickly. while they are filing out this form, i want part 2 to be loading in the background to save time. part 2 of the survey will be large (approximately 400 k). if i can figure out how to do that, then i'll have the final part load while the participant is taking part 2.
what has me concerned is that people on a fast connection will probably have part 2 loaded before they even finish the opening survey, while people on a 56k modem will finish the opening survey and still have to wait for part 2 to completely load.
also, none of the parts have to be inside of the previous .swf...they each stand alone; however, in the future i'll have to learn how to pass the variables from one movie to the next, but i can worry about that when the time comes. for now, i just want part 2 to be loading in the background and i want to know how to handle the difference between slow and fast connection. thanx bunches.
View Replies !
View Related
Preloading EXTERNAL .swf
How can I create a preloader using getBytesTotal method for am external .swf that's being pulled into a root .swf. What I want is, say I have root.swf with an empty mc instance "holder". I want my root.swf to load the external .swf to the holder, but I want the preload to be done from the root.swf. Is this possible???
View Replies !
View Related
Preloading External .swf
I know there are a lot of posts about preloading external swf files, but I can't seem to find one that really solves my problem.
I have this wabepage with sound on it (sound is a little 2 frame flash movie the bottom of the page that allows you to play or stop the sound.) Standard, the sound is turned on.
That .swf file is very large (because of the sound), so I would like to start with an intro page with a preloader movie on it, and once the music.swf is load it should get the url of the site where the music.swf is on.
I can't find a way to preload the music.swf on the other page.
Non working example: http://users.skynet.be/bk260251/UT/intro.html
View Replies !
View Related
Preloading External Swf's
Hi, thanks for looking at my post.
firstly, i am not stuck with anything, yet, i just wish to know if this is possible and anything that i should know about it.
on my site i want to have a loop playing in the background. this can get annoying so i will also include some sound controls. instead of including the sound in the main swf i want to link it to an external swf, which in the first scene has a preloader for it, and in the second scene has the sound loop and the controls in it. i could then load that swf into an empty movie clip which will be called onto the main timeline after the main preloader. will the preloader for the sound loop swf work when it is loaded into the main swf??????
also, to load a swf into an empty movie clip, what is the best way to go about it?????
cheers
Aaron
ps: this is my second time posting this, i think it was badly worded before. what i want to know is if an externally loaded swf will use its preloader (in the first scene), or if different rules apply with externally loaded swf's
View Replies !
View Related
Preloading An External Swf
Is it possible to preload an external SWF?
I have designed some doors, if they click them they will go to animation A of B, but I want to preload them since I'm concerning those with slow connections.
Look here http://www.eyecatchers-online.com/ka...ode/intro.html an example.
By the way, transparent 24 bits PNG's rulez!!!
Thanks in advance!
View Replies !
View Related
Preloading External Swf
is there a way to preload movies into a base flash movie, but not have them displayed until you decide to display them. Im trying to eliminate the loading time, everytime I use the loadMovie action..
thanx all
View Replies !
View Related
Preloading External .swf?
I searched the tutorials (nothing) and movies (2 that don't work). Can anyone help me make a preloader that loads another .swf? I can do a normal preloader, but I have no clue where to start with this. Thanks!
View Replies !
View Related
Preloading External Swf.
I want to use the ifFrameLoaded action on a frame which is having an external .swf file loaded into it. does the ifFrameLoaded action recognize the loading of the external .swf when calculating if the frame is fully loaded?
Any suggestions for a better way to accomplish this are also much appreciated.
jordan
View Replies !
View Related
Preloading External Swf's
Ok here goes.....
Instead of having one big movie, I have made a seperate movie for each page on my site. What I would like to happen is, when the user clicks on a button in my main movie, they get shown a preloader while the external swf is being loaded.
What I have done is use a preloader at the start of each external swf. But when I click on a button to load an external swf, the preloader flashes on then off, then there is a pause until the movie is loaded.
Is this because I am loading the external movies into a movie clip on the main timeline?
I know there is a way of preloading the external files from the main movie but I don't know how to do it.
Can anyone help?
View Replies !
View Related
Preloading External Swf's
Hi there,
I am stuggling to make my preloader work in MX, and don't know where I have gone wrong. I would really appreciate any help that anyone can give me.
What I have is this: two swf files (foo.swf and bar.swf)
that I want to preload into another movie, called intro.swf.
Now, what I have done so far is this:
In intro.swf I have 5 frames.
On the 1st frame a small preloading mc and 3 dynamic text boxes, with variable names total_bytes, loaded_bytes and percent_done.
The script for Frame 1 as follows:
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesTotal();
percent_done = int((loaded_bytes/total_bytes)*100);
if (percent_done == 100) {
gotoAndPlay(4);
}
Frame 2 (blank keyframe) contains the following script:
gotoAndPlay(1);
Frame 3 (blank keyframe) contains the following script:
stop();
Frame 4 (blank keyframe) has this script:
loadMovieNum("foo.swf", 0);
and
Frame 5 (blank keyframe) has this script:
loadMovieNum("bar.swf", 0);
Now, as far as I can understand, what this script should be doing is checking to see that the movies (the external swf's) are loaded, and then playing the frames that are calling them, in order. Right?
BUT, this is where the problem comes in:
For some reason, when I test the movie, it 'jumps' straight to the movie on Frame 5 (bar.swf), without first showing foo.swf (which is on Frame 4).
Help please! Is my scripting right, or am I totally lost?
-- spiralelf
View Replies !
View Related
Preloading External JPG's..? HELP
Hi,
A while ago I posted the same question, I got an answer, and I thought I figured it out, but now it seems it doesn't work, so here we go again....
I want to load an external JPeg into a movieclip with the following as:
loadMovie("image.jpg", "photo");
"photo" is the name of the target-movieclip where I want to load the external image.jpg.
Now, the problem is that I want to hold the timeline until the jpg is loaded and displayed. After that I want the timeline to continue playing.
Someone told me to put the following as in the target-movieclip:
onClipEvent (data) {
_root.play();
}
But: that doesn't work!!
Any other ideas??!! I'm really stuck here!
Thanks in advance.
View Replies !
View Related
Preloading # External .swf
hi,
i'm searching for a way to preload a number of external files. these are loaded into level 1,2,3,... How can i preload each external movie at a time, displaying a textfield telling wich movie is loading.
I want to use ,if possible, one preloader in the first frames of _level0. can someone give me some direction
P-Sch1FT
View Replies !
View Related
Help With Preloading An External .swf PLZ
i've read tutorials, i've searched through forums .. but i still can't get this to work.
i'm loading an external .swf into a movie clip instance named "this"
loadMovie("characterz.swf", "this");
this works... now how do I get it to play the .swf file AFTER it has completely loaded?
in characterz.swf i have everything blank in frame 1 (with a stop action)
i tried
this.getBytesLoaded();
this.getBytesTotal();
total_Num = this.getBytesTotal();
loaded_Num = this.getBytesLoaded();
and doing a loop with frames that check
if total_Num == loaded_Num
this.gotoAndPlay(2);
i've tried several variations of these scripts (some i made, some i copied and pasted) but i could get none to work...
if someone could explain to me how this preloading external .swf in movie clips works OR get me a working .fla that does this, I would greaatly appreciate it. thank you
View Replies !
View Related
Preloading An External Swf.. Again
Hey, guys and girls..
i know we've been thru this one a million times, but i'm having trouble finding that old thread with Oldnewbie...
would someone be so kind as to post the script for preloading an external swf? I'd like one with great commenting, if possible, so i can try to understand the script better. I have used one from here before that involved loading the swf into an empty placeholder movieclip, but, like i said, i want to gain a better understanding of the script so i can adapt it some if necessary, and, if for no other reason, just to learn.
thanks,
-myk
View Replies !
View Related
Preloading An External Swf
I know this has been covered a million times, but I still can't get it. I want to use a bytes-loaded preloader to load an external swf using Flash MX.
Currently I have 2 scenes.
Scene 1 has the following action script:
Frame 2
loadedbytes=getBytesLoaded();
totalbytes=getBytesTotal();
loadedkbytes=Math.ceil (loadedbytes/1000);
totalkbytes=Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
gotoAndStop("Scene 2", 1);
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop (_root.frame);
}
Frame 3, loops back to frame 2
Scene 2 has the following:
Frame 1: a MC with the name & instance of Holder with the following action script in its first frame:
loadMovie("bigfile.swf", 1);
I have set up my Bytes loaded dynamic font. etc
Problem is that the preloader doesn't work. It calls the movie but without the preloader. As a test I loaded a large gif placed in scene 2 and all worked fine, my counters counted and my loading bar expanded.
Can anyone see anything wrong with what I am doing?
Any help appreciated.
View Replies !
View Related
Preloading External Swf
My mate just finish a flash movie using After Effects...
How can I preload it using Flash MX without importing the
whole movie file into Flash again which will make the file
size super huge...
Been swimming through the tutorials network, none can
solve this so far...
View Replies !
View Related
Preloading An External .swf
Can anybody help, please?
I've got my main called 'movie.swf' and into that i'm calling in a movie called 'loaded.swf' into an empty MC called 'container'.
No problems with that so far, except when I add a pre loader to 'loaded.swf'.
'movie.swf'' and 'loaded.swf' both use the same type of pre loader which has a load bar, percentage uses 3 frames. It works fine on 'movie.swf' but just doesn't want to work when its called in.
I have tried everything i can think off like changing the code where it says:
(_root.getBytesTotal() and (_root.getBytesLoaded()
to
(_root.container.getBytesTotal()
and
(_root.container.getBytesLoaded()
But just can't get the bloody thing to work, any ideas what i'm doing wrong?. Here is the link if anyone wanys to take a look,
http://www.flashkit.com/tutorials/A...m-689/index.php
View Replies !
View Related
Preloading External SWF
Hi there, I have a language toggle screen that loads a very large external SWF from the same directory. Because of the scripted sounds, the preload doesn’t show up until the file is almost loaded, leaving about 20 seconds of dead space. Is there a way to load the external SWF from the parent SWF so as to keep the initial SWF active until the child SWF is fully buffered?
I'd be more then eternally grateful for any help:-)
View Replies !
View Related
External Swf, And Preloading
Quick question (or hope so atleast)
If im trying to load external movie clips or swf's into a main flash movie with preloaders, the preloaders dont preload. Instead, it waits for the file to be fully loaded by the browser, then into my main movie, and as soon as it does, the preloader shows, but it goes super quick, just like a glimpse. Sorry if this is coming out unclear. So if my external was (for an example) 20mb it will not show until its loaded 20mb, then it will pop up in my main movie. Then show the preloader, for like 1 half second, and disappear.Then its loaded. :-
If you need additional info please let me know.
Thanks
Carl
View Replies !
View Related
Preloading External Swf
Hi,
I don't really know if this is possible, but can you include your external swf files, in the preload of your main movie?.........
So preloading happens only once. The way I have set my site up, there has to be external swf's.
Hope there is a way to do it
Damian
View Replies !
View Related
Preloading External SWF's
I have several SWF's, each containing music and a preloader for an audio player that I'm building in another movie. When I select a SWF to load into the parent movie, that SWF doesn't appear in the parent movie until the whole SWF downloads. The idea is to stream the audio and use the preloader to buffer the music in that's in the loaded SWF. Is this not possible??? I've tried a million different approaches and nothing works. PLEASE HELP!!!
I'm using Flash 5...
View Replies !
View Related
PreLoading An External SWF
Hi,
i have an swf movie, but dont have the source file due to curruption. Is there anyway I can add a preloader to the beggining or something like that. maybe make a new movie and load it in as an external mc, but then how to I make it have a preloader??
any help?
Thanks
Kaan.
View Replies !
View Related
Preloading A External .swf
I have a preloader that I built that currently just loads the main movie using this code
onClipEvent(enterFrame){
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent - ((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar_mc._width = per;
if (percent > 99) {
createClip();
}
}
Once the main movie is loaded it calls a function called createClip() which dynamically creates a movie clip using this code
function createClip(){
createEmptyMovieClip("placeholder",100);
placeholder._x=0;
placeholder._y=0;
placeholder.loadMovie("test.swf");
}
How can I make the preloader work for "test.swf" once it's done loading the main movie? Anyone know how this could be done?
View Replies !
View Related
Preloading External Swf
I want to show a progress bar, while loading the external swf. I can do it for the main movie, but how do you target the external swf? It'll be loaded into an mc. I tried making a preloader that targeted the mc, but that didn't work. I really need help, and can't find the answer anywhere.
View Replies !
View Related
External Swf Preloading
I cant test my site right now but I have a question about a pre-loader.
I have a loop set on the first two frames that wait for frame three to be loaded.
- If frame 3 is loaded go to frame three type of thing.
The whole navigation system is on frame three. I also have some loadMovie commands, on frame three, that load out side swf's into empty movie clips.
Will this preloading method detect the loadMovie commands and preload those movies before it goes to frame three?
If it will not preload the external swf's with the rest of the site what do I do to make it preload them?
View Replies !
View Related
Preloading External SWF's
I know there have been many threads about this and i have searched through about a hundred and none of them have seemed to work.
on my frame 20 i want to preload a movie into an empty mc.
i am just going to use a percentage preloader to show progress.
the mc holder is called 'home'.
could someone please explain how i would go about creating this
Thanks !
View Replies !
View Related
Preloading External Swf
Hello all, I'm hoping you can help with this problem I can't seem to fix.
I'm placing the following code in the first frame of a .swf that's loaded into a "container" mc;
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total*100;
percent_done = int((bytes_loaded/bytes_total)*100);
this.ldbar.gotoAndStop(percent_done);
this.loadText = Math.round(getPercent)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay("start");
}
this works as a preloader by itself but when loaded from the main movie jumps straight to "start." Any help would be appreciated and thanks in advance.
ltd
View Replies !
View Related
Preloading External Swf's
I'm making this kind of DVD looking movie where you're able to select different episodes of a series I made. It's like you click part 5 for example and I have a square where the episode plays.
Now for the problem:
Everything works fine as long as I linked the swf's to my harddrive. But when I upload them to the internet and link them to there the preloader for that swf doesn't work. Is there a way to fix it?
View Replies !
View Related
Preloading External MCs
Hi all, I tried using the board's search engine but is not working at all. Here is my problem/question, I have the following code on Frame 1 of an MC that I am trying to externally load to an empty movie clip in another document:
Quote:
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
Then on the second frame:
Quote:
gotoAndPlay(1);
The preloader works fine when I test the movie from its own .fla but when I test the movie from the .fla it is exported to it won't work. I know I have to change the "_root" to something else but it won't either. Again, I know there are millions of "pre loading" questions but the search engine is not working on my end. thanks for any help.
View Replies !
View Related
External Preloading
right now my script is
Code:
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes
percentDone = int((loadedBytes/totalBytes)*100);
bar.gotoAndStop(percentDone);
if (_framesloaded == _totalframes) {
gotoAndPlay(3);
}
now what I want to do is not only preload all the frames in that .swf
but also preload at the same time the external .swf file to be loaded into empty movie clip mtClipMenu - menu.swf
so how do I preload external menu.swf in addition to the above script
View Replies !
View Related
HELP.. Preloading External .swf's
OK.
I can do preloaders for the main file but im stuffed if i can come up with a simple way of preloading an external swf file.
i came up with a way to load the swf into a movieclip off the page, then when its loaded flick to another frame which loads the same one where i want it. but there must be an easier way to do this.
any help would be appreciated thanks.
View Replies !
View Related
Preloading External Swf
Hello,
I'm trying to find an easy way to make a smooth transition between two swf files with a preloader separating the two of them. I'm no good at Actionscript AT ALL and would need a tutorial or a thorough and precise explanation on how to achieve this...
This is what I'd like:
1. From "main.swf", there are several buttons.
2. When clicking on one of them, a preloader appears smoothly and starts loading the new swf file, "next.swf".
3. When it's finished loading, the preloader disappears, just as swmoothly as it appeared.
4. The old page ("main.swf") fades out and the new one ("next.swf") fades in. I'm there. No trace left of "main.swf". <----!!
There are several problems to this that I've encountered when trying to make this happen;
1. When the preloader loads, it takes some while before it apperas, e.g. not a nice transition.
2. The tutorials (very good ones) that I've found only show how to load an external swf file into an existing movie clip on the stage, which I don't want to at all. EVERYTHING on the first page ("main.swf") should change (including the buttons linking to the other pages); like when using "loadMovieNum" - loading the swf into another level.
How do I make this happen?! Please be specific to where and how to use the code and all, cause although I'm good at the rest of Flash, I honestly suck at Actionscript. When talking about these things, talk as if I were a child... Any help is greatly appreciated, thanks.
View Replies !
View Related
Preloading An External Swf
Hi,
I'd like to know how do I preload an external swf, and NOT LOAD it until it's fully loaded, so that if I have a web page with several sections, and when I navigate it and change sections the smoothness between them can be maintained! 'Till now I've been using the preloader on scene 1 loading the content on scene 2 method, but if the swf is too large in size it takes a bit to load and a blank space appears! Someone told me about putting the preloader on level 0 and the desired swf to load on level 1! Can anyone help? That is if i made my problem clear! Many thanks in advance!
David
View Replies !
View Related
Preloading External Swf
Hello all -
I am creating a website, each section is an external swf. I don't want to have a preloader on every page - is there a way that I can start loading the other swf's while the user is browsing?
Thanks in advance!
View Replies !
View Related
Preloading External Swf
Hello all,
I'm trying to preload (w/ status bar) an external swf into my main movie. It'd be the best if the preloading script itself was in the external swf.. and not in the root.
Can anyone help or point me in the right direction? I'm using AS1, by the way.
Thanks much!
View Replies !
View Related
Preloading External Swf
Hi there
I have a layer code and some butons of the timeline of my main movie
like telling a specif button to load an external SWF into target dynamically with Flash MX. I can load the external.SFW´s and it works (actually)without preload and i cannot let it like that !!.. So now just want to Know how a precent preload ActionScript looks like loading that external swf. See the precent preload and its AS i wrote on the main timreline of my MainMovie(base one)works fine , but if i put it on the main timeline of the external.swf it does not work. I tested online and.. nops
what´s wrong ??
plz help ..thx in advance
View Replies !
View Related
Preloading An External .flv
I have looked at several tutorials on preloading, all of which seem to be centered around preloading upcoming frames... I have a number of .flv clips that need to play back to back without a delay in between. I am trying to come up with a script that (while clip 1 is playing, clip 2 is preloading)..
Again, clip 2 is an external .flv file. Can I just preload it into memory by pointing to it externally somehow, or do I need to set up a placeholder for it and preload it into that ??
I would really appreciate the help -
Thanks -
Jmac
View Replies !
View Related
Preloading External .SWF
Hey guys,
I'm working on a site now where I have a rather large main swf file (it has another swf movie inside of it, which makes it big). I was thinking, instead of putting a preloader in the same swf, maybe having another swf, the same size in height and width which will have a preloader in it, which loads the main swf. Can anyone maybe show me a code I could use for the preloader which would do this? Or maybe this is not the best way for what I am trying to do...?
Thanks a lot,
-Pete
View Replies !
View Related
Preloading External Swf's
I have an image rotation set up where when you mouse over a thumbnail a large image slides in, mouse out, image slides out. These transitions are set up in external swf's, 36 of them(one for slide in, one for sli8de out for each image) made in SWISH. The site is for a photographer meaning the images have to be high quality, and thus large file size. Basically, the effect is "sticking", making for a not so nice transition.
How can I preload these external swf's so that the transitions are smooth?
http://www.amynnasser.com/flash
thanks!
View Replies !
View Related
Preloading An External Jpg
I am trying to make a movie clip that when it starts loads an external jpg, but I would like it to have a loading bar for the jpg shows, unfortunately the normal method I use to create a preloader doesn't work with external jpgs. Is there a way to do this?
View Replies !
View Related
Help With Preloading External .SWF
Okay, I followed this awesome tutorial "Preloading External Flash Movies" and it worked. But I was wondering if I could help with something.
I have a basic video player made in Flash. This videoplayer.swf basically just serves as a 'interface' because it already has a loadmovie statement, which it loads the external .swf (the actual video clip, move.swf). This is so that I don't have to mess with the videoplayer.swf, I just have to change the movie.swf each time.
So all I need is a preloader that preloads an external .swf but then just plays the .swf that the preloader is in. Or something similar to that that works.
When I did the tutorial, it would just open the external .swf and play it. Since I have a video player interface in videoplayer.swf I would like the video to play in that (not on it's own like in the tutorial).
I tried taking out some of the code from the tutorial that loads the external .swf, but kept the code that does all of it's loading, however, it doesn't seem to actually preload. It just skips that whole preloading screen and plays the video (but I can tell it didn't preload because the video lags at the start).
You can download the .fla's and .swf's of everything, here. Or if you could just help me out with what code I need (or if it's even possible) that would be awesome. To watch the video open the videoPlayer.html, to see all the code open videoPlayer.fla
I'm using MX04, thanks.
View Replies !
View Related
Preloading External SWF
Hey users I got a problem and it is something that I dont clearly understand. I have 2 swf files. Main.swf and News_section.swf
Basically I want to load the News_section.swf into my Main.swf. I have created a preloader for both the main.swf and the news_section.swf files and the main.swf's preloader loads fine. But when its time for the news_section.swf to load, its like it freezes. please visit this site for an example.
www.robslounge.net/young_G/
Its going to say "retriving content from database" the totalkb loaded will say 100% Why does it do that?? Im extremely confused.
View Replies !
View Related
Help With Preloading An External Swf
Hello, I have a project due soon and I need to have this mp3 file loaded externally with a preloader. I found the exact tutorial on kennybellew.com but it's not working. I need another set of eyes to look at this for me. The main movie is simply called test.fla and the external sound is called externalSounds.fla. I can play the externalSounds and it works fine. I load it into the other move and it loads fine but the music will not play. Very frustrating. Here is the link to the download the codehttp://www.datamatrixit.com/myLoadedSounds.zip .
PLEASE, Somebody take a look and help me get over this hump. Oh, I'm using Flash 8. Let me know if you need it converted in order to view it.
Thanks
View Replies !
View Related
Preloading External Swf's
hi
i have my code form my preloader for my main movie as seen below. What id like to do is at the same time, prelaod two other external swfs.
the two external swfs are called "portfolio.swf" and "contact.swf". The code i have for my preloader at the moment is:
lastFrame = 1;
function loadedIndicatorFrame() {
var newFrame = int((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 65) + 2;
if (newFrame - lastFrame > 4) { //too far
lastFrame += 4;
loadedText = int(_parent.getBytesTotal() / 1024 * (lastFrame - 2) / 65) + "kb of " + int(_parent.getBytesTotal() / 1024) + "kb";
} else if (newFrame - lastFrame > 0) { //normal move
lastFrame++;
loadedText = int(_parent.getBytesLoaded() / 1024) + "kb of " + int(_parent.getBytesTotal() / 1024) + "kb";
} else { //update the text only
loadedText = int(_parent.getBytesLoaded() / 1024) + "kb of " + int(_parent.getBytesTotal() / 1024) + "kb";
}
return lastFrame;
}
any help very much appreciated
Jools
View Replies !
View Related
|