What version of swfobject are you using?
the syntax has a mixture of 1.x and 2.x

if you use 2.x you need to call the embedSwf method - the object already
exists

if you *need** to use 1.x then the params & vars are handled via methods
of the returned object.
* 2.x is the right choice generally - niche cases need to use 1.x

http://code.google.com/p/swfobject/wiki/documentation
http://blog.deconcept.com/swfobject/#howitworks


 - S



On 21 March 2011 10:16, Susi <[email protected]> wrote:

> I Have swf file that connects to a web service (that I host on the
> same machine). Upon using swfobject to display the swf inside an aspx
> page, I am unable to load the web services. Whereas embeding the swf
> on  html page gets me connected.
>
> We have tried swf with both local file system and network access
> publish settings and both failed to connect
>
>
> This is how I am loading the swf in my aspx page:
>
>  var params = { allowScriptAccess: "always" };
>  var so = new SWFObject("Game/Sales.swf", "NPSales", "1000", "600",
> "10.0.0", "#000000", null, params);
>  so.write("content");
>
> Please advice
>
> --
> 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.
>
>

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