Jan 10


Me = new Array(”Helmut”);
FullName = Me.push(”Granda”);
trace(”FullName: ” + Me[0] + ” ” + Me[1]);

Jan 9


Name = new Array ()
Name.First = new Array (”Helmut”,”Flash”);
Name.Last = new Array (”Granda”,”MX”);

trace (”FIrst Name: ” +Name.First[0]);
trace (”Last Name: ” + Name.Last[0]);
trace(”Full Name: ” + Name.First[0] + ” ” + Name.Last[0]);
trace (”FIrst Name: ” +Name.First[1]);
trace (”Last Name: ” + Name.Last[1]);
trace(”Full Name: ” + Name.First[1] + ” ” + Name.Last[1]);

Jan 8
Arrays in Flash MX
icon1 helmut | icon2 Flash Bits | icon4 01 8th, 2004| icon3No Comments »


Name = new Array (”Helmut”, “Granda”);
trace (”FIrst Name: ” +Name[0]);
trace (”Last Name: ” + Name[1]);
trace(”Full Name: ” + Name[0] + ” ” + Name[1]);

Jan 7


randomFrame = random(50+1);
gotoAndStop(randomFrame);
trace(this._currentFrame);

Jan 6


//open in a new window
getURL(”http://www.mywebsite.com/mypdf.pdf”,”_blank”);

//open in the same window
getURL(”http://www.mywebsite.com/mypdf.pdf”,”_top”);

//open in a frame
getURL(”http://www.mywebsite.com/mypdf.pdf”,”_frameName”);

Jan 5


//declare your function and function name:
traceFunction = function(parameterPassed){
//what do you want the function to do?
trace(parameterPassed);
//end your function
};

//Lets make it work
traceFunction(”Hello Earth”)

Jan 4


//random(#)

randomLimit = 60

myRandomNumber = random(randomLimit);

trace(myRandomNumber)

Jan 3
Get a Random Number
icon1 helmut | icon2 Flash Bits | icon4 01 3rd, 2004| icon3No Comments »


//random(#)

myRandomNumber = random(60);
trace(myRandomNumber)

Jan 2


//code inside a Button
onRelease(){
getURL(”mailto:helmut@humanletterstudios.com”)
}

//Code On Timeline
myButton.onRelease = function(){
getURL(”mailto:helmut@humanletterstudios.com”)
};

Jan 1
Creating a Web Link
icon1 helmut | icon2 Flash Bits | icon4 01 1st, 2004| icon3No Comments »


//code inside a Button
onRelease(){
getURL(”http://www.humanletterstudios.com”,”_blank”)
}

//Code On Timeline
myButton.onRelease = function(){
getURL(”http://www.humanletterstudios.com”,”_blank”);
};

« Previous Entries Next Entries »