[sIFR3-dev] Small mystery bug

Fredrik Bränström branstrom at gmail.com
Sat Jul 22 10:56:11 GMT 2006


On 7/22/06, Mark Wubben <mark at novemberborn.net> wrote:
>
> On Jul 21, 2006, at 5:14 AM, Fredrik Bränström wrote:
> > You can set the dimensions of the Flash in Firebug for example, by
> > editing the HTML or setting $$(".sIFR-flash")[0].width in the
> > console. So I guess there's probably a way to make this work, if
> > you can get the Flash to detect the changes. Maybe just send a
> > refresh command to it or something... How would you do that? With
> > FSCommand? Or is that deprecated?
>
> There are a few hacks out there to get Flash to react to something.
> In fact I implemented one of them for work about a month ago, so I
> have a good idea of how to do it. As far as I know FSCommand isn't
> deprecated. In fact, it turns out to be way faster [1] than the new
> (as of Flash 8) ExternalInterface API. Good stuff.
>
> [1]: http://tom-lee.blogspot.com/2006/06/externalinterface-slower-
> than-geturl.html


It seems getURL is buggy [1] in IE. So, using FSCommand in IE and getURL in
everything else looks like a good idea.

FSCommand has the additional advantage (over actually working correctly) of
not making a clicking sound in IE/Win. :p

[1]:
http://tom-lee.blogspot.com/2006/06/externalinterface-slower-than-geturl.html#115162583840495862

--
> Mark Wubben
> http://novemberborn.net/
>
>
>
>


-- 
Fredrik Bränström
http://fredrik.branstrom.nu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.novemberborn.net/pipermail/sifr3-dev/attachments/20060722/bde310d6/attachment.htm 


More information about the sifr3-dev mailing list