Problem with Flash Player 9.0.28 or below?

Tuesday, May 5th, 2009 | Actionscript 3, Quick Tip | No Comments

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”;
}

Tags:

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

Sunday, February 8th, 2009 | Actionscript 3 | No Comments

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

Tags:

BFUG - Bristol Flash User Group

Wednesday, February 4th, 2009 | Bristol Flash User Group | No Comments

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

Tags: ,

AS3 Youtube player 0.2

Monday, February 2nd, 2009 | Actionscript 3, Youtube Player | 5 Comments

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

Tags: ,

Gavin Strange - Apple store talk

Thursday, January 29th, 2009 | Apple, Design | 2 Comments

Gavin Strange at Apple Store Bristol

Gavin Strange at Apple Store Bristol

Managed to catch Gavin Strange Aka JamFactory giving a talk last night at my local Apple Store in Bristol, He’s a talented guy who’s done a bit of everything in design, web, iilustration, art, and even his own line of toys. I was especially impressed with the attention to detail he’d shown in the pieces he passed round. The skateboard cuckoo clock, and box work for his Droplet toys were especially good. Unfortunatley i had to shoot off just after it finished so i didn’t get a chance to say hello, but be sure to check out his work at http://www.jam-factory.com

Top tip if you plan on attending an Apple Store talk: Ditch the coat early doors as it gets proper warm with that many people crammed in.

Tags: , ,

AS3 TextField buttonMode or useHandCursor?

Wednesday, January 28th, 2009 | Actionscript 3, Quick Tip | 6 Comments

Unfortunatly, no method exits on the TextField class in AS3 as it does not extend the Sprite class, which contains the buttonMode property.

This is most apparent with the annoying problem of having a TextField inside your Sprite/MovieClip you;re trying to use as a button, where even after setting buttonMode = true on the button, rolling over the textfield inside the button will revert the Cursor back to default.

To get round this simply use the mouseChildren = false property on your Sprite/Movieclip button.

i.e.

myTextFieldContainingSprite.buttonMode = true;

myTextFieldContainingSprite.mouseChildren = false;

myTextFieldContainingSprite.addEventListener(MouseEvent.MOUSE_DOWN …… etc

Tags: , , ,

Search

Subscribe