Hi You could do that, and lots of other things, quite easily with haXe (http://haxe.org) example : http://haxe.org/doc/remoting/flash_js
+++++++ Clément On Wed, Dec 3, 2008 at 2:11 PM, Patricio Stegmann <[EMAIL PROTECTED]> wrote: > 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 ! > > ________________________________ > Get news, entertainment and everything you care about at Live.com. Check it > out! > _______________________________________________ > osflash mailing list > osflash@osflash.org > http://osflash.org/mailman/listinfo/osflash_osflash.org > > _______________________________________________ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org