<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Interactive Multimedia</title>
	<atom:link href="http://interactivemultimedia.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://interactivemultimedia.wordpress.com</link>
	<description>Interactivity Beyond Navigation - Sheridan Interactive Multimedia</description>
	<lastBuildDate>Wed, 04 Nov 2009 18:05:31 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Going From Flash ActionScript 3 to ActionScript 2 by hermanwhyd</title>
		<link>http://interactivemultimedia.wordpress.com/2008/01/30/going-from-flash-actionscript-3-to-actionscript-2/#comment-1798</link>
		<dc:creator>hermanwhyd</dc:creator>
		<pubDate>Wed, 04 Nov 2009 18:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=91#comment-1798</guid>
		<description>thanks you,,,
i like your this tutorial,,,</description>
		<content:encoded><![CDATA[<p>thanks you,,,<br />
i like your this tutorial,,,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on If All the World Did Flash Rather than Sudoku &#8211; Programming, the Environmentally Friendly Puzzle by Harold Schnell</title>
		<link>http://interactivemultimedia.wordpress.com/2008/07/07/if-all-the-world-did-flash-rather-than-sudoku-programming-the-environmentally-friendly-puzzle/#comment-1797</link>
		<dc:creator>Harold Schnell</dc:creator>
		<pubDate>Wed, 04 Nov 2009 17:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=125#comment-1797</guid>
		<description>Good overview on programming Dan. This helps newbies like myself understand what is involved.</description>
		<content:encoded><![CDATA[<p>Good overview on programming Dan. This helps newbies like myself understand what is involved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Going From Flash ActionScript 3 to ActionScript 2 by Stephan</title>
		<link>http://interactivemultimedia.wordpress.com/2008/01/30/going-from-flash-actionscript-3-to-actionscript-2/#comment-1796</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Tue, 03 Nov 2009 19:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=91#comment-1796</guid>
		<description>someone can conver this AS3 class in AS2 please...

Very thanks in advance...Stephan



package org.Captcha
{
	import flash.display.*;
	import flash.events.*;
	import flash.geom.*;
	import flash.text.*;
	
	public class Captcha extends MovieClip
	{
		private var clip_mc:MovieClip;
		
		private var captcha_array:Array;
		
		private const CAPTCHA_LENGTH:int=8;
		
		private var captcha:String=&quot;&quot;;
		
		public function Captcha()
		{
			addEventListener(Event.ADDED_TO_STAGE,init);
		}
		
		private function init(evt:Event):void
		{
			removeEventListener(Event.ADDED_TO_STAGE,init);
			
			captcha_array=new Array(&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,&quot;D&quot;,&quot;E&quot;,&quot;F&quot;,&quot;G&quot;,&quot;H&quot;,&quot;I&quot;,&quot;J&quot;,&quot;K&quot;,&quot;L&quot;,&quot;M&quot;,&quot;N&quot;,&quot;O&quot;,&quot;P&quot;,&quot;Q&quot;,&quot;R&quot;,&quot;S&quot;,&quot;T&quot;,&quot;U&quot;,&quot;V&quot;,&quot;W&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;,&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,&quot;d&quot;,&quot;e&quot;,&quot;f&quot;,&quot;g&quot;,&quot;h&quot;,&quot;i&quot;,&quot;j&quot;,
							    					&quot;k&quot;,&quot;l&quot;,&quot;m&quot;,&quot;n&quot;,&quot;o&quot;,&quot;p&quot;,&quot;q&quot;,&quot;r&quot;,&quot;s&quot;,&quot;t&quot;,&quot;u&quot;,&quot;v&quot;,&quot;w&quot;,&quot;x&quot;,&quot;y&quot;,&quot;z&quot;,&quot;0&quot;,&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;,&quot;6&quot;,&quot;7&quot;,&quot;8&quot;,&quot;9&quot;);
			
			createClip();
			createBackground();
			createCaptcha();
			createText();
		}
		
		private function createClip():void
		{
			clip_mc=new MovieClip();
			addChild(clip_mc);
		}
		
		private function createBackground():void
		{
			var fillType:String=GradientType.LINEAR;
			var colors:Array=[Math.random()*0xFFFFFF,Math.random()*0xFFFFFF];
			var alphas:Array=[1,1];
			var ratios:Array=[0x00,0xFF];
			var matr:Matrix=new Matrix();
			matr.createGradientBox(20,20,0,0,0);
			var spreadMethod:String=SpreadMethod.REFLECT;
			clip_mc.graphics.beginGradientFill(fillType,colors,alphas,ratios,matr,spreadMethod);  
			clip_mc.graphics.drawRect(0,0,140,40);
		}
		
		private function createCaptcha():void
		{
			for(var i:int=0;i &lt; CAPTCHA_LENGTH;i++)
			{
				var randomNumber:int=Math.floor(Math.random()*captcha_array.length);
				captcha+=captcha_array[randomNumber];
			}
		}
		
		private function createText():void
		{
			var field_txt:TextField=new TextField();
			field_txt.multiline=false;
			field_txt.selectable=false;
			field_txt.embedFonts=true;
			field_txt.defaultTextFormat=getFormat();
			field_txt.text=captcha;
			field_txt.width=field_txt.textWidth+5;
			field_txt.height=field_txt.textHeight;
			field_txt.x=(clip_mc.width-field_txt.textWidth)/2;
			field_txt.y=(clip_mc.height-field_txt.textHeight)/2;
			clip_mc.addChild(field_txt);
		}
		
		private function getFormat():TextFormat
		{
			var format:TextFormat=new TextFormat();
			format.font=&quot;Flubber&quot;;
			format.size=24;
			format.color=0xFFFFFF;
			
			return format;
		}
		
		public function checkCaptcha(str:String):Boolean
		{
			if(str===captcha)
				return true;
			else
				return false;
		}
	}
}</description>
		<content:encoded><![CDATA[<p>someone can conver this AS3 class in AS2 please&#8230;</p>
<p>Very thanks in advance&#8230;Stephan</p>
<p>package org.Captcha<br />
{<br />
	import flash.display.*;<br />
	import flash.events.*;<br />
	import flash.geom.*;<br />
	import flash.text.*;</p>
<p>	public class Captcha extends MovieClip<br />
	{<br />
		private var clip_mc:MovieClip;</p>
<p>		private var captcha_array:Array;</p>
<p>		private const CAPTCHA_LENGTH:int=8;</p>
<p>		private var captcha:String=&#8221;";</p>
<p>		public function Captcha()<br />
		{<br />
			addEventListener(Event.ADDED_TO_STAGE,init);<br />
		}</p>
<p>		private function init(evt:Event):void<br />
		{<br />
			removeEventListener(Event.ADDED_TO_STAGE,init);</p>
<p>			captcha_array=new Array(&#8220;A&#8221;,&#8221;B&#8221;,&#8221;C&#8221;,&#8221;D&#8221;,&#8221;E&#8221;,&#8221;F&#8221;,&#8221;G&#8221;,&#8221;H&#8221;,&#8221;I&#8221;,&#8221;J&#8221;,&#8221;K&#8221;,&#8221;L&#8221;,&#8221;M&#8221;,&#8221;N&#8221;,&#8221;O&#8221;,&#8221;P&#8221;,&#8221;Q&#8221;,&#8221;R&#8221;,&#8221;S&#8221;,&#8221;T&#8221;,&#8221;U&#8221;,&#8221;V&#8221;,&#8221;W&#8221;,&#8221;X&#8221;,&#8221;Y&#8221;,&#8221;Z&#8221;,&#8221;a&#8221;,&#8221;b&#8221;,&#8221;c&#8221;,&#8221;d&#8221;,&#8221;e&#8221;,&#8221;f&#8221;,&#8221;g&#8221;,&#8221;h&#8221;,&#8221;i&#8221;,&#8221;j&#8221;,<br />
							    					&#8220;k&#8221;,&#8221;l&#8221;,&#8221;m&#8221;,&#8221;n&#8221;,&#8221;o&#8221;,&#8221;p&#8221;,&#8221;q&#8221;,&#8221;r&#8221;,&#8221;s&#8221;,&#8221;t&#8221;,&#8221;u&#8221;,&#8221;v&#8221;,&#8221;w&#8221;,&#8221;x&#8221;,&#8221;y&#8221;,&#8221;z&#8221;,&#8221;0&#8243;,&#8221;1&#8243;,&#8221;2&#8243;,&#8221;3&#8243;,&#8221;4&#8243;,&#8221;5&#8243;,&#8221;6&#8243;,&#8221;7&#8243;,&#8221;8&#8243;,&#8221;9&#8243;);</p>
<p>			createClip();<br />
			createBackground();<br />
			createCaptcha();<br />
			createText();<br />
		}</p>
<p>		private function createClip():void<br />
		{<br />
			clip_mc=new MovieClip();<br />
			addChild(clip_mc);<br />
		}</p>
<p>		private function createBackground():void<br />
		{<br />
			var fillType:String=GradientType.LINEAR;<br />
			var colors:Array=[Math.random()*0xFFFFFF,Math.random()*0xFFFFFF];<br />
			var alphas:Array=[1,1];<br />
			var ratios:Array=[0x00,0xFF];<br />
			var matr:Matrix=new Matrix();<br />
			matr.createGradientBox(20,20,0,0,0);<br />
			var spreadMethod:String=SpreadMethod.REFLECT;<br />
			clip_mc.graphics.beginGradientFill(fillType,colors,alphas,ratios,matr,spreadMethod);<br />
			clip_mc.graphics.drawRect(0,0,140,40);<br />
		}</p>
<p>		private function createCaptcha():void<br />
		{<br />
			for(var i:int=0;i &lt; CAPTCHA_LENGTH;i++)<br />
			{<br />
				var randomNumber:int=Math.floor(Math.random()*captcha_array.length);<br />
				captcha+=captcha_array[randomNumber];<br />
			}<br />
		}</p>
<p>		private function createText():void<br />
		{<br />
			var field_txt:TextField=new TextField();<br />
			field_txt.multiline=false;<br />
			field_txt.selectable=false;<br />
			field_txt.embedFonts=true;<br />
			field_txt.defaultTextFormat=getFormat();<br />
			field_txt.text=captcha;<br />
			field_txt.width=field_txt.textWidth+5;<br />
			field_txt.height=field_txt.textHeight;<br />
			field_txt.x=(clip_mc.width-field_txt.textWidth)/2;<br />
			field_txt.y=(clip_mc.height-field_txt.textHeight)/2;<br />
			clip_mc.addChild(field_txt);<br />
		}</p>
<p>		private function getFormat():TextFormat<br />
		{<br />
			var format:TextFormat=new TextFormat();<br />
			format.font=&quot;Flubber&quot;;<br />
			format.size=24;<br />
			format.color=0xFFFFFF;</p>
<p>			return format;<br />
		}</p>
<p>		public function checkCaptcha(str:String):Boolean<br />
		{<br />
			if(str===captcha)<br />
				return true;<br />
			else<br />
				return false;<br />
		}<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Going From Flash ActionScript 3 to ActionScript 2 by Mike</title>
		<link>http://interactivemultimedia.wordpress.com/2008/01/30/going-from-flash-actionscript-3-to-actionscript-2/#comment-1791</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 28 Jul 2009 16:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=91#comment-1791</guid>
		<description>I think it was much easier going from AS2 to AS3.  Making the jump back was a little tricky.  I wrote an article about my experience and what was the hardest for me.  

http://theactionscripter.com/2009/07/15/going-from-actionscript-3-back-to-actionscript-2-isnt-fun.aspx</description>
		<content:encoded><![CDATA[<p>I think it was much easier going from AS2 to AS3.  Making the jump back was a little tricky.  I wrote an article about my experience and what was the hardest for me.  </p>
<p><a href="http://theactionscripter.com/2009/07/15/going-from-actionscript-3-back-to-actionscript-2-isnt-fun.aspx" rel="nofollow">http://theactionscripter.com/2009/07/15/going-from-actionscript-3-back-to-actionscript-2-isnt-fun.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sheridan Professor, Dan Zen, wins Educator of the Year at the 2008 Canadian New Media Awards by Pranay Sharma</title>
		<link>http://interactivemultimedia.wordpress.com/2008/11/21/sheridan-professor-dan-zen-wins-educator-of-the-year-at-the-2008-canadian-new-media-awards/#comment-1789</link>
		<dc:creator>Pranay Sharma</dc:creator>
		<pubDate>Wed, 22 Jul 2009 23:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=186#comment-1789</guid>
		<description>Congratulations Dan!!</description>
		<content:encoded><![CDATA[<p>Congratulations Dan!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Going From Flash ActionScript 3 to ActionScript 2 by Ronnie Padron</title>
		<link>http://interactivemultimedia.wordpress.com/2008/01/30/going-from-flash-actionscript-3-to-actionscript-2/#comment-1532</link>
		<dc:creator>Ronnie Padron</dc:creator>
		<pubDate>Mon, 20 Apr 2009 19:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=91#comment-1532</guid>
		<description>And this is my PHP File   

Thank you!!!!</description>
		<content:encoded><![CDATA[<p>And this is my PHP File   </p>
<p>Thank you!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Going From Flash ActionScript 3 to ActionScript 2 by Ronnie Padron</title>
		<link>http://interactivemultimedia.wordpress.com/2008/01/30/going-from-flash-actionscript-3-to-actionscript-2/#comment-1531</link>
		<dc:creator>Ronnie Padron</dc:creator>
		<pubDate>Mon, 20 Apr 2009 19:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=91#comment-1531</guid>
		<description>Hey Dan, 



   Thank you so much for your help. I was able to get it together and it is working! 

Now i need to figure out how to add a Browse button on my AS2 form so users can send Word files using my PHP file which will then send me an e-mail with the information entered on the form plus their file. 



Do you think you could help me out? 



This is my script. 



// hide processing mc
processing_mc._visible=false;
// Combo Box I create to populate Countries
function addCountriesToList() {
country_list.addItem({label:&quot;United States of America&quot;});
}

// Run Function Above Now
addCountriesToList();

var variables:LoadVars=new LoadVars();
var receiver_lv:LoadVars=new LoadVars();

var varSend=&quot;form_parse.php&quot;;
var varSend_method=&quot;POST&quot;;

//Build the varLoader Variable
receiver_lv.onLoad=completeHandler;

// Handler for the PHP Completion and return of Message Status
function completeHandler() {
// Remove processing clip
processing_mc._visible=false;
name_txt.text=&quot;&quot;;
email_txt.text=&quot;&quot;;
state_txt.text=&quot;&quot;;
city_txt.text=&quot;&quot;;

// Load the Response from PHP Here
status_txt.text=this.return_msg;
}

// Add Event Listener for Submit button click
submit_btn.onRelease=ValidateAndSend;

//function ValidateAndSend
function ValidateAndSend() {
// Validate Fields
if (!name_txt.length) {
status_txt.text=&quot;Please enter your Name&quot;;
} else if (!email_txt.length) {
status_txt.text=&quot;Please enter your Email&quot;;
} else if (!country_list.length) {
status_txt.text=&quot;Please select your Country&quot;;
} else if (!state_txt.length) {
status_txt.text=&quot;Please enter your State&quot;;
} else if (!city_txt.length) {
status_txt.text=&quot;Please enter your city&quot;;
} else {

//All is good send the Data to PHP now
processing_mc._visible=true;

//Ready the variables in my form for sending
variables.userName=name_txt.text;
variables.userEmail=email_txt.text;
variables.userCountry=country_list.value;
variables.userState=state_txt.text;
variables.userCity=city_txt.text;


//Send the Data to PHP now
variables.sendAndLoad(varSend,receiver_1v,varSend_method);



}// Close else condition for Error Handling

}//Close and Validate Function



And this is my PHP File









Thank you!!!!</description>
		<content:encoded><![CDATA[<p>Hey Dan, </p>
<p>   Thank you so much for your help. I was able to get it together and it is working! </p>
<p>Now i need to figure out how to add a Browse button on my AS2 form so users can send Word files using my PHP file which will then send me an e-mail with the information entered on the form plus their file. </p>
<p>Do you think you could help me out? </p>
<p>This is my script. </p>
<p>// hide processing mc<br />
processing_mc._visible=false;<br />
// Combo Box I create to populate Countries<br />
function addCountriesToList() {<br />
country_list.addItem({label:&#8221;United States of America&#8221;});<br />
}</p>
<p>// Run Function Above Now<br />
addCountriesToList();</p>
<p>var variables:LoadVars=new LoadVars();<br />
var receiver_lv:LoadVars=new LoadVars();</p>
<p>var varSend=&#8221;form_parse.php&#8221;;<br />
var varSend_method=&#8221;POST&#8221;;</p>
<p>//Build the varLoader Variable<br />
receiver_lv.onLoad=completeHandler;</p>
<p>// Handler for the PHP Completion and return of Message Status<br />
function completeHandler() {<br />
// Remove processing clip<br />
processing_mc._visible=false;<br />
name_txt.text=&#8221;";<br />
email_txt.text=&#8221;";<br />
state_txt.text=&#8221;";<br />
city_txt.text=&#8221;";</p>
<p>// Load the Response from PHP Here<br />
status_txt.text=this.return_msg;<br />
}</p>
<p>// Add Event Listener for Submit button click<br />
submit_btn.onRelease=ValidateAndSend;</p>
<p>//function ValidateAndSend<br />
function ValidateAndSend() {<br />
// Validate Fields<br />
if (!name_txt.length) {<br />
status_txt.text=&#8221;Please enter your Name&#8221;;<br />
} else if (!email_txt.length) {<br />
status_txt.text=&#8221;Please enter your Email&#8221;;<br />
} else if (!country_list.length) {<br />
status_txt.text=&#8221;Please select your Country&#8221;;<br />
} else if (!state_txt.length) {<br />
status_txt.text=&#8221;Please enter your State&#8221;;<br />
} else if (!city_txt.length) {<br />
status_txt.text=&#8221;Please enter your city&#8221;;<br />
} else {</p>
<p>//All is good send the Data to PHP now<br />
processing_mc._visible=true;</p>
<p>//Ready the variables in my form for sending<br />
variables.userName=name_txt.text;<br />
variables.userEmail=email_txt.text;<br />
variables.userCountry=country_list.value;<br />
variables.userState=state_txt.text;<br />
variables.userCity=city_txt.text;</p>
<p>//Send the Data to PHP now<br />
variables.sendAndLoad(varSend,receiver_1v,varSend_method);</p>
<p>}// Close else condition for Error Handling</p>
<p>}//Close and Validate Function</p>
<p>And this is my PHP File</p>
<p>Thank you!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sheridan Professor, Dan Zen, wins Educator of the Year at the 2008 Canadian New Media Awards by Juan Cabrera</title>
		<link>http://interactivemultimedia.wordpress.com/2008/11/21/sheridan-professor-dan-zen-wins-educator-of-the-year-at-the-2008-canadian-new-media-awards/#comment-1529</link>
		<dc:creator>Juan Cabrera</dc:creator>
		<pubDate>Mon, 20 Apr 2009 15:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=186#comment-1529</guid>
		<description>Looking forward to learn from you Dan.....God bless!</description>
		<content:encoded><![CDATA[<p>Looking forward to learn from you Dan&#8230;..God bless!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Going From Flash ActionScript 3 to ActionScript 2 by Dan Zen</title>
		<link>http://interactivemultimedia.wordpress.com/2008/01/30/going-from-flash-actionscript-3-to-actionscript-2/#comment-1525</link>
		<dc:creator>Dan Zen</dc:creator>
		<pubDate>Wed, 15 Apr 2009 12:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=91#comment-1525</guid>
		<description>I don&#039;t have time to do it all... but here are some aspects:

use _visible rather than visible.  

The component will work roughly the same way I think - use an older component though.

Your error checking would be the same I think.

For the sending and receiving of variables you would do it in two steps.  Prepare your variables and send.  Then set up an event to receive and receive your variables in the event.  So roughly how you have it here but use the following syntax:

// set up object to send variables
myVars = new LoadVars();
myVars.score = 234;
myVars.player = &quot;Dan Zen&quot;;

//set up object to receive variables
newVars = new LoadVars();
newVars.onLoad = showHighscore;


myButton.onRelease = function () {
      myVars.sendAndLoad(&quot;game3.php&quot;, newVars, &quot;POST&quot;);
}

function showHighscore() {
      message.text = newVars.bestPlayer + &quot; has the high score of &quot; + newVars.bestScore
}</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have time to do it all&#8230; but here are some aspects:</p>
<p>use _visible rather than visible.  </p>
<p>The component will work roughly the same way I think &#8211; use an older component though.</p>
<p>Your error checking would be the same I think.</p>
<p>For the sending and receiving of variables you would do it in two steps.  Prepare your variables and send.  Then set up an event to receive and receive your variables in the event.  So roughly how you have it here but use the following syntax:</p>
<p>// set up object to send variables<br />
myVars = new LoadVars();<br />
myVars.score = 234;<br />
myVars.player = &#8220;Dan Zen&#8221;;</p>
<p>//set up object to receive variables<br />
newVars = new LoadVars();<br />
newVars.onLoad = showHighscore;</p>
<p>myButton.onRelease = function () {<br />
      myVars.sendAndLoad(&#8220;game3.php&#8221;, newVars, &#8220;POST&#8221;);<br />
}</p>
<p>function showHighscore() {<br />
      message.text = newVars.bestPlayer + &#8221; has the high score of &#8221; + newVars.bestScore<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Going From Flash ActionScript 3 to ActionScript 2 by Ronnie</title>
		<link>http://interactivemultimedia.wordpress.com/2008/01/30/going-from-flash-actionscript-3-to-actionscript-2/#comment-1501</link>
		<dc:creator>Ronnie</dc:creator>
		<pubDate>Fri, 03 Apr 2009 16:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://interactivemultimedia.wordpress.com/?p=91#comment-1501</guid>
		<description>Can anyone paste how this AS3 Action would look like on AS2? 


// hide processing mc
processing_mc.visible=false;
// Combo Box I create to populate Countries
function addCountriesToList():void{
CountryList.addItem({label:&quot;United States&quot;}); 
CountryList.addItem({label:&quot;Canada&quot;}); 
CountryList.addItem({label:&quot;Mexico&quot;});
}
// Run Function Above Now
addCountriesToList():

var variables:URLVariables= new URLVariables; 

// Build the VarSend Variable
var varSend:URLRequest=new URLRequest(&quot;form_parse.php&quot;);
varSend.method=URLRequestMethod.POST;
varSend.data=variables;

//Build the varLoader Variable
var varLoader:URLLoader=new URLLoader;
varloader.dataFormat=URLLoaderDataFormat.VARIABLES ;
varloader.addEventListener(Event.COMPLETE, completeHandler);

// Handler for the PHP Completion and return of Message Status
function completeHandler(event.Event):void{
// Remove processing clip
processing_mc.visible=false;
name_txt.text=&quot;&quot;;
email_txt.text=&quot;&quot;;

// Load the Response from PHP Here
status_txt.text=event.target.data.return_msg;
}

// Add Event Listener for Submit button click
submit_btn.addEventListener(MouseEvent.CLICK, ValidateAndSend);

//function ValidateAndSend
function ValidateAndSend(event:MouseEvent):void{
// Validate Fields
if(!name_txt.lenght){
status_txt.text=&quot;Please enter your Name&quot;;
}else if (!email_txt.lenght){
status_txt.text=&quot;Please enter your Email&quot;;
}else if (!country_list.lenght){
status_txt.text=&quot;Please select your Country&quot;;
}else if (!state_list.lenght){
status_txt.text=&quot;Please select your State&quot;;
}else if (!city_list.lenght){
status_txt.text=&quot;Please select your city&quot;;
}else{


//All is good send the Data to PHP now
processing_mc.visible=true;

//Ready the variables in my form for sending
variables.userName=name_txt.text;
variables.userEmail=email_txt.text;
variables.userCountry=country_list.value;
variables.userState=state_list.value;
variables.userCity=city_list.value;
variables.userRadiobutton=radiobutton.value;

//Send the Data to PHP now
varLoader.load(varSend);



}// Close else condition for Error Handling

]//Close and Validate Function</description>
		<content:encoded><![CDATA[<p>Can anyone paste how this AS3 Action would look like on AS2? </p>
<p>// hide processing mc<br />
processing_mc.visible=false;<br />
// Combo Box I create to populate Countries<br />
function addCountriesToList():void{<br />
CountryList.addItem({label:&#8221;United States&#8221;});<br />
CountryList.addItem({label:&#8221;Canada&#8221;});<br />
CountryList.addItem({label:&#8221;Mexico&#8221;});<br />
}<br />
// Run Function Above Now<br />
addCountriesToList():</p>
<p>var variables:URLVariables= new URLVariables; </p>
<p>// Build the VarSend Variable<br />
var varSend:URLRequest=new URLRequest(&#8220;form_parse.php&#8221;);<br />
varSend.method=URLRequestMethod.POST;<br />
varSend.data=variables;</p>
<p>//Build the varLoader Variable<br />
var varLoader:URLLoader=new URLLoader;<br />
varloader.dataFormat=URLLoaderDataFormat.VARIABLES ;<br />
varloader.addEventListener(Event.COMPLETE, completeHandler);</p>
<p>// Handler for the PHP Completion and return of Message Status<br />
function completeHandler(event.Event):void{<br />
// Remove processing clip<br />
processing_mc.visible=false;<br />
name_txt.text=&#8221;";<br />
email_txt.text=&#8221;";</p>
<p>// Load the Response from PHP Here<br />
status_txt.text=event.target.data.return_msg;<br />
}</p>
<p>// Add Event Listener for Submit button click<br />
submit_btn.addEventListener(MouseEvent.CLICK, ValidateAndSend);</p>
<p>//function ValidateAndSend<br />
function ValidateAndSend(event:MouseEvent):void{<br />
// Validate Fields<br />
if(!name_txt.lenght){<br />
status_txt.text=&#8221;Please enter your Name&#8221;;<br />
}else if (!email_txt.lenght){<br />
status_txt.text=&#8221;Please enter your Email&#8221;;<br />
}else if (!country_list.lenght){<br />
status_txt.text=&#8221;Please select your Country&#8221;;<br />
}else if (!state_list.lenght){<br />
status_txt.text=&#8221;Please select your State&#8221;;<br />
}else if (!city_list.lenght){<br />
status_txt.text=&#8221;Please select your city&#8221;;<br />
}else{</p>
<p>//All is good send the Data to PHP now<br />
processing_mc.visible=true;</p>
<p>//Ready the variables in my form for sending<br />
variables.userName=name_txt.text;<br />
variables.userEmail=email_txt.text;<br />
variables.userCountry=country_list.value;<br />
variables.userState=state_list.value;<br />
variables.userCity=city_list.value;<br />
variables.userRadiobutton=radiobutton.value;</p>
<p>//Send the Data to PHP now<br />
varLoader.load(varSend);</p>
<p>}// Close else condition for Error Handling</p>
<p>]//Close and Validate Function</p>
]]></content:encoded>
	</item>
</channel>
</rss>
