[flexcoders] Re: Animated Flash Component Resizing when used as Button Skin

2009-04-14 Thread tpokrajcic
Hi Aurek, sorry for not replying earlier but I was on the trip. There is no need to override Button width/height, I guess the problem is in dimensions of the MovieClip that's used as a skin. I plan to play with my similar problem tomorrow. If you want, send me sources of your button and swf of

Re: [flexcoders] Re: Animated Flash Component Resizing when used as Button Skin

2009-04-09 Thread Aurek Brillowski
2 New Developments: 1. I figured out how to override width and height getters in a Button to a constant size. 2. I'm not sure if that's what I wanted to do! The button itself doesn't resize, never did. It's everything (the Flash animation) inside of it that resizes. Any clues would be

[flexcoders] Re: Animated Flash Component Resizing when used as Button Skin

2009-04-08 Thread tpokrajcic
Hi, I'm just having a similar issue when using Sprite as Papervision3D texture. Problem with scaling can be solved by overriding width and height getters to give you a constant value because size of Sprite and MovieClip is calculated based on sizes and positions of their children. However, I'm

Re: [flexcoders] Re: Animated Flash Component Resizing when used as Button Skin

2009-04-08 Thread Aurek Brillowski
Tomislav, Thank you for your reply. Definitely understand what you are saying, however, my experience in overriding a class in Flex (or Flash) is very limited. Much more of a designer making my way into Flex/ActionScript. To see the unwanted (and wanted) effects first hand check out