| ::: About this Blog ::: |
Welcome to Arul's Blog! Weblog on Multimedia,
 |
Flash MX |
 |
Director |
 |
Dreamweaver MX |
 |
And me :) |
Here I'm going to share my views, opinions and code with you all. |
| ::: Time Zone ::: |
All Times on this blog are
GMT + 5:30 Hours
(Indian Standard Time) |
|
Thursday, June 26, 2003
|
Bug.Flash MX: Unicode escape notations are lost while auto formating ActionScipt!
I found this bug while working on my "content management solutions for languages", project . If you want to use unicode characters that are not supported by your system's codepage in your actionscript with out using external '.as' files, the only way is to use Unicode escape notations in the format "\uXXXX" where the 4 digits specified are the UTF code points (more on this in Macromedia website). When you use such notations never use the auto format since it tries to convert all the notations back to characters and for those it can not recognize it replaces the character with the '?' mark.
posted by Arul
| link
| ^top
| next> |
add comment |
Tuesday, June 24, 2003
|
News.Flash MX: Robin Debruil's Rich Media Builder.
Robin Debruil has come up with a free utility called Rich Media Builder built on .NET Framework that runs 'tasks' which can be edited visually. The tasks are plugins. It integrates fairly easily with other coding tools.
The first plugin available allows you to compile and test a flash file from a text editor or a build program. It will capture any output, and errors are now 'clickable' (click to go to the offending code). A task can be terminated with a hotkey, a time-out, or by detecting traced output. Multiple files can be built at once, and results can be viewed in Flash (debug or test), an swf, or output only. The build can also be called from a different build program such as Ant, and all output can be logged.
more on his web site http://www.richmediabuilder.com.
posted by Arul
| link
|<prev. | ^top
| next> |
add comment |
Friday, June 20, 2003
|
Code.Flash MX: An Idea to document your components.
This could be an easy way to document your component. We need track the properties and methods of a component by looping through the instance. Say for example the following example can generate the color syntax xml for any component instance, we need to delete unwanted entries manually that's all.
var d = _global.akComponentDoc=new Object();
d.getColorSyntax = function(obj) {
var arr = new Array();
for (i in obj) {
if (typeof (obj[i]) == 'function' && substring(i, 1, 2) != "my") {
arr.push('\t<identifier text=\".'+i+'\"/>\n');
}
}
arr.sort();
return '<colorsyntax>\n'+arr.join('')+'</colorsyntax>\n';
};
trace(d.getColorSyntax(PushButtonInstance));
The above code generated the xml below
<colorsyntax>
<identifier text=".accDoDefaultAction"/>
<identifier text=".arrangeLabel"/>
<identifier text=".cleanUI"/>
<identifier text=".cleanUINotSize"/>
<identifier text=".drawFocusRect"/>
<identifier text=".drawFrame"/>
<identifier text=".drawRect"/>
<identifier text=".executeCallBack"/>
<identifier text=".getBtnState"/>
<identifier text=".getEnabled"/>
<identifier text=".getLabel"/>
<identifier text=".get_accDefaultAction"/>
<identifier text=".get_accName"/>
<identifier text=".get_accRole"/>
<identifier text=".get_accState"/>
<identifier text=".init"/>
<identifier text=".initContentPos"/>
<identifier text=".invalidate"/>
<identifier text=".onDragOut"/>
<identifier text=".onDragOver"/>
<identifier text=".onPress"/>
<identifier text=".onRelease"/>
<identifier text=".onReleaseOutside"/>
<identifier text=".onRollOut"/>
<identifier text=".onRollOver"/>
<identifier text=".pressFocus"/>
<identifier text=".registerSkinElement"/>
<identifier text=".setBtnState"/>
<identifier text=".setChangeHandler"/>
<identifier text=".setClickHandler"/>
<identifier text=".setEnabled"/>
<identifier text=".setHitArea"/>
<identifier text=".setLabel"/>
<identifier text=".setSize"/>
<identifier text=".setStyleProperty"/>
<identifier text=".txtFormat"/>
<identifier text=".updateStyleProperty"/>
</colorsyntax>
posted by Arul
| link
|<prev. | ^top
| next> |
comments [2] |
Monday, June 16, 2003
|
Update.Arul's Blog: Links disabled in guest book due to porno links by spammers.
I lately noticed that some of the spammers started putting dummy comments with a link to a porno site in my guest book. It is very hard to track because some of the site names does not relate to s-e-x. To avoid such problems I've disabled showing links on my guest book.
posted by Arul
| link
|<prev. | ^top
| next> |
add comment |
Friday, June 13, 2003
|
News.Flash MX: ActionScript based 3D Engine by Robin Kohli.
Take a look at Robin Kohli's 3D engine at his website. You can draw 3d Shapes and save them right there. He has given download for the source as well.
posted by Arul
| link
|<prev. | ^top
| next> |
comments [1] |
Monday, June 02, 2003
|
Update.Arul's Blog: Bi-Lingual Guest book version 2.
I've released the second version of my Tamil & English Guestbook. Many people asked me what is so special in enabling Tamil typing using flash. It is basically a transliteration engine that works in the background to convert typed english character to their equivalent Tamil words. Say for example typing 'King' produces the exact Tamil word that can be read as King in Tamil.
This new version has lot of improvements over the previous version. I've made it re-sizable and also added Mouse scroll wheel support. Now it is encoding using Tscii Tamil encoding standard, supports both Roman and Tamil 99 Keyboard layouts. Have a look and add your comment there!
posted by Arul
| link
|<prev. | ^top
| next> |
comments [1] |
footnote:-
Also check the recent entries
and feel free to add your comments. I need your comments to improve this blog
|
|