Sending Email with PHP Tutorial

I just uploaded a new tutorial at http://www.gotoandlearn.com called “Sending Email with PHP” which shows how to email information from Flash using PHP. In the tutorial I build a simple contact form and then use the LoadVars class to send and load information to the PHP script.

Lee


Introduction to OOP Tutorial

I just uploaded a new tutorial at http://www.gotoandlearn.com called “Introduction to OOP” which shows the basics of how to create Actionscript 2 classes and then how to attach them to MovieClips. This tutorial builds on top of the previous tutorial which was about creating animated MovieClip buttons.

Lee


Animated Buttons Tutorial

I just uploaded a new tutorial at http://www.gotoandlearn.com called “Creating Animated Buttons” which shows the basics of how to create animated buttons using MovieClips. This is more of a beginner tutorial and is a vital skill to learn when starting out. Hope you like it!

Lee


Video Transitions with Cue Points

Below is an example of using cue points for video transitions. Two external FLV files dissolve into one another. See the code below. It’s perhaps not the best coding scheme but it works for now. There is a cue point 5 seconds from the end of each of the files which trigger the dissolve.


[as]var v1List:Object = new Object();

var who = v2;

v1List.cuePoint = function(cues) {
v1.onEnterFrame = fader;
who = v2;
v2._alpha = 100;
v2.v1.play();
}

v1.v1.addEventListener(“cuePoint”,v1List);

var v2List:Object = new Object();

v2List.cuePoint = function(cues) {
v2.onEnterFrame = fader;
v1._alpha = 100;
who = v1;
v1.v1.play();
}

v2.v1.addEventListener(“cuePoint”,v2List);

function fader() {
this._alpha -= 2;
if(this._alpha < 1) {
this.swapDepths(who);
this.v1.rewind();
delete this.onEnterFrame;
}
}[/as]