How come my XML file ain't doing nothin' as a code snippet?
Hello people,
I made an XML file as follows. (See below - don't worry about the code & description, they're to be updated.)
When I go to the Code Snippets panel in Flash CS6 and click on "Import code snippets XML", and I click on my xml document, all seems to go well - but there is no added code snippet in my panel.
Anyone have any idea what's going wrong, here?
Thanks!
<?xml version='1.0' encoding='us-ascii'?>
<snippet>
<title>Draw a circle</title>
<description>Draw a circle with (xcenter,ycenter) as middle point and a width of someNumber pixels.</description>
<requiresSymbol>false</requiresSymbol>
<code><![CDATA[
var myCircle:Shape = new Shape();
myCircle.graphics.beginFill(0x00CCFF);
myCircle.graphics.lineStyle(20, 0xCCCC99);
myCircle.graphics.drawCircle(130, 130, 100);
myCircle.graphics.endFill();
addChild(myCircle);
]]></code>
</snippet>
