You can't control the stopping/playing of a Flash movie via params/flashvars
unless the swf file is looking for a specific flashvar variable and does
some internal logic based on that value.

There is the scripting access methods (old, but some people still use them):
http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptin
gwithflash_03.html

There was a recent thread on SWFObject about this here:
http://groups.google.com/group/swfobject/browse_thread/thread/4e20bad7b52e75
36/e7b888b41a1d139a?hl=en&lnk=gst&q=Replaying+SWF+from+JS+call#


Aran

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of SnowmanInTheSun
Sent: Tuesday, 20 January 2009 3:10 PM
To: SWFObject
Subject: cant assign params


I'm using SWFObject 2.1 and even when i use the included example and
add in a param to stop the file from looping or a flashvar to stop the
movie from playing on load, neither of them work


        var flashvars = false;
        var params = {};
        var params.loop = "false";
        var attributes = false;
        swfobject.embedSWF("test.swf", "myContent", "320", "240", "9.0.0",
flashvars, params, attributes);

I've tried all of the listed methods for assigning params, but nothing
seems to work. Any hints??




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