whispers
04-10-2006, 09:43 PM
Id rather NOT use the scrollPane (and use my own custom easy to use scrollbar) but if I have to.....I have to :(
basically my project loads up my XML object..and attaches as many clips to the stage as needed. It then looops through the data to populate each of these attachedClip with the corretc data... all that is fine, all comboBox = OK!..etc..
However...I need to be able to SCROLL these as my ultimate goal. right now they are just being attached to _root.
I have NOT been able to get the scrollPane to to do much of anything... it may attach/load 1 clip from the library (as set from linkage)..but thats about it...not populated..and not more than 1 attachedClip.
scrollPane = KAKA
I have since moved to one of my own custom scollBars (that just scrolls ANY content inside of a predetermined clip)...
The problem I have found with this..is that..onLoad..the scrollbar checks for inital values to use as its parameters....
Hence..NOT enough time to populate the scrolled Clip........
the attached .zip is where I am at now. It does NOT take into account the objectClips' (clip to be scrolled) height AFTER the the attachedClips have been created.
if you test it..it will scroll correctly...however..NOT scroll enouh to see all the dynamically attachedClips.... it is going off the CONTENT already in the clip at authoring time (the textField and the YellowBG fill)...if you delete these...and test..you will see it does NOT scroll correctly..
anybody got any ideas? Thanks
www.dmstudios.net/XML_scrollTest.zip
basically my project loads up my XML object..and attaches as many clips to the stage as needed. It then looops through the data to populate each of these attachedClip with the corretc data... all that is fine, all comboBox = OK!..etc..
However...I need to be able to SCROLL these as my ultimate goal. right now they are just being attached to _root.
I have NOT been able to get the scrollPane to to do much of anything... it may attach/load 1 clip from the library (as set from linkage)..but thats about it...not populated..and not more than 1 attachedClip.
scrollPane = KAKA
I have since moved to one of my own custom scollBars (that just scrolls ANY content inside of a predetermined clip)...
The problem I have found with this..is that..onLoad..the scrollbar checks for inital values to use as its parameters....
Hence..NOT enough time to populate the scrolled Clip........
the attached .zip is where I am at now. It does NOT take into account the objectClips' (clip to be scrolled) height AFTER the the attachedClips have been created.
if you test it..it will scroll correctly...however..NOT scroll enouh to see all the dynamically attachedClips.... it is going off the CONTENT already in the clip at authoring time (the textField and the YellowBG fill)...if you delete these...and test..you will see it does NOT scroll correctly..
anybody got any ideas? Thanks
www.dmstudios.net/XML_scrollTest.zip