I want to make a little flash application which is just about filling a box with a default picture, size 10x10. What I want is, when a user draw a box with mouse, to fill this box with default picture.
On this movieClip craete 2 empty MovieClips. When you make the movieClips you need to specify the depth. It’s important that the highest level is the box and the lowest level is the picture! You could even call the movieClips ‘box’ and ‘picture’! :hugegrin:
In your ‘box’ movieClip you draw your box (In response to your user).
And then, in your picture movieClip, you import your picture. Use loadMovie to load a Jpeg into the picture movieClip.
Having said all that, if your box is always going to be 10x10 you could always have a movieClip in the Library and just load it from the library.