RE: Is there a way to check if a style exists on an object

2015-01-12 Thread Gordon Smith
What about object.getStyle(style) === undefined? I don't think any styles are ever deliberately set to undefined. - Gordon From: flexcapaci...@gmail.com Date: Mon, 12 Jan 2015 17:45:45 -0800 Subject: Is there a way to check if a style exists on an object To: users@flex.apache.org Is

Re: Hierarchy Tree

2014-10-30 Thread Gordon Smith
labelField = childElementName doesn't work? - Gordon On Oct 29, 2014, at 3:00 AM, mark goldin markzolo...@gmail.com wrote: That's exactly what I dont want. I have an element based XML, no attributes. On Wed, Oct 29, 2014 at 1:03 AM, pkumar.flex prashaku...@gmail.com wrote: if you

Re: Decimal to Hex conversion.

2014-10-01 Thread Gordon Smith
A requirement for what kind of application for what kind of user? I've never met a user that would understand fractional hex values which is why I'm curious. - Gordon On Sep 30, 2014, at 7:58 PM, Saju Thankathurai sathikeshj...@gmail.com wrote: Actually it was a requirement that's why i

Re: ActionScript AST

2014-07-01 Thread Gordon Smith
these modifications (i.e. with the new return type or parameter etc). Is there any functionality already implemented in Falcon that would help us achieve this? E.g. listening to AST changes, generating AS code from an AST node. Any hints would be appreciated! Mariana On 27.06.2014 22:44, Gordon

RE: ActionScript AST

2014-06-27 Thread Gordon Smith
I agree that you should investigate using Falcon. think you'll find that the classes making up Falcon's AST are reasonably intuitive and have good Javadoc documentation. If you get Falcon compiling in Eclipse and run a compile in Debug mode, you'll see an indented tree-like representation of

RE: Air apps easily decompiled and hacked

2014-02-19 Thread Gordon Smith
Are you sure the others that aren't obscured are locals? I'd bet they're instance variables. - Gordon -Original Message- From: Sean Thayne [mailto:s...@skyseek.com] Sent: Wednesday, February 19, 2014 12:24 PM To: users@flex.apache.org Subject: Re: Air apps easily decompiled and hacked

RE: Air apps easily decompiled and hacked

2014-02-19 Thread Gordon Smith
application (I would think). Maybe it was created this way for RSLs? -Sean Thayne On Wed, Feb 19, 2014 at 1:33 PM, Gordon Smith gosm...@adobe.com wrote: Are you sure the others that aren't obscured are locals? I'd bet they're instance variables. - Gordon -Original Message- From

RE: Variable Naming Convention

2013-11-04 Thread Gordon Smith
Here's an example of mine: Your example didn't appear in the email. Currently I might name a local variable as 'm_variableName' Naming local variables m_variableName is a bad idea, as m stands for member (i.e. instance). The getter/setter convention used by the Flex framework is private

Re: Send parameter to mxml constructor

2013-09-26 Thread Gordon Smith
MXML does not support constructor parameters. You need to set a property, as in my:Obj1 someProp=someValue/ Properties get set before children get created. - Gordon On 9/26/13 11:57 AM, mark goldin markzolo...@gmail.com wrote: I have an mxml class called Obj1. Somewhere in my code I do: var

RE: who Open HTML in the Flex ?

2013-03-07 Thread Gordon Smith
You gotta wonder what Adobe was thinking to not adding a fundamental feature like this inside Flash/Flex The Flash Player team believed that adding WebKit would have made the player download so large (and therefore slow) that the ubiquity of the player would have been compromised. - Gordon

RE: tracking down where [trace] null statements are comming from?

2013-01-23 Thread Gordon Smith
that much money for it ;-) Well I think I'll simply live with the trace statements :-| But thanks anyway, Chris -Ursprüngliche Nachricht- Von: Gordon Smith [mailto:gosm...@adobe.com] Gesendet: Mittwoch, 23. Januar 2013 19:02 An: users