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
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
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
Is there a way to determine which component was clicked to trigger
MenuEvent.MENU_HIDE?
Thanks,
Philip
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?
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);
}
]]
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,
7 matches
Mail list logo