I believe that you can't get any return value that way (not sure, could be wrong). What you need to do is call a javascript with proxy.call wich then (the javascript) calls another function that sends data to flash through the proxy ...
A better way to do that, if you use Flash 8, is to use ExternalInterface. I did some E-Learning in the past and we only sent data to the wrapper, the only time we retrieved anything was on the first load with flashvars HTH A. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: 25 octobre 2006 09:50 To: Flashcoders mailing list; Open Source Flash Mailing List Subject: [Flashcoders] SCORM multi api wrapper Guys, sorry for posting on both mailing lists, but I don't know where it belongs. With the SCORM Version 1.2/2004 Template for Flash , if you do following : proxy.call( "apiCall", "getValue", "_DataModelElement_" ); how can you access the value???? proxy.call doesn't return anything, and if you do following : var value:String = proxy.call( "apiCall", "getValue", "_DataModelElement_" ); Mtasc gives an error, because proxy.call has no return value. Lieven Cardoen Ps : I've searched for this on flashforlearning.com, on adobe sit, google, ... and found nothing Lieven Cardoen Application developer indiegroup interactive digital experience engelse wandeling 2 k18 b8500 kortrijk _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 2006-10-24 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 2006-10-24 _______________________________________________ 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