I'm working with .Net client app wrapping a swf calling functions back and forth on a project. Does anyone have any suggestions on how to get .Net passing parameters into your callback function? I've done it successfully with JavaScript in the browser on other projects, but we have run into a hang-up on this outside the browser with parameters.
In the little documentation available on such a process everything I've tried should work but no parameters are being passed back in, arguments array is undefined when doing a cross check. I read a something about a bug where you can not do this with projects built in VS2005, although I'm not sure if that is true or not. Everything on the .Net side looks ok, same on the flash side. The callbacks work fine, but the parameters are mia. .Net call : axShockwaveFlash.CallFunction("<invoke name=\"onImportConversionSuccess\" returntype=\"Void\"/><arguments><string>somestring_uri.png</string></arg uments></invoke>"); AS ExternalInterface.addCallback("onImportConversionSuccess", this, this.onImportConversionSuccess); function onImportConversionSuccess(uri:String):Void { trace("Conversion uri: " + uri); trace("arguments len : " + arguments.length); } A decent reference : http://www.codeproject.com/cs/media/flashexternalapi.asp?df=100&forumid= 226349&exp=0&select=1518421 Any suggestions? Thanks, Ben Schmidtke _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com