RE: [flexcoders] Flex to HTML5 Conversion tool?

2011-11-30 Thread Sells, Fred
I am looking at the same problem.  A very long time ago I designed a
tool called ezX that was similar to Flex but not nearly as robust.  That
was an Xwindows tool and has since gone the way of the dinosaur.

 

I'm still researching but I think a tool like pyjamas pyjs.org  might be
a building block.  You could write an xml parser to handle the mxml to
dom and then use the dom to generate pyjamas class definitions (which
you would probably have to tweak by hand).

 

I'm not sure about the action script.  Source parsing is too tricky and
I don't know if the byte code is easy to handle.  Might be better to
outsource that overseas.

 

Let me know what you decide

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Venkat M
Sent: Wednesday, November 30, 2011 12:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex to HTML5 Conversion tool?

 

  

Hi Group,

 

I have a quick question.

I have a web application that was developed using 100% flex (AS
included).

Now to be on the safe side we want to evaluate the options of converting
the same on to HTML5. 

 

Do any one know of any tools that can help in the process of converting
from flex (developed) to html5 version?

Your help will be greatly appreciated.

 

Cheers,

Venkat.

 

 





Re: [flexcoders] AIR - Create windows skin accordind Os (Mac/Windows)

2011-11-30 Thread ilugroupmultimedia_mks
E
South Sulawesi Information Technology Corporate

-Original Message-
From: Csomák Gábor 
Sender: flexcoders@yahoogroups.com
Date: Wed, 30 Nov 2011 13:19:30 
To: 
Reply-To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AIR - Create windows skin accordind Os (Mac/Windows)

If(flash.devices...substr(0,3)=="mac"){
//this is one solution. You can do it with states, add buttons runtime, or

Macbtns.visible=true
Winbtns.visible=false
}
On Nov 29, 2011 8:21 PM, "Isabelle Loyer Perso"  wrote:

> **
>
>
> Hi,
>
> I agree with you but my question is not how to know on witch platform run
> my application but how to use the good button skin according Os.
>
> Thanks
>
> Le 29/11/11 16:25, Csomák Gábor a écrit :
>
>
>
> trace(flash.system.capatibilities.version) is different on mac, win,
> android, ios
>
> On 11/28/11, isa_loyer  wrote:
> > Hi,
> >
> > I' create a window skin for my AIR application.
> > Close, maximise and minimise button are on top right and look like
> Windows
> > 7.
> >
> > But , mac user are desapointed, so my question is : is it possible to
> apply
> > a different window skin according user Os.
> >
> > If yes, how to do that.
> >
> > Thanks
> >
> >
>
>  
>



Re: [flexcoders] AIR - Create windows skin accordind Os (Mac/Windows)

2011-11-30 Thread ilugroupmultimedia_mks
E
South Sulawesi Information Technology Corporate

-Original Message-
From: Csomák Gábor 
Sender: flexcoders@yahoogroups.com
Date: Wed, 30 Nov 2011 13:19:30 
To: 
Reply-To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AIR - Create windows skin accordind Os (Mac/Windows)

If(flash.devices...substr(0,3)=="mac"){
//this is one solution. You can do it with states, add buttons runtime, or

Macbtns.visible=true
Winbtns.visible=false
}
On Nov 29, 2011 8:21 PM, "Isabelle Loyer Perso"  wrote:

> **
>
>
> Hi,
>
> I agree with you but my question is not how to know on witch platform run
> my application but how to use the good button skin according Os.
>
> Thanks
>
> Le 29/11/11 16:25, Csomák Gábor a écrit :
>
>
>
> trace(flash.system.capatibilities.version) is different on mac, win,
> android, ios
>
> On 11/28/11, isa_loyer  wrote:
> > Hi,
> >
> > I' create a window skin for my AIR application.
> > Close, maximise and minimise button are on top right and look like
> Windows
> > 7.
> >
> > But , mac user are desapointed, so my question is : is it possible to
> apply
> > a different window skin according user Os.
> >
> > If yes, how to do that.
> >
> > Thanks
> >
> >
>
>  
>



Re: [flexcoders] AIR - Create windows skin accordind Os (Mac/Windows)

2011-11-30 Thread ilugroupmultimedia_mks
E
South Sulawesi Information Technology Corporate

-Original Message-
From: Csomák Gábor 
Sender: flexcoders@yahoogroups.com
Date: Wed, 30 Nov 2011 13:19:30 
To: 
Reply-To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AIR - Create windows skin accordind Os (Mac/Windows)

