CAIC Rose Painter Flash 9 Build      
 
 

 

   
 
             
  HTML Notes:          
 

To get the 10 Rose Painters embedded into your HTML do the following for each Flash Painter:

  1. Use the Javascript and the Flash Version detection code.*
  2. Set width and height to 800 and 700, or you may see text distortion.
  3. Set the FlashVars parameter to configure the correct Rose Painter.**
  4. For testing purposes, you can reset the HTML FlashVar parameter with the popup menu located at the top right of this page. This allows you test the 10 possible Rose Painter zone configurations.
  5. When testing with this page, accurate publishing results require that your browser does NOT cache stale data.

* The Rose Painters requires Flash 9 plugin or higher.

**The flashvar parameter sets the appropriate zone area to display. Use the following names to set the flashvars parameter:

  • steamboat
  • frontrange
  • vailsummit
  • sawatch
  • aspen
  • gunnison
  • grandmesa
  • northsanjuan
  • southsanjuan
  • sangre

Example:

'flashvars','zonename=sangre',

This will display the Sangre Rose Painter.

Background color of Flash apps can be adjusted with the "bgcolor" parameter.

 

 

This is the code to embed the rose_painter.swf file into the page HTML.

<head>
<script src="/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script language="javascript"> AC_FL_RunContent = 0; </script>
<script language="javascript"> DetectFlashVer = 0; </script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 115;
// -----------------------------------------------------------------------------
// -->
</script>
</head>

<body>
<script language="JavaScript" type="text/javascript">
<!--
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
// embed the flash movie
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0',
'width', '800',
'height', '700',
'src', 'rose_painter',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'rose_painter',
'bgcolor', '#e4e4e4', <<<< Adust background color here
'name', 'rose_painter',
'flashvars','zonename=sangre', <<<< CRITICAL !!!!!!!!!!
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'rose_painter',
'salign', ''
); //end AC code
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed here.'
+ 'This content requires the Adobe Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
document.write(alternateContent); // insert non-flash content
}
}
// -->
</script>
</body>

 
             
  CAIC Current Rose Flash 9 Build          
             
 

Same HTML directions as above. The only difference is the dimensions for the current rose. Use: 200px wide by 170 pixels high. Remember... you must set the zonename for the rose to be configured correctly.

To see changes from the Rose Painter you must refresh the page.

       
             
  CAIC Trend Roses Flash 9 Build          
             
 

Same HTML directions as above. The only difference is the dimensions for the current rose. Use: 700px wide by 170 pixels high. Remember... you must set the zonename for the rose to be configured correctly.

To see changes from the Rose Painter you must refresh the page.

         
             
   
             
  CAIC Warnings Map Flash 9 Build          
             
 

The warnings map has no flashvar parameter to set in the HTML. The map size is 510w by 650h.

Map Notes:

  • The historical search function is disabled.
  • The datagrids will be hidden later.
  • To see changes from the Rose Painter you must refresh the page.
   
             
  FLASH XML          
             
  These are the two XMLs files for the above four Flash apps.  
  data.xml
  map_prefs.xml (map only)
 
         
  JPG Roses      
         
         
  These are the jpg roses generated by the Rose Painter.  
  caic_rose_steamboat.jpg
  caic_rose_vailsummit.jpg
  caic_rose_frontrange.jpg
  caic_rose_aspen.jpg
  caic_rose_gunnison.jpg
  caic_rose_grandmesa.jpg
  caic_rose_sawatch.jpg
  caic_rose_northsanjuan.jpg
  caic_rose_southsanjuan.jpg
  caic_rose_sangre.jpg