Sure.
I have a programmable skin which I enable using actionscript as in:
this.setStyle("borderSkin",com.classes.TileBackground);
Later on I want to access the instance of my newly created skin
getStyle does not do the trick as it return null.
this.border in the same class I executed the above line does point to
the correct instance of "TileBackground" ( when I view it in debugger
) but I can't access it in the instance it lives in ...
So I can access it ?
Hope this helps ...
Regards,
Sean.
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Can you post some code?
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of helihobby
> Sent: Tuesday, December 11, 2007 11:06 PM
> To: [email protected]
> Subject: [flexcoders] this,border exists in debug but not in my class ?
> How do I access my prog skin ?
>
>
>
> Subject: this,border exists in debug but not in my class ? How do I
> access my prog skin ?
>
> Hello,
>
> I need to get the instance of my programmatic skin.
> I see my instance in the debugger when I break point and it lives in:
>
> this.border
>
> However when I try to access it via ActionScript I get an error that
> this property / instance does not exist.
>
> How come the debugger can see it and I can't access it.
>
> I know that this.border is in fact pointing to the memory location of
> my instance ,,, but how do I get a reference to it ?
>
> If the debugger showes it .. should'nt I have access to it as well via
> this.border ?
>
> So.. How do I get access to my programmatic skin ?
>
> Thank you all,
>
> Sean.
>