Archive for August, 2008

Flash Player 10 Release Candidate

On August 11, 2008, Adobe released Flash Player 10 Release Candidate. This version has only one update from last Beta update and that is NSS, i.e. Flash Player 10 for Linux now supports Mozilla’s Network Security Services(NSS) for secure network connections.
You can find more information about this on adobe labs over Flash Player 10 release [...]

Continue reading »

Flash: TextField.htmlText and Automatic Line Breaks

Problem :: When you deal with TextField.htmlText don’t append any html strings directly to htmlText property of TextField. Because the TextField appends “<br>” tag automatically before it appends any html string to htmlText property, it will set your string automatically in next line instead of the current line. This mistake is done to save memory [...]

Continue reading »

FlashDevelop and SVN Integration

Though FlashDevelop guys are working on integrating FlashDevelop with SVN, we can go with this handy tool.
To integrate SVN with FlashDevelop, you should have installed one of the SVN clients (say tortoiseSVN) on your machine.
FlashDevelop can be integrated with SVN using following steps ::
Step 1:
Create a file named build.bat in the directory containing your FlashDevelop [...]

Continue reading »

Ans: ActionScript 3.0 Object class Quiz

And here is the answer to quiz ::
undefined                                   //as property ‘prop1′ is not defined in obj2 and we pointed obj1 to obj2
Khokhaneshiya                          //now we defined ‘prop1′ in obj1 and set value ‘Khokhaneshiya’
//also obj2.prop1 will be Khokhaneshiya… You can trace out
What you were thinking?

Continue reading »

ActionScript 3.0 Object class Quiz

Check following code ::
var obj1:Object = new Object();
obj1.prop1 = “Naresh”;
obj1.prop2 = “Khokhaneshiya”;
var obj2:Object = new Object();
obj2.prop2 = “Hello world”;
obj1 = obj2;
trace(obj1.prop1); //What will be output here
obj1.prop1 = “Khokhaneshiya”;
trace(obj1.prop1); //What will be output here
Be honest, Don’t trace it out using Flash.
You will have answer in following posts !

Continue reading »

AIR and Network Detection

We can detetct the network in AIR using following code ::
Need to use ‘ServiceMonitorShim’ complied clip from AIR components in your fla file.
import air.net.URLMonitor;
import flash.net.URLRequest;
import flash.events.StatusEvent;
var monitor:URLMonitor;
monitor = new URLMonitor(new URLRequest(‘http://192.168.0.57′));
monitor.addEventListener(StatusEvent.STATUS, announceStatus);
monitor.start();
function announceStatus(e:StatusEvent):void
{
         trace(“Status change. Current status: ” + monitor.available);
}

Continue reading »

A story of Yertle and Turtle

Yertle the Turtle was king of the pond.  A nice little pond. It was clean. It was neat. The water was warm. There was plenty to eat. The turtles had everything turtles might need. And they were all happy.  Quite happy indeed.
They were… until Yertle, the king of them all, Decided the kingdom he ruled [...]

Continue reading »

AIR and its Application directory

A program does not have right to write or modify into Application directory of AIR application. We can read content of Application directory.
You can find some more tip and tricks here :: http://blogs.adobe.com/simplicity/2008/06/dont_write_to_app_dir.html
Cheers!

Continue reading »