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








[F8] External SWF Preloading Little Prob...


Hello folks,
i got a little prob... i can't find the other post that i manage to
use as a tutorial i got a link there that sent me to this great site
http://gotoandlearn.com/, i used the tutorial about
"External SWF Preloading" and did everything, but one thing did go right:

the ' % ' symbol is the only thing that appears, but not counting then after a few seconds (the load ends)
the swf shows, here is the final code:


PHP Code:




var mcl:MovieClipLoader = new MovieClipLoader();

var mclL:Object = new Object();

mclL.onLoadProgress = function(target,getBytesLoaded,getBytesTotal) {
    loader.percent.text = Math.round((getBytesLoaded/getBytesTotal)* 100) + "%";
    loadpercent = "0%";        
};

mclL.onLoadInit = function() {
    loader._visible = false;
    loader.percent.text = "";
};

mcl.addListener(mclL);

mcl.loadClip("gsb_test.swf",holder);




FlashKit > Flash Help > Flash ActionScript
Posted on: 09-19-2007, 04:09 PM


View Complete Forum Thread with Replies

Sponsored Links:

Preloading External Mp3 Prob In IE
Hiya,

I've been experiencing something odd... I have searched the forums, but as of yet have been unable to find anything that could help me out. Here's the deal:

I have created a Flash file that loads external .MP3s [from a totally diff server btw]. It preloads them first, and when sufficient data has been loaded, they start streaming... It all works just fine when testing it from within Flash MX [ctrl+enter], and it also works just fine in Mozilla Firefox... but, it doesn't in IE... Help!
In IE the .MP3s load BEFORE the preloader, and since they are BIG files, this freezes up the explorer for a while, until they are loaded, then it simply shows "100% loaded" and starts playing.
I sincerely hope anyone is able to tell me why it all works perfectly in Firefox and Flash [in a .EXE projector it all works just fine too] but not in IE.

I am using the following code to load the files:


ActionScript Code:
myMusic = new Sound(music);
myMusic.loadSound("http://www.filename.mp3", true);


And just the regular getBytesLoaded and getBytesTotal as I would for preloading anything else [which always works just fine too btw]

Any insight whatsoever would be really appreciated!

Thanks,

Martijn

P.S. Using Flash player 6

View Replies !    View Related
Preloading Linkage Sound Prob.
Last edited by fappy : 2002-05-17 at 04:47.
























I've have some sound on my mainmovie using the linkage...
but when preloading the main movie, it first loads the sound
because i use linkage... so the fist 15 du to 50 seconds nothing happens...
The solution.. using a external swf for the sound that loads into a mc.
But the problem is that i'm fermiliar with the preloader that is inside
the first scene of the external swf. So if i go to options/sound i won't see
that it is still loading.. Solution... swf preloader that is inside the
mainmovie that loads the externl swf using the OnClipEvent. That also display
the %percent value inside a txtBox... but how...

This is how i load in external swf at the moment:
This is the action i assigned to the button that loads the swf into the mc


code:
------------------------------------------------------------------------
on (release) {
loadMovie ("external.swf", "_root.holder");
}
------------------------------------------------------------------------


the external SWF is build with 2 scenes, in scene 1 is the preloader in scene 2 the
content. The preloader on scene 1 is build like this...
I've placed the following script in frame2 on scene1(preloader)


code:
------------------------------------------------------------------------
if (_this.getBytesLoaded() >= _this.getBytesTotal()) {
_this.gotoAndPlay("loaded");
}
percentLoaded = Math.round((_this.getBytesLoaded()/_this.getBytesTotal())*100);
loadingText = "Loading content..." + percentLoaded + "%";
------------------------------------------------------------------------


and placed a textfield called "loadingText"

on frame 3 is the following script.


code:
------------------------------------------------------------------------
_this.gotoAndPlay("check");
------------------------------------------------------------------------

on frame 8 is the action "play"

View Replies !    View Related
Prob With External Swf
Aloha!

I made a site that loads swf files (woaw! ) but the swfs work if i test them alone but not when I test them in the "head"-swf.

1) If I make a link in a movie clip in a swf that has to be loaded, I did it with _root.gotoAndPlay("Labelname"), does it have anything to do with the _root?
2) I used to photogallery from the tut, you can only see the photo, so no buttons or my background (strange)

Anyone?

Thanx

