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
ld make sense if your compiling a swc, but not if your compiling a final 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 wrote: > Are you sure the others that aren't obscured are locals? I'd bet > they&#x

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 t

Re: ActionScript AST

2014-07-01 Thread Gordon Smith
nges, generating AS code from an AST node. > > Any hints would be appreciated! > > Mariana > > >> On 27.06.2014 22:44, Gordon Smith wrote: >> I agree that you should investigate using Falcon. think you'll find that the >> classes making up Falcon'

Re: Decimal to Hex conversion.

2014-09-30 Thread Gordon Smith
Converting decimal numbers with fractional parts to hex is rather unusual. I'm curious why you want to do this. - Gordon > On Sep 29, 2014, at 4:23 AM, "Saju Thankathurai" > wrote: > > Hi, > > How can we convert a decimal value to Hex value? > > I need to convert *1345.4567 *value to HEX v

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" > wrote: > > Actually it was a requirement that's why i asked. Thanks for y

Re: Hierarchy Tree

2014-10-30 Thread Gordon Smith
labelField = doesn't work? - Gordon > On Oct 29, 2014, at 3:00 AM, mark goldin 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 wrote: >> >> if you want to display xml attribute on Tree node then us

RE: Math.pow in ActionScript

2014-11-11 Thread Gordon Smith
NO NO NO. 16 to the power 14 is indeed 72057594037927936. Calculator is absolutely correct. It is presumably doing high-precision integer arithmetic. ActionScript is using floating point arithmetic, since you can ask for things like Math.pow(16.1, 14.2). It doesn't special case on integers,

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 >

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

2013-01-23 Thread Gordon Smith
Is it possible to monkey-patch trace() to substitute your own version, and set a breakpoint in it? - Gordon -Original Message- From: Michael Montoya [mailto:montoyl...@gmail.com] Sent: Wednesday, January 23, 2013 4:02 AM To: users@flex.apache.org Subject: Re: AW: tracking down where "[t

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

2013-01-23 Thread Gordon Smith
calls leading up to the trace statement. On 1/23/13 9:48 AM, "Gordon Smith" wrote: > Is it possible to monkey-patch trace() to substitute your own version, > and set a breakpoint in it? > > - Gordon > > -Original Message- > From: Michael Montoya [mailto

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

2013-01-23 Thread Gordon Smith
ry if defining functions this way worked, I added > > > > the > > same function (called "lalala" in a file called "lalala.as") and > > called both functions from initializing code ... lalala was hit, trace > > wasn't ... > > so I guess th

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. - Gordo

RE: How to get a class instance using string name?

2013-08-16 Thread Gordon Smith
Doesn't myModelInstance.vAxis1 work? Every MXML file defines a class, and every tag with an id defines a property in that class, where the name of the property is specified by the id. So when you have an instance of that class, you should just be able to use the dot operator to access that prope

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 Properties get set before children get created. - Gordon On 9/26/13 11:57 AM, "mark goldin" wrote: >I have an mxml class called Obj1. Somewhere in my code I do: >var _obj1 = new Obj1(); > >What I need is to provi

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 priva

RE: Variable Naming Convention

2013-11-05 Thread Gordon Smith
The coding conventions that we used in the Flex framework are available at http://sourceforge.net/adobe/flexsdk/wiki/Coding%20Conventions/. Unfortunately, this document is in a wiki markup language and doesn't display as the intended HTML, but it's better than nothing. - Gordon -Original