Flash

Been playing with a bit of Flash recently on a new web build at work.

We’ve got a flash banner on every page, but no where to have a title for each page; so the design decision was made to incorperate the title into each flash banner.

This would be a pain in the ass usually – having to create new banners for every page – but dynamic text makes it simple!

I was rather impressed with the simplicity of doing it.

My example below uses flashobject.

Make your call something similar to:

var fo = new FlashObject("./images/test.swf?whattoputin=Welcome to My Website", "viewer", "708px", "110px", "6", "#FFFFFF");
fo.addParam("scale", "noscale");

Now create a dynamic text area – this should be pretty large.

Give it an instance name on the properties dialogue, but also fill in the ‘var’ tag with whattoputin.

Et Voila.