[sIFR3-dev] Small mystery bug

Fredrik Bränström branstrom at gmail.com
Fri Jul 21 12:14:31 GMT 2006


On 7/21/06, Mark Wubben <mark at novemberborn.net> wrote:
>
> On Jul 20, 2006, at 6:32 PM, Fredrik Bränström wrote:
> > This weekend, that is?
>
> Uhm, no. I was talking about weekends in general ;-)


Oh. Well... This one, please? :-o I could definately help with testing and
so on... But you're the one and only, divine developer - do as you please.


> Great. Well... for one, I would like to easily be able to add
> > multiple resize events,
>
> What would be the use of that?


I mean "reactions" to the resize event of course, not additional events...
What's the word I should be using?

For example, I'm working on a small thing that senses a resize and removes
abundant columns, to avoid the horizontal scrollbar. (It'll just show an
arrow to the right, or something, to have the content available still.) I'd
need the resize event to handle it, and if I would use sIFR at the same
time, it would overwrite the previous handler for the event. Unless, of
course... you could preserve the old event handler, just append the new
stuff to it by wrapping it all in an anonymous function. I think I've seen
that somewhere. Er, in fact, that's how you do the onload handling in
sifr.js... Sorry. I'm slow sometimes.


>
> > Anyway... You know there IS a way to resize the Flash elements,
> > though,
> > right? Have you looked into that?
>
> That is what Opera does when zooming pages, upon which sIFR scales
> the text. I'm not sure if font resizing is 1:1 both vertically and
> horizontally, so I'm not sure that could be used.


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?

--
> 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/20060721/08292f26/attachment.htm 


More information about the sifr3-dev mailing list