S

FRED website

4th January, 2008

An opportunity to work on a flash based website came up shortly before christmas where the company previously named ‘Uncle Fred’ had rebranded themselves to simply FRED and wanted their site updated to reflect these changes. Their website can be found at http://www.fredstalent.com.

The updated version is currently being tested at http://www.srjm.co.uk/FRED/

Update: No longer being developed in the test location (Link redirects to this post).

Personal Projects

20th October, 2007

Alongside neovirtua efforts, I have found myself swinging back towards the more artistic side of things after spending what seemed like the entire second year of my course coding. My puzzle flash code-thing has been all-but finished scriptwise for a while and is now in the process of gaining some nice vector art (at one stage Illustrator was a bad, bad word) and creating images for websites has rekindled my love of all things photoshop.

Desktop Background - Eggs (Digital)

Waterfall Landscape

Posted in General Stuff, Work Placement by Simon

XHTML and Flash

7th November, 2006

An important part of our idat205 Creative Industries company was our use of flash in highly accessible and web standards compliant sites. Even though this was a feature of last year’s idat102 module with Dan Efergan and good website technique, I found myself put off by it all, especially favouring methods that didn’t involve anyone else’s code. Then the odd ‘Click to activate and use this control’ boxes appeared in microsoft Internet Explorer 6 and flash had to just not be used for anything important at all.

The annoying content activation box.
Flash under the ‘Click to activate and use this control’

 

However, I have discovered it really is easier to implement flash successfully than it seems.
So here’s how to do it:

Download the Script

Download the .js javascript file from http://blog.deconcept.com/swfobject/ (site is found very easily with google). Store it somewhere where your flash pages can find it.

Embed the Script

Embed the file within your page
(<script type="text/javascript" src="./swfobject.js"> </script>)

In addition I would place this above any CSS embed scripts it will get rid of the ‘FOUC’ problems discussed in

http://www.bluerobot.com/web/css/fouc.asp.

Embed your Flash File

Finally, you create a <div> of flash alternative content, which is written over if flash is available, like so:

<div id="website_menu">
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("./flash.swf", "flash", "300", "100", "8", "#ffffff");
so.write("website_menu");
// ]]>
</script>

And that is that, the page is XHTML compliant with regards to embedding the flash and IE doesn’t stop the content from interacting. For a list of reasons why this method is good, read more into the swfobject script blog site.

Update:

I’d say the basic parameters are pretty obvious (source,title,width,height,flash version and BG colour) but since this post and after a little experimentation its possible to do a rather lot more using ‘addParam’. For example setting the WMODE to something other than the defaults.

Latest Journal Posts

RSS Feed

Additional