Create a Flash preloader using ActionScript |
| Written by AnaS | |
|
1. Start creating a new flash document about 500x300 dimensions. Save it as preloader.fla 2. Insert a new layer. Name the first layer content and the second actions. 3. In the first frame of the content layer do the following:
4.Great! Now go to the second frame of the content layer. Click it to select it, then right-click and choose Insert Keyframe (F6). Insert here the bigest picture you have on the computer: File >> Import >> Import to Stage (Ctrl+R). 5. Now go to the first frame of the actions layer open the Actions panel (F9) an put the following ActionScript code:
stop(); // to stop the play head to this first frame
properties for it
mask_mc.onEnterFrame = function(){ 6. Good job! Now just test your movie (Ctrl+Enter). Hope this tutorial really hepls you improve your flash skills. You need to Register in order to download the FLA file.
written by harun , September 08, 2007
working great. checked.
written by adrian , September 27, 2007
great help 10x
written by larrybn , October 09, 2007
Good tutorial, but things aren't explained that well, it's more like you do this, that, and the other and then this happen, instead of you do this because, and this happens because. Still useful though.
written by colin , October 14, 2007
Everything Keeps Flashing LIke Crazy When I Test It I've tried to redo this two times still happens
written by AnaSt , October 15, 2007
For each layer you should have only two frames. Assure you dont't have somewhere three ore more frames.
written by vishal , December 04, 2007
its not working in flash 8. When i select dynamic text, instance field is no showing.
written by The Ugly Duckling , December 04, 2007
I've done everything you've told me, this is the worst tutorial ever, doesn't work, who ever said it does work is a geek, who edits the code and doesn't even thinks he's edited it. And has no life apart from looking at a computer screen
written by The Beautiful Swan , December 07, 2007
you guys are a bunch of retards. when you export, you have to simulate download.
written by vishal , December 10, 2007
I am talking about the following tutorial. Tutorial : "Create a Flash preloader using ActionScript" Its not working in flash 8. When i select dynamic text, instance field is not showing to me.
written by sarath , December 11, 2007
I would like you to introduct me about some code that use for in flashf because now I'm study flash 8.0 but I don't understand about some code. please tell me more. good by: sarath
written by christu , December 26, 2007
i can't run the above code in macro media flash 8
written by hayley , February 11, 2008
it didnt work...make it easier haha
written by hayley , February 11, 2008
IT DONT WORK !
written by Soona , April 15, 2008
when i click edit button from webform flash should run . 1. webform having a two textbox name of two textbox is (txtwidth, txtheight) 2.This tools should goes to xml and xml goes to flash My concept: i need example for flash image resize in flash . so, i need to implement webform,xml,css,and flash so , pls reply soon.
written by Apollo , June 19, 2008
This doesn't work in Flash Player 10. Way to go!
written by RF , July 15, 2008
how would I emplement that code with this code I am going to put bellow?? I bought a preloader on here that does a cool animation but doesn't have a percent loaded.....I added a new layer and created a dynamic text box and created a var for it to refrence to in the code but it didn't work so now i'm starting at step one....here is the code that was given to me with the preloader... _root.myPercentLoaded = Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);
written by digitallybertypoo , September 09, 2008
"you need to register to download the FLA file" I have registered and could not find the FLA file, I am sorry but I think this is really sad.
written by DanielRo , September 09, 2008
The file is there, you just missed it. After you register, revisit this article and you will find the download link where the register link was placed. And stop being sad
written by fasil , September 25, 2008
it dont wok
written by TESTMAN , February 23, 2009
WOW SUPER COOL Thanks so much.... first preloader that works
written by saathish Kumar , July 07, 2009
Its not WOking Properly
written by gowda , July 21, 2009
hello if i add the loding image in 1sceane and banner animation in 2scene how to stop the loding image after banner comes.it will play second times also please help me i need to add to my work actually iam working please help me
written by James B , July 31, 2009
why spend so long being detailed about the simple first steps, then stumble into a jumbled mess at the end?
written by ardavanskii , August 22, 2009
Best goddamn preloader i have found on the internet! I have searched for 2 days straight, finally one that works! Thanks mate!
written by i00_000i , August 30, 2009
A brilliant preloader tutorial. worked perfectly for me the only problem was the author forgot 2 comment the third line which causes the debugger to show 3 errors. just comment it and it works. a copy of commented line is shown below(the last Line shld b commented) stop(); // to stop the play head to this first frame // create a new MovieClip for displaying for being mask for the //the preloader and set some //properties for it Do you need more help? Ask now!
|
|
| Last Updated ( Saturday, 29 March 2008 ) |