Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: 00 -- Data from another level -- 00
From: packinfos
Date: Wed, 3 Jan 2001 11:17:38 GMT

Hello,
I have done a percent loaded movie, and I would like to convert this animation to a Smartmovie loader, andd if it's possible, get the percent property loaded from another movie.

I have two text variable,
AVAR for the frame to be loaded, from the root movie or external movie
BVAR for the target frame to go if the frame is loaded

How must I modify this actionscript to make it go ?
// two variable are here with AVAR, & BVAR
ifFrameLoaded ("AVAR") {
gotoAndStop ("BVAR");
}
bytes = int(_root.getBytesLoaded()/1024) add "KB";
A = ((_root.getBytesLoaded()/_root.getBytesTotal())*100);
percent = int(A) add "%";
setProperty ("bar", _xscale, A);

Than you for your Tips

Laurent


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]