• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

$5 paypal for flash help

car3

Member
Hi, I followed this tutorial to create this preloader. If you can see it has 2 problems:

1. The bar moves from the middle and not from left to right.

2. The bar extends past its border.

get the fla here

thanks,
Jeff
 
hi, i'm pretty sure i had the rp set to the left side

I couldn't open your fla, can you export that as a Flash 5 fla?
 
i cant actually...flash mx 2004 only saves as MX files 🙁

but here is the code that needed to be changed:

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.bar._width = (getPercent) *80; // take percentage loaded and multiple by total width of bar
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

apart from that the only difference was chaging the registration point of the "bar" (open the movieclip from the library and move the bar so that its left hand edge touches the + symbol for the center of the stage)
 
Back
Top