﻿<?xml version="1.0"?>

<!-- **************************************************************************** -->
<!-- Copyright 2003 Macromedia, Inc. All Rights Reserved.                         -->
<!-- The following is Sample Code and is subject to all restrictions on           -->
<!-- such code as contained in the End User License Agreement accompanying        -->
<!-- this product.                                                                -->
<!-- **************************************************************************** -->

<flash_behavior version="1.0">

<behavior_definition
    dialogID="SelectScreenDialog"
    category="Screen"
    screenModeOnly="true"
    name="Hide Screen">

  <properties>
    <property id="TARGET" default="this._parent"/>
  </properties>
  
  <dialog id="SelectScreenDialog" title="Select Screen" buttons="accept, cancel">
    <vbox>
        <label value="Select Screen:" control="TARGET" required="true"/>
        <targetlist id="TARGET" class="screen" />
    </vbox> 
  </dialog>
  
  <actionscript>
    <![CDATA[
      // Hide Screen behavior
      if(($TARGET$ != undefined) && ($TARGET$ != null))
      {
        $TARGET$.setVisible(false);
      }
      // End Hide Screen behavior
    ]]>
  </actionscript>
  
</behavior_definition>
</flash_behavior>
