# FMX04 onClipEvent (data) Pleaes HELP

**URL:** <https://forum.kirupa.com/t/fmx04-onclipevent-data-pleaes-help/62851>\
**Category:** Uncategorized\
**Created:** [August 31, 2004, 9:26pm UTC](https://forum.kirupa.com/t/fmx04-onclipevent-data-pleaes-help/62851 "2004-08-31T21:26:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![icekomo](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Post date:** [August 31, 2004, 9:26pm UTC](https://forum.kirupa.com/t/fmx04-onclipevent-data-pleaes-help/62851/1 "2004-08-31T21:26:56Z")

</div>

I have a scene (porsche) in which I have a movieclip instances (p\_movie\_link) that I use to call an external swf file (porsche\_movie.swf) into it. I want my scene timeline (porsche) to pause at the frame that the external movie clip(porsche\_movie.swf) is called into the scene (porsche) until that external movie (porsche\_movie) is loaded, then I want my main scene time line (porsche) to play. I have been working on this for the better part of the day and I am no further along now then I was 5 hours ago, if someone could point me in a directon as to where I could find some help on this topic, I would be very greatful!!!

---

<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:** [September 1, 2004, 4:11am UTC](https://forum.kirupa.com/t/fmx04-onclipevent-data-pleaes-help/62851/2 "2004-09-01T04:11:06Z")

</div>

frame 1-10 ( do anything )  
frame 11 ( \_root.oMovie.loadMovie(“dddd.swf”); )  
frame 13 ( if(\_root.oMovie.bytes \< total bytes etc) go back to **frame 12** )  
frame 14-25 ( do anything )

sometimes .bytes and total bytes are less than 0 or -1 so watchout for that

---

<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:** [September 1, 2004, 4:11am UTC](https://forum.kirupa.com/t/fmx04-onclipevent-data-pleaes-help/62851/3 "2004-09-01T04:11:33Z")

</div>

hmm…

there’s multiple ways to do that… the easiest is to put a stop action after whatever code you use to load the external .swf and then give the next frame (in your main movie) a frame label like “continue.” Then tell your main timeline to go to “continue” from within that loaded external .swf. something like:

\_root.gotoandplay(“continue”);

you could build that into your preloader on your external .swf or just put it on a frame.

otherwise check out preloaders, onload functions, etc. (kirupa is great and also [actionscript.org](http://actionscript.org) has great tutes)

hope that helps you!
