|
-
AS2 ScrollPane --- how to control content props???
ok, as the title implies, I'm using an AS2 ScrollPane component and I want to be able to control the content of the ScrollPane....like change it's _x/_y or _height/_width....how do I do this?
thx in advance!
-
come on....somebody has to know how to do this!
thx again for looking!
-
ok, found the answer, but that presents a new issue...for those interested, here's how you access the scrollPane content:
Code:
scrollPaneInstance.content._alpha = 50;
however, the reason I wanted to access the content is to reposition the content BUT _x & _y props don't seem to make any changes to position...I use _alpha and that works, _height & _width work...but why not _x & _y?
am I missing something?
-
update: the properties for _x & _y are instead x & y, without the underscore however, they are listed as "read-only"....so does that mean you can't reposition scrollpane content? plz anybody!
-
-
wow, it seems that no one has ever needed to change a ScrollPane's content position?!
can't find nuthin!
-
Senior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|