<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - flash - 9.0 - ActionScriptLangRefV3 - flash/display/Sprite.html</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T10:08:29</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#86624" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#86215" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#75684" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#70293" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#69116" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#67740" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#86624">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#86624</link>
		<description>Any child display object will exhibit similar behavior, not just TextFields. To prevent mouse interaction with child objects, set mouseChildren=false.&lt;br&gt;&lt;br&gt;In the example, add the line:&lt;br&gt;circle.mosueChildren = false;</description>
		<dc:creator>Joe ... Ward</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2008-08-11T11:44:19</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#86215">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#86215</link>
		<description>There's some oddity in hitArea behavior, when it's &quot;owner&quot; also have TextField inside. For example, we have a Sprite with 3 elements as children: another Sprite for some visuals, invisible Sprite for hitArea and TextField. Our &quot;root&quot;-Sprite wil react to mouse when it is over hitArea Sprite _and_ when it is over TextField. Try add this into hitArea example code:&lt;br /&gt;&lt;br /&gt;var tf:TextField = new TextField();&lt;br /&gt;tf.text = &quot;QWERTY&quot;;&lt;br /&gt;tf.border = true;&lt;br /&gt;tf.x = 50;&lt;br /&gt;tf.y = 150;&lt;br /&gt;circle.addChild(tf);&lt;br /&gt;&lt;br /&gt;and then try clicking on TextField.&lt;br /&gt;To fix it you must set 'mouseEnabled' property of TextField to false, or 'mouseChildren' of it's &quot;owner&quot; (circle in this example) to false too. Setting 'selectable' property of TextField to false will not help you.&lt;br /&gt;Am i missing something, or is it a bug in player?</description>
		<dc:creator>takopus</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-07-29T11:22:38</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#75684">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#75684</link>
		<description>I notice that in AS2, if we start a drag, whenever we are over the stage the droptarget property is undefined.  Very useful when we want to know whether if the dragged item is on top of something or not.  However, with AS3 when I start the drag the droptarget property returns null, when I go on top of a display object it becomes that object (correct behavior) but if I go back on top of the stage, the property is still pointing at the previous display object.  That means that, for example, on mouse up if I want to detect the item I'm on top of I have to chech the droptarget plus I have to to a hit test to make sure I'm still on top of it.&lt;br /&gt;&lt;br /&gt;Is this change a defect or a feature?</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-10-26T13:42:23</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#70293">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#70293</link>
		<description>How do you attach an image that you have created in Flash on the stage on top of other elements at a particular position?</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-07-17T21:20:33</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#69116">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#69116</link>
		<description>If you are a designer, and want to use a  movieclip as a button in AS3, with a stop action on the first frame of the mc, and an instance name '_up' - and the second frame has an instance name of '_over', and the third frame has an instance name of '_down', this is the code you would put on your main timeline actionscript frame to use the clip as a button:&lt;br /&gt;&lt;br /&gt;my_btn.addEventListener(MouseEvent.CLICK, myFunction);&lt;br /&gt;my_btn.buttonMode = true;&lt;br /&gt;function myFunction(event:MouseEvent):void {&lt;br /&gt;	//do something&lt;br /&gt;}&lt;br /&gt;addChild(my_btn);</description>
		<dc:creator>Jimbo7777</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-06-27T08:35:45</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#67740">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#67740</link>
		<description>Under certain circumstances, you may encounter a bug where a Sprite is not removed from the screen, even if its visible property is set to false. This happens when a Sprite object has a filter and a scrollRect applied to it. A current workaround, until the bug is fixed, is to change some property of the container or Sprite object as well as changing the visibility property. So, you could set the alpha property of the container as follows:&lt;br&gt;&lt;br&gt;private function __mouseDown(e:MouseEvent):void {&lt;br&gt;container.alpha = 0;&lt;br&gt;container.visible = false;&lt;br&gt;e.updateAfterEvent();&lt;br&gt;}</description>
		<dc:creator>djtechwriter</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2007-06-01T10:20:39</dc:date>
	</item>
	</rdf:RDF>

