RE: have you ever seen the Stage sizing bug on any Flash loaded with OBJECT embedding only?
Yes, I have had a number of occasions where items have not been available on frame 1 of a Flash movie with standard object/embed. This includes flashvars, and properties like stage width/height. From memory it was only IE which suffered from this issue. RE: process - Yes, swfobject does end up writing the same HTML code to the page, but as you have found, the way the browser/plugin handles the <object> definition being created dynamically as opposed to being defined inline on the page seems to make a difference. The resize bug is really the only issue that has become apparent as a side effect of this methodology. The onmetadata issue is the first time I have heard of this. I would have thought that we would have heard a lot more about this as Youtube and other video based sites use swfobject. RE: HTML5 - I think you'll be waiting a couple of years there anyway :) When is the final spec due out, 2012....? Aran On Fri, Jul 17, 2009 at 3:18 AM, gmccomb <[email protected]> wrote: > > Maybe I'm misunderstanding the process, but I was under the impression > SWFObject (or its ilk) wrote to the HTML content of the holder (DIV, > or whatever), basically reproducing what is in effect static OBJECT > code. Upon completion of the HTML write, the object was passed to > Flash, which then proceeded to load the SWF. > > If the OBJECT code is exactly the same (see my note in my first post > about retrieving the HTML output of SWFObject and then creating a > stand-alone page out of it), what is the mechanism that causes Flash > to fail? It seems to me just about all the work-arounds involve some > kind of deferred code execution. Does Flash run prematurely before all > of the OBJECT code is written out by SWFO, or is there an in-browser > timing error when running JavaScript at the precise moment the Flash > object is being created? If the latter, it would seem to me lots of > pages would be affected, even without dynamic publishing. > > Adobe could fix this, but we'll still have to write work-arounds for > several years to come. That is, unless HTML 5 removes any need for FLV > players! :-) > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
