View Full Version : create movieclip into a scroll pane
pixelwhore
04-29-2004, 04:58 PM
I'm new to this component stuff and the help in flash is pretty useless basically I have a scroll pane on the stage the scroll pane is called pane (clever!) and its content is called myContent (wethere it needs a name or not I dunno)
I basically want to create a bunch of movieclips inside the pane.
I need to know how to target it and then I guess from searching and reading I need to refresh teh pane so it gets its scollers etc...
any help would be great.
thanks
drew
oldnewbie
04-29-2004, 08:17 PM
You can create a new movie clip, manipulate it and then set it as the content mc of the pane...
Or if you want to refer to the content mc itself, use tmp_mc to address it...
_level0.pane.tmp_mc.whatever_action...
pixelwhore
04-30-2004, 09:09 AM
so basically I would create my movieclip outside of the scroll pane and then make that clip the content after i was done populating it with whatever? and that I would use pane.setScrollContent("myclip"); to set myclip to be the panes content
as well "tmp_mc" what is that?
thanks for the help
oldnewbie
04-30-2004, 09:16 AM
Yes! On your first 2 questions.
tmp_mc is the actual instance name Flash uses to refer to the content mc of the scrollpane.
pixelwhore
04-30-2004, 09:29 AM
wow thanks for the help it works a charm, strange way to go about ti I guess but as long as it works its all good.
ok now the only problem is that I have some of the drawing api created boxes have disappeared for some strange reason one I put the movieclip into the pane. outside of teh pane everythign works fine but once I put it inside the scroll pane some of my created boxes disappear...
any tips/hints
pixelwhore
04-30-2004, 11:13 AM
ok so after poking around on the forums cause my font would not get properly masked inside the scrollpane component, I tracked the issue down the an old version of the flash player since my file plays works and renders properly in my browser with my flash 7 player but my flash player that is used for publishing out of flash so now I'm trying to figure out how to update my local flash player
oldnewbie
04-30-2004, 02:53 PM
Thought you'd never ask! :D
Check For Macromedia Flash authors only here:
http://www.macromedia.com/support/flash/ts/documents/flashplayer_r40.htm
sfomra
12-07-2004, 09:42 AM
i have tried all that has been told in this thread but am still unable to target the movie clip inside the scrollpane....can some one post an example fla file to show me how it should be done.......
oldnewbie
12-07-2004, 02:23 PM
You should attach your own test .fla, so we can have a look at it.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.