[flexcoders] current date for mx:DateField

2012-03-08 Thread markflex2007
Hi, current date for mx:DateField seems get from window system. May I change current date with code? Thanks Mark

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

2012-03-08 Thread Philip Smith
The menu doesn't open. And 'mouseDown' is required in the context of the app. Any ideas, Alex? Here's the test code: ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark

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

2012-03-08 Thread Philip Smith
Substitute this button code to see the menu create fail: !--- mouse down fails to show menu -- s:Button id=myButton label=Open Menu mouseDown=createAndShow();/ To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 8 Mar 2012 17:27:45

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

2012-03-08 Thread Alex Harui
Did you try callLater on createAndhow? On 3/8/12 9:30 AM, Philip Smith loudj...@hotmail.com wrote: Substitute this button code to see the menu create fail: !--- mouse down fails to show menu -- s:Button id=myButton label=Open Menu

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

2012-03-08 Thread Philip Smith
That works. Thanks. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Thu, 8 Mar 2012 14:38:38 -0800 Subject: Re: [flexcoders] Flex Menu.createMenu on mouseDown issue Did you try callLater on createAndhow? On 3/8/12 9:30 AM,

[flexcoders] how to add nativemenu on topLevelApplication

2012-03-08 Thread isa_loyer
I developp a AIR application. I try to add menu on it. My application has custom chrome, and I like to have a transparent background on main application. Today, I insert the nativemenu on a native window: FlexGlobals.topLevelApplication.visible = false; var

[flexcoders] how to add nativemenu on topLevelApplication

2012-03-08 Thread isa_loyer
I developp a AIR application. I try to add menu on it. My application has custom chrome, and I like to have a transparent background on main application. Today, I insert the nativemenu on a native window: FlexGlobals.topLevelApplication.visible = false; var