ciao a tutti i geniacci!!!
ho un problema fastidioso.
tenete presente che sono un profano e magari il mio problema è una baggianata!!!!
mi spiego:
ho realizzato un effetto di movimento al passaggio del mouse usando il seguente codice assegnato al frame:
meta = Stage.width/2;
max = Stage.width;
min = 0;
velocita = 30;
duplicateMovieClip(_root.a, "b", 1);
this.onEnterFrame = function() {
x = _root._xmouse-meta;
if (x != 0) {
_root.a._x = _root.a._x-x/velocita;
_root.b._x = _root.b._x-x/velocita;
}
if (_root.a._x<min+_root.a._width/2) {
_root.b._x = _root.a._x+_root.a._width;
}
if (_root.b._x<min+_root.a._width/2) {
_root.a._x = _root.b._x+_root.b._width;
}
if (_root.a._x>max-_root.a._width/2) {
_root.b._x = _root.a._x-_root.a._width;
}
if (_root.b._x>max-_root.a._width/2) {
_root.a._x = _root.b._x-_root.b._width;
}
};
tutto funziona perfettamente ma vengo al dunque:
una volta esportato il filmato swf ho tentato di caricarlo
in un clip vuoto di una altro fla ma quello che ottengo è un movimento "lampeggiante" dell'oggetto in questione.
come mai?
grazie anticipatamente a tutti