[osflash] [SWFObject] Passing flashvars makes swf doesn't initialize incorrectly

Geoff Stearns geoff at deconcept.com
Wed Jul 5 13:56:54 EDT 2006


so using a preloader fixes it?

i've heard of one other person having this problem (i think on the  
SWFObject mailing list) - and i think they fixed it by just waiting a  
frame before trying to access the flashvars.

not sure why this happens, since the flashvars are passed in the html  
when it writes it to the page... so it's probably some bug in the way  
the browser handles plugins that are written to the page using  
javascript/innerhtml



On Jul 4, 2006, at 8:28 AM, Carlos Rovira wrote:

> Hi Zárate, thank for the link, but, as always, I'm involved in  
> killer timelines and can't test it right now, I bypass the problem  
> inserting a preloader in those swfs and going for the next  
> problem ;). With the external preloader all works fine.
>
> You notice some of the problems I state before? I think the problem  
> is derived from having several individual SWFs loading data via  
> flashvars in one html. But as it's a very strange problem that  
> happens from time to time I can't assert what is causing it.
>
>
> On 7/4/06, Zárate <zzzarate at gmail.com> wrote:
> Hi,
>
> Carlos, why don't you take a look to Flaccess? Is another js method to
> embed Flash content. It's written by a Spanish guy:
>
> http://meddle.dzygn.com/esp/weblog/flash.accesible/
> http://meddle.dzygn.com/eng/weblog/accessible.flash/
>
> Just to confirm if there's a problem with SWFObject.
>
> Cheers,
>
> juan
>
> On 7/4/06, Carlos Rovira <carlos.rovira at gmail.com> wrote:
> > Hi,
> >
> > I was experiencing some unexpected behaviour with swfs. I change  
> from
> > <object> to swfobject in a project and was passing some values  
> via flashvars
> > (with "addVariable()" method in swfobject).
> >
> > Sometimes (not always), the swf doesn't initialize correctly, and  
> we can see
> > strange graphics due to bad swf initialization.
> >
> > I'm trying to check and find where's the problem, and maybe it  
> could be due
> > to swfobject, but I'm not sure at the moment.
> > I only want to ask to this list if someone has notice those  
> problems, or I
> > miss some info out there regarding this kind of issue.
> >
> > Someone?
> >
> > Thanks in advance.
> >
> > C.
> >
> > --
> > ::| Carlos Rovira
> >  ::| http://www.carlosrovira.com
> > _______________________________________________
> > osflash mailing list
> > osflash at osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
> >
>
>
> --
> Juan Delgado - Zárate
> http://www.zarate.tv
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
> -- 
> ::| Carlos Rovira
> ::| http://www.carlosrovira.com
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060705/eaf20e0e/attachment.htm


More information about the osflash mailing list