asp.net - Best way to have an ASP/.NET ajax driven page updated using flex/flash? -
i have mapping application written in flex/flash app. app used bounding coordinates visible data on map. want put in asp page using ajax update search results. search results defined bounding coordinates. these bounding coordinates search query. best way update search current coordinates flex app? not sure of best way have flex interact web page.
how tell ajax driven asp .net page update results based on data flex app?
use as3 externalinterface class communicate javascript.
in as3 :
private function senddata(boundingcoordinates:object):void { if(externalinterface.available) { externalinterface.call("senddatatoasp", boundingcoordinates); } }
in javascript :
function senddatatoasp(boundingcoordinates) { // doajaxstuffwithboundingcoordinates(); }
Comments
Post a Comment