« Access the Query-String Variables from Flex Application
» Actionscript and Flash 3D Experiments - Mr. Doob

ActionScript, Bugs, Flex 2

Scroll Mask

Stelian Crisan | 30.11.07 | Comment?

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:
  • Technorati
  • StumbleUpon
  • del.icio.us
  • NewsVine
  • Reddit
  • Digg
  • Furl
  • co.mments
  • blogmarks
  • Slashdot
  • description
  • Taggly
  • YahooMyWeb
  • connotea
  • Webride






This post was written by Stelian Crisan

Views: 2208

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="">

:

:


« Access the Query-String Variables from Flex Application
» Actionscript and Flash 3D Experiments - Mr. Doob