To join in on the swfobj 2.2 mystery bug. I only get it in firefox. in
safari it works fine.

what i tried so far is to listen to the resize event, didn't work.
put a timer on up to 1000 ms and it still persist the problem.

And my problem is that I dont get width or height as 0 , i get width
+5px and height is extended by 4px?! totally random stuf this.
and why i started with flash all those years ago was because it looks
the same in all browser ^_x , what a b*cket of sh#t :D

Even so I'm bitmapping and distorting the image of my flash content
and im using the stage width and height in some calculations and I can
see, it seems like on firefox the first time around it gets a very
small stage. like it's expanding over time, because the 2nd time
around it's working! (even though ff thinks the stage width is 5px
more and height is 4px more)

I cant show you my stuf since it's for a client and there's
confidentiallity agreement.

But has anyone solved this with ActionScript? or is it a browser
runtime error that can't be over passed.

On Jun 19, 12:26 am, Kostas <[email protected]> wrote:
> > I've struggled a lot with this. Are you running Firefox, because this is
> > the only browser where I still get the error.
>
> > I always setup a Timer in my Document Class and check if(stage) before
> > continuing. That solves it.
>
> > I don't think it's a SFObject error, more a Firefox error.
>
> On the contrary, I only get it in IE7 and IE8, never in firefox (but I
> didn't try on a mac). Using a timer solves it indeed, but it's a bit
> annoying to do hacks like that in all my swfs.
>
> I agree that it looks like a browser/flash player bug. But it depends
> on how you embed the swf, cause it doesn't happen neither with the
> swfobject/static nor with the adobe code.
>
> Also it would be good to mention the timer solution in the faq, not
> only the resize event solution, cause resize didn't work of me and I
> lost a day trying to figure out what's happening.
>
> Cheers,
> Kostas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to