View Single Post
Old 05-16-2007   #1 (permalink)
unleash
Just unleashed!
 
unleash's Avatar
 
Join Date: Jul 2005
Location: Inbetween
Posts: 2,210
Blog Entries: 9

movieclip problem...

well, don't really know how to do this....

I want three pictures to load inside an empty movieclip called "container"
now I know how to make the whole thing(the buttons, the movieclip) but I don't know how i can position the empty movieclip, and how I can make the images fit exactly into the empty movieclip......

well this should be the size and the coordinates,
width=350
hieght=350
x=101.1
y=5.9

the code::
Quote:
this.createEmptyMovieClip("container","100);
my_mc = new MovieClipLoader();
BTN1.onPress = function() {
my_mc.loadClip("picture1.jpg", "container");
};
BTN2.onPress = function() {
my_mc.loadClip("picture2.jpg", "container");
};
BTN3.onPress = function() {
my_mc.loadClip("picture3.jpg", "container");
};
so maybe you can help me out??
__________________
"I haven't failed, I've just found out
10.000 ways that don't work."

~Thomas Edison~
unleash is offline