On Mon, Mar 03, 2008 at 08:10:34AM -0500, rush wrote:
>
> Hi all,
>
> I want to pass username to swf file. It was working fine when i use
> _IG_EmbedCachedFlash, but pass blank when use
> gadgets.flash.embedFlash. I am using following code, is it ok or have
> some mistake.
>
> gadgets.flash.embedFlash(url, "flashComponent", {
> swf_version: 8,width:800,
> height: 600,
> id: "flashid",
> flashvars: 'username='+ _esc(username)
>
> })Try using gadgets.flash.embedCachedFlash(...) The reason your code works with the embed parameter is because it's loaded via the gadget server proxy. This avoids any cross-domain restrictions when loading your flash .swf directly from your site. -- Paul Lindner hi5 Architect [EMAIL PROTECTED]
pgpSAkGCSrjaH.pgp
Description: PGP signature
