Ali Qureshi, is a web developer based in Lahore, Pakistan. Since 2001, Ali has developed creative, interactive, usable & successful web apps, Facebook apps, web portals and have authored WordPress plugins & themes. Ali has worked as a Software Architect, SEO Consultant, project manager, PHP & Flash AS3 developer, and sometimes as designer. He has also reviewed three books for Packt Publishing on jQuery and Mobile development. He is currently developing WordPress themes & Plugins and mobile apps APIs. When not working, he spends his time exploring and trekking.

[Nokia N900 X Terminal] cp: How to fix Omitting Directory, Permissions Denied Linux Command Errors

While updating few files in a game on Nokia N900 using X-Terminal, files did not copy when I used cp command, it gave ‘omitting directory’ error. FIrst of all gain root access by typing following command:   ~$ sudo gainroot   ~$ cd MyDocs   ~/MyDocs $ cp directory-name /opt/application-name/ cp omitting directory ‘directory-name’ You…

[AS3] Dynamically adding styles to TextField Component with TextFormat class in Flash using ActionScript

In AS3, styling the text content dynamically is done using TextFormat class. Create a new Flash AS3 file, In the ActionPanelCreate a TextFormat object with the specified properties. You can then change the properties of the TextFormat object to change the formatting of text fields. For making TextField Bold   var boldText:TextFormat = new TextFormat();…

[AS3] Add Dynamic MovieClips to ScrollPane component using Flash

In Flash, ScrollPane compnent allows every kind of content to be easily added and shown in the scrollpane. Here’s how you can create MovieClips dynamically and add them to the scrollpane on the stage. First of all, this is what will it look like: [SWF]https://www.parorrey.com/wp-content/uploads/2010/12/scrollPane.swf, 500, 300[/SWF] Following are the steps that will create a…

[AS3] Flash AS3 TextArea Component tips

In Flash AS3, while using TextArea Component in the following way: import fl.controls.TextArea; var myTxt:TextArea = new TextArea();   //define position on stage myTxt.move(50,50);   //define size of TextArea myTxt.setSize(300, 50);   myTxt.htmlText = "<li>Lorem ipsum dolor</li> <li> sit amet, consectetuer adipiscing elit.</li> <li>Vivamus quis nisl vel tortor nonummy vulputate.</li> <li> Quisque sit amet eros…

[AS3] Loading External Images In Flash CS5 Using the UILoader Component AS3

Displaying images by loading dynamically using Flash CS5 “UILoader” component is very straight forward. Flash CS5 offer three categories of Components, Flex, User Interface and Video. There are number of componenets for each User Interface and Video categories. We are going to use the UILoader component from User Interface category in this tutorial, using this…