//
// INITIAL SETTINGS
//
Stage.scaleMode = "noScale";
import mx.transitions.Tween;
import mx.transitions.easing.*;
bg_mc._xscale = 0;
bg_mc._yscale = 0;
bg_mc._alpha = 0;
content_mc._alpha = 0;
//
// OPENING TRANSITION
//
// You can use custom easing types such as: Back, Bounce, Elastic, Regular, Strong, None
showContent = function () {
var tweenBgWidth:Tween = new Tween(bg_mc, "_xscale", Bounce.easeOut, 0, 100, 20, false);
var tweenBgHeight:Tween = new Tween(bg_mc, "_yscale", Bounce.easeOut, 0, 100, 20, false);
var tweenBgAlpha:Tween = new Tween(bg_mc, "_alpha", Strong.easeOut, 0, 100, 20, false);
tweenBgAlpha["onMotionFinished"] = function () {
var tweenContentAlpha:Tween = new Tween(content_mc, "_alpha", Strong.easeOut, 0, 100, 20, false);
};
};
// Once content and XML loaded, start transition
onEnterFrame = function () {
if (content_mc.xmlData.loaded && this._alpha == 100) {
showContent();
_root.preloaderXML_mc._visible = false;
delete onEnterFrame;
}
};
stop();
No se si con esto, me podréis ayudar. esto codificado el xml en encoding="utf-8" probando otras cosas la película no carga bien... la web es http://arfoto.es
A ver si puedo aprender como solucionarlo. Si necesitan saber de algo mas pidiéndomelo...
Gracias de antemano.
Un saludo
