Hello to all...
I have finaly finished my little project : a component for loading
jpg/swf with configurable preload, transitions, forced dimentions, ...
My global TransitionManager never worked correctly (just for fading
transitions) and I had to reconfigure my functions to generate a new
TransitionManager with listener each time when loading or unloading an
external file.
To polish up my work, I would like to install my little component....
can someone point to me a good article on how to package it for
installation on both MAC and PC?
Thanks a million.
Éric Thibault wrote:
Hi all!
I have a little bug with the transitions class!
I want to be notified when IN and OUT transitions are done so I
instanciate my transition manager as follow at the beggining of my
script:
import mx.transitions.*;
import mx.transitions.easing.*;
var myTransitionManager:TransitionManager = new
TransitionManager(clip1_mc);
myListenerTransition.allTransitionsOutDone = function(eventObj:Object) {
trace("allTransitionsOutDone");
//other important code...
}
myListenerTransition.allTransitionsInDone = function(eventObj:Object) {
trace("allTransitionsInDone");
//other important code...
}
myTransitionManager.addEventListener("allTransitionsOutDone",myListenerTransition);
myTransitionManager.addEventListener("allTransitionsInDone",myListenerTransition);
//--------------------------------------------------------------------------------------------
On a button, I call a function to activate a particular transition :
myTransitionManager.startTransition({type:Fade,
direction:Transition.IN, duration:2, easing:None.easeNone});
And at the end my listener outputs my message : Everything works OK
for now!
My problem is if I change the transition type... no transition occurs
(my movieclip is no more visible) but at the end my listener outputs
OK!?!
It seems that I can only use basic transitions, no Fly, Iris, Photo,
Zoom or PixelDissolve works...
If I use a new transition manager inside my function, the new
transition works fine but my listener is never called!
like : mx.transitions.TransitionManager.start(clip1_mc,
{type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN,
duration:1, easing:mx.transitions.easing.Bounce.easeOut});
How can I have the best of both worlds : any transition types and
listener objects?
(I to Flash 8 actionscript 2 on a winXP PC.)
Thanks a million!
--
===============================================================
Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]
===============================================================
Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders