root
_
| clipimmagine
| azione:
| onClipEvent (load) {
| var loaded = Math.round(_root.getBytesLoaded
| ()/_root.getBytesTotal()*100);
| this._alpha = loaded;
| }
-
_
| cliptesto
| azione:
| onClipEvent (enterFrame) {
| var loaded = Math.round(_root.getBytesLoaded
| ()/_root.getBytesTotal()*100);
| loading = 'LOADED '+loaded+' %';
| if (loaded == 100 && _parent.has_loaded) {
| play();
| }
| }
-