Skip to main content
Inspiring
May 23, 2012
Answered

dynamicMovieClip into a SP

  • May 23, 2012
  • 1 reply
  • 3201 views

I've got a movieClip on stage. (StudentsAttendance_mc) This clip keeps on updating untill frame 10, then in frame 11 I need this movieclip to be seen inside a scrollPane. How do I do this?

I tried creating a empty movieclip (temp_mc) with a linkageID and then used duplicateMovieClip inside temp_mc to see if I can create a duplicate of it and send it to the ScrollPane using contentPath - but no success

This topic has been closed for replies.
Correct answer kglad

you can't reparent objects in as2 so you'll either need to use as3 or fake it (eg, add a copy of your movieclip to your scrollpane)

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
May 23, 2012

you can't reparent objects in as2 so you'll either need to use as3 or fake it (eg, add a copy of your movieclip to your scrollpane)

Inspiring
May 23, 2012

Thanks for your reply.

Do you mean to use duplcateMovieClip() to create a copy? But still you'd need a linkage ID to attach it to a scrollPane?

kglad
Community Expert
Community Expert
May 23, 2012

assign your on-stage movieclip a linkage id.