View Replies !    View Related
External Swf's Prob
I'm making a website for a client and im using flahs for it. mainly external swf's. My problem is that have a swf in the bg, in that swf there is image that at each 30 secs change. than i have a container over that swf. they swf that open 5 secs after the first one (the bg) opens. so far so good, but since i need my first swf (bg) to always run since the image changes all the time i can not put the stop action in the "as" layer and it seems that because i can't put the stop option it doesn't work.

what can i do?
thanx.

View Replies !    View Related
External Swf's Prob
I'm making a website for a client and im using flahs for it. mainly external swf's. My problem is that have a swf in the bg, in that swf there is image that at each 30 secs change. than i have a container over that swf. they swf that open 5 secs after the first one (the bg) opens. so far so good, but since i need my first swf (bg) to always run since the image changes all the time i can not put the stop action in the "as" layer and it seems that because i can't put the stop option it doesn't work.

what can i do?
thanx.

View Replies !    View Related
Prob In Loading External .swf
hey all,

thnx 4 checking my post...

I need to load an external .swf to my first frame of my existing main .fla file....The prob i face is ..i am able to load that .swf file but its keeps on looping ( as that .swf has a looping scripting )....i even tried stop(); on the frame script.... still not working .. As soon as the loaded .swf finishes it should move to the second frame of my main .fla file..... can any one help me ....please ... i here by attach the .fla file of the swf file which needs to be loaded to the main .fla's first frame....

thank you in advance........

View Replies !    View Related
Prob W External .swfs
I am happily loading and unloading external swfs into my movie and always into the right position. Unfortunately, the buttons that lie beneath (on the main movie) are still active. Invisible, but working perfectly none the less.

How do I temporarily disable the buttons on my main movie timeline? Prefer not to have a special (buttonless) frame in the main timeline for externals to navigate to and from as I have 25-30 external .swfs currently working.(almost)

----------------------------------------------------------------------------------
::::::::::::code on button to load external .swf

on (press) {
this.attachMovie("randomspopmc", "window", 0);
window._x = 250;
window._y = 250;
}


::::::::::::randompopsmc

empty mc with this code

onClipEvent (load) {
loadMovieNum("file:///Users/kristianthompson/Desktop/random/random.swf", 1);
}

-----------------------------------------------------------------------------------

K?

flash MX / OSX

View Replies !    View Related
Prob' W/loading External Swf
i have 4 swf files in a folder below the www folder-
main.swf (with 3 buttons)
2.swf
3.swf
4.swf

in the www i have the html file that loads the main swf witch is pointing to the folder below itself - ...value= "folder/main.swf"...

in the browser the main swf loads, but when i press any of the buttons
the other swf files do not load.

the code for the buttons are like this-

ActionScript Code:
btn.onRelease=function(){ 
      mymc.loadMovie("2.swf");
}

anyone know why this doesn't work?
thanks

View Replies !    View Related
External Swfs Prob
hi again!!!!
ok, i got this very strange prob
my website consists of a main.swf and external swfs to be loaded into the main swf...
it all works fine on my com, i tested the "main.swf", it can work
i published the main.html to test if it works on html too, and it can work
however when i upload it onto my server, it doesnt come out quite as i expected
the external swfs keep on looping, i dunno why
maybe a sneak peak of my site will let u noe what i mean
http://faith.pla9ue.net/tm/good.html

thanx...

p.s the external swfs are the images, not the text

View Replies !    View Related
Transitions Between External Swf's Prob
ok so i did this tutorial http://www.kirupa.com/developer/mx2004/transitions.htm

but, i dont know why, the external swf doesn't want to show up.

here is my .fla http://justpra.com/troquet/test2/test.fla

thanx.
pra.

View Replies !    View Related
External TXT Simple Prob
Hi there, I've got a little problem with an external loading of vars.

I want to _xscale an MC reading the var from the TXT file, I know I'm doing the loading well, because I have some dynamic TXT fields that reads the var, but not de _xscale property, the var in txt is: &webbar and the code is:

this.bar._xscale = webbar;

but it doesn't work Y_Y any solution please?

thanks for all

View Replies !    View Related
Loading External Swf Prob.
i'm working in falshmx 2004 and getting problem in loading external swf (loaded.swf) file into container (movie clip)
below is attachment of the file...plz help if u can. i need it (proper actionscript code) to complete my project.
thanks!

below is the attachment of my files.

View Replies !    View Related
Prob In Loading External .swf
hey all,

thnx 4 checking my post...