If(flash.devices...substr(0,3)=="mac"){
//this is one solution. You can do it with states, add buttons runtime, or

Macbtns.visible=true
Winbtns.visible=false
}
On Nov 29, 2011 8:21 PM, "Isabelle Loyer Perso"  wrote:

> **
>
>
> Hi,
>
> I agree with you but my question is not how to know on witch platform run
> my application but how to use the good button skin according Os.
>
> Thanks
>
> Le 29/11/11 16:25, Csomák Gábor a écrit :
>
>
>
> trace(flash.system.capatibilities.version) is different on mac, win,
> android, ios
>
> On 11/28/11, isa_loyer  wrote:
> > Hi,
> >
> > I' create a window skin for my AIR application.
> > Close, maximise and minimise button are on top right and look like
> Windows
> > 7.
> >
> > But , mac user are desapointed, so my question is : is it possible to
> apply
> > a different window skin according user Os.
> >
> > If yes, how to do that.
> >
> > Thanks
> >
> >
>
>  
>



Re: [flexcoders] Embedded font rendering problem

2011-11-30 Thread Paul Evans

On 30 Nov 2011, at 19:20, brandyvsmonica wrote:

> Unfortunately, my solution was to port this section of our app to HTML.

Thanks for the reply - sorry you had to abandon.

After trying everything I could think of with the font I was using, I tried 
using Helvetica Neue Medium and Bold like you, but found that they worked ok 
for me. Concluding therefore that it isn't simply the face that's incompatible. 
So I started to suspect my font files (and by implication, yours), despite in 
my case:
* font file was .otf
* font worked ok in Flash IDE prior to publishing, and in other apps
* Font doctor didn't find any fault in the file
* flash would transcode the font fine for classic text objects and they'd look 
correct when published
* transcoding would not report any problems when transcoding for TLF CFF
But... visually it would render incorrectly when transcoded for TLF CFF with 
especially with fontSize less than 28 - characters slightly smaller and or 
baseline shifted.

In the end I purchased fresh TrueType versions from MyFonts and they render 
correctly when transcoded for TLF CFF.



[flexcoders] Nice opportunity

2011-11-30 Thread guna samba
Hola friend...I knew it was important for me to stay optimistic this was 
my ticket to a new life I love not having responsibilities anymore consider 
giving it a tryhttp://bluecat.x.fc2.com/profile/41PaulCampbel/";>http://bluecat.x.fc2.com/profile/41PaulCampbel/see
 you soon.


[flexcoders] Re: Embedded font rendering problem

2011-11-30 Thread brandyvsmonica
Unfortunately, my solution was to port this section of our app to HTML.

--- In flexcoders@yahoogroups.com, Paul Evans  wrote:
>
> On 26 Oct 2010, at 23:18, brandyvsmonica wrote:
> 
> > Down in the mxml, I've got some labels:
> > 
> >  > fontWeight="bold" />
> > When I crank the font size up to something obscenely large, like 290, 
> > everything looks great
> ...
> > When I set the size to my designer's specified size of 29, however, no such 
> > luck -- the size and alignment of the text seems to change 
> > character-by-character.  Here's an image that shows the difference between 
> > the same label at 29 and 290, with the font family set to 'myHelv' and the 
> > weight set to 
> > 'bold':http://img708.imageshack.us/img708/8154/helveticaneue.png
> 
> 
> Clearly this thread has been dead for a while with no replies... just to 
> mention that I'm seeing the same problem with completely a different font and 
> newer versions of flex and the player. Characters on the same line rendering 
> at different sizes. Makes the text look a mess. Using the same font, style 
> and text in a Classic text area looks correct both in ide and swf. - both 
> tests with readonly/non-editable objects.
> 
> My problem in relation to Flex is that my app is Spark and requires TLF CFF 
> embedding.
> 
> So, resurrecting the thread in the hope that the original poster, or anyone, 
> has anything to share towards a solution.
> 
> Thanks
>




[flexcoders] Flex to HTML5 Conversion tool?

2011-11-30 Thread Venkat M
Hi Group,
 
I have a quick question.
I have a web application that was developed using 100% flex (AS included).
Now to be on the safe side we want to evaluate the options of converting
the same on to HTML5. 
 
Do any one know of any tools that can help in the process of converting
from flex (developed) to html5 version?
Your help will be greatly appreciated.
 
