Converting Existing Rich Media Ads
This section describes how to convert existing flash movies/rich media ads to work with Microsoft Rich Media.
1.) Start Flash
2.) Open a new Microsoft Rich Media template file:
- In Flash, Select File --> New... or press CTRL+N
- Select Microsoft Rich Media General Template under the Templates Tab.
3.) Open the Flash movie you wish to convert.
4.) Copy the Microsoft Rich Media library folder from the Microsoft Rich Media Template library into the library of the movie you are converting.
- Open the library panel for both your movie and the Microsoft Rich Media template. Drag the folder called Microsoft Rich Media from the Microsoft Rich Media template library into the library of your movie.
5.) Copy the Microsoft Rich Media folder layers from the Microsoft Rich Media Template onto the main timeline of the movie you are converting.
- On the main timeline of the Microsoft Rich Media Template Right click on Frame 1 of the layer called “Links and Descriptions” and Select Copy Frames.
- Create a new layer on the main timeline of the movie you are converting. Right Click on Frame 1 of this new layer and Select Paste Frames.
- Repeat steps 1 & 2 for the remaining Microsoft Rich Media layers listed below:
6.) Converting Flash’s native loadMovie() function to the Microsoft Rich Media movie() function.
- On the Links and Descriptions layer of your main timeline, define the external child SWF
files that you wish to load into your movie.
- Change all instances of Flash’s native loadMovie() function from this:
loadMovie(“childMovie_1.swf”);
To this:
_root.conduit.movie(1);
Note: The number inside the parentheses corresponds to the variable defined in the Links and Descriptions layer on your movie's main timeline.
7.) Converting Flash’s native getURL() function to the Microsoft Rich Media’s exit() function.
- On the Links and Descriptions layer of your main timeline, define your exit URLs. At least one exit must be defined and the second line (exit2=""; exit2window="";) must be present.
- Change the Flash’s native getURL() function from this:
getURL(“http://www.yourURL.com”, _blank);
to this:
_root.conduit.exit(1);
Note: The number inside the parentheses corresponds to the variable defined in the Links and Descriptions layer on your movie's main timeline
8.) Adding Microsoft Rich Media Event Actions
- On the Links and Descriptions layer of your main timeline, define the Events you would like to report.
- Select the button, frame or object that you would like to add an Event action to.
- With the desired button selected, open the Actions panel:
Select Window > Actions
or
Press the F9 key - In the Actions panel Select Actions > Movie Clip Control and double click On. Then, from the drop down menu double click rollOver.
- In the Actions panel , Select Actions > Microsoft Rich Media > Tracking Functions and double click on Event. This will add the event() action to the script panel.
- Enter the Event variable number (defined in the Links and Descriptions layer), for the event you want called, inside the parentheses.
- That’s it! Now when a user rolls over this button Event 1 will be reported.
Notes:
- To guarantee that Event actions always execute, we highly recommend that you place all Event actions at the beginning/top of any code block.
Recommended:
on (rollOver) {
_root.conduit.event(1);
gotoAndPlay("expand");
}
NOT Recommended:
on (rollOver) {
gotoAndPlay("expand");
_root.conduit.event(1);
}









