Hello all.
Is there any way to get the names of private / protected / internal
variables within a class at runtime? (ie., actual reflection!)
It seems it's not possible using getClassInfo().
What about some sort of custom serialization? (Remembering that the
names of the variables is not known
ubject: RE: [flexcoders] Reflection -- Accessing private fields
>
>
>
> Private is private.
>
> ____
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of marty.pitt
> Sent: Tuesday, November 20, 2007 9:25 PM
&g
Hi Clinton
Your message has somehow ended up as a comment in my thread about
reflection.
You might wanna repost as a new message all it's own, as it's unlikely
people will see it here!
Marty
--- In flexcoders@yahoogroups.com, "Clinton D. Judy" <[EMAIL PROTECTED]> wrote:
>
> Something else I sho
uot; wrote:
> > >
> > > cc'ing Mike to get the lowdown on this. But I'm pretty sure that
> > > whatever the debugger is doing can't be done from ActionScript.
> > >
> > > - Gordon
> > >
> > > __
Hi
I'm trying to build up a common library of all the code etc I use in
my various projects.
I'm working in FB 3 beta 2.
I've created a Flex Library project, which has both a swc folder, and
various code trees.
I then reference this library project from another application I'm
working on.
Howe
What I've been trying to acheive is a port of the undo capabilities
used in CSLA (a .NET framework).
I must admit I hadn't looked at the momento pattern. Seems to be a
more suitable approach, given the reflection limitations.
Thanks Aaron.
Marty
--- In flexcoders@yahoogroups.com, "Aaron Mill
Admission of guilt:
I don't get regular expressions. Never have, never will. I'm missing
that gene.
But, from what I can tell, reg exp seem to be the ONLY way to do a
simple replace within in a string. What's the deal?!?
So, I'm struggling with the String.Replace() method in AS3.
Does anyone
eefully accepted.
However, means I can carry on in my reg-ex free existance.
BTW -- Am I the only person who finds reg-ex impossible?
--- In flexcoders@yahoogroups.com, "marty.pitt" <[EMAIL PROTECTED]> wrote:
>
> Admission of guilt:
>
> I don't get regular expressi
Alsoafter a little more looking, corelib has a StringUtil class
with exactly this function.
Missed it because the SWC didn't import properly.
Hi
I'm doing a bunch of coding at the moment which requires the
generation of lots of VO's.
I wrote some code to use reflection to analyze the object in an
ObjectProxy and generate the AS3 code to represent this object. (Will
share this once it's cleaned up).
Now, I'd like to subclass the Objec
Hi
Can someone please verify my understanding of this correctly.
I believe that the event is not firing on the deletion of text, as the
docs suggest it will.
According to the docs this event is supposed to fire:
"when the user types, deletes, or pastes text into the control. "
But, running the
groups.com, "YOGESH JADHAV" <[EMAIL PROTECTED]> wrote:
>
> Haven't tested the code but i think it should be textInput="{trace('textInput fired');}" />
>
> On Thu, Feb 14, 2008 at 4:31 PM, marty.pitt <[EMAIL PROTECTED]> wrote:
>
>
Also, it seems that changing the listener to listen for the
undocumented 'textChanged' event gets the desired behaviour.
Maybe it's just that the docs need updating?
Cheers
Marty
--- In flexcoders@yahoogroups.com, "marty.pitt" <[EMAIL PROTECTED]> wrote:
>
>
Hi
Can someone please give me a hand on a RegEx? (I can't work these
things out for the life of me).
I'm basically trying to return nested groups inside delimeters.
An example we're all famililar with is the simple package / class
structure in Flex:
package foo {
class bar {
function
en nesting.
>
> What it wouldn't help you with is if you nested functions within
functions
> (like when declaring a function object). But I don't have time to
fiddle
> with that right now.
>
> --Robert
>
> On Thu, Feb 14, 2008 at 6:22 AM, marty.pitt <[EMAIL P
arch for /[{}]/ opening a closing delimiter
> if you find a { increment nestingLevel
> if you find a } decrement it
> when nesting level hits 0 again you are done
>
> --- In flexcoders@yahoogroups.com, "marty.pitt" wrote:
> >
> > Hi
> >
> > Can som
)]*\)[^()]*)*\)..., so the thought of having to worry
> about further levels of nesting is frightening. Sometimes, you just have
> to use other, non-regex methods."
>
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
>
> -Original Message
Yeah, that'd be great!
My email is kiwicomposer at hotmail dot com
Thanks Jhonny.
Marty
--- In flexcoders@yahoogroups.com, "Jhonny Everson" <[EMAIL PROTECTED]> wrote:
>
> To solve a similar problem I wrote a lexical analyzer and a parser
in AIR. I
> use it to convert Java code to AS3 to using w
18 matches
Mail list logo