Perhaps the following syntax will help:
var func:String = yourFunctionName;
this[func]();
Regards,
Keith Reinfeld
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of A. P. Damien
Sent: Tuesday, November 05, 2013 10:48 AM
To:
Hello!
I wanna build an Android app similar to iOS Newsstand app using Adobe Flex
Flash Builder. Is it possible to achieve this goal.?
My aim to build such app is simple:
I've developed some Android Games (.apk files) using AIR for Android, when any
app is installed to the Android devices
I'm writing a game. Well, actually I guess it's more of a game engine. I
want the game logic to be in a script. The script will take the form of
a series of rooms, each of which can contain:
. doors to other rooms
. characters the player can interact with
. things the player
On 11/6/2013 9:16 AM, Keith Reinfeld wrote:
Perhaps the following syntax will help:
var func:String = “yourFunctionName”;
this[func]();
Thanks. I hadn't fully assimilated the fact that an object can also be
treated as an array. Do I have to declare the class 'dynamic' for this
trick to
Both Array and Object support [] property access.
Regarding converting a String to a Function: AS is compiled, not
interpreted, so only strings that have been compiled into functions can be
run. You can fill an object or array full of functions and choose one at
runtime, but that is not the
If you need selection, why not use List?
From: Jairo França ja...@tgi.inf.brmailto:ja...@tgi.inf.br
Reply-To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Date: Tuesday, November 5, 2013 9:27 AM
To:
6 matches
Mail list logo