Sure. As with all JavaScript functions, you can evaluate and use parameter values passed. As long as you pass a String which is a valid URL to your swf, it will work.
Aran On Dec 8, 5:33 pm, Anna Mechlińska <[email protected]> wrote: > Halo! > Is its possible to pass instead of "fliename.swf" a string variable > to swfobject.embedSWF > > i am getting back a name of a file from flash menu and i want a > diffrent flash games plays in the same space: > > function dataFromSwf(data) > { > var so = new swfobject.embedSWF(data , "id", "800", "800", > "10.0.0", false); > so.write("id"); > > } -- 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.