I need to load an external .swf to my first frame of my existing main .fla file....The prob i face is ..i am able to load that .swf file but its keeps on looping ( as that .swf has a looping scripting )....i even tried stop(); on the frame script.... still not working .. As soon as the loaded .swf finishes it should move to the second frame of my main .fla file..... can any one help me ....please ... i here by attach the .fla file(zipped) of the swf file which needs to be loaded to the main .fla's first frame....

thank you in advance

View Replies !    View Related
External Swfs Prob
hi again!!!!
ok, i got this very strange prob
my website consists of a main.swf and external swfs to be loaded into the main swf...
it all works fine on my com, i tested the "main.swf", it can work
i published the main.html to test if it works on html too, and it can work
however when i upload it onto my server, it doesnt come out quite as i expected
the external swfs keep on looping, i dunno why
maybe a sneak peak of my site will let u noe what i mean
http://faith.pla9ue.net/tm/good.html

thanx...

p.s the external swfs are the images, not the text

View Replies !    View Related
Transitions Between External Swf's Prob
ok so i did this tutorial http://www.kirupa.com/developer/mx2004/transitions.htm

but, i dont know why, the external swf doesn't want to show up.

here is my .fla http://justpra.com/troquet/test2/test.fla

thanx.
pra.

View Replies !    View Related
Loading External Swf Prob On Mac
I hope someone else here can help...I am loading an swf into level1 using getBytesLoaded() etc. it works great when I test the page on a pc using IE but stalls on the mac running IE.

anyone else get this?

R

View Replies !    View Related
Preloader For A External Movie Prob.
O.k this is a big problem and im with a headache already
Iwanna do a preloader for a external movie.
-I have the preloader in Scene 1
-I have a movie clip named "bueno" and with the action scrip for load a swf that is in the same folder

everything runs fine, but the preloader just load the empty movie clip that is 4.kb and the swf that im loading is 360Kb.

I need the preloader says " X from 360Kb." and then sends you to the next scene where the movie is.

But mine says " X from 4kb" and sends you the next scene where the movie isnīt loaded!

I Know there is a way.
so Please Someone help me
if you can sendme the script or contact me doit
thanks

View Replies !    View Related
Simple External Txt File Prob
ok, ive a swf called "news.swf" and it has the actions:

loadVariablesNum ("news.txt", 0);

the swf has the dynamic text fields:
---------------------------------------------------
about

date

type

headline

news
---------------------------------------------------

in the text file is :

---------------------------------------------------
about= dj

date=14 - 05 - 03

type=DJ

headline=FERGIE GETS BIG GIG

news=bla bla bla
---------------------------------------------------


whats the problem, its loadin in the first vas "about" but thats it!

View Replies !    View Related
External Swf Loading Prob.....nothing Loads HELP PLZ
(THIS IS NOT A DOUBLE POST!)I had some problems posting before, i dont know why this wont upload the file...Ok Ive done all i could and im relying on somebody here to find the solution... There is a button on the top that says "contact" and has the action: on(release){loadMovie("contact.swf","mc_contact"); }
But when i publish it in html and i preview it, it does NOTHING....Please help

View Replies !    View Related
[F8] Going Insane /// Loading External Swf Prob.
Hey guys, i am working on a gallery and when i load an swf from a thumb into an empty movieclip, it acts wierd. take a look here:

http://linodesigns.com/test/print.html

only the first 3 thumbs are working right now, click on the second thumb (loads the problem swf). when u click it once it plays like its supposed to, but click on it 2,3, or more consecutively and it seems like it loads over itself.

I've tried the unload method, doesnt work. I dont think i need to use it because its being loading into an empty movie clip so it replaces the previous.

heres the code for the thumbnail:

on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {


this._parent._parent.images_mc.loadMovie("works/workJpegs/print02.swf");
this._parent._parent.images_mc._alpha = 0;
}

View Replies !    View Related
[F8] Going Insane /// Loading External Swf Prob.
Hey guys, i am working on a gallery and when i load an swf from a thumb into an empty movieclip, it acts wierd. take a look here:

http://linodesigns.com/test/print.html

only the first 3 thumbs are working right now, click on the second thumb (loads the problem swf). when u click it once it plays like its supposed to, but click on it 2,3, or more consecutively and it seems like it loads over itself.

I've tried the unload method, doesnt work. I dont think i need to use it because its being loading into an empty movie clip so it replaces the previous.

heres the code for the thumbnail:

on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {


this._parent._parent.images_mc.loadMovie("works/workJpegs/print02.swf");
this._parent._parent.images_mc._alpha = 0;
}

