First sure ,YES YOU CAN ;) dispatch events because of one simple reason: the most base class from which all super like primitives exstend is Object3D that extends EventDispatcher .Any prim extends AbstractPrimitive which extends Mesh which extends Object3D. >From here on just look in ActionScript docs....
Cheers, Michael On Thu, Sep 9, 2010 at 5:27 PM, Marco Alting <[email protected]> wrote: > Hi, > > I'm fairly new to Away3d, so bare with me here... > > I'm trying to extend the Plane primitive, so it has some extra > functionality. And I would preferrable also add some as3dmod > modifierStack to that class. But to be able to do that, it has to be > added to the displayList. But I don't see that the Plane is a > displayObject, so it will never dispatch an event. > > Is there a way to make my extended class so that it will be able to > dispatch an event? Or does Away3d provide something else for that? > > Thanks, > Marco -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net http://www.meetup.com/GO3D-Games-Opensource-3D/ Tel:054-4962254 [email protected] [email protected]
