﻿<?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_Stop-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_Stop-dialog" title="到影格或標籤處並停止" buttons="accept, cancel">
			<vbox>
				<label value="選擇想要停止播放的影片片段:                                                  "/> 
			</vbox>
			<grid>
				<rows>
					<row align="center">
						<targetlist id="target" tabindex="1" class="movieclip"/> 
					</row>
				</rows>
				<label value=""/>
				<label value="輸入影片片段要停止播放的影格編號或"/> 
				<label value="影格標籤:"/>
				<rows>
					<row align="center">
						<textbox literal="true" id="frame" tabindex="2" required="true" requiredname="影格"/> 
					</row>
				</rows>
			</grid> 
		</dialog>
		<actionscript>
<![CDATA[
	//Movieclip GotoAndStop Behavior
	$target$.gotoAndStop($frame$);
	//End Behavior
]]>
		</actionscript>
	</behavior_definition>
</flash_behavior>