Tag Archive for 'flash-player-10'

13
Oct
10

Flash busted my bullocks last week

Generally speaking, Flash and cross browser deployment go hand in hand… not so for me over the last week. I spent 4 days doing some work for an Agency in London, and I encountered 3 browser related Flash “bugs”.

1. The stage appears to initialise quicker in Firefox and Chrome on Windows than it does in IE. I was working with some code that I hadn’t written (gotta throw a disclaimer in there ;-), and the assumption the code was making was that the stage dimensions were available on Frame 1 of the actionscript’s Document Class. IE wasn’t having a bar of this assumption, instead returning 0 for both the width and height, which was essentially causing the rest of the application to render off screen. Simple remedy was to add an ENTER_FRAME listener and wait for the dimensions to be greater than 0. Notch that one up to utilising someone else’s code that wasn’t really tested properly across browser… but that’s kinda the point of Flash right?

2. The MouseEvent.MOUSEWHEEL event doesn’t fire in IE 8. It does however work in IE6 and 7. I performed the obligatory Google searches for people that were experiencing the same issue, and only really managed to see results related to Mac and the scrollwheel (which can be remedied using swfmacmousewheel). Does anyone have the mouse scroll wheel working in IE8?

3. ExternalInterface relies on the swf actually being visible on screen in Firefox and Chrome. In IE, setting the div that contains the Flash content to display:none still allows a javascript function to communicate with the swf. In Firefox, when the div is hidden, the swf somehow ceases to exist. My hunch is that this is to with swfobject… This situation can be remedied by moving the swf off of the browsers viewport (ie. position:absolute; left:-1000; for a movie that’s 1000 pixels wide). Not sure of the ramifications this fix would have on CPU usage though (the new Flash Player 10.1 made changes in this area (see Periodic timer)).

06
Aug
08

Flash Player 10: Sound features aren’t music to my ears

Well at least it doesn’t allow me to tune my guitar using a microphone (as I was hoping the new features added to the Sound class might).

I’m currently away from my lovely Takamine acoustic guitar with built in tuner, and have a fairly dodgy classical to play with at the moment. As I don’t have my standalone guitar tuner either I started looking for applications for my phone that would allow me to tune the guitar. I found a few, but none seemed to actually do anything after installation, so I started wondering whether Flash 8, 9 or 10 might be able to do the job. I did find a reasonable flash tuner, but this didn’t make use of the microphone (like both my proper guitar tuners do). I then investigated the new Flash 10 player features only to be disappointed when I read the following (taken from kaourantin.net):

Unfortunately some features did not make it into Flash Player 10: Extracting audio data from a microphone and extracting audio from a NetStream object. We are aware that both features are highly desirable, but for various reasons it was not possible to make this happen in this release.

Adobe’s missed a good opportunity to integrate some very powerful audio capabilities into the Flash player… but I’m sure there’s a good reason for it… right?

So it’s back to tuning the good ‘ol fashion way I suppose!




Categories

Recent Comments

Posts this month

February 2012
M T W T F S S
« Nov    
 12345
6789101112
13141516171819
20212223242526
272829  

Archives