Commenced creation of my reading list of books and online references I have found useful. Initially concentrating on the Flash and ActionScript books I used to get involved in this technology.
I recently had the need to be able to switch player versions on the mac, and was very grateful to have found Mike Chambers‘ “Flash Player Switching on Mac” entry. Following the instructions in that entry may well be all you need. Be sure to read comments IV and V – they are important!
In my own set up I made a couple minor alterations to ease things in my own mind (to be read in conjunction with Mike’s article)…
- With respect to setting up the ‘soft-link’ or alias to “Internet Plug-Ins” I find an alias name of “InternetPlug-Ins” less likely to cause confusion than the more generic “plugins”. (Norton utils for example creates a “Plug-ins” folder within /Library)
- Similarly to avoid any confusion within the InternetPlug-Ins folder which in my case contains loads of files, I created a sub-folder “flashplayers” into which I placed the version folders.
So my resulting folder/file structure is as follows…
/Library/InternetPlug-Ins/ Flash Player Enabler.plugin Flash Player.plugin flashplayer.xpt /Library/InternetPlug-Ins/flashplayers/7 Flash Player Enabler.plugin Flash Player.plugin flashplayer.xpt /Library/InternetPlug-Ins/flashplayers/8 Flash Player Enabler.plugin Flash Player.plugin flashplayer.xpt /Library/InternetPlug-Ins/flashplayers/9 Flash Player Enabler.plugin Flash Player.plugin flashplayer.xpt
The idea being that the three files currently in /Library/InternetPlug-Ins represent the currently active version of the player.
As my folder structure is different to that of Mike’s, my script is slightly modified…
#!/bin/bash # # Script to change the flash player # if [ $# != 1 ]; then echo "Usage: $0 name-of-player-version-dir" exit else plugin_dir='/Library/InternetPlug-Ins' np_dir="$plugin_dir/flashplayers/$1" if [ ! -d $np_dir ]; then echo "$np_dir does not exist." exit fi cp -rv $np_dir/* $plugin_dir/ fi
Finally if you are not familiar with writing and running scripts via the terminal, two things to bear in mind…
- Placing your script file in a folder picked up by the path, will ensure it is available to you whatever is your current working directory. In my case I use the default tcsh shell and cfp is placed in my /Users/username/bin directory. This is added to the path in my via my .tcshrc file with the line
setenv PATH "$PATH":bin
- Make sure you set the executable flag on the script file:
chmod +x cfp
After years of dreading having to implement in xhtml/css, a designer’s efforts laced with rounded corners, I recently went and proposed a design of my own requiring them. (Doh!)
Over the last few years a number of tried tested techniques have been established…
I’ve never really been a fan of bitmap corners typically using variants of the long-standing “sliding doors” technique. However if there is a 3d aspect to the design this would probably be the best way.
For a long time I simply used the html published from the Flash IDE to embed a SWF. Expecting that to be the ‘best practice’ approach. Like others I was concerned at the impact of Microsoft’s upcoming changes to IE in response to EOLAS patent issues. I was dreading either having to write my own JavaSript or research countless approaches.
With SWFObject the problem is solved. It has been around for a long time (formerly known as FlashObject) and appears to be well tried and tested. I was really pleased with how simple it is to use, how it degrades gracefully. I’ve used this on a number of projects and now consider it to be best practice. In future I’d need a very good reason not to use it.
Update (14/03/2008): SWFObject 2 released
I’ve recently been distracted from my flash ambitions back to the world xhtm/css design. One of the issue with the organisation concerned is that in print media they use what I think is a really nice font: ITC Century Light. Ideally this is what should be used for all h1 headers through this site. Obviously not many users are likely to have this font installed. The substitute font is Times New Roman which is not nearly as neat, or distinctive.
In the bad-old days we would have created GIFs for each heading and used them instead. The height of bad-practice in this new world of standards compliance and accessibility.
Ok I came to this late. But the current version (2.02 at time of writing) has been recently updated with bug fixes and changes relating to ELOAS. And there is a version 3 in development.
- Mike Davidson’s blog entry is a good read
- Here is Mike’s example of sIFR in action
- Official documentation
- A recent note on versions
This is a good piece of work by the developers, who are looking for funding. Certainly if my client goes with this recommendation, I’ll be sending a donation.
Over the past few months I’ve been heading along to meetings of the London MultiMedia User Group. Working usually alone, or at least the lone technical ‘expert’ on most of my projects, it has been really good to see and hear what other similar types are up-to. Great for self-assessing my own approach against contemporaries.
With London MMUG in recess until September 2006 Tink has established the London Flash Platform User Group, the first meeting of which was this evening. Two impressive speakers: Stefan Richter and Stuart Eccles.
One of the things Stefan sparked an idea as to why I’ve been struggling to get one of the simplest Flash Media Server tasks to work – including one of the tutorials from Adobe. More on this soon.
Having never even looked at Ruby on the Rails, Stuart’s presentation was extremely interesting and illuminating. I’ll defiantly be looking into using RoR on future projects. That seemed to be the consensus of the audience too.
I am sorry I had to leave a little early. Thanks to Tink and both speakers for putting in the time to make this happen
It’s about time! My first blog.
Expect to find here occasional postings prompted by problems and hopefully solutions in my work with the flash platform and ActionScript in particular.
ActionScript 2 and Flash 8 are my starting spec as far as contributions to this blog are concerned. Looking forward to involvement in Flex 2, ActionScript 3, Flash Media Server and beyond. Also taking a keen interest in OpenSource developments around Flash.
My corporate site (creative-cognition ltd) currently shows minimal flash and demonstrates my background in server-side coding, XHTML, CSS standards compliance and accessibility. Looking forward to being able to add more Rich Media projects without losing touch with accessibility issues.