Archive for May, 2008

Identify all the key strokes in Flash IDE Environment

By default, when you press some key in Flash IDE Environment, in ActionScript you will not be able to handle DELETE key stroke as that is shortcut key in Flash IDE.
To handle such key strokes in ActionScript, while running an application in Flash IDE, go to swf’s Control menu and tick ‘Disable Keyboard Shortcuts’. Now [...]

Continue reading »

Adobe announces Adobe Dreamweaver CS4 beta

Adobe labs announces Adobe Dreamweaver CS4 Beta. You can download Adobe Dreamweaver CS4 Beta from here.
Adobe Dreamweaver CS4 Beta includes following new features ::
Live View
View your web pages under real-world browser conditions with the new Live View in Dreamweaver — while still retaining direct access to the code. The new rendering mode, which uses the [...]

Continue reading »

Virtual Directory in WAMP using Symbolic Link

You can setup a virtual directory in WAMP using Symbolic Link. You have to create a symbolic link in Windows using following command :
mklink /D [virtualDirectoryName] [TargetDirectory]
where,
/D indicates the target is a directory and not a file. If you don’t provide this then it will take file as target by default
[virtualDirectoryName] is the name of [...]

Continue reading »

Enjoy funny videos in Gujarati – Simply Cool

Shahrukh’s Darde Disko in Gujarati ::

Spiderman – Veer Karolio Jalawalo ::
 
Here are more videos – SURATI KAKA. Enjoy them
Naresh Khokhaneshiya

Continue reading »

Adobe Flash Player 10 Beta Released

Adobe® Flash® Player 10, code-named “Astro,” introduces new expressive features and visual performance improvements that allow interactive designers and developers to build the richest and most immersive Web experiences. These new capabilities also empower the community to extend Flash Player and to take creativity and interactivity to a new level.
This public prerelease is an [...]

Continue reading »

DataProvider.getItemIndex() function does not work

In ActionScript 3.0, DataProvider.getItemIndex() method is not working properly. It mostly returns -1, as an indicator of ‘Item not found’ in the DataProvider.
Following code illustrates the problem ::
import fl.controls.ComboBox;
import fl.data.DataProvider;
var cb:ComboBox = new ComboBox();
this.addChild(cb);
var dp:DataProvider = new DataProvider();
dp.addItem({label:”Ashvin Savani”});
dp.addItem({label:”Naresh Khokhaneshiya”});
dp.addItem({label:”Jignesh Dodiya”});
dp.addItem({label:”Alpesh Vaghasiya”});
cb.dataProvider = dp;
//get index of item ‘Naresh Khokhaneshiya’
var index:int = dp.getItemIndex({label:”Naresh Khokhaneshiya”});
//following line outputs [...]

Continue reading »

AIR – Change the size of Stage at runtime dynamically

Yesterday I came across a fact that you can resize the stage size dynamically at runtime using actionscript code. But this is limited to AIR only (either Flash or Flex) but not supported in normal Flash.
Following is the code to change the width and height of the stage at anytime (runtime) using actionscript in AIR [...]

Continue reading »

Flash Player 9 does not support Ordered List

Surprisingly Flash Player 9 does not support Ordered List <ol> tag for TextField.htmlText property. It gives output same as Unordered List <ul>. Also it does not support “type” attribute of <ul> tag.
TextField.htmlText supports List Item <li> tag but that is also limited. It does not support “type” attribute of <li> tag. It supports only “circle” [...]

Continue reading »