<?xml version="1.0"?> 
<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://beta.twelvestone.com/forum_thread/view/37584">
    <title>RSS: textmate + inkscape = swf!!</title>
    <description>Last twenty posts from textmate + inkscape = swf!!</description>
    <link>/forum_thread/view/37584</link>
    <items>
      <rdf:Seq>	
  
        <rdf:li 
	   resource="http://twelvestone.com/forum_thread/view/37584#601706" />
  
      </rdf:Seq>      
    </items>
  </channel>  
   
  
  <item rdf:about="http://twelvestone.com/forum_thread/view/37584#601706">
    <title>Reply by JLM 2008.01.05, 05:19AM</title>
    <description><![CDATA[ No one told me you could put svg in swf's, I do XAML for a few months and everything in the flash world has changed!!<br /><br />I finally got the flex3 sdk mxmlc to compile as3 from textmate unsing the as3 and flex bundles, with an embeded svg graphic created in inkscape and then still from textmate I open the index.html to display it.<br /><br /><br />Might be old news to some but to me my mouth is wide open.<br /> <br /><div class="code-block"><pre><br />package<br />{        <br />    //import flash.display.Sprite;<br />    import flash.text.TextField;<br />	import flash.display.Sprite;<br />	import flash.display.DisplayObject;<br />	<br />    [SWF( backgroundColor='0xFFFFFF', frameRate='30', width='200', height='200')]<br />    public class Main extends Sprite<br />    {<br />        private var textField: TextField;<br />		[Embed(source='circle.svg', mimeType='image/svg')]<br />		protected const EmbeddedSVG:Class;<br />        <br />		public function Main()<br />        {	<br /><br />            textField = new TextField();<br />            textField.text = "Test2.";<br />			var svg<img alt='big grin' src='/images/smilies/biggrin.gif' />isplayObject = DisplayObject( new EmbeddedSVG() );<br />			addChild(svg);<br />            addChild(textField);<br /><br />        }        <br />    }<br /><br />}<br /></pre></div><br /><br />Usefull links:<br /><br /><a target="_blank" href="http://www.partlyhuman.com/blog/roger/embed-almost-anything-in-your-swf"><a target="_blank" href="http://www.partlyhuman.com/blog/roger/embed-almost-anything-in-your-swf">partlyhuman.com/blog/roger/embed-almost-anything-in-your-swf</a></a><br /><a target="_blank" href="http://blog.flexexamples.com/tag/embed/">blog.flexexamples.com/tag/embed/</a><br /><a target="_blank" href="http://livedocs.adobe.com/labs/flex3/html/help.html?content=compilers_14.html">livedocs.adobe.com/labs/flex3/html/help.html?content=compilers_14.html</a> (Flex-config info)<br /><a target="_blank" href="http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000970.html#176435">livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000970.html#176435</a><br /><br />thanks to 'the real me' for some more links on getting textmate bundles working which covered  as3/flex bundles zips and info setting up variable in textmate.<br /><br /> ]]></description>
    <link>http://beta.twelvestone.com/forum_thread/view/37584#601706</link>
    <dc:date>2008-01-05T05:19:32+00:00</dc:date>
  </item>
  
  
</rdf:RDF>
