Fern2
asked on
Scrollpane with movieclips
Hi
I gotta realy hard time getting this to work correctly. Im trying to make a movieclip and then attach movieclips to it and then load it into a scrollpane so I can scroll it. But Im not getting this to work.
This is my script
clip1 and clip2 are rectangles in my library.
--------------------------
my_mc = _root.createEmptyMovieClip ("my_mc1", 20);
temp = my_mc.attachMovie("clip1", "clip1", 1, {_y:0});
temp2 = my_mc.attachMovie("clip2", "clip2", 2, {_y:18});
mypane.content= "my_mc";
--------------------------
mypane is a scrollpane on my stage.
What happens is that the my_mc clip loads onto the stage but it isnt in the scrollpane. Thats the problem.
Please somebody :(
I gotta realy hard time getting this to work correctly. Im trying to make a movieclip and then attach movieclips to it and then load it into a scrollpane so I can scroll it. But Im not getting this to work.
This is my script
clip1 and clip2 are rectangles in my library.
--------------------------
my_mc = _root.createEmptyMovieClip
temp = my_mc.attachMovie("clip1",
temp2 = my_mc.attachMovie("clip2",
mypane.content= "my_mc";
--------------------------
mypane is a scrollpane on my stage.
What happens is that the my_mc clip loads onto the stage but it isnt in the scrollpane. Thats the problem.
Please somebody :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER