# attachMovie(): how the hell do i use the fourth parameter

**URL:** <https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383>\
**Category:** flash\
**Created:** [October 5, 2002, 11:25pm UTC](https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383 "2002-10-05T23:25:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![huevodelata](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@huevodelata](https://forum.kirupa.com/u/huevodelata)\
**Post date:** [October 5, 2002, 11:25pm UTC](https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383/1 "2002-10-05T23:25:19Z")

</div>

hi, everybody  
i’m brand new at this forum, but i saw the quality of the threads and… i’m here.  
well the quiz is this: how do i use the fourth parameter of the attachMovie method (or function or whatever it’s name is)?  
coz i need to attach a movie into the stage, but it has parameters (it’s a component); so the deal is i attach the movie and set parameters to this new instance. How do i do that?

thanks, and i hope somebody has the answer.

---

<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:** [October 5, 2002, 11:41pm UTC](https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383/2 "2002-10-05T23:41:01Z")

</div>

If you’re talking about the initObject, there’s an explanation in the AS tricks.

pom 🙂

---

<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:** [October 5, 2002, 11:56pm UTC](https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383/3 "2002-10-05T23:56:32Z")

</div>

I’ve looked there and couldn’t find how tu use the initObject  
all i need is an example, for sintaxis purposes…

thanks

---

<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:** [October 6, 2002, 12:04am UTC](https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383/4 "2002-10-06T00:04:12Z")

</div>

Hmm… you’re right. But I’m sure I have written something about that… I must have forgotten to send it :-\

Anyway, that’s how you are supposed to use it:

```auto
this.attachMovie("linkName","newName",level,{_x:100,_yscale:200,onPress:starDrag});

```

I WILL put something about that in the AS tricks soon 🙂

pom :cowboy:

---

<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:** [October 6, 2002, 12:05am UTC](https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383/5 "2002-10-06T00:05:38Z")

</div>

OK, I’ve checked: I have written it, but never sent… :elderly:

---

<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:** [October 6, 2002, 12:17am UTC](https://forum.kirupa.com/t/attachmovie-how-the-hell-do-i-use-the-fourth-parameter/6383/6 "2002-10-06T00:17:52Z")

</div>

thanks, it works perfectly

cya