View Replies !    View Related
Prob With _alpha In External Swfs
Hiya!

Please bear with while I try to explain this!!

I have a main flash file which has 2 blank container mc's one loads the external navigation swf, the other loads the external content swf. I have another invisible mc off the main stage which contains the actionscript transition for the page content.

When I press a button on the navigation is sets a variable _global.newpage it then tells the transition to go to the frame "fade out" where I have this script..


Code:
onEnterFrame = function() {
this._parent.pagecontent._alpha = this._parent.pagecontent._alpha + (0 - this._parent.pagecontent._alpha)/3;
}
the next frame is then


Code:
if (this._parent.pagecontent._alpha>=1) {
this.gotoAndPlay("fadeout")
}
So once it has faded out completely, the movies goes on to this frame where it loads the _global.newpage variable & should set the alpha of the page to 100%...


Code:
loadMovie(_global.newpage, _parent.pagecontent);
_parent.pagecontent._alpha=100;
But the problem is, it doesnt! It loads the new page, fades it on to about 20% alpha then dissapears!

Anyone got any ideas? Please help!

Thanks in advance, Jen

View Replies !    View Related
F8 - This Sucks.. Button External Swf Prob.
can anyone tell me why my buttons don't work every time I put a preloader on my external swf? It just reloads the page!!

http://www.ezekieldesign.com/clientp...use/index.html - click on about us.. you'll see what I'm talking about.. the others will work, but there isnt a preloader so it takes a second to load the other pages.

View Replies !    View Related
Prob With _alpha In External Swfs
Hiya!

Please bear with while I try to explain this!!

I have a main flash file which has 2 blank container mc's one loads the external navigation swf, the other loads the external content swf. I have another invisible mc off the main stage which contains the actionscript transition for the page content.

When I press a button on the navigation is sets a variable _global.newpage it then tells the transition to go to the frame "fade out" where I have this script..


Code:
onEnterFrame = function() {
this._parent.pagecontent._alpha = this._parent.pagecontent._alpha + (0 - this._parent.pagecontent._alpha)/3;
}
the next frame is then


Code:
if (this._parent.pagecontent._alpha>=1) {
this.gotoAndPlay("fadeout")
}
So once it has faded out completely, the movies goes on to this frame where it loads the _global.newpage variable & should set the alpha of the page to 100%...


Code:
loadMovie(_global.newpage, _parent.pagecontent);
_parent.pagecontent._alpha=100;
But the problem is, it doesnt! It loads the new page, fades it on to about 20% alpha then dissapears!

Anyone got any ideas? Please help!

Thanks in advance, Jen

View Replies !    View Related
Loading External .txt File Prob
My coworker came up to me this morning and said "on our website...the text shows up on my computer but not Jane's?" I asked another co-worker who worked on the site and he said it was a browser issue..

Heres the deal, it doesnt show up on IE 5.0..the only thing displayed is <P ALIGN=left> which is strange cuz that tag isnt even in the .txt file! The only html tag thats in the .txt file is a <FONT> tag...

But sure enough when he updated the browser to IE 5.1 it showed up.

Is this really a browser problem or a Flash issue?

View Replies !    View Related
I Got The External URL Command Right... But A Prob With Some Other Factors Has Arised
alright... here's the whole thing...
There's a CD-system type SWF (it just looks like a CD player) that I made from scratch and game files (media, graphics, 3D models, etc.) from PlayStation 2 discs which I have converted...
(forget everything I just said b4 this point cause that's extra useless information)

Alright... I got my SWF file and my getURL txt actionscript files, along with the zip files I'm puting for download, in Music/Tekken4/
K...now... I have another SWF file in Music/ and it has a loadMovie command in it that loads the SWF file in Music/Tekken4 inside of it...
so the movie in Music/ loads the movie in Music/Tekken4...
The getURL commands work fine when I click them directly in the SWF file in Music/Tekken4...
but when I click them from when it's loaded by the movie in Music/...
It says "Music/Shinjuku.zip not found" for example... but the zip files are in Music/Tekken4 ... so it would be "Music/Tekken4/Shinjuku.zip"
...I've tried changing the URL command address in the txt files from "./MusicFile.zip" to "./Tekken4/MusicFile.zip"
...but it will still say "Music/Shinjuku.zip not found" for example...
the subfolders are not getting in the address for some strange reason...
if ya need a clearer explanation or something just reply...
and if ya are confused anyway... and dont know what the prob is exactly... then reply anyways with your solution to what you "guess" is the prob...
to those who help I thank you! =)

