Saturday, September 20, 2008

Configure Flex 4

No comments :

Flex 4 (Gumbo) is having nightly builds. And I can’t wait to download every nightly build, which is more than 100 MB. So, I did a checkout of Flex 4 and have build run on my machine. Its well document on how to do a build and setup you need to have, to run Flex 4 build.

Checkout of Flex 4 is more than 200 MB and for me it has taken approx 1 hour on 256 Kbps connection. I prefer to use Tortoise SVN Client to checkin and checkout. You can download it from  the link below:

http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.5.0.13316-win32-svn-1.5.0.msi?download

Install Tortoise SVN Client and then checkout from the link below:

http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/

To setup your system, you need to have the following installed on your machine:

  1. Cygwin (http://www.cygwin.com/setup.exe) (Approx 16 MB)
  2. J2SE 5.0_13 (http://java.sun.com/products/archive/j2se/5.0_13/index.html) File Name: jdk-1_5_0_13-windows-i586-p.exe (Approx 51 MB)
  3. Ant 1.7.0 (http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.0-bin.zip) (Approx 11 MB)

After downloading the above, follow this link:

http://opensource.adobe.com/wiki/display/flexsdk/Setup+on+Windows

C:\WINDOWS\system32\Macromed\Flash\FlashPlayerTrust\FlexSDK.cfg

Add D:\

 

Steps are Incomplete will be updating soon.

Read More
Playing with ASCII values in Actionscript 3 - Part 1
6 comments :
Agenda: Populate combo box with drive letters from A to Z.

 var i:int=0;
for(i=65; i<65+26; i++)
{   
atoz.addItem(String.fromCharCode(i)+":");
}
driveListCombo.dataProvider = atoz;


Done, my combo box is populated with drive letters from A to Z.
Now, to convert a character to its ASCII value use charCodeAt() function of String. You can use it like below:
var selectedDrive:String = "C";
//Now, to get ASCII value for "C"
selectedDrive.charCodeAt(0);


Will update once I get more clarity on performing ASCII operations.

Please provide your valuable comments.
Read More

An Entrepreneur Tip

No comments :
Give them a good reason to work with you and for you. Also, keep challenging yourself and keep moving to the next level or you’ll end up being a has-been.
Read More