Cheers,
Venkat. 

Re: [flexcoders] Embedded font rendering problem

2011-11-30 Thread Paul Evans
On 26 Oct 2010, at 23:18, brandyvsmonica wrote:

> Down in the mxml, I've got some labels:
> 
>  fontWeight="bold" />
> When I crank the font size up to something obscenely large, like 290, 
> everything looks great
...
> When I set the size to my designer's specified size of 29, however, no such 
> luck -- the size and alignment of the text seems to change 
> character-by-character.  Here's an image that shows the difference between 
> the same label at 29 and 290, with the font family set to 'myHelv' and the 
> weight set to 'bold':http://img708.imageshack.us/img708/8154/helveticaneue.png


Clearly this thread has been dead for a while with no replies... just to 
mention that I'm seeing the same problem with completely a different font and 
newer versions of flex and the player. Characters on the same line rendering at 
different sizes. Makes the text look a mess. Using the same font, style and 
text in a Classic text area looks correct both in ide and swf. - both tests 
with readonly/non-editable objects.

My problem in relation to Flex is that my app is Spark and requires TLF CFF 
embedding.

So, resurrecting the thread in the hope that the original poster, or anyone, 
has anything to share towards a solution.

Thanks



[flexcoders] AIR/Window/DataGrid Issue

2011-11-30 Thread Battershall, Jeff
Hi,

I'm mid re-factoring a SDK 4.0 AIR app to 4.5 and attempting to take advantage 
of the Spark DataGrid.   In this app (which is built with modules) I'm opening 
a NativeWindow and displaying a datagrid.   The first error is that the 
DataGrid Skin class cannot be found.  I dealt with this by creating a new Skin 
from the DataGrid and referencing that.  Then when I attempt to populate the 
grid with data, I get RTEs pointing to Group.as with error #1009 null.

I can get in to more exhaustive detail about the exact error(s) but I think 
something more fundamental is happening.  Note that the libs are all merged 
into code.  It seems that some of the underlying libraries aren' being included.

Does anyone have any experience or theories on what might be happening?


Jeff Battershall
Application Architect

T 609 520 5637
F 609 520 5370
C 732 666-8205
jeff.battersh...@djindexes.com

Dow Jones Indexes
4300 Route 1 North
South Brunswick, NJ 08852
www.djindexes.com



[flexcoders] Publish on Facebook

2011-11-30 Thread cjacquel73
Hello, 

How to publish an image from a Flex application to a Facebook wall of a 
customer (or a Twitter account) with a text message ? 

Do you have any example ?

Thx
Christophe Jacquelin, 




Re: [flexcoders] AIR - Create windows skin accordind Os (Mac/Windows)

2011-11-30 Thread Csomák Gábor
If(flash.devices...substr(0,3)=="mac"){
//this is one solution. You can do it with states, add buttons runtime, or

Macbtns.visible=true
Winbtns.visible=false
}
On Nov 29, 2011 8:21 PM, "Isabelle Loyer Perso"  wrote:

> **
>
>
> Hi,
>
> I agree with you but my question is not how to know on witch platform run
> my application but how to use the good button skin according Os.
>
> Thanks
>
> Le 29/11/11 16:25, Csomák Gábor a écrit :
>
>
>
> trace(flash.system.capatibilities.version) is different on mac, win,
> android, ios
>
> On 11/28/11, isa_loyer  wrote:
> > Hi,
> >
> > I' create a window skin for my AIR application.
> > Close, maximise and minimise button are on top right and look like
> Windows
> > 7.
> >
> > But , mac user are desapointed, so my question is : is it possible to
> apply
> > a different window skin according user Os.
> >
> > If yes, how to do that.
> >
> > Thanks
> >
> >
>
>  
>


Re: [flexcoders] Background color of Vgroup

2011-11-30 Thread Haykel BEN JEMIA
Just add a black 'Rect' before the 'VGroup' with the same position and size.

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com




On Wed, Nov 30, 2011 at 10:34 AM, sony antony wrote:

> **
>
>
> Hello all,
>
> Can you please tell me how to give a black background color to a VGroup
> container
>
> Thanks and Regards
>
> Sony.
>
>  
>


[flexcoders] Background color of Vgroup

2011-11-30 Thread sony antony
Hello all,

Can you please tell me how to give a black background color to a VGroup 
container

Thanks and Regards

Sony.