FlashNSF Analysed By TechEmporium

This is intended for people with some knowledge of HTML, JavaScript & the use of ActionScript-based Flash applets.


FlashNSF is probably the most advanced applet ever made to play NSF files. Because it's dedicated to NSF & NSFe sound formats, it can support all of the NES sound expansion chips ever made. If you want support for more sound formats at the loss of expansion chip support for the NES, then use Blargg's Java-based video game sound player (trust me; Blargg knows how to create good software. Even FlashNSF uses Blargg's open-source video game sound library!).

Flash NSF was created by P1XL Games. Even though they don't have any package downloads or proper implementation instructions on their site yet (& owing to the fact that they're flaunting this player as though it were an open-source project,) owing to the openness of the internet as a technology, I used HTTrack to download their web page source, applet & script!

Props to Dwedit of the FamiTracker forum for discovering this applet. It's a brilliant way to show off your work & I owe it to Dwedit for making this template possible. And props go out to JSR for making an awesome NES music assembler, to nicetas_c, tadpole & Rushjet1 for their input on my latest original soundtrack & props to Blargg for making an ingenious audio library that P1XL Games could use. Last, but not least, greetz, props, 73s & everything else goes out to Mathew Valente for his talent in covering Mega Man 10; there's lots that I'm still learning from it & much more I need to learn.

I really haven't had much time to document the entire use of this applet's ActionScript, so I decided to comment the hell out of this sample web page! But to sum things up, here's what to do:

1. Embed SWFObject version 2.2's JavaScript file into the head of the page.

2. Embed ActionScript code just after SWFObject (also in the head).

3. Set the parameters of the ActionScript to taste.

4. Use DIV elements to embed an instance of FlashNSF anywhere on your web page.

You can run more than one instance of the applet on your page (keeping in mind that there actually are limits to how many applets you should embed in any given page; limits which I actually don't know about). So, have a look at all the comments I put on this page (both in the HTML code itself & in the ActionScript parameters). You don't need to look at the comments for SWFObject's JavaScript file since nothing needs to be changed within it.

If you have any problems with this, you can always complain to P1XL Games; if anything screws up on you, it's their fault (not mine!).

This is provided as is, without any warranty whatsoever, but I'd gladly answer any question on implementing this applet.

And if you're interested in creating your own NSFes, use WinAmp with the NotSo Fasto plug-in; it lets you convert NSFs into NSFes, change artist name/title/ripper/copyright info, add loop limits/fade-outs to each track & add track titles.

And guess what; this page is FULLY compliant with W3C standards!!! So use this template wisely.