<?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; drawCircle</title>
	<atom:link href="http://blog.totusinfo.com/tag/drawcircle/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>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>create gradientbox and how to fill gradientbox using action script</title>
		<link>http://blog.totusinfo.com/create-gradientbox-and-how-to-fill-gradientbox-using-action-script/</link>
		<comments>http://blog.totusinfo.com/create-gradientbox-and-how-to-fill-gradientbox-using-action-script/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 16:09:43 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[beginGradientFill]]></category>
		<category><![CDATA[createGradientBox]]></category>
		<category><![CDATA[drawCircle]]></category>
		<category><![CDATA[Matrix]]></category>

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

var gradientColors:Array = [0xFF00FF,0x33CCCC];
var gradientAlphas:Array = [1,1];
var gradientRatios:Array = [0,255];

var matrix:Matrix = new Matrix();
matrix.createGradientBox(120, 120, 45);
graphics.beginGradientFill(GradientType.RADIAL, gradientColors, gradientAlphas, gradientRatios, matrix);
graphics.drawCircle(60, 60, 60);

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/create-gradientbox-and-how-to-fill-gradientbox-using-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>draw circle with gradient style using action script</title>
		<link>http://blog.totusinfo.com/draw-circle-with-gradient-style-using-action-script/</link>
		<comments>http://blog.totusinfo.com/draw-circle-with-gradient-style-using-action-script/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 15:12:50 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[drawCircle]]></category>
		<category><![CDATA[GradientType]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[lineGradientStyle]]></category>
		<category><![CDATA[lineStyle]]></category>
		<category><![CDATA[Shape]]></category>

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

var circle:Shape = new Shape();
addChild(circle);
circle.x = circle.y = 150;
circle.graphics.lineStyle(40);

var gradientColors:Array =
	[
		 0xFF0000,
		 0xFFFF00,
		 0xFF00FF,
		 0xFF6600,
		 0x00FFFF,
		 0x2E0854,
		 0x8F5E00,
		 0x8F5E99,
		 0xFFFF00,
		 0xFF00FF,
		 0xFF6600
	];
var gradientAlphas:Array = [1,1,1,1,1,1,1,1,1,1,1];
var gradientRatios:Array = [0,25,50,75,100,125,150,175,200,225,250];

circle.graphics.lineGradientStyle(GradientType.LINEAR, gradientColors, gradientAlphas, gradientRatios);

circle.graphics.drawCircle(-10, -10, 100);         











]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/draw-circle-with-gradient-style-using-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>custom context menu in flash using actionscript</title>
		<link>http://blog.totusinfo.com/custom-context-menu-in-flash-using-actionscript/</link>
		<comments>http://blog.totusinfo.com/custom-context-menu-in-flash-using-actionscript/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 07:59:27 +0000</pubDate>
		<dc:creator>Vineela</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[beginFill]]></category>
		<category><![CDATA[ContextMenu]]></category>
		<category><![CDATA[ContextMenuEvent]]></category>
		<category><![CDATA[ContextMenuItem]]></category>
		<category><![CDATA[drawCircle]]></category>
		<category><![CDATA[hideBuiltInItems]]></category>
		<category><![CDATA[MENU_ITEM_SELECT]]></category>
		<category><![CDATA[push]]></category>

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

import flash.display.*;

var red:ContextMenuItem = new ContextMenuItem(&#34;red&#34;);
var green:ContextMenuItem = new ContextMenuItem(&#34;green&#34;);

red.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, red_Select);
green.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, green_Select);

var contextmenu:ContextMenu = new ContextMenu();

contextmenu.customItems.push(green);
contextmenu.customItems.push(red);
contextmenu.hideBuiltInItems();

var sprite:Sprite = new Sprite();

sprite.contextMenu = contextmenu;
sprite.graphics.beginFill(0x0000FF);
sprite.graphics.drawCircle(60, 30, 20);
addChild(sprite);

function green_Select(evt:ContextMenuEvent):void {
    sprite.graphics.beginFill(0x00FF00);
    sprite.graphics.drawCircle(60, 30, 20);
}
function red_Select(evt:ContextMenuEvent):void {
    sprite.graphics.beginFill(0xFF0000);
    sprite.graphics.drawCircle(60, 30, 20);
}












]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/custom-context-menu-in-flash-using-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Draw a Circle with Flash Actionscript 3.0 &#8211;  AS3</title>
		<link>http://blog.totusinfo.com/draw-cirlce-flash-actionscript-as3/</link>
		<comments>http://blog.totusinfo.com/draw-cirlce-flash-actionscript-as3/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 18:14:30 +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[ActionScript]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[drawCircle]]></category>
		<category><![CDATA[lineStyle]]></category>
		<category><![CDATA[Shape]]></category>
		<category><![CDATA[Sprite]]></category>

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

 import flash.display.*;

 public class drawCircle extends Sprite {

 public function drawCircle() {
 var canvas:Shape = new Shape(  );
 canvas.graphics.lineStyle(3, 0xFF0000);
 canvas.graphics.drawCircle(100,100,50);
 addChild(canvas);

 }
 }
}

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/draw-cirlce-flash-actionscript-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

