[AS]
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes/1000);
totalkbytes = Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
nextScene();
}
percent = Math.ceil((loadedbytes/totalbytes)*100);//that will give you a percentage
tellTarget("_root.loading") {//needs to be in quotes or it thiks it is a variable
gotoAndStop(percent);//if that relates to the percent you just defined you can write it like that
}
[/AS]
I was wondering the same thing myself, however, I figured I would leave it since it seems they know how to use it, and I didn’t want to explain the other format, lazy me always tring to get out of working.
deprecated means, disapprove of strongly literally speaking, for flash it means it has a newer better way of doing it, and that method will probably be removed in a future release.