Re: [flexcoders] Flex Menu.createMenu on mouseDown issue
What happens? On 3/7/12 6:06 PM, "method_air" 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, 10); } ]]> Is there a workaround? Thanks, Philip -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[flexcoders] Flex Menu.createMenu on mouseDown issue
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); } ]]> Is there a workaround? Thanks, Philip
RE: [flexcoders] Flex Menu.hide listener...which component was clicked to close menu?
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? Is there a way to determine which component was clicked to trigger MenuEvent.MENU_HIDE? Thanks, Philip
[flexcoders] Flex Menu.hide listener...which component was clicked to close menu?
Is there a way to determine which component was clicked to trigger MenuEvent.MENU_HIDE? Thanks, Philip
[flexcoders] Re: Tap Android app slow to respond.
Bump on the GPU part. --- In flexcoders@yahoogroups.com, "Greg Lafrance" 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 situation? > > --- In flexcoders@yahoogroups.com, "Greg Lafrance" wrote: > > > > Coded as Flex mobile project. > > > > --- In flexcoders@yahoogroups.com, James Ong wrote: > > > > > > Yup, mobile hardware are not as powerful as desktop PC that why there are > > > spark components optimize for mobile, but > > > some of the 2nd generation smartphone aren't good enough, I hope LG 4x > > > that > > > use quad-core can overcome the limitation. > > > > > > So did you code in AS3 or Flex mobile project? > > > > > > > > > On Wed, Mar 7, 2012 at 2:28 AM, Greg Lafrance wrote: > > > > > > > ** > > > > > > > > > > > > So is the problem likely inefficient coding? > > > > > > > > Maybe the current devices are simply not powerful enough to run Flex AIR > > > > apps on mobile efficiently if they are trying to do too much. > > > > > > > > Anyone else have thoughts on the original problem for this post? > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, James Ong wrote: > > > > > > > > > > Use madcomponents that built on effecient as3 code > > > > > > > > > > > > > > > > > > > > > > >
Re: [flexcoders] CSS Type selectors are not supported in component
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" wrote: 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 in MXML. If I create a CSS class like .stockChart and apply it with the styleName property, it also works. However, if I create a CSS class of the same name as the component class, StockChart, I get the following warning: CSS Type selectors are not supported in component Any clue about this ? Best regards, Karl. -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[flexcoders] CSS Type selectors are not supported in component
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 in MXML. If I create a CSS class like .stockChart and apply it with the styleName property, it also works. However, if I create a CSS class of the same name as the component class, StockChart, I get the following warning: CSS Type selectors are not supported in component Any clue about this ? Best regards, Karl.