AdenForshaw.com Behind the curtain of Affiliate Marketing

10Jul/091

Standing Wave 2 – Open source AS3 sound engine

I've been messing around with recently released Standing wave 2 engine over at JoeberKovitz.com. He used the initial version for his online musical composition app NoteFlight which is very polished, if a little hard to get into for a non muso like me.

I'm planning on using it in a child orientated music composition game, and using standard mp3's it's very smooth and solves most of the problems with timing sounds in As3. You can work with standard mp3's or synthesise your own sounds as well.

I'd also recommend having a look over at PlayWithMozart by Jean Marc Bara, he's a top dude and has created a really interesting app with smooth sound playback.

7Jul/091

BristolFUG Talk

Been a while since i've had a chance to post i know, now i'm back fulltime freelance i can add some more tutorials, free code and tips and tricks and reply to comments a little bit more often.

Tomorrow i'm giving a talk to the Bristol Flash user group on 3d in flash. We'll be going through the whole process, from building and texturing a model in blender, exporting it into flash, and then using Away3d engine to load in the model and manipulate it with code. The aim is to give a medium level overview of the process, and provide the source code to work from.

If we get time or in future talks, we'll look at integrating open source physics engines into a 3d application.

Filed under: Actionscript 3 1 Comment
5May/094

Problem with Flash Player 9.0.28 or below?

Try adding this little line in your document class constructor to create the ADDED_TO_STAGE constant as this was not present in players 9.0.28 or below.

Bit of a hair puller this one.

if (Event.ADDED_TO_STAGE == null)
{
Event["ADDED_TO_STAGE"] = "addedToStage";
}

Tagged as: 4 Comments
8Feb/098

Google spreadsheet and flash part 2 – A Read/Write example

I've iterated up the previous example showing how to save data from a Google Spreadsheet, to add in the ability to load the data from the spreadsheet as well. Googles service in impressively fast, and works well with concurrent users. This is however no substitute for a proper database, and shouldn't be used as such.

Personally i've got loads of great ideas on how to use this, things like adding feedback/bug reporting functionality into projects. Clients love the transparency and easy of use of the Google Spreadsheets.

Get Adobe Flash player

All you need to do is have a php server, download the source code, create a google spreadsheet with form functionality, be sure to publish it as well with the auto republish flag set as well, change to source code with the key from your spreadsheet and do a simple request to find the id of the worksheet.

Here's the spreadsheet being edited. - http://spreadsheets.google.com/ccc?key=pyxyLmVwUP3OtKbRWR-x3LA&hl=en

4Feb/090

BFUG – Bristol Flash User Group

I've been looking around for a local flash user group for a while now, but to now avail. So i've decided to start one instead, it's a nice way to see and show interesting flash projects from creatives in the Bristol area. Anything flash or design related would be a winner.

You can join or just find out about the first meeting over at:

http://groups.google.com/group/bristol-flash-user-group

Tagged as: , No Comments
2Feb/099

AS3 Youtube player 0.2

Get Adobe Flash player

I've had a little time to iterate upon my previous demo using Youtube player in AS3.  It's still not as clean as i'd like, and i haven't done the Documentation yet, but it's pretty solid and provides a good example of the methodology invloved.

I've only added Play/Pause btn, a clickable Progress bar, and mute button. The AS3 player loads in a AS2 flash movie which wraps the Youtube player and provides an actionable API. The AS@ communicates back to the AS3 player via a call to a pre named function passing all the current properties of the Youtube Player, currentTime, duration, state etc.

Once i get some more time, and i've tested it in a couple of applications i'll finish it off and provide Documentation.

Click to download free source code