Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

duplicate movieclip in scroll pane

Status
Not open for further replies.

tilotama

Programmer
Aug 24, 2001
25
MY
i have created a movieclip called 'Mov', & displayed it inside a scrollpane.

The movieclip 'Mov' contains another movieclip named 'hotspot'. I would like to duplicate more of those 'hotspot' movieclips into 'Mov', hence display it inside the scrollpane.

Is that possible? If so, how?

Your help is very very much appreciated... tq berry much!
 
yes, it is possible
here's how using the flash 7 scrollpane:
Code:
depth = 1;
my_sp.content.hotspot.duplicateMovieClip("new"+depth, depth++, {_x:depth*40});
my_sp.content.hotspot.duplicateMovieClip("new"+depth, depth++, {_x:depth*40});
my_sp.content.hotspot.duplicateMovieClip("new"+depth, depth++, {_x:depth*40});

Philip Keiter
Senior Flash Software Developer
Sphyrras
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top