﻿<?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="Goto_and_Play-dialog" category="影片片段" name="到影格或標籤處並播放">
		<properties>
			<property id="target" default="this"/> 
			<property id="frame" default="1"/>
		</properties>
	
		<!--The dialog window is tied to the controls below by its id-->
		<!--This controls generate the dialog using the XML to UI functionality-->
		
		<dialog id="Goto_and_Play-dialog" title="到影格或標籤處並播放" buttons="accept, cancel">
		  <grid>
		    <columns>
			  <column>
				<rows>
				  <row align="center">
				    <vbox>
					  <label value="選擇想要開始播放的影片片段:               "/> 			
					  <targetlist id="target" tabindex="1" class="movieclip"/>
					</vbox>
				  </row>
				</rows>
			 	<rows>
				  <row align="center">
				    <vbox>
						<label value=""/> 
						<label width="330" value="輸入影片片段要開始播放的影格編號或影格。若要從頭開始播放，請輸入 '1':"/>
					</vbox>
				  </row>
				</rows>
			 	<rows>
				  <row align="center">
				    <vbox>
						<textbox width="40" literal="true" id="frame" tabindex="2" required="true" requiredname="影格"/> 
					</vbox>
				  </row>
				</rows>
			  </column>
		    </columns>	
		  </grid>
		</dialog>
		<actionscript>
<![CDATA[
	//Movieclip GotoAndPlay Behavior
	$target$.gotoAndPlay($frame$);
	//End Behavior
]]>
		</actionscript>
	</behavior_definition>
</flash_behavior>