convert lowercase to uppercase

July 17, 2009 at 3:29 am (flash)

Hi
most of the photoshop users wanted to have a tool with in flash to convert the textfiled data to uppercase by a click as they can do it in photoshop.
so just developed a jsfl command to do that select your text filed on the stage and run the command it will convert all text data to uppercase.

let me know if any additions required.
save the following code using notepad with filename “uppercase.jsfl”

open the file from with in flash by selecting commands >> run command and file.

uppercase = function(selIndex)
{
var textLength = fl.getDocumentDOM().selection[selIndex].length;
if(textLength == undefined){
return;
}
var lower_string = fl.getDocumentDOM().selection[selIndex].getTextString(0,textLength);
}
var theSelectionArray = fl.getDocumentDOM().selection;
for(var j=0;j<theSelectionArray.length;j++){
uppercase(j)
}

Permalink Leave a Comment

My first attempt to learn stratus (RTMFP)

January 29, 2009 at 7:55 am (Flex, Flsah 10) (, , , )

Please find below A peer2peer video chat application using a new protocol introduced in flash player 10 Real-Time Media Flow Protocol (RTMFP). The most important features of RTMFP include low latency, end-to-end peering capability, security and scalability. These properties make RTMFP especially well suited for developing real-time collaboration applications by not only providing superior user experience but also reducing cost for operators.
In order to use RTMFP, Flash Player endpoints must connect to an RTMFP-capable server, such as the Adobe Stratus service. Stratus is a beta, hosted rendezvous service that aids establishing communications between Flash Player endpoints. Unlike Flash Media Server, Stratus does not support media relay, shared objects, scripting, etc. So by using Stratus, you can only develop applications where Flash Player endpoints are directly communicating with each other.

Some important tips:
Read the rest of this entry »

Permalink 1 Comment

how to change the rowheight in dataGrid ?

January 21, 2009 at 10:42 am (Flex, General) (, , )

hi
This is how you can change the height of a row in datagrid, but to an extent only you will loose all your text if it reduced to a leavel less then font size to be visible.
so you will respectivelly have to change the font size also and dont forget to embed the font :)

datagrid.rowHeight = 10;
below is the CSS sample

Read the rest of this entry »

Permalink Leave a Comment

some cool AS3 samples to share

January 15, 2009 at 7:46 am (Uncategorized) (, , )

Inverse Kinematics with the Bone tool view source

Pixel Bender view source

Permalink Leave a Comment

Designers friendly CS4: some new IDE features

January 15, 2009 at 7:32 am (Flsah 10) (, )

Some of them outlined below
Most liked by me are in Green BOLD color :) Hats off to Adobe Team.

Object-based animation
Motion Editor panel
Motion Tween Presets
Inverse Kinematics with the Bone tool
3D Transformation
Decorative drawing with the Deco tool
Adobe Kuler panel
Sample Sounds library
Vertical Property inspector
New Project Panel
Adobe Media Encoder with H.264 support
Adobe ConnectNow integration
Edit in Soundbooth
Enhanced metadata support
Collaborate with Flex developers
XFL import
Support for Adobe Pixel Bender
JPEG deblocking
Improved Library panel
New Creative Suite user interface
New Font menus
Hardware Acceleration
Community Help

Read More

Permalink Leave a Comment

Adobe and Intel announce partnership to get Flash on TVs :)

January 6, 2009 at 6:32 am (General) (, )

Extending the Flash to TV’s gr8

read more

source

http://www.intel.com/pressroom/archive/releases/20090105corp.htm

Permalink Leave a Comment

FLIP text :) with Action Script

December 30, 2008 at 5:55 am (Air, Flalsh Lite, Flex, General, flash) (, )

Permalink 2 Comments

Air Error 3122 and 3125, embarrassed me :(

December 16, 2008 at 7:01 am (Air) (, , )

One day my COO of company called me and showed an error of Application I developed diabetesdairy on AIR 1.1. The error 3122. it is very embarrassing getting such an error figured out by your boss’s boss. It was my 1st External project on AIR.
Read the rest of this entry »

Permalink Leave a Comment

Find the Code You need on below links

November 14, 2008 at 9:56 am (Uncategorized) (, )

Just sharing couple of links i use when i look around for some code samples for prototyping when i feel lazy to write all my self :)

http://www.google.com/codesearch
http://snippets.dzone.com/

Read the rest of this entry »

Permalink 1 Comment

Is AS3 is better?

October 30, 2008 at 7:28 am (General) (, )

Hi all well I am not very sure about this for now as I have a year experience with AS3, however would like sketch some points over it pros and cons as per my observation.
Read the rest of this entry »

Permalink 2 Comments

Next page »