Dreamweaver Extension – SWFObject Insertions

SWFObject Dreamweaver Extension
As I use more and more the SWFObject, I took some time to create a Dreamweaver extension that insert the SWFObject Script and the Div with most of the options I ever need with it.
I just tested it on DW CS3, and it worked well as long as you are in design or split mode. It’s not always working in code view for a reason I didn’t understand yet. The resources about building extension on Internet are really rare so it’s hard to code it exactly as I wanted. For example how to use appendChild to create different Tag in different places of the document??

Please test SWFObject Dreamweaver Extension and tell me if it works or not and what I’ve forgot to embed.


Update 0.1.1: Have corrected some minors bug. This version seems to work nicely with DW8 win & mac and DWCS3 win & mac.

Ahmet

7 Comments

  • [...] And from the heavens it descended. I saw on Metah Blog a Dreamweaver SWFObject extension. It is very nice. It doesn’t add the js and express swf into your project or have browse buttons but it sure will help you make less mistakes when adding in flash through this wonderful detection kit. download .mxp [...]

  • [...] Update:(July 26 2007)To avoid this behavior you need to load your Flash via Javascript. For this you can use the SWFObject, I made an extension for Dreamweaver to ease the use of it. I just wanted to make a quick test of my website with IE7 beta 2, thinking that all would work normally but I had a bad surprised. My Flash site is launch in a pop up, it’s a swf file and IE7 give an error: Access is denied. This error appears every time I try to access a swf that is not embedded in an Html. If the swf is embedded it works perfectly. So what to do if IE7 doesn’t play your swf ? [...]

  • [...] Update:(July 26 2007)To avoid this behavior you need to load your Flash via Javascript. For this you can use the SWFObject, I made an extension for Dreamweaver to ease the use of it. I just wanted to make a quick test of my website with IE7 beta 2, thinking that all would work normally but I had a bad surprised. My Flash site is launch in a pop up, it’s a swf file and IE7 give an error: Access is denied. This error appears every time I try to access a swf that is not embedded in an Html. If the swf is embedded it works perfectly. So what to do if IE7 doesn’t play your swf ? [...]

  • [...] Update:(July 26 2007)To avoid this behavior you need to load your Flash via Javascript. For this you can use the SWFObject, I made an extension for Dreamweaver to ease the use of it. [...]

  • Scott wrote:

    Holy crap, this is awesome!

  • [...] On another note, I’ve found a Dreamweaver CS3 plugin that will insert the Flash embed code for SWFObject here. [...]

  • Very cool. You should add a list or link to extensions you make. :)

    I am a UGM for LA AIR, so check us out when you can. Also I post my extensions at http://xtnd.us .

Post a Comment

Your email is never shared. Required fields are marked *