import flash.display.StageDisplayState; stage.displayState = StageDisplayState.FULL_SCREEN;
Posted on 02 June 2010.
import flash.display.StageDisplayState; stage.displayState = StageDisplayState.FULL_SCREEN;
Posted in Flash0 Comments
Posted on 02 June 2010.
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT
Posted in Flash0 Comments
Posted on 28 May 2010.
1. Place a TextField on frame 1 and set the instance name to textbox
2. Enter the following code into frame 1 Continue Reading
Posted in Flash0 Comments
Posted on 28 May 2010.
var audio:Sound = new Sound();var req:URLRequest = new URLRequest(“Buzz.mp3″);audio.load(req);audio.play();var channel:SoundChannel= new SoundChannel();var audio:Sound = new Sound();var req:URLRequest = new URLRequest(“sound.mp3″);
audio.load(req);audio.play();
var channel:SoundChannel= new SoundChannel();
Posted in Flash0 Comments
Posted on 28 May 2010.
rootlink.addEventListener(MouseEvent.MOUSE_DOWN, rootLinkFun);function rootLinkFun(evt:MouseEvent):void{var targetURL:URLRequest = new URLRequest(“http://www.prosoxi.gr”);navigateToURL(targetURL,”_blank”);}
Posted in Flash0 Comments
Posted on 28 May 2010.
This is a very short line of Actionscript 3, but its one that I’ve had copied to Stickie on my Desktop forever, so in the interest of cleaning up some, I’ll post it here on the blog in the Code Tips category. I think I’ve memorized at least this much AS3 now too =) Continue Reading
Posted in Flash0 Comments
Posted on 20 April 2010.
http://www.webwasp.co.uk/tutorials/b28-array/index.php
http://www.actionscript.org/resources/articles/89/2/Arrays-in-ActionScript/Page2.html
http://www.flashvalley.com/fv_tutorials/arrays/
Posted in Flash0 Comments
Posted on 12 October 2009.
flash external xml into array
im attempting to take data in from an xml file and make it into an array in flash… below is the code im using- the problem i am having is that it dosent trace anything
Code:
var xmlDoc:XML = new XML();
System.useCodepage = true;
xmlDoc.ignoreWhite = true;xmlDoc.onLoad = function(ok:Boolean) {
if (ok) {
doMenu(this);
} else {
trace(“XML did not load”);
}
};xmlDoc.load(“myImages.xml”);
function doMenu(xml:XML) {
var num:Number = xml.firstChild.childNodes.length;
pics = new Array();
for (var i = 0; i < num; i++) {
pics[i] = xml.firstChild.childNodes[i].attributes.image;
}
trace(pics);
}
here is my xml file
Code:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> <MENU> <ITEM image="image1.jpg" /> <ITEM image="image2.jpg" /> <ITEM image="image3.jpg" /> <ITEM image="image4.jpg" /> </MENU> thanks http://www.webdeveloper.com/forum/showthread.php?t=72067
Posted in Flash0 Comments
Posted on 07 October 2009.
Hello, you either have JavaScript turned off or an old version of Adobe’s Flash Player. Get the latest Flash player.
Since Javascript was enabled, in order to check whether this was a problem of Youtube’s site only, I browse to other sites that I know use flash tech to find that I was really unable to watch any Flash content. They all prompted me to download and install the latest version of Adobe Flash Player. Continue Reading
Posted in Flash, Flash Components, Windows0 Comments
Posted on 22 September 2009.
I found you can download the last version (although the documentation says 2.6) at http://www.afcomponents.com/components/g_map/GMap.zip
Posted in Flash, Flash Components0 Comments
