flashMX scrollpane
- Started
- Last post
- 8 Responses
- saintlukas
ok folks. i've read the posts on the scrollPane, and some documentation, but I haven't seen this addressed yet:
the movie clip I'm loading into my scrollpane is, at design-time, just 1 line (its another movie clip i start with, containing text boxes, etc).
This mc will load some data via ASP and make as many instances below itself as necessary to display each row of data (so i'm making a grid with one row per record I return).All that stuff works fine, great, dandy. when i run my movie clip on the main stage, it shows me everything...here is the problem:
the scroll pane's scroll bars do not activate when the scripts run. it thinks that the movie is the same size as when it first loaded back in frame one. i want to be able to contain the movie clips expanding edges with the scroll pane, so I can run these little grids in a small window.
thoughts?
- schjetne0
Load the variables BEFORE you load the scroll pane.
- unfittoprint0
moviePane.refreshPane()
- schjetne0
also a good idea.
- saintlukas0
word.
thanks guys. both great solutions for different parts.
- dsmith70
refreshPane() is what you want to use.
- tomkat0
i was just checking out mxpro 2004 yesterday and couldn't find the scrollbars-component..!?
was it replaced by this scrollpane() thing..?
- kevinv0330
Scroll bars are replaced by the TextArea component. The scrollbars appear automatically when the text needs to scroll.
- tomkat0
I'm feeling a little stupid now..
could've noticed that..thanks.