-
AS3 preloader...
is it possible to somehow use an AS3 preloader with an AS2 site?
i have this from a tutorial but don't know how to do it in AS2
stop();
mask_mc._height = 1;
this.onEnterFrame = function():Void {
var loadedData:Number = this.getBytesLoaded();
var allData:Number = this.getBytesTotal();
var percent:Number = Math.round(loadedData/allData*100);
mask_mc._yscale = percent;
if (loadedData>=allData) {
gotoAndStop(10);
delete this.onEnterFrame;
}
};
Many thanks!
-
Dignitary
-
thanks rynoe, but i already have the preloader sorted. just struggling to use it with my already completed AS2 site.
any ideas?
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
|