﻿<?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>