View Full Version : Exporting button templates from Flash to use in Dreamweaver

01-25-2009, 07:33 PM
Hi all,
I've created a button in Flash and want to turn it into a template so I can insert it as a flash button in Dreamweaver.
I've created the 4 frames for the button states in the symbol editor mode, pressed the backspace arrow to close the symbol editor mode. I then drag the button from the library onto the stage and test it and it all works fine. Then I save it as a .fla file. How do I save/export it as a .swt file so I can put it in the flash button folder in dreamweaver? </newbie>

I've saved it as an .swt file in the flash button folder which brings it up in the insert button dialogue box, but the image is blank.

01-25-2009, 11:30 PM
I think you mean swf file.

When you save any fla file as soon as you test the movie it will automatically create an swf file.

These can then just be embedded into an HTML document in Dreamweaver just make sure that your stage size is the size of the button in flash though.

You don't really need to add it as a Dreamweaver flash button but I think you can if you save the swf file in same folder that dreamweaver uses to save its flash buttons.

Never done this though, I just embed them using insert media flash.

Just one other thing to note, make sure that your button even requires flash. We see a lot of beginners using flash buttons when they could have done things without it.

01-26-2009, 02:27 PM
No, the files in adobe\adobe dreamweaver cs3\configuration\flash objects\flash buttons are .swt, which are template files.
I can put the button in using the swf file, but I want to use a template so i dont have to create each individual button.

01-26-2009, 05:11 PM
Sorry mate I see what you mean.

Not sure how to create a swt have you tried just renaming from swf to swt?

01-29-2009, 01:07 PM
So does anyone know how to create a .swt file?

01-29-2009, 01:29 PM
So does anyone know how to create a .swt file?

Check this article out. I don't know SWT files but this ones seems alright:

01-30-2009, 11:14 PM
why bother anyway, just embed as a swf.