Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
August 23, 2017, 06:16:46 PM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
Pages: [1]
Print
Author Topic: Set value of proxy's instance var to that of the same proxy's static var  (Read 3660 times)
normc
Newbie
*
Posts: 5


View Profile Email
« on: December 18, 2012, 09:54:39 AM »

I'd like set the value of a proxy's instance variable to that of a static member of same class e.g.:
//JavaScript Port

instance_var: {
      prop_name: this.constructor.STATIC_VAR},

As shown, I'm building an object that will have more props...that's why I'm doing it this way.
But the "prop_name" value is undefined when queried later.
Is there a way to do this?

Thanks
NormC
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2870



View Profile WWW
« Reply #1 on: December 20, 2012, 08:10:39 AM »

I'm going to move this to the appropriate board. Don't have an answer at the moment, but it'll be more likely that someone who does will see it...

-=Cliff>
Logged
Pages: [1]
Print
Jump to: