Tengo una duda a ver si alguien sabe resolvermela ....
Actualmente estoy probando a tope papervision pero a la hora de incluir un moviclip con botones dentro de un plano como material me va genial a excepcion de que no funcionan los botones, ni los scrolls ni nada, sabeis por que?
Os adjunto el codigo de inserccion de el movie y demas cositas:
Código :
movie = new cover;
movie.alpha = 1;
prev_btn = new SimpleButton();
with (prev_btn) {
name = "prev";
upState = new UpStatePrev();
downState = new DownStatePrev();
overState = new OverStatePrev();
hitTestState = new UpStatePrev();
x = 20;
y = 50;
addEventListener(MouseEvent.MOUSE_UP, handlerMouseUp2);
enabled = true;
}
movie.addChild(prev_btn);
next_btn = new SimpleButton();
with (next_btn) {
name = "next";
upState = new UpState();
downState = new Oscar();
overState = new OverState();
hitTestState = new UpState();
x = 20;
y = 50+(prev_btn.height*1.10);
addEventListener(MouseEvent.MOUSE_UP, handlerMouseUp);
enabled = true;
}
movie.addChild(next_btn);
myMaterial = new MovieMaterial(movie["formulario"], true, true, true);
myMaterial.oneSide = false;
myMaterial.interactive = true;
myMaterial.doubleSided = true;
myMaterial.smooth = true;
myMaterial.updateBitmap();
myPlane = new Plane(myMaterial, 1);
myPlane.x = ficha.x;
myPlane.y = ficha.y;
myPlane.z = ficha.z;
scene.addChild( myPlane ); 