Re: Simple way to parse I18N dates?

2014-02-02 Thread Giuseppe Romano
A simple way to parse dates from different formats could be to define the pattern as RB property and then use that property by DateFormat. Giuseppe Sent from Samsung Mobile Harbs harbs.li...@gmail.com wrote: Funny that I need the same functionality at the same time… I actually need to

Re: Simple way to parse I18N dates?

2014-02-02 Thread Paul Hastings
On 2/2/2014 4:53 PM, Harbs wrote: I just looked at DateField.stringToDate(). It looks like it only supports M, D and Y. That means it does not support weekdays or any time formatters. I guess I'm going to have to roll my own function� parsing dates is another kind of hell i18n developers

Re: Easy way to remove TLF text cursor?

2014-02-02 Thread After24
Hi Harbs, If you need a non-editable TextFlow, you just have to set his interaction manager to null. Vincent. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Easy-way-to-remove-TLF-text-cursor-tp4744p4750.html Sent from the Apache Flex Users mailing list

Re: Printing at a set DPI

2014-02-02 Thread jude
So you're saying if I get a page size that is more than 72x8.5 by 72x11 then I could be printing at a higher DPI? And you're saying the page size that's returned may not exactly be 72x8.5 or 300x8.5? I'm guessing that would be because of the margins and options the user chosen in the print dialog.

Re: RE:Can I Bind a SolidColor Fill Value?

2014-02-02 Thread Martin Miko
You're welcome, feel free to ask what's not clear and I'll try to explain it. BR, Martin On Sat, Feb 1, 2014 at 7:22 PM, Tintin 1955.mille.mig...@googlemail.comwrote: Thanks for your interesting reply. I'll get back to you shortly to follow this up. Hectic in the studio currently but I

Re: Compiled Flex SWF File Seems Too Large

2014-02-02 Thread Tintin
I have just found the Module compiler options and un-checked 'Generate Debuggable SWF'. Now the compiled SWF is half the size, but it still seems large to me. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Compiled-Flex-SWF-File-Seems-Too-Large-tp4740p4751.html

Re: Simple way to parse I18N dates?

2014-02-02 Thread Justin Mclean
Hi, You might want to look at parseDateString in DateFormatter. Thanks, Justin

Re: Compiled Flex SWF File Seems Too Large

2014-02-02 Thread Alex Harui
Use the -link-report option and see what classes are in the link report. On 2/2/14 6:56 AM, Tintin 1955.mille.mig...@googlemail.com wrote: I have just found the Module compiler options and un-checked 'Generate Debuggable SWF'. Now the compiled SWF is half the size, but it still seems large to

Re: Printing at a set DPI

2014-02-02 Thread Alex Harui
On 2/2/14 2:07 PM, jude flexcapaci...@gmail.com wrote: So you're saying if I get a page size that is more than 72x8.5 by 72x11 then I could be printing at a higher DPI? Yes, that's my understanding, but I could certainly be wrong. And you're saying the page size that's returned may not

Re: Compiled Flex SWF File Seems Too Large

2014-02-02 Thread Tintin
It is a Release Build from my out/production folder. I am using 4.10 SDK. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Compiled-Flex-SWF-File-Seems-Too-Large-tp4740p4745.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Easy way to remove TLF text cursor?

2014-02-02 Thread Alex Harui
FWIW, setting stage.focus = null may get overridden by the Flex FocusManager. It might try to restore focus to the control. The FocusManager tries to make sure something always has focus. Also note that the blinking cursor is a child Sprite or Shape of the text widget. -Alex On 2/2/14 1:09

Re: Mac FileReference Bug

2014-02-02 Thread OmPrakash Muppirala
On Jan 31, 2014 11:35 AM, Matthew Weir mattcomm...@yahoo.com wrote: Hey all, Stuck using Flex 3.x on this particular project and apparently Mac Safari and Firefox don't fire off the Event.SELECT event. Unresolved bug file: https://bugbase.adobe.com/index.cfm?event=bugid=3687113 I'm

Re: Mac FileReference Bug

2014-02-02 Thread jude
In the bug he mentioned there's a code but that may not be his. In that example though, the handler is setup like so, protected function onModelSelected(e:Event):void { var fr:FileReference = e.currentTarget as FileReference; fr.addEventListener(Event.COMPLETE, onModelDone);

Re: Mac FileReference Bug

2014-02-02 Thread OmPrakash Muppirala
The bug is filed against AIR, whereas he seems to be having issues with FP in the browser. On Feb 2, 2014 9:53 PM, jude flexcapaci...@gmail.com wrote: In the bug he mentioned there's a code but that may not be his. In that example though, the handler is setup like so, protected function

Re: Simple way to parse I18N dates?

2014-02-02 Thread Harbs
Thanks. That's much more robust. It might do what I need. Harbs On Feb 3, 2014, at 12:26 AM, Justin Mclean wrote: Hi, You might want to look at parseDateString in DateFormatter. Thanks, Justin

Re: Compiled Flex SWF File Seems Too Large

2014-02-02 Thread Alexander Doroshko
If you do not use Flex framework you need to mark the build configuration as 'pure ActionScript' in Project Structure | Modules | [your module] | [your build configuration subnode] | General tab | Type On 01.02.2014 22:33, Tintin wrote: I have created a simple application in IntelliJ IDEA 13.

Re: Simple way to parse I18N dates?

2014-02-02 Thread Harbs
FWIW, it might make sense to deprecate the DateField.dateToString() method in favor of the DateFormatter.parseDateString() one. On Feb 3, 2014, at 8:20 AM, Harbs wrote: Thanks. That's much more robust. It might do what I need. Harbs On Feb 3, 2014, at 12:26 AM, Justin Mclean wrote: