Posts Tagged ‘flash’

Long View; Kinect+Processing

“Long View” — This is an interactive projected art piece that portrays time through the evolutionary progression of a planet. Using motion detection hardware (microsoft kinect) and custom made software (derived from the OpenNI drivers, and programmed using processing), we […]

Flash AS3: Fullscreen video blanks screen

When the stage enters full-screen mode, the FLVPlayback component is on top of all content and takes over the entire screen. When the stage exits full-screen mode, the screen returns to how it was before. // say your FLVPlayback component […]

Flash AS3: loop video – FLVPlayback

import; myVideo.addEventListener( VideoEvent.COMPLETE, completePlay); function completePlay(e:VideoEvent):void {; } import; fl_video.autoRewind = true; // fl_video being the name of the video component fl_video.addEventListener(VideoEvent.AUTO_REWOUND, doLoop); function doLoop(e:VideoEvent):void {; }


Fresh Look: Evolving Art & Design in NC NCMA: Museum on the Move Projected computer animations are among the first works of art visitors experience in East Building. Collaborating designers, Lee Cherry and Donnie Wrights, with Associate Professor, Pat […]

Flash AS3: FLVPlayback component, onComplete

// create an event listener for a FLV Playback Component // FLVPlayback component has an instance name of: myFLVplayer // FLVPlayback component is located in a movieclip: myMovie_mc // listens for when the video has completed playing // “rewinds” it […]

Flash AS3: Switch/Case

// call switchCase(), pass in one number to execute a set of // other functions or lines of code based on that number. // limited error detection function switchCase(num:Number=NaN) { var num:Number=num; if (isNaN(num)) { throw new Error(”no value defined”); […]

Flash AS3: Random Low/High

//call this function, pass it two numbers (low number, high number) // should return a random number between lo and high number // some error checking,  checks to see if low number < high number function randomNumber(low:Number=NaN, high:Number=NaN):Number { var […]