Archive

Posts Tagged ‘as3’

AS3 mouse leave stage detect

December 14th, 2009 jeff No comments

I’ve been working on papervision dragging and to detect when the mouse cursor leaves and goes off/outside the stage bounds in AS3. (Or the browser if the movie is set to scale to fill the window) one would use this listener:

mc.stage.addEventListener(Event.MOUSE_LEAVE, mouseLeaveHandler);

fucntion mouseLeaveHandler(e:Event):void{}

However this event doesn’t fire when the mouse is down while the mouse leave the stage.

Post to Twitter Post to Facebook

Flash 10, Massive amounts of 3D particles with Alchemy source included. | UnitZeroOne

May 6th, 2009 jeff No comments

Very impressive Flash display work here, makes you wonder what the furture holds for flash and 3d games (Papervision X) realtime shaders, shadows bring it on!

Post to Twitter Post to Facebook

wmode transparent bugs

November 9th, 2007 jeff No comments

” and @ symbols are swapped around on the keyboard making forms requiring email a nuisance. Happens in Firefox.

Event.COMPLETE loading on images fails to execute on Firefox in transparent mode.
Setup an Event.INIT and check the bytes total against bytes loaded.

no MOUSE_MOVE Events will fire, when the mouse is outside of the stage. Making it hard to track the mouse’s return to the browser window.

Overall wmode=”transparent” flash parameter can create some strange bugs so be aware of them before you decide on functionality. Setting to normal gives you a slight performance gain. This will be more apparent on the new mac Flash 10 player apparently.

Post to Twitter Post to Facebook

Categories: Flash Tags: , , , , , , , ,

Videos, Slideshows and Podcasts by Cincopa Wordpress Plugin