# FMX - problem playing transition MC on preloader

**URL:** <https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366>\
**Category:** flash\
**Created:** [August 1, 2003, 3:50pm UTC](https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366 "2003-08-01T15:50:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagunco](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jagunco](https://forum.kirupa.com/u/jagunco)\
**Post date:** [August 1, 2003, 3:50pm UTC](https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366/1 "2003-08-01T15:50:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 1, 2003, 4:37pm UTC](https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366/2 "2003-08-01T16:37:17Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 1, 2003, 7:46pm UTC](https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366/3 "2003-08-01T19:46:21Z")

</div>

Can you bee more specific?

:)))))

jagunco boy

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 2:29am UTC](https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366/4 "2003-08-02T02:29:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 11:12am UTC](https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366/5 "2003-08-02T11:12:58Z")

</div>

Glad it works 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2003, 5:47pm UTC](https://forum.kirupa.com/t/fmx-problem-playing-transition-mc-on-preloader/27366/6 "2003-08-04T17:47:03Z")

</div>

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
