(previously titled : Flash Player bug? for each..in loops) [UPDATE] Kudos and much thanks to Tim Knip who pointed out that it was in fact my mistake – there’s a stray semi-colon at the end of the line : for each(byteArray in soundSources); Which is of course ending the loop there and just running the […]
Author: sebleedelisle
ActionScript SoundDataEvent.position
… is measured in samples. Not bytes or mils. So if you want to know how it relates to the ByteArray you’re working with, you need to multiply it by 4 (as each floating point sample requires 4 bytes). And if you want to convert it to mils, you need to divide by 44.1, the […]
ActionScript SoundChannel.position
… is measured in milliseconds. Why do I mention this? Because it seems to have been entirely omitted from the ActionScript live docs and it took me a while to figure it out. Maybe this post will save someone some time in the future. 🙂 [UPDATE] I just noticed that this is actually specified in […]
HTML5 Canvas 3D particles
Yesterday I met Renaun Erickson from Adobe, who told me that he took my basic 3D engine, compiled it with the Flash CS5 beta into an iPhone app, and demoed it the very next day at the 360 Flex conference at Adobe! It gave me a few ideas about how to optimise it so perhaps […]
3D engine in 10 lines*
UPDATE – HTML 5 Canvas version now online During my session at the Flash Gaming Summit, I showed a very simple 3D particle renderer to attempt to demystify the process of converting 3D into 2D. [kml_flashembed publishmethod=”dynamic” fversion=”10.0.0″ useexpressinstall=”true” movie=”/wp-content/uploads/manual/2010/Particles3D.swf” width=”500″ height=”350″ targetclass=”flashmovie”] [/kml_flashembed] Click and drag. The actual code that converts from 3D to […]
I’ve just published a blog post on the FITC blog where I explain what inspires me and how to learn to love the constant demand of changing technology. //blog.fitc.ca/post.cfm/stagnating-in-your-cubicle-learn-to-love-to-learn
It was great to catch up with Pablo and the ActionScriptHero crew in Amsterdam, and we had a good chat about the future of Flash, the exciting changes in digital and what inspires me.
A (belated) review of 2009
Yes, I know; I’m late with my review of last year. Everyone else did theirs in December, or at least January. But you know, I’ve done one every year and the OCD element in my personality just won’t let me get away with it. So allow me this minor self-indulgence just once a year (especially […]
FlashPlayer 10.1 coolness
I just got back from a crazy fleeting visit to Amsterdam for FITC, and now the dust is settling, I wanted to talk about some cool new features in FlashPlayer 10.1, especially now that FlashPlayer 10.1 Beta 3 has just been released on Adobe Labs! RTMFP – Peer-to-peer networking Yes it’s quite catchy name I […]
This has been a massive problem to me lately, particularly with distributing files on my training courses. For some reason, the swf files that I give my attendees don’t open with the stand alone FlashPlayer, instead they often default to Flash CS4 etc. I know the usual way to do this is by right clicking […]