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

<!--Below is where and how we define the behavior and its parameters-->

	<behavior_definition dialogID="Stop_video-dialog" category="Eingebettetes Video" name="Stoppen">
		<!--class="frame, movieclip, button">-->
		<properties>
			<property id="target"/> 
		</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="Stop_video-dialog" title="Video stoppen" buttons="accept, cancel">
		  <grid>
		    <columns>
			  <column>
				<rows>
				  <row align="center">
				    <vbox>
					  <label value="Wählen Sie die Videoinstanz aus, deren Wiedergabe gestoppt werden soll:"/> 
					  <targetlist id="target" tabindex="1" class="movieclip, video" required="true" requiredname="Ziel"/>                  
					</vbox>
				  </row>
				</rows>
			  </column>
		    </columns>	
		  </grid>
		</dialog>
		<actionscript>
		
		<!-- Inside the CDATA section is where you place the Actionscript to be displayed in the AS panel-->
		
<![CDATA[
	//Stop video Behavior
	$target$._parent.gotoAndStop(1);
]]>
		</actionscript>
	</behavior_definition>
</flash_behavior>