As you are using static publishing, there is nothing to stop the Flashvars being passed if no js is enabled. You are defining them in the object definition, so I see no reason at all that they would be unusable.
So you are tracing out the values in Flash, and they are undefined? Have you tried waiting a frame before trying to access the values? Aran On Mon, Jul 20, 2009 at 4:00 AM, mgoogle <[email protected]> wrote: > > Hi > > with the generated code form the "SWFObject 2 HTML and JavaScript > generator v1.2" the flash movie with flashvars does only work if > javascript is enabled. > > If i disable javascript, it sees that the flashvars are not passed to > the movie. > Only the flash player window shos up without the movie. > > In all Versions of IE and Firefox the movie works with and without > javascript enabled. > > Can anyone give me an hint or has an idea what could be the problem ? > > Thanks, > Martin > > Her ist my code witch was generated with the "SWFObject 2 HTML and > JavaScript generator v1.2". > > <script type="text/javascript"> > swfobject.registerObject("myFlashContent", "9.0.28", "http:// > xxxxxxxxxxxx.ch/system/modules/openvideoplayer/html/ > expressInstall.swf"); > </script> > > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="<? > php echo $this->openvideoplayer['width']; ?>" height="<?php echo $this- > >openvideoplayer['height']; ?>" id="myFlashContent"> > > <param name="movie" value="http://xxxxxxxxxxxx.ch/system/modules/ > openvideoplayer/html/player.swf" /> > <param name="allowfullscreen" value="true" /> > <param name="flashvars" value="src=http://xxxxxxxxxxxxxxxx.ch/media/ > > mercedes.mp4&mode=sidebyside&scaleMode=fit&themeColor=0395d3&frameColor=333333&fontColor=cccccc&autostart=true&width=646&height=401" > / > > > > <!--[if !IE]>--> > > <object type="application/x-shockwave-flash" data="http:// > xxxxxxxxxxxx.ch/system/modules/openvideoplayer/html/player.swf" > width="<?php echo $this->openvideoplayer['width']; ?>" height="<?php > echo $this->openvideoplayer['height']; ?>"> > <param name="allowfullscreen" value="true" /> > <param name="flashvars" value="src=http://xxxxxxxxxxxxx.ch/media/ > > mercedes.mp4&mode=sidebyside&scaleMode=fit&themeColor=0395d3&frameColor=333333&fontColor=cccccc&autostart=true&width=646&height=401" > / > > > > <!--<![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> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
