Comunidad de diseño web y desarrollo en internet online

mx.transitions - doesn't work when moveiclip is loaded into

Citar            
MensajeEscrito el 23 Jun 2008 08:25 am
// container_mc movie contains following

_root.createEmptyMovieClip("container_mc2", 1);
loadMovie("menu_load.swf",_root.container_mc2);

//the menu_load contains following on one of its buttons

on (release) {
_root.soundBG.stop();
_root.container_mc2.loadMovie("megascreen.swf");
}

// megascreen movie has the code for the lovely transition effect:

onClipEvent(enterFrame){
this.onMouseDown = function(){
if(this.hitTest(_root.mimo)) {
//trace("yeah");
mx.transitions.TransitionManager.start(_root.dogmc, {type:mx.transitions.Zoom, direction:0, duration:2, easing:mx.transitions.easing.Elastic.easeOut, param1:empty, param2:empty});
}
}
}

BUT the transition effect only works when the megascreen movie is on its own and NEVER works when loaded into the other movies???

Por codeBeast

5 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 23 Jun 2008 10:11 am
El foro es en español, no veo motivo para postear en inglés, sobre todo teniendo en cuenta la cantidad de foros que hay en ese idioma. Luego me molesta dos cosas que suelen pasar con esto:

- La gente entra a contestar a saco para lucirse con su mejor o peor inglés
- Aparecen posteadores en inglés que saben que de esa forma llaman más la atención

Prueben a postear en español en ultrashock.com o actionscript.org

Dicho esto (opinión personal del escriba, desconozco la política del foro al respecto) y para no solo polemizar, te diría que pruebes importando las clases del paquete Transitions en la peli principal

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.