Create a new blank HTML page in Dreamweaver.
Click on Show Code and Design Views so that you have a Split screen – showing both the Code View and the Design View in Dreamweaver.
Click anywhere in the Design View page (not Code View) and then go to the Insert Menu
Then Media, then Click on Flash.
You should also see the object code in the body of the HTML page where you inserted the Flash file.
So in order for your inserted Flash movie file to work you are going to need to have the AC_RunActiveContent.js file in the correct location in order for you to view the Flash movie.
When you save the new HTML file that you created for the first time 2 things will happen
1. Dreamweaver will automatically create a copy of the AC_RunActiveContent.js file and put it in the same folder location that you save the HTML file too.
2. The src link to the AC_RunActiveContent.js file in your head section will change to the actual file path where the AC_RunActiveContent.js file has been automatically created for you by Dreamweaver.
If you are not sure where that is just look at the src link in your head section.
At this point you should preview your HTML template in Dreamweaver to see if the Flash movie is working. Click the File menu and click Preview in Browser or click a shortcut menu button to preview your HTML page and Flash movie.
Hopefully everything is working correctly locally on your computer and browser.
In order for the Flash movie to play on your website you would upload the HTML file you just created, the actual Flash movie file and the AC_RunActiveContent.js file to your web host server / your website. So you need these 3 basic things in order to have a Flash movie on your website. For simplicity sake just keep all the files in the same folder until you get the hang of creating embedded Flash movies for websites, then you will want to move the different files to more appropriate folders like /scripts for example and /flash, etc. Good luck.
Categories: Website Design Tips - Tricks - Fixes