AS3 Set Keyboard Autofocus For SWF

Its too simple to remember, the problem is because of, Flash will lose the focus of the stage while adding(addChild) or removing(removeChild) the child like Sprite, MovieClips. So we need to enable focus after each add/remove function calls. Use the … Continue reading

Posted in ActionScript 3.0, Flash | Tagged , , , , | Leave a comment

Load External XML File In Flash ActionScript 3.0

Here is the simplest method to load an external XML file to the flash using Actionscript 3.0. You need to import the following classes to your package ie URLLoader, URLRequest, Event and XML;

Posted in Flash | Tagged , , , , | 2 Comments

Adding Nodes to XML Object in ActionScript 3.0

There are 4 kinds of operations are available to add a new node to the XML Object. 1. appendChild(), 2. prependChild() 3. insertChildAfter() 4. insertChildBefore()

Posted in Flash | Tagged , , , , , | 1 Comment

XML In Flash ActionScript 3.0

XML stands for EXtensible Markup Language. XML was introduced to hierarchically structure, store and transport data or information. In ActionScript XML class was created to  handle XML Objects. But in later versions of ActionScript that is in 3.0, they implemented … Continue reading

Posted in Flash | Tagged , , , , , | Leave a comment

Delete a node from XML Object in ActionScript 3.0

Deletes the XML elements or attributes specified by reference. When used with an XMLList operand, the result of the delete operator is always true because the XMLList operand always refers to a valid (though possibly empty) XMLList object.

Posted in Flash | Tagged , , , , | Leave a comment
Page 1 of 41234