Actionscript: Dynamically create empty movie clip within a scroll pane, attach JPEG to that dynamically created movie clip
Posted on 2004-03-24
I have a scrollpane. I have many images I want to put in the scrollpane as thumbnails. They need to be movie clips because I need to do stuff with them when the user clicks on them. Like fades, alpha stuff, scaling, load another instance of that dynamically created movie clip into a different movie clip, etc.
So - can someone provide some example code of how to:
1 - Dynamically create a empty movie clip ("within" my scrollpane)
2 - Insert a JPEG into that dynamically created movie clip (from disk or URL, using loadmovie)
I would appreciate it if you could be very specific as well - but beggars can't be choosers. Thanks in advance.