Category: Flash

Flash

Simple Tool Tip using action script 2

1. Create a new flash file and save it as tooltip.fla 2. Create a movie clip named as ‘tooltip_mc’ and move it on stage. 3. Set the instance name as same ‘tooltip_mc’ for the movie clip 4. Copy the below…

Marquee Text in ActionScript 2

1. Create a new flash file and save as marquee.fla. 2. Add two new text control on stage and set the name as txtContent and txtCnt respectively 3. Copy and Paste the below coding in first frame Code: var SampleText…

Read XML Content using actionscript 2

1. Create a new flash file with actionscript 2 2. Create a XML object and load the xml file using load the method. Code: _xml = new XML(); // Create a xml object _xml.load(“filename.xml”); // load the file to XML…

Read XML content using action script 3

1. Create a flash file with actionscript 3 2. Sample XML file format Code: <?xml version=”1.0″ ?> <playlist> <song title=”Title01″ artist=”ArtistName01″ src=”Song01.mp3″ /> <song title=”Title02″ artist=”ArtistName02″ src=”Song02.mp3″ /> </playlist> 3. In the first frame for the layer 1, write a…

Back to top