Fx{r} is trying to start the Fx{r} Community! Please join our group on Adobe Groups following this link: http://groups.adobe.com/groups/ab29539ab9.
Fx{r} is now on Twitter too. Follow us @ twitter.com/fx_r!
«
»

ActionScript, Bugs, Flex 2

Scroll Mask

Stelian Crisan | 30.11.07 | Comment?

Google Buzz

I was working to a flex project, I need a canvas where I have to put some elements on a big surface, so I really need to have scrollbars. That’s fine. If I move an object to the right-bottom corner it’s working great, if the object goes out of working space, will go under scrollbars, and other object that are on the stage.

But if we drag an object to left-top corner of our working space this will move over the other elements, because the mask it’s not active until scrollbars are active. Don’t try to activate your self, it’s not working :) .

I try to activate scrollbars when I create my canvas … and nothing :( … I search into manual and …. let me quote this : “The mask. This property may be undefined if no scroll bars are currently displayed or in some subclasses which have a different masking mechanism. A mask defined the viewable area of a displayable object. Thus this mask is used to hide the portions of the content that are not currently viewable. In general you do not access this property directly. Manipulation of the horizontalScrollPolicy, verticalScrollPolicy, horizontalScrollPosition, and verticalScrollPosition properties should provide sufficient control over the mask. “.

As a observation controlling horizontalScrollPolicy, verticalScrollPolicy, horizontalScrollPosition, and verticalScrollPosition properties it’s not activating ScrollBase mask always.

Share and Enjoy:
  • Twitter
  • Google Buzz
  • LinkedIn
  • Google Bookmarks
  • del.icio.us
  • Digg
  • Sphinn
  • blogmarks
  • Reddit
  • StumbleUpon
  • Facebook
  • DZone
  • FriendFeed
  • Yahoo! Buzz
  • Yahoo! Bookmarks
  • Slashdot
  • MySpace
  • Add to favorites






This post was written by Stelian Crisan

Views: 4589

related

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

:

:


«
»