I don't think you could use createEmptyMovieClip to create your mc and then get it to appear in scrollPane.  But you could have a movieClip in your library with code (an AS2 Class would be the best way if your familiar with that approach) to do whatever you need and use that as your scrollPane content.  That's worked for me in the past.
 
Bill Lane
 

>>> [EMAIL PROTECTED] 05/23/05 9:41 am >>>

Thanks for your reply bill,

But I’m building a movie clip at runtime, and I want to load that into the scroll pane.  Is that possible?

Cheers

b

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Lane
Sent: Monday, 23 May 2005 9:19 AM
To: Flash Developers List
Subject: [fugli] Re: Scroll Pane

 

To load mc's at runtime you set the scrollpane's contentPath.  It
accepts the url of a swf or jpeg OR the liinkage_ID of a mc.

sp1.contentPath = "test_mc";

Bill Lane

>>> [EMAIL PROTECTED] 05/23/05 9:06 am >>>

Hey all,

 

I have a movie clip that I create on the fly that I need to be able to scroll as it may contain a large number of rows.

Using the scroll pane UI component would be ideal for this, if I could load the dynamically built movie into it.

 

Does anyone know if this can be done?  Or is there any other way I could do this?

 

Cheers

ben

 

 

 

---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ ---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ ---
You are currently subscribed to fugli as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to