View Replies !    View Related
MX Loading External Text Scroll Bar Prob
I am loading external html into a text box that has a scrollBar component attached to it. When the user changes pages it loads new text into the text box. However if they had scrolled down on the previous page the scrollbar remembers its previous position. Is there anyway to get it to default to the top of the text?

View Replies !    View Related
Prob. W/ External Dynamic Text Loader
i must b missin somethin simple !!
i'm tryin out the 'dynamic text feeder' frm 'flashloaded' but havin prob.
loadin the text.
Q: would the component load whatever inside the text file or do i need
to includes tags and such?

thnx !!~~

View Replies !    View Related
Prob Loading External Swf In Main Stage
I'm using CS3 and AS2. I never had this problem with flash 8, so I'm not sure if I'm overlooking something new in CS3. anyway, I have my main movie, and I have an empty vid clip that I use to load external swf files into when a user clicks on a button or something. sounds pretty simple, but for some odd reason my external swf doesn't load completely. I have text and an image, both as graphic symbols, and only the text will load. as well, strangely enough I have another flash movie that loads an external swf, but in this case the it will only load the graphic and not the text. I can't imagine what is causing this. I hope someone has come across this before and knows what i'm doing wrong. if necessary I will post my fla file, but lets see if we can solve this without doing so. thanks!









Attach Code

on (release) {
_root.content.loadMovie("content/home.swf");
}

View Replies !    View Related
Prob Loading External Swfs Into Multiple Placeholders
Hi, can you help? I'm making a website in flash where I have my main hompeage movie on level0 and the other links as external swfs inside the main homepage swf inside placeholders where external swfs are smaller than the main homepage thus you can still see the nav and logo

I've tried loading the movie into a placeholder empty movieclip which seemed to work on the surface but trying to go between the links repeatedly to check usability, to begin with they loaded the correct swf and in the right place, but after a few more goes between pages they just started to not appear and they couldn't cope so I applied some ginga logic

I decided to make more layers and put an empty mc in each an loaded each swf into itwith this code

_root.placeholderA.LoadMovieNum("clients.swf",1);

each on a separate level other than 0

with an instance name especially for that swf and six seperate empty movieclips to put my swfs into so they couldn't all be loading into the same one cos I thought it could be the prob, they are all seperate and on different layers but I can't seem to get anywhere, the links don't work at all, all I get is the homepage!!

Does anyone know why and how to fix it? please!!!

Help!

View Replies !    View Related
Prob Loading External Swf In Main Stage. Bugs?
here is the zip with all the files needed: url removed. solved :P

I'm using CS3 and AS2. I never had this problem with flash 8, so I'm not sure if I'm overlooking something new in CS3. anyway, I have my main movie, and I have an empty vid clip that I use to load external swf files into when a user clicks on a button or something. sounds pretty simple, but for some odd reason my external swf doesn't load completely. I have text and an image, both as graphic symbols, and only the text will load. I can't imagine what is causing this. I hope someone has come across this before and knows what i'm doing wrong. I have a feeling this is a bug in CS3, because I find it has trouble loading images that are inside an external swf, despite that swf file if opened alone, will show the images and text.

View Replies !    View Related
For Loop Prob - Loading And Fading External Images
I am trying to get a bunch of external jpgs to fade out one by one using the following code. Unfortunately, I simply can't get my head around where I am going wrong. I can either get the last (ie top) image to fade or all of them at once. I can't figure out how to address them one by one.


If anyone has any suggestions I'd appreciate it. Thanks, code is pasted below.


ActionScript Code:
var maxPics = 9;
loadEmUp();
function loadEmUp(){
for(i=1; i<=maxPics; i++){
newPic = _root.createEmptyMovieClip("m"+i, 10+i);
trace(newPic);
thePic = newPic.loadMovie('images/img'+i+'.jpg');
newPic.ivar=i;
trace(this.newPic.ivar);
fadeAway(this.newPic);
}
}

function fadeAway(thisOne){

onEnterFrame = function(){
if(thisOne._alpha > 0){
thisOne._alpha -=5;
}

}
}

View Replies !    View Related
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'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

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?
can this be done? haven't been able to find any info as of yet.


thx in advance

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 An External Swf
I want to preload an external preloader with a % preloader but it doesnt work can u guys say me how do you do this

Thanks

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
Copyright Đ 2005-08 www.BigResource.com, All rights reserved