Revision: 23088
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 29, 2010 16:33 by jcprovideo
Initial Code
<script type="text/javascript"> var chatTall = null; //SET TO NULL UNTIL LOADED function sendGen(genType) { chatTall.sendGender(genType); } //SEND USING FLASH ExternalInterface var flashvars = {}; var params = {}; var attributes = { id: "chatTall", name: "chatTall" }; swfobject.embedSWF("signup/images/drillcams/chatTall.swf", "flashcontent", "138", "419", "9", false, flashvars, params, attributes, function(e) { chatTall = e.ref;}); </script> /*ActionScript*/ import flash.external.ExternalInterface; function genType(str:String):Void { debugTxt.text = str; } ExternalInterface.addCallback("sendGender",this,genType);
Initial URL
Initial Description
Initial Title
swfobject and flash ExternalInterface
Initial Tags
actionscript, flash
Initial Language
ActionScript