Revision: 7127
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 8, 2008 20:42 by donkeykong
Initial Code
serverGateway('updateRecentlyViewedMedia'); function serverGateway(strGatewayMethod) { switch(strGatewayMethod) { case "updateRecentlyViewedMedia" updateRecentlyViewedMedia_sender = new LoadVars(); //vars updateRecentlyViewedMedia_sender.gatewayMethod = gatewayMethod;//used to tell flash_gateway.php updateRecentlyViewedMedia_sender.sendAndLoad(_root.domainPrefix + "flash_gateway.php", updateRecentlyViewedMedia_loader, "POST"); break; } } var updateRecentlyViewedMedia_loader = new LoadVars();//method for retrieving vars from server file updateRecentlyViewedMedia_loader.onLoad = function(success) { if(success) { _root.videoDomain = this.videoDomain; } else { trace("did not load"); } }
Initial URL
Initial Description
Used to make server-side communication easier
Initial Title
loadvars sendAndLoad custom use
Initial Tags
Initial Language
ActionScript