PDA

View Full Version : attach scroll pane then fill it!


pixelwhore
09-28-2004, 05:46 PM
hi all

what I'm trying to do is attach a scrollpane to my stage then set a movieclip as its scroll content.

I've used the following to get my scrollpane on the stage


initialization = {scrollContent:section1, hScroll:false, vScroll:true, dragContent:false};
this.attachMovie("FScrollPaneSymbol", "myScrollPane", 3, initialization);
this.myScrollPane.setSize(200, 300);


I have a movieclip on the stage called section1 but it jut wont work, can somebody help a brother out.

cheers

mcmcom
09-28-2004, 07:17 PM
two questions:

1. What scrollPane component are you using?
2. Can you create a button and use the code for the movieClip on the button on the stage. (like instead of trying to do both things in one function, split it up to see if its timing or code related problems)

Let me know what component your using, because they all have differnet methods and properties. If your using the FlashMXUIComponents (the old set with only like 6 components in it) GOOD LUCK! Ive never had that thing working. I use the UI Component set or GhostWire Component Set

Hth
PM me if you need to, im online

pixelwhore
09-28-2004, 07:34 PM
PM sent!