Easy way to highlight the links in flash dynamic text

Yet another transformTags() example. You all know that links in flash text won’t highlight with blue color and underline as it does in browser. If you want to highlight all the links in your dynamic text box you may use the following object as the format object to transformTags to achieve the results as shown below. ActionScript 1.0 ...

Read More

Creating X-HTML using Flash MX Text box.

Further extending my strippTags code I came up with transformTags code to modify the tags in an xml object which is very useful for many different purposes. One of which I’m demonstrating here. basic syntax is XMLNode.transformTags(formatObject, AllowTagsByDefault) formatObject – generic Object which contains the info on how to modify the tags. AllowTagsByDefault – boolean value...

Read More

Improved version of Flash Remoting Helper component

I’ve improved the component and now it has the following additional features / improvements. New Features: There is no limitation for the number of parameters. Now you can optionally specify the name of the array to use as the parameters of the remote function (for dynamic values and also for using other data types than string and numbers). You can specify result handler and status...

Read More

Using CF.query with ServerSide ActionScript in JRun

Many of you already aware that CF.query method is available for ServerSide ActionScript only in Coldfusion to query a database. There is no such object available in JRun 4.0. Tom Muck created an object for JRun 4 ServerSide ActionScript that adds a CF.query() method to SSAS. He has given example of how to make use of it in his Flash Remoting Random Thoughts. Take a look at it...

Read More

Remoting Helper Component

Many Java, .NET and Coldfusion MX developers are now jumping into Flash Remoting. The problem they face when they are not much familiar with actionsript is in testing their server side remoting script. Every time they have to go to the flash developer for testing. To solve this problem I’ve developed a component called RemotingHelper which allows you to define the GatewayUrl, name of the...

Read More

Stripping HTML Tags using XML

There is a thread going on in flashcoders mailing list about how to stripp the HTML tags in the string. Here is my version to do the same using XML. It can be used to remove specific tags from the given string. Even though we can use flash textField for this purpose (setting the .htmlText property and getting .text property) the following method gives more options and flexibility. [UPDATE]...

Read More

New Public Flash Player is released

After a big round of beta testing public version is now released. Also it is the first Flash 6 Player for Linux with full support for Remoting, Video playback, and Flash Communication server. You can download the updated version here. [via:Mesh on MX]...

Read More

Arul’s Blog now syndicated in FLOG

Today flog started syndicating my blog. Thanks to David Humphreys, now my blog has more wider coverage. Also I’ve noticed that goggle ranking for the blog page is jumped from 4 to 7 (when I started this blog 4 months back it was only 3). Links given in MoiK78 Blog and onRelease() can be one of the reason. Thanks to Moises and Aral Balkan. Search engines like google, and yahoo are also...

Read More

Macromedia Tips Library

I just noticed that Macromedia now has a Tips Library in the Designer & Developer Center, where we can share our favorite product tips. Take a look and post your tips at http://www.macromedia.com/desdev/tips_library?

Read More

Actionscript Syntax Highlighting with SciTE|Flash

Many of you might already know how handy it is to edit ActionScript with SciTE|Flash, for those who do not know SciTE|Flash is a text editor from BomberStudios for editing ActionScript, free download is available in their website. One of the nice features which attracted me is exporting the script as HTML or RTF, which can be used to syntax highlight actionscript instead of my ActionScript...

Read More

Creating Unique Random Response

Whether we are developing a game or e-learning application we need to create random response which is unique and not repeating. Say for example if you are developing a Quiz application where you have 10 questions, you want to pick the question randomly, but the same question should not be repeated. Here is a custom class which we can use to produce such random values. I will write more about it...

Read More

Creating a Talking Application in Flash

Here I will show how to create a light weight talking application in flash. It is one of the Examples I showed in the Singapore User Group Session. Our task is fairly simple, Creating an audio file (preferably MP3) with all the words we want our application to speak. Using that audio in a movieclip as a streaming audio and placing frame labels(to another empty layer) to split the whole audio...

Read More