# Complicated question (imo)! :D

**URL:** <https://forum.kirupa.com/t/complicated-question-imo-d/38935>\
**Category:** Uncategorized\
**Created:** [January 1, 2004, 4:07am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935 "2004-01-01T04:07:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![cartoonfox](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cartoonfox](https://forum.kirupa.com/u/cartoonfox)\
**Post date:** [January 1, 2004, 4:07am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/1 "2004-01-01T04:07:57Z")

</div>

hi, heres an explanation of what i want.

i have a frame with a movieclip. this movieclip is 15 frames long. what i want is an external swf to be loaded. the code is on a different layer of the same frame. but i dont want to load it untill the movieclip has reached frame 15. but i cant simply put the code at the end of the movieclip because i’m using the same transition for other frames, but loading different swf’s. and i dont want to make like 10 versions of the same movieclip just to change the code at the end.  
is there anyway of loading something once a movieclip has ended/reached a certain frame, but from the root frame?

if it doesnt make sense, i’ll try to explain more.

so i’m looking for something like… umm…

[non-actionscript talk!][color=red]once movieclip “transition” has reached frame (15)[/color]  
load external movie “movie.swf”[/non-actionscript talk!]

i know the code for loading the swf. i just need the code in [color=red]red[/color]

thanks for any help.

---

<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:** [January 1, 2004, 6:03am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/2 "2004-01-01T06:03:52Z")

</div>

give us your fla then 😉

---

<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:** [January 1, 2004, 6:08am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/3 "2004-01-01T06:08:22Z")

</div>

the fla is too big. and my host is down.

basically, i want a frame action to load an external swf (that i can do) but i want it to be delayed. all on one frame.

can it be done?

---

<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:** [January 1, 2004, 7:29am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/4 "2004-01-01T07:29:12Z")

</div>

Like this maybe???

Go to the “actions” layer and look at where you can add the swf you wanna load in.

hope this helps

---

<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:** [January 1, 2004, 7:49am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/5 "2004-01-01T07:49:32Z")

</div>

thanks. someone at flash kit just helped me too.

your fla has an error in it. everytime i test it says undefined, repeated.

thanks again though.

---

<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:** [January 1, 2004, 8:06am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/6 "2004-01-01T08:06:43Z")

</div>

it says undefined cos u need to specify the clip you need to load in…

---

<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:** [January 1, 2004, 8:12am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/7 "2004-01-01T08:12:30Z")

</div>

i did.

it loaded the movieclip, but still had the undefined error.

---

<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:** [January 1, 2004, 10:33am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/8 "2004-01-01T10:33:28Z")

</div>

I modified hga77’s sample a little and it’s working now

scotty(-:

---

<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:** [January 1, 2004, 10:51am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/9 "2004-01-01T10:51:45Z")

</div>

Nothing, I just simplified it a bit.  
The “undefined” message comes, because you define your variable in frame 15 of the clip.  
If you put “\_global.frame = 0” in the first frame of your movie (I also forgot that one:-\ ) you get rid of the “undefined”.  
I didn’t test it with swf’s, what’s acting funny?

scotty(-:

---

<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:** [January 1, 2004, 11:03am UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/10 "2004-01-01T11:03:38Z")

</div>

i dunno…cartoonfox was saying there’s an error or something!

When I tested it, it was fine! Apart from a single swf that just did’nt want to load. dunno why!!! It works on the others.

thanks anyway scotty

---

<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:** [January 1, 2004, 12:14pm UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/11 "2004-01-01T12:14:14Z")

</div>

No problem  
We just wait till cartoonfox is awake;)

scotty(-:

---

<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:** [January 1, 2004, 12:21pm UTC](https://forum.kirupa.com/t/complicated-question-imo-d/38935/12 "2004-01-01T12:21:49Z")

</div>

Yeah…he might be having nightmares about this error anytime now :hr:

PS. cartoonfox, just wanna say, when you wake up and read this, im only kiddin :sleep: 😉
