|
|
 |
RE: FN-FORUM flash
date posted 1st October 2002 16:10
This is just one method:
Place dynamic text field in frame, on main stage with 'txtPercentage'
written in 'var' field.
On main stage, first frame you place 2 movie clips. First one, given
instance name 'loader' and create a load bar animation 100 frames in
length. Second one, containing two frames, the first with the following
action script:
_root.txtPercentage = "status:" add
Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100) add "%";
tellTarget (_root.loader) {
gotoAndPlay(Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*10
0));
}
the second with the following code:
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
tellTarget (_root) {
gotoAndPlay("main");
}
stop();
} else {
gotoAndPlay (1);
}
Finally, insert new layer in timeline on main stage, and insert key
frame on second frame and insert flag/frame label called 'main'
Insert rest of movie from second frame onwards.
Hope this answers your question.
Cheers
Kai
www.monolith.com
-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] On Behalf Of Thomas Web
Design
Sent: 01 October 2002 14:38
To: Freelancers
Subject: FN-FORUM flash
Stupid question you're gonna say but how do you make a movie fully load
before starting to play?
Best Regards
D Thomas
-----------------------------------------------------------------
Web: http://www.twdmedia.com
Mail: [EMAIL REMOVED]
Tel / Fax: 07092 308437
-----------------------------------------------------------------
============================================================
= Advanced web hosting solutions from Saffas. =
= Unix, PHP, mySQL, SSL, Perl, Control Panel, 24/7 access. =
= Why pay more for less? http://www.saffas.com =
============================================================
Sponsor the forum for as little as £1 at:
http://www.freelancers.net/cgi/sponsor.cgi?action=show
Advertise with Freelancers.net +Additions+
http://www.freelancers.net/advert.php
Freelancers and Freelance Jobs:
http://www.freelancers.net
Forum FAQs:
http://freelancers.netrickery.com
To unsubscribe please email:
[EMAIL REMOVED]
If you have difficulties unsubscribing please email:
[EMAIL REMOVED]
|
 |
|