Articles Tagged 'useHandCursor'

Papervision 3D: to show the hand cursor on the 3D interactive elements

Set in a material way interactive and engaging event with a plan:

1
2
3
4
5
6
7
8
BitmapAssetMaterial = new BitmapAssetMaterial ( "foto1" ) ; var mymaterial: BitmapAssetMaterial BitmapAssetMaterial = new ("photo1");
; mymaterial. interactive = true;
Plane = new Plane ( my_material , 200 , 100 , 0 , 0 ) ; var myplane: Plane = new Plane (my_material, 200, 100, 0, 0);
( InteractiveScene3DEvent . OBJECT_PRESS , myplane. addEventListener (InteractiveScene3DEvent. OBJECT_PRESS,
e : InteractiveScene3DEvent ) : void { function (e: InteractiveScene3DEvent): void {
/ / Todo
}
);

Continued ...

Create MovieClip modal TopMost

di Flash. Illustrate a technique to create symbols (MovieClip) modal components to be used similarly to the Alert and Window of Flash. The aim is to show a MovieClip above all others, disabling - well - access to the underlying and any other object / component present. To be honest I have achieved that by doing a little 'reverse engineering code from Adobe, which is in the clear! I actually resisted ;)

The artefizio that is used to disable any interface present below our MovieClip, is to create a transparent MovieClip take the whole area of ​​the stage. a false . At this MovieClip, which will be virtually no visible snaps a method "void" on the event onRelease , being careful to set the useHandCursor to false .

First of all we create a movie with any interface in the main stage:

Interface

Continued ...