It looks like you are going to have to cast e.object to the subclass
you created.


On Aug 6, 11:41 am, dyc <[email protected]> wrote:
> Hey guys,
>
> I made a custom subclass of an ObjectContainer3D, then put a sphere in
> it, and some public variables.
>
> Then, where I add that subclass to the stage, I add the following
> roll_over listener…
>
> protected function sphereRoll(e:MouseEvent3D):void {
>                         //tf.appendText("SPHERE ROLLED :: " + e.object + " / 
> "  +
> e.object.name);// + e.element.tagText
>                         var keyStr:String;
>                         var valueStr:String;
>
>                         for (keyStr in e.object) {
>                                 valueStr = String(e.object[keyStr]);
>                                 tf.appendText("\t" + keyStr + ":\t" + 
> valueStr + "\n");
>                         }
>
>                 }
>
> for some reason I cannot access the public variables inside of the
> Object, or Element that get returns...
>
> Any ideas?

Reply via email to