Well, the passing of the flashvars doesn't look quite correct:

Usually flashvars are passed as name/value pairs like so:

<param name="flashvars" value="foo=bar&amp;somename=somevar" />

Your flashvars have:
- a space in them (flash variables cannot have spaces)
- been wrapped in two object notiation curly brackets

Basically, how is your swf expecting the variables on the root timeline (as
that is waht flashvars end up as) ?


*** note - if you view the swf directly in the browser and you see the skin,
then it is not using flashvars anyhow - It means that it is loading the skin
based on a value set inside the swf. What code do you have inside your swf
to load the skin? ***


Cheers,
Aran



On Tue, Aug 9, 2011 at 2:14 PM, David Zhu <[email protected]> wrote:

> Hello,
>
> I'm completely new to SWFobject, I've done basic flash before, but I pretty
> much know nothing.
>
> I used Flash 8 to make a skin.
>
> Now the question is, how do I get it to work in a webpage? I've tried this:
>
>         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> width="640" height="360" id="flashVideo">
>                     <param name="movie" value="VIDEO.swf" />
>                     <param name="play" value="true" />
>                     <param name="loop" value="true" />
>                     <param name="menu" value="true" />
>                     <param name="wmode" value="opaque" />
>                     <param name="flashvars" value="skinName={{store
> direct_url=ClearOverPlayMute.swf'}}" />
>                     <!--[if !IE]>-->
>                     <object type="application/x-shockwave-flash"
> data="VIDEO.swf'}}" width="640" height="360" >
>                     <param name="play" value="true" />
>                     <param name="loop" value="true" />
>                     <param name="menu" value="true" />
>                     <param name="wmode" value="opaque" />
>                     <param name="flashvars" value="skinName={{store
> direct_url='ClearOverPlayMute.swf'}}" />
>                     <!--<![endif]-->
>
>                         <a href="http://www.adobe.com/go/getflashplayer";>
>                             <img src="
> http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif";
> alt="Get Adobe Flash player" />
>                         </a>
>                     <!--[if !IE]>-->
>
>                     </object>
>                     <!--<![endif]-->
>
>         </object>
>
>
> Am I doing something wrong? The video shows, but the skin does not show.
>
> However, if I open up the .swf directly in my browser, then the skin does
> work.
>
> Any ideas? Thank you!
>
>  --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/swfobject/-/Au-AibSKzsEJ.
> 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.
>

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