Hello all,

I would like to know how to use the flash functions to do xmlhttprequests etc. 
via javascript calls and callbacks.
Basically I want to be able to do Crossdomain webservice calls on a simple html 
page to retrieve data. I know Flash has this ability, via the crossdomain.xml 
file.
I am already doing this via SWFHttpRequest on 
http://jimbojw.com/wiki/index.php?title=SWFHttpRequest_Flash/Ajax_Utility or 
others. This works ok but is too restrictive: it needs flash 9 for the 
SEFHttpRequest, or it does xml escaping and other bad things, and with other 
samples it only allows about 10kB of data from/to flash.
I would like to drive the whole process via Javascript, and integrate it on 
some ajax toolkit, for example clean-ajax at sourceforge.net.

Is there a way to do call the xml functions of actionscript to do the request 
instead of the javascript XmlHttpRequest method ?
Is there a way to add a callback whenever the data arrives to the flash clip, 
back to javascript ?

I dont need any visual thing or whatever, I only need the functions to do xml 
requests of the SWF. Is there a possibility to only use the 
JavaScriptFlashGateway.swf file to drive everything ?


Thanks for your help ! Hope someone can help me !

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to