<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flex-Flash-Air-ActionScript-JS &#187; addEventListener</title>
	<atom:link href="http://blog.totusinfo.com/tag/addeventlistener/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.totusinfo.com</link>
	<description>totusinfo team</description>
	<lastBuildDate>Wed, 24 Feb 2010 09:38:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Create Falling Hearts with Flash CS4 Action Script AS3</title>
		<link>http://blog.totusinfo.com/create-falling-hearts-with-flash-cs4-action-script/</link>
		<comments>http://blog.totusinfo.com/create-falling-hearts-with-flash-cs4-action-script/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 18:45:59 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[cos]]></category>
		<category><![CDATA[ENTER_FRAME]]></category>
		<category><![CDATA[MovieClip]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[stageHeight]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=777</guid>
		<description><![CDATA[This code show how to create falling hearts with flash cs4
you can also use the code for cs3
create a movieclip with a heart in your library

package {

	import flash.display.MovieClip;
	import flash.events.*;

	public class fallingheart extends MovieClip {
		public function fallingheart() {
			for (var i = 0; i &#60; 30; i ++) {
				var h:heart = new heart();
				h.x=Math.round(Math.random()*stage.stageWidth);
				h.y=Math.round(Math.random()*stage.stageHeight);
				h.scaleX = h.scaleY = .4+ [...]]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/create-falling-hearts-with-flash-cs4-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use URLVariables() in Flash AS3?</title>
		<link>http://blog.totusinfo.com/how-to-use-urlvariables-flash-as3/</link>
		<comments>http://blog.totusinfo.com/how-to-use-urlvariables-flash-as3/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 03:26:49 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[actionscript 3.0]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[Event.COMPLETE]]></category>
		<category><![CDATA[POST]]></category>
		<category><![CDATA[URLLoader()]]></category>
		<category><![CDATA[URLRequest]]></category>
		<category><![CDATA[URLRequestMethod]]></category>
		<category><![CDATA[URLVariables()]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=262</guid>
		<description><![CDATA[Using URLVariables in Flash or Flex we can send and receive data from server he is the example
This is the PHP Code nested in the server
Create a PHP file and place it in the server

&#60;?php
 $email=$_POST['email'];
 $password=$_POST['password'];

echo &#34;email=&#34;.$_POST['email'].&#34;&#38;amp;password=&#34;.$password;
?&#62;

Here is the code in Flash/Flex

//create URLRequest instace withe the target URL
var request:URLRequest = new URLRequest(&#34;http://www.example.com/data.php&#34;);

//create instance of [...]]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/how-to-use-urlvariables-flash-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Snowfall Easily in Flash CS4</title>
		<link>http://blog.totusinfo.com/snowfall-flash-cs4/</link>
		<comments>http://blog.totusinfo.com/snowfall-flash-cs4/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 18:51:36 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[beginFill]]></category>
		<category><![CDATA[BlurFilter]]></category>
		<category><![CDATA[cs4]]></category>
		<category><![CDATA[drawCircle]]></category>
		<category><![CDATA[MovieClip]]></category>
		<category><![CDATA[NumberUtil]]></category>
		<category><![CDATA[snowfall]]></category>
		<category><![CDATA[TimerEvent]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=726</guid>
		<description><![CDATA[This code show how to create snowfall in flash cs4
u can also use the code for cs3

package {

	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.filters.BlurFilter;
	import druva.NumberUtil;
	import flash.utils.Timer;
	import flash.events.*;

	public class snowfall extends MovieClip {

		private var t:Timer;

		public function snowfall():void {
			t=new Timer(80);
			t.addEventListener(TimerEvent.TIMER, createParticle);
			t.start();
		}

		private function createParticle(e:TimerEvent) {

			var mc_particle:MovieClip =new MovieClip();
			mc_particle.graphics.beginFill(0xFFFFFF,1);
			mc_particle.graphics.drawCircle(0, 0, NumberUtil.getRand(3,5));
			mc_particle.graphics.endFill();

			mc_particle.x=NumberUtil.getRand(-60,600);
			mc_particle.wind = (NumberUtil.getRand(0,1) == 1) ?  'left' : 'right';
			mc_particle.filters=[new BlurFilter(10,10,2)];
			mc_particle.addEventListener(Event.ENTER_FRAME, moveParticle);
			addChild(mc_particle);

		}

		function [...]]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/snowfall-flash-cs4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image rotating in Y direction with tweener using flash actionscript</title>
		<link>http://blog.totusinfo.com/image-rotating-in-y-direction-with-tweener-using-flash-actionscript/</link>
		<comments>http://blog.totusinfo.com/image-rotating-in-y-direction-with-tweener-using-flash-actionscript/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 11:01:57 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[addTween]]></category>
		<category><![CDATA[MouseEvent]]></category>
		<category><![CDATA[rotationX]]></category>
		<category><![CDATA[rotationY]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=793</guid>
		<description><![CDATA[To see the effect please click on the below image


import caurina.transitions.Tweener;

var values:int=0;

heart.addEventListener(MouseEvent.MOUSE_DOWN,rotate);

function rotate(evt:MouseEvent):void
{
	values = values - 1;
	Tweener.addTween(heart,{rotationX:values*0,rotationY:values*180,time:1,transition:&#34;easeInCubic&#34;});
}











]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/image-rotating-in-y-direction-with-tweener-using-flash-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image rotating in X direction with tweener using flash actionscript</title>
		<link>http://blog.totusinfo.com/image-rotating-in-x-direction-with-tweener-using-flash-actionscript/</link>
		<comments>http://blog.totusinfo.com/image-rotating-in-x-direction-with-tweener-using-flash-actionscript/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 10:58:03 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[addTween]]></category>
		<category><![CDATA[MouseEvent]]></category>
		<category><![CDATA[rotationX]]></category>
		<category><![CDATA[rotationY]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=790</guid>
		<description><![CDATA[To see the effect please click on the below image


import caurina.transitions.Tweener;

var values:int=0;

heart.addEventListener(MouseEvent.MOUSE_DOWN,rotate);

function rotate(evt:MouseEvent):void
{
	values = values - 1;
	Tweener.addTween(heart,{rotationX:values*180,rotationY:values*0,time:1,transition:&#34;easeInCubic&#34;});
}











]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/image-rotating-in-x-direction-with-tweener-using-flash-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image rotating in Y direction using flash actionscript</title>
		<link>http://blog.totusinfo.com/image-rotating-in-y-direction-using-flash-actionscript/</link>
		<comments>http://blog.totusinfo.com/image-rotating-in-y-direction-using-flash-actionscript/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 10:26:20 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[rotationY]]></category>
		<category><![CDATA[target]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=787</guid>
		<description><![CDATA[

heart.addEventListener(Event.ENTER_FRAME,rotateY);

function rotateY(evt:Event):void
{
	evt.target.rotationY = evt.target.rotationY + 2;
}











]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/image-rotating-in-y-direction-using-flash-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image rotating in X direction using flash actionscript</title>
		<link>http://blog.totusinfo.com/image-rotating-in-x-direction-using-flash-actionscript/</link>
		<comments>http://blog.totusinfo.com/image-rotating-in-x-direction-using-flash-actionscript/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 06:19:51 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[rotationX]]></category>
		<category><![CDATA[target]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=784</guid>
		<description><![CDATA[

heart.addEventListener(Event.ENTER_FRAME,rotateX);

function rotateX(evt:Event):void
{
	evt.target.rotationX = evt.target.rotationX + 2;
}











]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/image-rotating-in-x-direction-using-flash-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>editable and non-editable textinput using flash actionscript</title>
		<link>http://blog.totusinfo.com/disable-and-enable-textinput-using-flash-actionscript/</link>
		<comments>http://blog.totusinfo.com/disable-and-enable-textinput-using-flash-actionscript/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 09:53:45 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[CheckBox]]></category>
		<category><![CDATA[editable]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[TextInput]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=565</guid>
		<description><![CDATA[
import fl.controls.CheckBox;
import fl.controls.TextInput;

var cB:CheckBox = new CheckBox();
cB.label = &#34;Edit Text&#34;;
cB.addEventListener(Event.CHANGE, cB_edit);
cB.move(10, 5);
addChild(cB);

var tI:TextInput = new TextInput();
tI.editable = false;
tI.move(17, 30);
addChild(tI);

function cB_edit(evt:Event):void {
    tI.editable = cB.selected;
}

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/disable-and-enable-textinput-using-flash-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>masked password in textArea with flash actionscript</title>
		<link>http://blog.totusinfo.com/masked-password-in-textarea-with-flash-actionscript/</link>
		<comments>http://blog.totusinfo.com/masked-password-in-textarea-with-flash-actionscript/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 10:05:17 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[addChild]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[CheckBox]]></category>
		<category><![CDATA[displayAsPassword]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[TextArea]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=568</guid>
		<description><![CDATA[
import fl.controls.CheckBox;
import fl.controls.TextArea;

var cB:CheckBox = new CheckBox();
cB.label = &#34;Display as Password&#34;;
cB.addEventListener(Event.CHANGE, cB_password);
cB.width = 200;
cB.move(10, 5);
addChild(cB);

var tA:TextArea = new TextArea();
tA.displayAsPassword = false;
tA.width = 125;
tA.move(15, 40);
addChild(tA);

function cB_password(evt:Event):void {
    tA.displayAsPassword = cB.selected;
}

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/masked-password-in-textarea-with-flash-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>disable Slider component using flash actionscript</title>
		<link>http://blog.totusinfo.com/disable-slider-component-using-flash-actionscript/</link>
		<comments>http://blog.totusinfo.com/disable-slider-component-using-flash-actionscript/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 09:38:21 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[addEventListener]]></category>
		<category><![CDATA[CheckBox]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=559</guid>
		<description><![CDATA[
import fl.controls.Slider;
import fl.controls.CheckBox;
import flash.display.*;

var checkBox:CheckBox = new CheckBox();
checkBox.label = &#34;enabled&#34;;
checkBox.addEventListener(Event.CHANGE, checkBox_action);
checkBox.move(20,5);
addChild(checkBox);

var slider:Slider = new Slider();
slider.enabled = false;
slider.move(30, 40);
addChild(slider);

function checkBox_action(evt:Event):void {
    slider.enabled = checkBox.selected;
}

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/disable-slider-component-using-flash-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
