...ah ma nel mio caso non è così semplice (almeno per me), entrando più nello specifico il sito di cui sto parlando esattamente è composto da due filmati, uno contenitore e l'altro esterno, ho scelto questa tecnica perchè quello esterno era già fatto, quindi cercare di spostare o unire il tutto sarebbe un casino...
Il filmato contenitore, seguendo qualche tutoria, qualche altra discussione e qualche qualche consiglio, sono riuscito a metterlo in piedi, probabilmente anche con qualche errore, ma funge...in pratica il contenitore non fa altro che darmi lo sfondo, una barra in basso e un oggetto in basso a destra, e questo è il codice:
Codice PHP:
Stage.align = "TL";
Stage.scaleMode = "noScale";
setBackground = function ()
{
_root.bg_mc._width = Stage.width;
_root.centre_y = Math.round(Stage.height / 2);
_root.centre_x = Math.round(Stage.width / 2);
_root.bg_mc._x = _root.centre_x - _root.bg_mc._width / 2;
_root.bg_mc._y = _root.centre_y - _root.bg_mc._height / 2;
_root.bg_bt_mc._width = _root.bg_mc._width;
_root.bg_bt_mc._height = (Stage.height - _root.bg_mc._height) / 2;
_root.bg_bt_mc._x = _root.bg_mc._x;
_root.bg_bt_mc._y = _root.bg_mc._y + _root.bg_mc._height;
_root.bg_tp_mc._width = _root.bg_mc._width;
_root.bg_tp_mc._height = _root.bg_bt_mc._height;
_root.bg_tp_mc._x = _root.bg_mc._x;
_root.bg_tp_mc._y = _root.bg_mc._y - _root.bg_tp_mc._height;
_root.footerBar_mc._y = Stage.height - _root.footerBar_mc._height;
_root.footerBar_mc._width = Stage.width;
_root.footerShadow_mc._width = _root.footerBar_mc._width;
_root.footerShadow_mc._y = _root.footerBar_mc._y;
_root.fineprint_mc._y = Math.round(_root.footerBar_mc._y);
_root.fineprint_mc._x = Math.round(_root.footerBar_mc._x + (_root.footerBar_mc._width / 2 - _root.fineprint_mc._width / 2));
_root.music_mc._x = Math.round(_root.footerBar_mc._width - (_root.music_mc._width - 100));
_root.music_mc._y = Math.round(_root.footerBar_mc._y - 16);
};
stageListener = new Object();
stageListener.onResize = function ()
{
setBackground();
};
Stage.addListener(stageListener);
setBackground();
...beh, ora il mio problema sarebbe quello di riuscire a richiamare anche il filmato esterno (che sarebbe il contenuto del sito vero e proprio) mantendolo sempre al centro...magari si potrebbe aggiungere un altro oggetto (un clip) mantenedolo sempre al centro e da li richiamare l'swf esterno...ho provato, ma non ci sono riuscito!
Come si potrebbe fare?