Gary. If the querysting vars are required to be read by flash as individual values, then you need to call addVariable() for each var you want to pass.
If the querysting vars are a part of the video location as a single variable, then you should javascript escape() the values before passing , as Flash will split any variables based on the ampersand char. Aran On Fri, Jan 15, 2010 at 4:05 AM, garyboyle <[email protected]> wrote: > Hi folks, > > I'm creating a new swf file and seeting the file variable like so: > > var so = new SWFObject('/mediaplayer.swf','mpl','640','480','9'); > so.addVariable("file","http://www.example.com/myMovie.mov"); > > This works fine. I get a player set up ad once I press play on the > player the movie starts to download. > > But I get problems as soon as I append variables to the file url > variable eg. > so.addVariable("file","http://www.example.com/myMovie.mov? > myVar=test&otherVar=foo"); > > Now the player controls and layout have disappeared and replaced with > just a loader gif, and the file is downloading. > > Any help would be great. > > Regards, > > Gary Boyle > > > NB There is other code involved but I'm just showing the lines > involved in my problem. > > -- > 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]<swfobject%[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.
