[flexcoders] CSS Type selectors are not supported in component

2012-03-07 Thread k.sigiscar
Hi, I have a custom ActionScript component with a lot of [Style] metadata. I have overriden the styleChanged and commitProperties methods, I getStyle in styleChanged and setStyle in commitProperties on the children. Everything works when I set the styles directly on the component declaration

Re: [flexcoders] CSS Type selectors are not supported in component

2012-03-07 Thread Alex Harui
You are not inheriting from UIComponent? I’m not sure how well that is tested. You might just need to implement some IStyleXXX interface, but there’s a chance it is just not going to work. On 3/7/12 1:53 AM, k.sigiscar k.sigis...@yahoo.com wrote: Hi, I have a custom ActionScript

[flexcoders] Re: Tap Android app slow to respond.

2012-03-07 Thread Greg Lafrance
Bump on the GPU part. --- In flexcoders@yahoogroups.com, Greg Lafrance glafrance@... wrote: BTW, should I be using GPU mode, because my UI has lots of components on the same screen that are sized depending on the device width and height. Would using the GPU mode possibly help in this

[flexcoders] Flex Menu.hide listener...which component was clicked to close menu?

2012-03-07 Thread method_air
Is there a way to determine which component was clicked to trigger MenuEvent.MENU_HIDE? Thanks, Philip

RE: [flexcoders] Flex Menu.hide listener...which component was clicked to close menu?

2012-03-07 Thread Philip Smith
I figured this one out...added a stage mouse down listener, and found the value in MouseEvent target. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 8 Mar 2012 00:20:21 + Subject: [flexcoders] Flex Menu.hide listener...which component was clicked to close menu?

[flexcoders] Flex Menu.createMenu on mouseDown issue

2012-03-07 Thread method_air
Attempting to create a flex Menu on 'mouseDown' is failing (but works using the 'click' event): private function createAndShow():void { var myMenu:Menu = Menu.createMenu(null, myMenuData, false); myMenu.show(10, 10); } ]]

Re: [flexcoders] Flex Menu.createMenu on mouseDown issue

2012-03-07 Thread Alex Harui
What happens? On 3/7/12 6:06 PM, method_air loudj...@hotmail.com wrote: Attempting to create a flex Menu on 'mouseDown' is failing (but works using the 'click' event): private function createAndShow():void { var myMenu:Menu = Menu.createMenu(null, myMenuData, false); myMenu.show(10,