prosoxi.com | Archive | Flash

Archive | Flash

fscommand(“fullscreen”,”true”);” error AS3

import flash.display.StageDisplayState;
stage.displayState = StageDisplayState.FULL_SCREEN;

Posted in Flash0 Comments

AS3 – stage.scaleMode

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT

Continue Reading

Posted in Flash0 Comments

Flash AS3 Typewriter Effect

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

Load External Sound AS3

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

AS3 getURL();

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

Actionscript 3 parent reference.

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

Flash Arrays Tutorial

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

flash external xml into array

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

IE8 & ADOBE FLASH PLAYER FIX

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

AFComponents old files

    I found you can download the last version (although the documentation says 2.6) at http://www.afcomponents.com/components/g_map/GMap.zip

    Continue Reading

    Posted in Flash, Flash Components0 Comments

    Domain Finder

    Domain Finder Tool by Truste.gr

    read more for domains

    Advertisers

    Wedstar all about wedding - gamos - γαμος
    Κατασκευή ιστοσελίδων
    Domain Names | Hosting

    Adds