stillhanginon
Programmer
Hi, I'm using Flash MX and here is what I'm tring to do,
I have a movie clip on stage:
picture_mc
I want to load a jpg from a file into it:
picture_mc.loadMovie("images/0.jpg");
Then I want to click on the loaded mc and duplicate it:
picture_mc.onMouseDown = function() {
picture_mc.duplicateMovieClip("duplicate_mc",1);
Lastly, click on the duplicated mc and move it:
duplicate_mc.onMouseDown = function() {
startDrag("root.duplicate_mc")
}
I'm able to load the jpg into the picture_mc, but once it is loaded I'm not able to do anything with it. Can anyone point me in the right direction? Thanks a lot.
Jim
I have a movie clip on stage:
picture_mc
I want to load a jpg from a file into it:
picture_mc.loadMovie("images/0.jpg");
Then I want to click on the loaded mc and duplicate it:
picture_mc.onMouseDown = function() {
picture_mc.duplicateMovieClip("duplicate_mc",1);
Lastly, click on the duplicated mc and move it:
duplicate_mc.onMouseDown = function() {
startDrag("root.duplicate_mc")
}
I'm able to load the jpg into the picture_mc, but once it is loaded I'm not able to do anything with it. Can anyone point me in the right direction? Thanks a lot.
Jim