Resizing your browser window around your video can be done with simple Javascript. Add the code below to the html file that was produced when you published your video in Flash® 8. It should be added after the line for the opening ‹Body› tag. Once you've copied the script into your html file, change the occurrences of TheRideCC text to the name of your video without the suffix.
< script language = "JavaScript" >
<!--
var isInternetExplorer = navigator.appName.indexOf( "Microsoft" ) != -1 ;
// Handle all the FSCommand messages in a Flash movie.
function TheRideCC_DoFSCommand(command, args) {
var TheRideCCObj = isInternetExplorer ? document.all.TheRideCC : document.TheRideCC;
//
// Place your code here.
//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf( "Microsoft" ) != -1 && navigator.userAgent.indexOf( "Windows" ) != -1 && navigator.userAgent.indexOf( "Windows 3.1" ) == -1 ) {
document.write( '<script language=\"VBScript\"\>\n' );
document.write( 'On Error Resume Next\n' );
document.write( 'Sub TheRideCC_FSCommand(ByVal command, ByVal args)\n' );
document.write( ' Call TheRideCC_DoFSCommand(command, args)\n' );
document.write( 'End Sub\n' );
document.write( ' </ script \> \n'); }
//-->
window.resizeTo(400,480)
</ script >


