View Single Post
Old 09-11-2010, 04:01 AM   PM User | #4
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
Quote:
Originally Posted by criptopus View Post
Alex Harui, said "And one way to do that might be to put an id=”foo” on the DropDownList and watch for the “open” event and set foo.dropDown.owner = this;"

I could reach dropDown from foo if I didn't use a skin but couldn't reach owner,
And if I used a skin dropDown was not available.

Any ideas?

- Stephen
It doesn't look like you can set the owner property on foo.dropDown. It might be inaccessible in the parent class. It looks like Alex's theory is at least pointing in the right direction:
PHP Code:
trace(foo.owns(foo.dropDown)); // false
trace(foo.dropDown.hasOwnProperty('owner')); // true 

Last edited by Inigoesdr; 09-11-2010 at 04:03 AM..
Inigoesdr is offline   Reply With Quote