# attachMovie & loadMovie

**URL:** <https://forum.kirupa.com/t/attachmovie-loadmovie/199191>\
**Category:** flash\
**Created:** [August 31, 2006, 5:22pm UTC](https://forum.kirupa.com/t/attachmovie-loadmovie/199191 "2006-08-31T17:22:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbailey](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jbailey/32/2380_2.png) [@jbailey](https://forum.kirupa.com/u/jbailey)\
**Post date:** [August 31, 2006, 5:22pm UTC](https://forum.kirupa.com/t/attachmovie-loadmovie/199191/1 "2006-08-31T17:22:14Z")

</div>

Flashers (scripters),

I am using the dragslidefade class (can’t find the original URL, but if you want I can post the class). I want to be able to attach a movie and the use the class. Here’s what’s going on:

holder is in my library and linkage set to “holder”

```auto

MC.attachMovie("holder", "holder"+i, z, {_y:10+(150*int(z/4)), _x:(120*(z%4));

```

As you can tell, I’m using this method in order to make MCs dynamically in accordance with the amount of images in a mySQL database.

Now the class I’m using loads images this way

```auto

import com.dragslidefade.*;
var imageLimit:Image = new Image(nameofthemcwithlimits,1);

imageLimit.loadImage("products/photos/"+this.data.Image,true,false,true);

```

How do I get the attachMovie to use the class when loading the image?
