Hello,
I’m a Papervision newbie and I’m a bit stuck here.
I created a class that extends the displayObject3d and
added an Event dispatcher like bellow:
package {
import flash.display.Sprite;
import flash.display.Stage;
import flash.events.Event;
import org.papervision3d.objects.DisplayObject3D;
public class dummyO extends displayObject3D{
public function dummyO(){
dispatchEvent(new Event("START_OF_DUMMYO"));
init();
}
private function init():void{
//start doing stuff
}}}
but unfortunately the event never dispatches.
Any idea why this is happening and what can I do to fix this?
thanks a lot!