Revision: 37162
Updated Code
at December 5, 2010 05:48 by hejaaa
Updated Code
import flash.events.MouseEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLLoaderDataFormat; import flash.events.Event; btn.addEventListener(MouseEvent.CLICK, klik); function klik(e:MouseEvent):void{ var req:URLRequest = new URLRequest("check.php"); var loader:URLLoader = new URLLoader(req); loader.dataFormat = URLLoaderDataFormat.VARIABLES; loader.addEventListener(Event.COMPLETE, komplet); } function komplet(e:Event):void{ infoTXT.text = e.target.data.vyhra + " - " + e.target.data.id; } // PHP :: check.php <?php echo "vyhra=true&id=123456"; ?>
Revision: 37161
Updated Code
at December 5, 2010 05:48 by hejaaa
Updated Code
import flash.events.MouseEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLLoaderDataFormat; import flash.events.Event; btn.addEventListener(MouseEvent.CLICK, klik); function klik(e:MouseEvent):void{ var req:URLRequest = new URLRequest("check.php"); var loader:URLLoader = new URLLoader(req); loader.dataFormat = URLLoaderDataFormat.VARIABLES; loader.addEventListener(Event.COMPLETE, komplet); } function komplet(e:Event):void{ infoTXT.text = e.target.data.vyhra + " - " + e.target.data.id; } // PHP::check.php <?php echo "vyhra=true&id=123456"; ?>
Revision: 37160
Updated Code
at December 5, 2010 05:45 by hejaaa
Updated Code
import flash.events.MouseEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLLoaderDataFormat; import flash.events.Event; btn.addEventListener(MouseEvent.CLICK, klik); function klik(e:MouseEvent):void{ var req:URLRequest = new URLRequest("check.php"); var loader:URLLoader = new URLLoader(req); loader.dataFormat = URLLoaderDataFormat.VARIABLES; loader.addEventListener(Event.COMPLETE, komplet); } function komplet(e:Event):void{ infoTXT.text = e.target.data.vyhra + " - " + e.target.data.id; } // PHP :: check.php <?php echo "vyhra=true&id=123456"; ?>
Revision: 37159
Updated Code
at December 5, 2010 05:44 by hejaaa
Updated Code
import flash.events.MouseEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLLoaderDataFormat; import flash.events.Event; btn.addEventListener(MouseEvent.CLICK, klik); function klik(e:MouseEvent):void{ var req:URLRequest = new URLRequest("check.php"); var loader:URLLoader = new URLLoader(req); loader.dataFormat = URLLoaderDataFormat.VARIABLES; loader.addEventListener(Event.COMPLETE, komplet); } function komplet(e:Event):void{ infoTXT.text = e.target.data.vyhra + " - " + e.target.data.id; } // PHP // check.php <?php echo "vyhra=true&id=123456"; ?>
Revision: 37158
Updated Code
at December 5, 2010 05:44 by hejaaa
Updated Code
import flash.events.MouseEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLLoaderDataFormat; import flash.events.Event; btn.addEventListener(MouseEvent.CLICK, klik); function klik(e:MouseEvent):void{ var req:URLRequest = new URLRequest("check.php"); var loader:URLLoader = new URLLoader(req); loader.dataFormat = URLLoaderDataFormat.VARIABLES; loader.addEventListener(Event.COMPLETE, komplet); } function komplet(e:Event):void{ infoTXT.text = e.target.data.vyhra + " - " + e.target.data.id; } // PHP check.php <?php echo "vyhra=true&id=123456"; ?>
Revision: 37157
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 5, 2010 05:43 by hejaaa
Initial Code
import flash.events.MouseEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLLoaderDataFormat; import flash.events.Event; btn.addEventListener(MouseEvent.CLICK, klik); function klik(e:MouseEvent):void{ var req:URLRequest = new URLRequest("check.php"); var loader:URLLoader = new URLLoader(req); loader.dataFormat = URLLoaderDataFormat.VARIABLES; loader.addEventListener(Event.COMPLETE, komplet); } function komplet(e:Event):void{ infoTXT.text = e.target.data.vyhra + " - " + e.target.data.id; } ////////// PHP <?php echo "vyhra=true&id=123456"; ?>
Initial URL
Initial Description
Initial Title
load variables from php file
Initial Tags
php
Initial Language
ActionScript 3