|
-
very simple preload
Hi all,
For the first time I'm working on a flashproject that's more than 200kb ,now I'll need a preload.Problem is that I don't know anything of actionscripting ,could you guys tell me how I can do this the most simple way.It should not be anything special just "Loading..." would have to appear.
Thanks
-
Add a scene naming "Loading" and put this code at the first frame of the time line. Then Place a Text "Loading Site" on the stage. Put your animation on the next scene.
--------------------------------------------------------------
stop();
this.onEnterFrame = function() {
if (_root.getBytesLoaded()==_root.getBytesTotal()) {
play();
}
};
--------------------------------------------------------------
Discovering Logic & Order

-
FK's Giant
You don't need the _root.onEnterFrame.
code: if(_root._framesloaded==_root._totalframes){
_root.gotoAndStop("content") //frame label
}
The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...
-
the flashmovie is not yet ready,but I have added the preload already,does that mather?
When I start the movie I see the loading thing like 1 second , is that because I have a fast internet connection or is there something rang?
http://www.stw.be/stwflash.html
-
FK's Giant
Must be a fast connection, as I wait a minute or so before it plays. But it works!
The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...
-
Originally posted by Steve_w_V
Must be a fast connection, as I wait a minute or so before it plays. But it works!
Great!Thanks to all of you!
-
Spartan Mop Warrior
Yep, it works fine.
Took less than 5 seconds to download for me on a 1MB ADSL connection.
Steve, are you on dial-up?
If not you might wanna call your isp and have them check your line for trouble.
You can go to www.toast.net and run their free performance test to gauge your data tranfer rate.
::
"Just go make web and stfu already." - jAQUAN
"Twitter is a public display of verbal diarrhea that comes out in small squirts." - Gerbick
-
clear your cache to see true-download times..otherwise you're viewing a temp file...so no download time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|