Hello there,
I am sure you are overworked already as it is, but curious to know what you think, so here is my request:
The advertisement module has been offically launched recently and works with text ads, image ads.... but so far no flash...
Would that be something SWF Tools may look into or not?

I have to say that it would be great cos the advertisement module seems to be working quite well ( better than the banner module which has still not been released offically for drupal 5 and which contains several bugs)
Many thanks for all the hard work!
Drupalworld

Comments

sime’s picture

Yes, it would work fine.

You'd do this from within advertisement module:
swf('myadvertisement.swf', 'Only local images are allowed.', '50x200') ?>

Note. At the moment, swftools is about 10 modules - obviously you don't have to install all of these (you might only install swfobject.module and swftools.module). However I'm conscious that in a case like this people will *perceive* swftools as too bloated. I plan to release a really minimal version called SWF Tools API which contains the bare essentials and would be prefect for advertisement.

Please hold on for a bit, this will all happen this month.

Thanks
Simon

sime’s picture

Oops, those empty quotes should simply be some html that is used if the flash doesn't work. drupal.org has chopped them out: trying again:

swf('myadvertisement.swf', 'Only local images are allowed.', '50x200') ?>

sime’s picture

Er, one more try:
swf('myadvertisement.swf', '<img src="imagedisplayifnoflash"', '50x200')

drupalworld’s picture

Thanks a lot Sime :)
Sure we can wait for Flash API and follow your instructions in the meantime.
Thanks again for the hard work !
Drupalworld

sime’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)