• flickr
  • linkedin
  • twitter
  • rss

Posts Tagged "AS3"

Sending variables with an event – AS3

Sending variables with an event – AS3

See this thread: http://stackoverflow.com/questions/792451/want-to-send-parameters-with-custom-dispatch-event Incase they remove it, public class YourEvent extends Event { public static const SOMETHING_HAPPENED: String =…

Keyboard events in AS3

To get the character code of something in AS3, add a keyboard event to the stage. // keyboard event stage.addEventListener(KeyboardEvent.KEY_DOWN,…
Moving vanishing point in AS3

Moving vanishing point in AS3

// this can reset the location of the vanishing point var pp:PerspectiveProjection=new PerspectiveProjection(); pp.projectionCenter = new Point(mouseX,mouseY); this.transform.perspectiveProjection = pp;
6 of 9
123456789