<?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/Graphics.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-24T23:21:18</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/Graphics.html#88891" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85562" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85398" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85203" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#83432" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#82942" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#82917" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#78662" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#88891">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#88891</link>
		<description>Hello all,&lt;br /&gt;&lt;br /&gt;I have a situation where vector graphics worked out fine in AS2 but do not in AS3. It is as follows:&lt;br /&gt;&lt;br /&gt;1) I instantiate a symbol from the library (libsymbol) as a new Movie Clip.&lt;br /&gt;    var mc:MovieClip = new libsymbol();&lt;br /&gt;   addChild(mc);&lt;br /&gt;&lt;br /&gt;2) I proceed to create vector graphics inside this instantiated movie clip.&lt;br /&gt;    mc.graphics.lineStyle(5, 0x000000, 1.0);&lt;br /&gt;    mc.graphics.beginFill(0x999999);&lt;br /&gt;    mc.graphics.drawCircle(100, 100, 100);&lt;br /&gt;    mc.graphics.endFill();&lt;br /&gt;&lt;br /&gt;I have noticed that the vector graphics appear UNDERNEATH the instantiated symbol. I can't find out a way to bring the graphics to the top. This used to work out fine in AS2.0, where any graphics drawn on top of an existing movie clip would appear on top of the movie clip, not below it.&lt;br /&gt;&lt;br /&gt;I hope someone has the solution for this!&lt;br /&gt;&lt;br /&gt;Thanks!</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-10-23T15:02:29</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85562">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85562</link>
		<description>drawEllipse () :&lt;br /&gt;Parameter (x, y) should be the top-left point of the bound rect (excluding any strokes) for the ellipse, relative to the registration point of the parent display object (in pixels).  It is intuitive: one rectangle determines an ellipse.  The original explanation seems incorrect...</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-07-08T10:16:38</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85398">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85398</link>
		<description>beginFill is incorrectly listed as using uint as a color value. It will accept uints but will not process the alpha channel, so it pretty much just accepts ints. The second parameter is for alpha.&lt;br /&gt;&lt;br /&gt;If you have a uint you want to split into an int and an alpha channel you could use this.&lt;br /&gt;&lt;br /&gt;var startColor:uint = 0x7FFF0000; //starting uint. Color can be whatever you want&lt;br /&gt;&lt;br /&gt;var colorSplit:int = startColor &amp; 0xFFFFFF // int to be used for color. No need to modify this.&lt;br /&gt;&lt;br /&gt;var alphaSplit:Number = ((startColor&gt;&gt;24)&amp;0xFF)/0xFF //alpha channel. No need to modify this&lt;br /&gt;&lt;br /&gt;var child:Shape = new Shape();&lt;br /&gt;child.graphics.beginFill(colorSplit,alphaSplit);&lt;br /&gt;child.graphics.lineStyle(1, 0x000000);&lt;br /&gt;child.graphics.drawRect(0, 0, 10, 10);&lt;br /&gt;child.graphics.endFill();&lt;br /&gt;addChild(child);</description>
		<dc:creator>Joseph893</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-07-02T06:19:02</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85203">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#85203</link>
		<description>Calling graphics.clear() erases the canvas but seems that DOES NOT remove the vectors.&lt;br /&gt;&lt;br /&gt;* Drawing with Sprite vectors in only good if they will be used sparsely.&lt;br /&gt;* Sprite class drawing has considerable impact on memory usage.&lt;br /&gt;* Sprite class drawing can seriously degrade frame rate over time because vectors are never removed from the canvas - even if cleared.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-06-25T02:40:52</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#83432">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#83432</link>
		<description>drawRoundRect() draws an ellipse if I pass negative values for width and height :)</description>
		<dc:creator>tenegri</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-04-25T14:18:47</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#82942">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#82942</link>
		<description>&quot;Flash Player does not render the fill until the endFill() method is called. &quot;&lt;br /&gt;&lt;br /&gt;This is not correct since any call to moveTo(), or completed area enclosure will render the fill.</description>
		<dc:creator>vitcheff</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-04-12T14:48:08</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#82917">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#82917</link>
		<description>You need to create an instance of GraphicsExample  and add it to the stage with addChild();</description>
		<dc:creator>monketthebeast</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-04-11T12:02:30</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#78662">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#78662</link>
		<description>Hi,&lt;br /&gt;&lt;br /&gt;I was able to get this example to run without errors, but there is no output produced.&lt;br /&gt;&lt;br /&gt;Were there some assumptions made about previously existing objects within the .fla file that I am missing?&lt;br /&gt;&lt;br /&gt;I placed  trace inside the constructor of GraphicsExample and the trace is showing up in the Output window.  Again there are no errors. just no output.&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks</description>
		<dc:creator>depth9</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-12-17T17:43:41</dc:date>
	</item>
	</rdf:RDF>

