FMX - problem playing transition MC on preloader

hi can please someone look at my code and say to me what I´m doing wrong

my question is why the transition animation sosen´t work on this code

thanks
i already read the tutorial at kirupa, but i´m using diffrent code

It wont work because you’ve made alot of mistakes on the code.
On the preload function, you are setting the transition to play its closing and opening animation at the wrong time.
And if you want to add a transition to the code, you should use a variable to tell which movie to load, the same way i did on the tutorial.
And instead of[AS]theClip._framesloaded>0 && theClip._framesloaded == theClip._totalframes[/AS]Use[AS]theClip.getBytesLoaded>0 && theClip.getBytesLoaded== theClip.getBytesTotal[/AS]

Can you bee more specific?

:)))))

jagunco boy

I used your code and i put a preloader on it, it works fine

Glad it works :slight_smile:

can you please put me in the direction to change the preloader for a level preloader and not as it is to a mc.

I prefer working whit levels

thsnks

jagunço BOY