View Full Version : Can i createEmptyMovieClip in a scrollpane
03-03-2006, 10:57 AM
Im using createEmptyMovieClip to create a blank canvas which im drawing into, but would like to put it into a scrollpane so i can scroll it round rather than being attached to the main layer.
03-03-2006, 11:06 AM
did you try that:
scrollPane_mc is the instance name of your scroll pane
03-03-2006, 11:33 AM
if you are using...flash mx's component you can get the container mc of the scrollpane by
trace (myscoll.getScrollContent) // may retunr tempmc
// myscroll is the instance name of the
and then you can do something like
new_mc = myscoll.getScrollContent()
// draw your things
if you are using v2 component then
make a swf and then load it in the scrollpane
// I may be wrong..
03-06-2006, 08:06 AM
I tried both these but unfortunately, no Joy!
The getScrollContent() method isnt supported on my version (2004).
I have just upgraded to 2004 and have lost functionailty now. There used to be scrollbar controls that you could just attach but now there seems only the scrollpane control but i see no way of putting things into it.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.