Hey I tried both of those suggestions and cannot get it to work. Can
anyone give me an example of how I need to do this?

Does the subclass dispatch events up to the display list if I only add
hild it to the view?

I'm stuck guys, anyone else?

Thanks!

On Aug 7, 5:09 pm, abowman <[email protected]> wrote:
> 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