Follow @BPSPro

Inserting a Flash Movie into Dreamweaver – Add Flash Movie to Dreamweaver, Add Flash File to Dreamweaver

Comments Off RSS Site Feed Author: AITpro Admin
Published: February 20, 2011
Updated: February 20, 2011
The original question was regarding adding or inserting a Flash movie into Dreamweaver.  This was a question that was answered on YA and covers the basics of inserting a Flash movie into an HTML template in Dreamweaver and also other specific issues this person was having.
 
I see that there is a video recording program called Easy Video Recorder for Mac. I’m going to assume this is the correct program you are talking about because you mention recording your computer screen and inserting the video file into what I also will assume is going to be a web page if you are using Dreamweaver. The default exported format appears to be QuickTime for this program, but the EVR program does offer other formats that you can choose. The QuickTime MOV format is gigantic and is not a good format to use in website design. Flash SWF is the best video format to use in website design so you will need to convert the MOV file to an SWF file. It looks like you already did that so I am going to assume that the file conversion was successful and not corrupted.

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.

Now look at the Code View section of the Split screen – This is very important. In the head section of the HTML page you will see that a javascript file source reference link has been added to your HTML file – see below – I cannot include the full link here because YA will not allow it of course.
script src=”DWConfiguration/ActiveContent/IncludeFiles/AC_RunActiveContent.js
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.

Skip to toolbar