PDA

View Full Version : Preloader



Saddu
August 20th, 2007, 06:01 AM
Hi all ..

I want to do a preloader for my SWF , am loading the SWF from the html file , when it loads its showing empty white space , i want to add a preloader to show the amount of the SWF loaded , how can i do this ???

Thanks i Advance ,
Saddu.

Saddu
August 20th, 2007, 07:11 AM
????

onion
August 20th, 2007, 07:59 AM
There are loads and loads of tutorials for this, I just searched google for "flash preloader" and here are a few good ones.

http://smartwebby.com/Flash/Flash_simple_preloader.asp
http://www.webwasp.co.uk/tutorials/preloaders/index.php
http://www.flashperfection.com/tutorials/Flash-Preloader-80890.html
http://www.bestflashanimationsite.com/tutorials/3/

Saddu
August 20th, 2007, 09:12 AM
Thanks Much for the help Onion..i will go through it.

Saddu
August 22nd, 2007, 02:17 AM
Hi Onion , i tried with the help of the tutorials you sent , it works fine , but a small problem is there , after 50% completion of loading only its showing up the preloader , before that blank white screen is coming , how can i make it to show from 0% .

Thanks,
Saddu.

lint_faery
August 22nd, 2007, 03:08 AM
You need to change your actionscript settings.
Go into Publish Settings>Flash>ActionScript Version. Pick AS2, and then go into the 'settings' button next to it. Change the 'export frame for classes' setting to 2.
That should fix it.
:pir:

Saddu
August 22nd, 2007, 04:21 AM
Hi lint_faery,
Thanks for your quick reply ,

I tried like as u said , i changed the 'export frame for classes' to 2 , and in the library for all the components in their linkage property i unchecked the export in first frame also , but still the same result , it shows only after 50% loading is complete , what is the problem , please help me ......

Thanks,
Saddu.

Saddu
August 22nd, 2007, 08:54 AM
???????

Zhet
August 22nd, 2007, 09:15 AM
post your fla and html files and i'll fix the preloader;)

Saddu
August 22nd, 2007, 09:20 AM
Am sorry Zhet , i cant post it without my boss permission , can u tell any idea to make it to work?

Thanks,
Saddu.

Zhet
August 22nd, 2007, 09:50 AM
Well, just about anything!:) It's hard to tell, the mistake could be very simple like if you would use a registered word for a variable or something very hard.

PS: if you don't trust us here how can you ask us for help? I'm sorry, but i just can't possibly help you without looking at the files.

snozbunny
September 8th, 2007, 05:35 PM
He's right. The preloader shouldn't just start at 50% unless you've missed a library item or the code is wonkey. If it's not possible to post it you could always place the preloader in a seperate file then call on the actual content from the preloader. That way you can tell if it's your code or something you missed. (not to mention if that works you can always keep it that way)

Cheers.