<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<channel>
	<title>Flex-Flash-Air-ActionScript-JS</title>
	<link>http://blog.totusinfo.com</link>
	<description>totusinfo team</description>
	<lastBuildDate>Wed, 24 Feb 2010 09:38:00 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>CS4, CS3 caretIndex Word</title>
		<description><![CDATA[The code also works with flash cs3


import fl.controls.TextInput;
import fl.controls.Label;

var myLabel:Label = new Label();
myLabel.text = &#34;Caret Index Word&#34;;
myLabel.x = 5;
myLabel.y = 0;
addChild(myLabel);

var textInput:TextInput = new TextInput();
textInput.x = 100;
textInput.y = 10;
addChild(textInput);

var t:Timer = new Timer(100);
t.addEventListener(TimerEvent.TIMER, caretindex);

function caretindex(e:TimerEvent):void {
	var caretIndex:Number = textfield.getCharIndexAtPoint(textfield.mouseX, textfield.mouseY)
	if(caretIndex == -1) {
		return;
	}
	var str:String = textfield.text;
	var words:Array = str.split(' ');
	var n:Number = 0;
	while(n&#60;=words.length){
		var subset:Array = [...]]]></description>
		<link>http://blog.totusinfo.com/cs4-cs3-caretindex-word/</link>
			</item>
	<item>
		<title>list of flex testing frameworks</title>
		<description><![CDATA[This is the list of flex testing frameworks Which I came Across
    FlexUnit (Adobe Open Source)
    FlexPMD (Adobe Technical Services)
    Funit (Open Source)
    asUnit (Open Source)
    fluint (Open Source)
    FlexMonkey (Open Source)
    Selenium (Open [...]]]></description>
		<link>http://blog.totusinfo.com/list-of-flex-testing-frameworks/</link>
			</item>
	<item>
		<title>List of flex frameworks</title>
		<description><![CDATA[This is the list of flex frame works Which I came Across, Let me know if i miss any
    1. Cairngorm (Adobe Open Source) 
    2. PureMVC (Open Source) 
    3. Mate (Open Source) 
    4. Swiz (Open Source)  
   [...]]]></description>
		<link>http://blog.totusinfo.com/list-of-frameworks/</link>
			</item>
	<item>
		<title>How to remove White Box between the scrollers using action script</title>
		<description><![CDATA[
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Canvas xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; width=&#34;400&#34; height=&#34;300&#34;&#62;
    &#60;mx:Script&#62;
        &#60;![CDATA[
            override public function validateDisplayList():void {
                super.validateDisplayList();
      [...]]]></description>
		<link>http://blog.totusinfo.com/how-to-remove-white-box-between-the-scrollers-using-action-script/</link>
			</item>
	<item>
		<title>How to use scale9Grid with display objects in action script</title>
		<description><![CDATA[This code shows how to use display objects like GradientType, InterpolationMethod, SpreadMethod and scale9Grid.


var rect:Shape = new Shape();
rect.graphics.lineStyle(10, 0x000000);
var matrix:Matrix = new Matrix();
matrix.createGradientBox(15, 15, Math.PI, 10, 10);
rect.graphics.beginGradientFill(GradientType.RADIAL,[0x000000, 0x76A3DA], [100, 100],
            [0, 0xFF],matrix,SpreadMethod.REFLECT,InterpolationMethod.RGB,0.9);

rect.graphics.drawRect(0, 0, 90, 90);

var grid:Rectangle = new Rectangle(20, 20, 50, 50);
rect.scale9Grid = grid [...]]]></description>
		<link>http://blog.totusinfo.com/flash-effects-with-display-object/</link>
			</item>
	<item>
		<title>CS4 spring Motion using action script</title>
		<description><![CDATA[

var springX:Number=0;
var springY:Number=0;
var spring:Number=.95;
var radius:Number=300;

ball.addEventListener(Event.ENTER_FRAME, Event_ENTER_FRAME);
ball.x=ball.y=Math.random()*300;
stage.addEventListener(MouseEvent.MOUSE_DOWN, onClick);

function onClick(event:Event):void {
	ball.x=mouseX;
	ball.y=mouseY;
}

function Event_ENTER_FRAME(event:Event):void {
	var ax:Number=0;
	var ay:Number=0;
	ball.x+= (springX += ((radius - (2 * ball.x)) * .1));
	ball.y+= (springY += ((radius - (2 * ball.y)) * .1))
	springX*=spring;
	springY*=spring;
}











]]></description>
		<link>http://blog.totusinfo.com/cs4-spring-motion-using-action-script/</link>
			</item>
	<item>
		<title>Flash CS4 TextElement TextBlock FontDescription TextBlock TextLine</title>
		<description><![CDATA[This code show how to use TextElement, TextBlock, FontDescription, TextBlock, TextLine

package druva{
import flash.display.Sprite;
import flash.text.engine.*;

public class TextTest extends Sprite {

public function TextTest() {

for (var j:int=0; j&#60;=10; j++) {
var myString:String=&#34;Druva&#34;;
var myFormat:ElementFormat = new ElementFormat();

var myFontDesc:FontDescription=new FontDescription('Georgia','normal','italic','device');
myFormat.fontSize=2+2*j;
myFormat.fontDescription=myFontDesc;
myFormat.color = Math.random() * 0xFFFFEE;

var textElement:TextElement=new TextElement(myString, myFormat);
var textBlock:TextBlock = new TextBlock();
textBlock.content=textElement;

var myTextLine:TextLine=textBlock.createTextLine(null,300);

myTextLine.x = 30+(3*(j*(j+1)/2));
myTextLine.y = 150;

addChild(myTextLine);
myTextLine.addEventListener(Event.ENTER_FRAME, onLoop);
}

}
import flash.events.*;
private function onLoop(e:Event) {
e.currentTarget.rotationY [...]]]></description>
		<link>http://blog.totusinfo.com/flashcs4-textelement-textblock-fontdescription-textblock-textline/</link>
			</item>
	<item>
		<title>Flash CS4 PerspectiveProjection projectionCenter with action script</title>
		<description><![CDATA[This code show how to use PerspectiveProjection, projectionCenter tranform, point

var img:Bitmap=new Bitmap(new heart(158, 58));
img.x=-158/2;
img.y=-58/2;
var holder:Sprite=new Sprite();
addChild(holder);
holder.x=stage.stageWidth/2;
holder.y=stage.stageHeight/2;
holder.addChild(img);

var pp:PerspectiveProjection=new PerspectiveProjection();
pp.fieldOfView = 120
pp.projectionCenter=new Point(holder.x,holder.y);
holder.transform.perspectiveProjection=pp;

function swingImage(e:Event):void {
	holder.rotationY+=3;
}
this.addEventListener(Event.ENTER_FRAME, swingImage);











]]></description>
		<link>http://blog.totusinfo.com/flash-cs4-perspectiveprojection-projectioncenter-with-action-script/</link>
			</item>
	<item>
		<title>Rotating and moving the image using action script</title>
		<description><![CDATA[

druva.addEventListener(Event.ENTER_FRAME, rightAnimation);

function rightAnimation (e:Event):void {
  if (druva.x &#60;= 300) {
	druva.x += 1;
	if (druva.x &#62; 300) {
	  druva.x -= 300;
	}
	druva.rotation += 10;
  }
}











]]></description>
		<link>http://blog.totusinfo.com/rotating-and-moving-the-image-using-action-script/</link>
			</item>
	<item>
		<title>flash cs4 text effects 0.3</title>
		<description><![CDATA[Just playing with Text this is my second update for text effects
view previous post










sample 0.3
]]></description>
		<link>http://blog.totusinfo.com/flash-cs4-text-effects-0-3/</link>
			</item>
</channel>
</rss>
