# Plugin.setWindow error on a mac with fscommand

**URL:** <https://forum.kirupa.com/t/plugin-setwindow-error-on-a-mac-with-fscommand/174226>\
**Category:** Uncategorized\
**Created:** [January 3, 2006, 11:44pm UTC](https://forum.kirupa.com/t/plugin-setwindow-error-on-a-mac-with-fscommand/174226 "2006-01-03T23:44:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kayluhb](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kayluhb/32/580_2.png) [@kayluhb](https://forum.kirupa.com/u/kayluhb)\
**Post date:** [January 3, 2006, 11:44pm UTC](https://forum.kirupa.com/t/plugin-setwindow-error-on-a-mac-with-fscommand/174226/1 "2006-01-03T23:44:16Z")

</div>

Hey guys,

I’m really stumped on this one.

I’ve got a swf that is calling an fscommand that works fine on a PC. When viewed on the mac however, I get an error that says

```auto
Error: plugin.SetWindow is not a function Source File: 
javascript: function jsScriptObject(obj){ this.wrappedJSObject = obj;}
 jsScriptObject.prototype ={ evaluate : 
      function(expression){ 
return new jsScriptObject(eval(expression));}};
var plugin = document.embeds['manager']; 
plugin.SetWindow(new jsScriptObject(window),518754528); 
  
Line: 1

```

I’ve got the

```auto
swLiveConnect=true

```

and

```auto
name="wordbang" 

```

params in the embed tag, but still get errors. Has anyone run across this? I’m totally stumped.

You can see the page [here](http://www.blenderbox.com/wordBang/revised.html)

I’m really stuck, so any help would make you my god.

Thanks.
