try this sixth param to embedSWF is expres install seventh is flashvars

swfobject.embedSWF("head.swf", "bghead", "740", "120", "9.0.0", false,
{pt:<? echo '"'. $_GET['pt'] .'"'; ?>});

2008/10/9 neridaj <[EMAIL PROTECTED]>

>
> I can't get my flashvars passed to the swf since using swfobject. I've
> tried all the examples, do I still access the vars as "_level10." from
> within the actionscript?
>
> here's my code:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1" />
> <title>neridasign ~:: <?php echo $heading; ?></title>
> <link rel="stylesheet" type="text/css" href="css/neridasign.css" />
> <script type="text/javascript" src="js/swfobject.js"></script>
> <script type="text/javascript">
>    swfobject.embedSWF("head.swf", "bghead", "740", "120", "9.0.0",
> {pt:<? echo '"'. $_GET['pt'] .'"'; ?>});
> </script>
> </head>
> <body>
> <div id="container">
> <div id="bghead">
>        <p>Alternative Content</p>
> </div>
>
> Thanks for any help,
>
> Jason
> >
>

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