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

Carlos Rovira carlos.rovira at gmail.com
Wed Jul 5 17:23:38 EDT 2006


Hi Geoff,

On 7/5/06, Geoff Stearns <geoff at deconcept.com> wrote:
>
> so using a preloader fixes it?
>

Yes it seems fixed with that trick

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.
>

This was my first approach, but it doesn't work. Restarting my app server
(JOnAS), make the error appears always the first time I request the page, as
the main page has a lot of flash "pods".

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
>

I finaly, solved it with the preloader and didn't worry more about this
since I was request by other people of that project to solve the problem. I
don't like having a lot of swfs in one html and pass data via flashvars, so
I don't expect to find this issue a lot of in my projects ;)

Thanks for the response.

Best,

C.



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
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>


-- 
::| Carlos Rovira
::| http://www.carlosrovira.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060705/4324b1c4/attachment.htm


More information about the osflash mailing list