Flash, TV Themes, and Proximity

I just create a fun little app that allows you to hear the theme music for a bunch of different 80′s sitcoms. The volume of each theme is controlled by the proximity of your mouse to the thumbnail. You can listen to some interesting mixes between themes by going halfway between 2 or 3 shows.

I am going to be uploading a tutorial called “Flash Math 2″ to gotAndLearn() tongiht which shows how to accomplish this type of thing. I hope you enjoy it!.

On a side note, the lower right hand corner doesn’t have a show because of the “8 sounds at a time” issue in Flash. Is there any way around this. I want to have the themes all playing all the time so that there is a constant flow. Any ideas?

Thanks!
Lee


HTML, CSS, & Flash Tutorial

Earlier today I uploaded a new tutorial at http://www.gotoandlearn.com which explains how to import an external HTML and CSS file into Flash, as well as how to properly render them in a dynamic text field.

Lee


FLV Meta Injection Tutorial

I just finished a new tutorial called “FLV Meta Injection” which shows you how to use the free FLV Metadata Injector tool to enhance your FLV files. I embed some string data into an FLV file and then extract that data for use in Flash. I hope you find it helpful. Check it out at http://www.gotoandlearn.com.

Lee


Flash Tooltip Class

Here is another class that I just wrote which creates a tooltip using the drawing API. All you do is create a single instance and then use the “showTip()” method to show it and change the text. You send the fill and stroke colors in hex format to the constructor. See the usage below:

[as]var tt:Tooltip = new Tooltip(0xFFFFEC,0×000000);
butt1.onRollOver = function() {
tt.showTip(“Button 1 Tip”);
}
butt1.onRollOut = function() {
tt.removeTip();
}[/as]

See below for an example:

You can download the class here.
Lee


Flash Timecode Class

I’ve written a Timecode class that will take the ns.time property and return a timecode string in the “00:00″ format. See below for how it is used.

[as]var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
thevideo.attachVideo(ns);
ns.play(“yourFLV.flv”);
var tc:Timecode = new Timecode(ns);
this.onEnterFrame = function() {
trace(tc.getTimecode());
}[/as]

There is also a “setDelimiter()” method available if you want change the colon to some other character.
tc.setDelimiter(“|”);

You can download the class here.

Lee


1 - 5 of 14 Prev 5Next 5