FlexTip: Problem with masks and scalable Flash
Friday, July 27th, 2007If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Table of contents for flex-tips
- FlexTips
- FlexTip: mx:Text vs. mx:TextArea
- FlexTip: XMLSocket connect() after disconnect from server
- FlexTip: Problem with masks and scalable Flash
- FlexTips: How to add Bitmap to UIComponent
- FlexTip – Stop displaying Focus
- FlexTip: Preventing CheckBox selection with Key.SPACE
- FlexTip: WordWrap for mx:Text
- FlexTip: Add Thumbs to Mx:Slider programatically
- AS3 Conditional Breakpoint – enterDebugger()
This may be useful for someone who does not read Flex documentation in more detail. When you have content which is masked and you allow scale for your application, mask will not scale if it is not added to display list (it’s written in documentation
). So if you have such problem, add you mask to display list (addChild) and it solves your problem.
Another problem with scaling is mx:Text component. When you do not set width for Text, there is problem with resizing of you app. Some word from end of text can be not visible sometime. Setting width=”100%” is helpful….
This we have found in our project. It’s just for apps which are scalable.
Hope this will help.






No Comments Yet
You can be the first to comment!
Live Preview
Leave a comment