Swiff.remote error "__flash__argumentsToXML"

53 views
Skip to first unread message

Jeremy B

unread,
Nov 14, 2008, 3:07:08 PM11/14/08
to mootool...@googlegroups.com
This might be hard to debug however I am getting this error in firebug:

__flash__argumentsToXML is not defined


This is the JavaScript Code that I am using.

if($('videoPlayer')){
   var mediaPlayer = new Swiff('./resources/swf/mediaPlayer.swf?'+$time(),{
   id:'recentVideo',
   width: 304,
   height: 187,
   params:{
   wmode: 'opaque',
allowScriptAccess: 'always',
   bgcolor: '#ffffff'
   }
   });
   $('videoPlayer').empty();
   $('videoPlayer').adopt(mediaPlayer);

if($('playVideo')){
$('playVideo').addEvent('click',function (e) {
new Event(e).stop();
var videoPlay = Swiff.remote($('recentVideo'),'playVideo');
});
}
   }

I have had the Flash Developer that built the swf verify that the function exists in the SWF file.

Any help or ideas would be greatly appreciated,
Jeremy

Jeremy B

unread,
Nov 14, 2008, 4:24:00 PM11/14/08
to mootool...@googlegroups.com
Ok .. well I figured it out, It was some flash issues not having the external interface imported correctly ... 

Sorry,
Jeremy Bueler
www.jbueler.com
Reply all
Reply to author
Forward
0 new messages