I am using a template that was written in flash 6 and am
trying to add extra functionality that requires it to be published
in flash 8.
When I try this it reports an error in the preloader code.
Here it is:
t = this.getBytesTotal();
l = this.getBytesLoaded();
p = l/t*100;
_root.PreLoaderBar.PercentL = String(int(p)) add " % "; ***
this line is reported as garbage***
Stage.scaleMode = "noScale";
I tried changing the "add" to a "+" which reported no errors
but then the mc wouldn't load.
Any help would be much appreciated,
after changing add to +, you must search for other issues.
variable/object misspellings (case counts) and failure to
initialize a variable that's then later incremented or decremented
are the 2 most common issues.