dopo alcuni tentativi mi sono accorto che non è un'errore del codice di caricamento dell'swf nella pagina html ma è il preloader che mi inchioda completametne l'swf.
strano perchè ha funzionato perfettamente fino a questa mattina.
posto il codice del preloader che ho usato
Codice PHP:
onFrame (10,afterPlacedObjectEvents) {
percentLoaded = _root.getPercentLoaded();
loadedBytes = _root.getBytesLoaded();
totalBytes = _root.getBytesTotal();
loadedKB = Math.round(loadedBytes / 1024);
totalKB = Math.round(totalBytes / 1024);
loader.loaderbar._xscale = percentLoaded;
percent_output = percentLoaded add " %";
bytes_output = loadedKB add " KB of " add totalKB add " KB";
if (loadedKB >= totalKB) {
gotoSceneAndPlay("<current scene>",12);
}
}
onFrame (11,afterPlacedObjectEvents) {
skipFrameAndPlay(-3);
}
onFrame (23) {
gotoSceneAndPlay("Scene_1",1);
}
qualcuno sa dirmi che cosa non va più bene in questo script che il flash player 9 non digerisce?