scrollPane component hPosition
i would like my scrollPane component to automatically scroll to the right, as the content represents a daily count-down and the most recent will be the right-most item.
apparently, i should be able to use the hPosition property to tell the component where to position itself, but this is not working.
what i have:
a scrollPane component called "sp" on the stage, loading a swf called "cd-scrollContent.swf"
sp.contentPath = "cd-scrollContent.swf";
sp.hScrollPolicy = "on";
sp.hPosition = 1000;
(the hPosition number is arbitrary, supposing my content is about 2000 pixels wide)
nothing happens. can anyone explain why or what i might be doing wrong? thanks thanks thanks.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Loading XML content into ScrollPane component||orderofout||Actionscript 2.0||2||11-12-2007 06:01 AM|
|scrollpane component adds 142kb to overall file size:(||[PAUL FERRIE]||Actionscript 2.0 Components||13||03-28-2007 04:20 PM|
|ScrollPane Component transparency?||many.toads||Actionscript 2.0 Components||1||03-21-2006 10:24 PM|
|Problems setting a component inside a ScrollPane||Makiyama||Actionscript 2.0 Components||3||11-05-2005 12:58 PM|
|pop up window from scrollpane component||plugin+||Flash MX||0||11-16-2004 06:57 PM|