Hi there,
Is there a way we can get a running instance in our application, by using
it’s id as a String?
For ex:
I have a mxml line which is
There is a data xml in which these instance names (vAxis1, vAxis2 …) shall
be declared:
see this link:
http://stackoverflow.com/questions/468925/in-actionscript3-how-do-you-get-a-reference-to-an-objects-class
Maybe this is enough for you?
var classRef:Class = getDefinitionByName(getQualifiedClassName(myObject)) as
Class;
I hope it helps.
Miguel.
> Date: Fri, 16 Aug 2013 17:09:12 +053
I guess there's no reliable way to get the instance at runtime by id?
Perhaps getChildByName could help?
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObjectContainer.html#getChildByName()
On 16 August 2013 12:39, Deepak MS wrote:
> Hi there,
>
> Is the
you can use myComponentName["myView"] where myComponentName is the parent
one and myView is the child
On Fri, Aug 16, 2013 at 5:09 PM, Deepak MS wrote:
> Hi there,
>
> Is there a way we can get a running instance in our application, by using
> it’s id as a String?
>
>
>
> For ex:
>
> I have a m
There's no getElementByName, so maybe on the parent you could do
(immediately contradicting my previous comment :)
var myElement:* = parent["childId"]
On 16 August 2013 12:50, Marcus Wilkinson wrote:
> I guess there's no reliable way to get the instance at runtime by id?
> Perhaps getChildByNam
But 'myObject' here should be an actual object and not a string a believe?
However I did try both options, but that did not work.
On Fri, Aug 16, 2013 at 5:16 PM, Miguel Ferreira <
miguel.cd.ferre...@hotmail.com> wrote:
> see this link:
>
> http://stackoverflow.com/questions/468925/in-actionscri
To be precise, I was using linear axis in a model class, and i used
myModelInstance["vAxis1"] and that worked. : )
That was simple concept but I kept banging my head with all types of
combinations using getDefinitionByNamegetQualifiedClassName.
Thanks for the help everyone...
Cheers!
O
Has anyone found a point of contact at Google regarding the Maps API and
Flash? Seems like if lots of people asked them to delay pulling it down
they might, or folks could convince them to donate the Flash version to
Apache or put it out on Google Code.
It also wasn't clear whether you could use E
On 8/15/13 4:49 PM, "Mark Kessler" wrote:
>What do you think weatherspark [1] is done in? Or the Sherwin Williams
>color visualizer [2]?
>
>
>[1] http://www.weatherspark.com
>[2] http://www.sherwin-williams.com/visualizer/
You can find out by grabbing the SWFs from your cache and SWFDump-ing
t
Based on that recent article about Google pulling the API plug on Microsoft
[1], it seems like they are trying to force people into HTML5 for all future
apps. However I'm sure it was blown up larger than it needed to be.
[1]
http://arstechnica.com/gadgets/2013/08/google-blocks-windows-phone-yo
I'm fine with Google only developing APIs for HTML5. The question is
whether anybody can build a Flash API around it. That's the premise of
the FlexJS parallel frameworks.
The mapping API providers that do provide or allow for parallel APIs for
their maps will have the advantage if/when FlexJS t
Exporting the Maps API to Flash/ActionScript should be doable.
This is basically what we do in Java using GWT and FaBridge.
2013/8/16 Alex Harui
> I'm fine with Google only developing APIs for HTML5. The question is
> whether anybody can build a Flash API around it. That's the premise of
> th
> Has anyone found a point of contact at Google regarding the Maps API and
> Flash?
I don't want to be a debbie downer, but Google is historically horrible
when it comes to things like this, and there has been a huge volume of
annoyed messages posted to their google groups board about the flash A
On 8/16/13 8:25 AM, "Alain Ekambi" wrote:
>Exporting the Maps API to Flash/ActionScript should be doable.
>This is basically what we do in Java using GWT and FaBridge.
I'm not quite sure how you are doing it, and we could poke a hole in Flash
and use th e Iframe overlay or StageWebView, but I t
On 8/16/13 8:53 AM, "Doug McCune" wrote:
>> Has anyone found a point of contact at Google regarding the Maps API and
>> Flash?
>
>
>I don't want to be a debbie downer, but Google is historically horrible
>when it comes to things like this, and there has been a huge volume of
>annoyed messages p
Your approach of using the actual Google JS API and wrapping that, either
for use in FlexJS or Flex on Flash is viable though. My only point is that
you need to avoid trying to port their API or use an alternative map
component, etc. Stick with only their JS API (or your own abstraction layer
on to
> I saw that in the T&Cs. Seems like you can pay to use via some Enterprise
> deal, no?
Yup, for about $25k+ you can use the API in a commercial app. You still
always have to use their JS API.
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
Thank you Jerry, much appreciated.
http://www.39dn.com
Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away.
- Antoine de Saint-Exupery
On Wed, Aug 14, 2013 at 12:38 PM, Jerry Hamby wrote:
> Prem,
>
> Here are some links to get you starte
19 matches
Mail list logo