DESIGNED DEVELOPED DELIVERED

Tweets and Posts

Go on, make my day ... leave a comment

Latest tweets...

Ed test

February 22nd, 2012 by Edward

Ed test is jere to play

categories
tag

Adding html5 video

March 2nd, 2011 by Edward

This post attempts to document my journey to getting video to work on those lovely iDevices – ie by using html5. I am indebited to the work of others, and clearly am only presenting the basics. But it does work. My next steps will be things like adding a poster image, and perhaps giving the player a unique look!

Getting Started…

I have add html5 video to some of my clients sites now. Previously, they had only had flash – so weren’t viewable on iPads and other mobiles. Now I use the <video> tag to add support for html5, with a fallback to flash. Much of what I did was taken from video for everybody – thanks!

Here’s the complete code:

read more Read more…

categories
tag

Formatting a Combo and List components in AS3

February 2nd, 2011 by Edward

Update – 18th Feb 2012

I notice from google analytics that this page is still getting several hits everyday and that people are staying on it for some time.

I’d be interested to know if it was useful… or if you are just and annoying robot that takes ages to read…

Thanks

I needed to create an mp3 player from scratch for a band’s site. We decided to use a combo box at the top that would display a list of categories of music “Singles”, “Rareties”, “Name of album” etc. On selection this would then populate a list box underneath the combo box where you can press a song and listen to it. We got all this working fine, but then it was decided that we didn’t want the default formatting and we wanted to style the combo and list boxes differently. This was where the fun really began.

Here’s a screen shot of what we are after – note the different styling.

MP3 player for bluezoo screenshot

There are several different approaches, all with pros and cons. If on the stage you double click on the list box you’ll see the skins used by said list box.

read more Read more…

categories
tag

Targetting mc instances placed on timeline from library

December 6th, 2010 by Edward

I often find that I place multiple instances on the timeline from the library of say a button, and give them all exciting instance names like “ed1″, “ed2″, “ed3″….

When I do this with action script its pretty easy to work out which one is pressed. Ands its pretty easy too with instances dragged onto the stage – I’d just forgotten – so here’s how:

ed1.addEventListener(MouseEvent.CLICK, youClicked);
ed2.addEventListener(MouseEvent.CLICK, youClicked);
ed3.addEventListener(MouseEvent.CLICK, youClicked);

function youClicked(e:Event):void{
    trace ("you clicked="+e.target.name);
}

So it turns out that the .name is the same as the instance name that you type into the box. Neat. And now you have a unique indicator for each button – meaing you can do unique stuff for each one.

Easy!

If you remember…

categories
tag

jQuery – could this be one answer to the flash / apple debacle?

September 24th, 2010 by Edward

Recently I have begun to delve deeper into the world of jQuery. What I didn’t fully realise previously is that can do many of the jobs that we have previously used flash within our sites for!

So, slide shows, animation, flashy menus (pun intended) … all do-able using jQuery and then instantly available to those mac devices – iPad and iPhone etc that wont show flash.

Of course, there’s bound to be stuff that jQuery wont do. And users need to have javascript on. Having said that, for the few users who don’t have js on you can “gracefully degrade” so that pages wont fall apart.

You can check out some examples of jQuery in action on these sites:

Coin Street Community Builders (slide show on home page)

4eyes design – (portfolio, clients, services pages)

categories
tag

Flash vs apple iPhone, iPad – how does it affect us?

June 10th, 2010 by Edward

Like many people i have been following the recent “Developments” regarding Adobe Flash and Apple mobile platforms with considerable interest. Whilst the average user might say, “I don´t know what flash is” (as one friend of mine recently did) as sure as “Eggs is eggs” they will have used the Flash Player. Many times.

So what´s the issue?
For a long time web designers and developers have added flash elements into their sites – its great for interactivity. Videos, animations, sounds, movement, games – to name just a few of the huge range of uses. The Flash Player is perhaps one of the most ubiquitous add-ons to web browsers, I read recently that 90% of the world´s browsers have it installed.

Apple´s decision not to allow the Flash Player on the iPad (or on the iPhone either) has, in effect, censored great chunks of web content from its customers. Now anyone who uses the iPhone or the iPad has effectivly had a whole pile of web content hidden from them. If you visit a web site that has flash in it, and the site´s owners haven´t “Made provision” then those flash parts are just not there. That affects countless millions of websites.

read more Read more…

categories
tag

Actionscript 3

May 16th, 2010 by Edward

Well, I made the jump and have done a couple of projects with it. People I know have moaned about it – “All that code for pressing a button” they intone.

Me? I think its blooming SUPERB. A lot more logical, the display object is much easier to use, similar code for different events. GREAT

categories
tag