<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Embedding assets from SWF files</title>
	<atom:link href="http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sat, 11 Feb 2012 11:51:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brennan</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-9579</link>
		<dc:creator>Brennan</dc:creator>
		<pubDate>Fri, 09 Sep 2011 15:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-9579</guid>
		<description>Great! worked perfect. Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Great! worked perfect. Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randygland</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-8596</link>
		<dc:creator>randygland</dc:creator>
		<pubDate>Fri, 03 Dec 2010 13:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-8596</guid>
		<description>Cassio, you need to make sure your embedded SWF is compiled with the same or lower version of FlexSDK as your Flex application.

You can use Hayesmaker&#039;s method described here:
http://www.codersbible.com/snippet/show/21</description>
		<content:encoded><![CDATA[<p>Cassio, you need to make sure your embedded SWF is compiled with the same or lower version of FlexSDK as your Flex application.</p>
<p>You can use Hayesmaker&#8217;s method described here:<br />
<a href="http://www.codersbible.com/snippet/show/21" rel="nofollow">http://www.codersbible.com/snippet/show/21</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mumphy</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-8375</link>
		<dc:creator>mumphy</dc:creator>
		<pubDate>Wed, 29 Sep 2010 18:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-8375</guid>
		<description>I realise that the problem is a year old but this may help other people with a similar error. You probably need to:

1) open your flash file with the symbol you want to embed
2) right click on the symbol name in the library and open the Properties menu
3) check the &#039;Export for ActionScript&#039; checkbox

That&#039;s it. Best luck, 
M.</description>
		<content:encoded><![CDATA[<p>I realise that the problem is a year old but this may help other people with a similar error. You probably need to:</p>
<p>1) open your flash file with the symbol you want to embed<br />
2) right click on the symbol name in the library and open the Properties menu<br />
3) check the &#8216;Export for ActionScript&#8217; checkbox</p>
<p>That&#8217;s it. Best luck,<br />
M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: funkyflex</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-5834</link>
		<dc:creator>funkyflex</dc:creator>
		<pubDate>Tue, 22 Sep 2009 01:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-5834</guid>
		<description>I&#039;m desperated...</description>
		<content:encoded><![CDATA[<p>I&#8217;m desperated&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: funkyflex</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-5813</link>
		<dc:creator>funkyflex</dc:creator>
		<pubDate>Thu, 17 Sep 2009 20:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-5813</guid>
		<description>nobody ? :-(</description>
		<content:encoded><![CDATA[<p>nobody ? :-(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: funkyflex</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-5783</link>
		<dc:creator>funkyflex</dc:creator>
		<pubDate>Wed, 16 Sep 2009 05:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-5783</guid>
		<description>Hello, I&#039;m trying to use your code to use it on a backgroundImage of the balise mx:Application
usually that should works as we can read on http://livedocs.adobe.com/flex/201/langref/mx/core/MovieClipAsset.html

if I try that it&#039;s just because I need to play an embedded swf on the background of my flex application
I tried to use the method with a swfloader (you can see on my print screen below how I used it).
It works without embedded but without it I need to refresh my page to put the extern swf in browser&#039;s cache and the swf in baddly played the first time (loading problem)
then websites on websites... I arrived on this blog and tried the solution.
But doesn&#039;t work.
Can you help me peter ?
thank you. if you need sources email me I guess you have it.

thank you very much.

but, that doesn&#039;t work and I get this message error :
definition for symbol &#039;bulletCheck&#039; not found	gk/src/script	index.as	line 12	1253078517437	378
and 
Unable to transcode anim.swf.	gk/src/script	index.as	line 12	1253079095265	385

here you can see the code of the index.as :
http://img12.imageshack.us/img12/3631/copieecran.png
the code of index.mxml is (simplified) like (without xml symbol to not be eaten :
mx:Application 
backgroundImage=&quot;{BULLET_CHECK}&quot;

so I think I have the same problem than cassio

Do you have any suggestion ?</description>
		<content:encoded><![CDATA[<p>Hello, I&#8217;m trying to use your code to use it on a backgroundImage of the balise mx:Application<br />
usually that should works as we can read on <a href="http://livedocs.adobe.com/flex/201/langref/mx/core/MovieClipAsset.html" rel="nofollow">http://livedocs.adobe.com/flex/201/langref/mx/core/MovieClipAsset.html</a></p>
<p>if I try that it&#8217;s just because I need to play an embedded swf on the background of my flex application<br />
I tried to use the method with a swfloader (you can see on my print screen below how I used it).<br />
It works without embedded but without it I need to refresh my page to put the extern swf in browser&#8217;s cache and the swf in baddly played the first time (loading problem)<br />
then websites on websites&#8230; I arrived on this blog and tried the solution.<br />
But doesn&#8217;t work.<br />
Can you help me peter ?<br />
thank you. if you need sources email me I guess you have it.</p>
<p>thank you very much.</p>
<p>but, that doesn&#8217;t work and I get this message error :<br />
definition for symbol &#8216;bulletCheck&#8217; not found	gk/src/script	index.as	line 12	1253078517437	378<br />
and<br />
Unable to transcode anim.swf.	gk/src/script	index.as	line 12	1253079095265	385</p>
<p>here you can see the code of the index.as :<br />
<a href="http://img12.imageshack.us/img12/3631/copieecran.png" rel="nofollow">http://img12.imageshack.us/img12/3631/copieecran.png</a><br />
the code of index.mxml is (simplified) like (without xml symbol to not be eaten :<br />
mx:Application<br />
backgroundImage=&#8221;{BULLET_CHECK}&#8221;</p>
<p>so I think I have the same problem than cassio</p>
<p>Do you have any suggestion ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-5681</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 10 Sep 2009 23:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-5681</guid>
		<description>Cássio,

What does the error say? And which version/build of the Flex SDK are you using?

Peter</description>
		<content:encoded><![CDATA[<p>Cássio,</p>
<p>What does the error say? And which version/build of the Flex SDK are you using?</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cássio</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-5677</link>
		<dc:creator>Cássio</dc:creator>
		<pubDate>Thu, 10 Sep 2009 21:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-5677</guid>
		<description>I just can&#039;t do it...

My intentions are to put all my images in a single swf file, however it doesn&#039;t work, comes with a transcoding compilation error...
when i compile a single symbol I get no error but it won&#039;t solve my issue.
thanks..</description>
		<content:encoded><![CDATA[<p>I just can&#8217;t do it&#8230;</p>
<p>My intentions are to put all my images in a single swf file, however it doesn&#8217;t work, comes with a transcoding compilation error&#8230;<br />
when i compile a single symbol I get no error but it won&#8217;t solve my issue.<br />
thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atx</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-5205</link>
		<dc:creator>atx</dc:creator>
		<pubDate>Mon, 17 Aug 2009 13:31:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-5205</guid>
		<description>mike,

also make sure you set a correct source path. I got your error when I tried to embed a swf in mxml, which was itself in subdirectory inside my src folder.

For example when you have two files:
/src/assets/MySwf.swf
/src/views/MyView.mxml
and you want to embed MySwf in MyView, be sure your source path starts with /
source=&quot;@Embed(&#039;/assets/MySwf.swf&#039;, symbol=&#039;s&#039;)&quot;  

I forgot to put / at the start (was: &#039;assets/MySwf.swf&#039;) and the I got this error. Without the slash Flex would look for /src/views/assets/MySwf.swf .</description>
		<content:encoded><![CDATA[<p>mike,</p>
<p>also make sure you set a correct source path. I got your error when I tried to embed a swf in mxml, which was itself in subdirectory inside my src folder.</p>
<p>For example when you have two files:<br />
/src/assets/MySwf.swf<br />
/src/views/MyView.mxml<br />
and you want to embed MySwf in MyView, be sure your source path starts with /<br />
source=&#8221;@Embed(&#8216;/assets/MySwf.swf&#8217;, symbol=&#8217;s')&#8221;  </p>
<p>I forgot to put / at the start (was: &#8216;assets/MySwf.swf&#8217;) and the I got this error. Without the slash Flex would look for /src/views/assets/MySwf.swf .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/comment-page-1/#comment-4251</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 29 Jun 2009 16:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/07/25/embedding-assets-from-swf-files/#comment-4251</guid>
		<description>mike,

My example doesn&#039;t use button.swf. But I&#039;d start by making sure that the button.swf (or icons.swf) is in the same directory as your main .MXML file, because the error message is telling you that it cannot find the button.swf asset.

Peter</description>
		<content:encoded><![CDATA[<p>mike,</p>
<p>My example doesn&#8217;t use button.swf. But I&#8217;d start by making sure that the button.swf (or icons.swf) is in the same directory as your main .MXML file, because the error message is telling you that it cannot find the button.swf asset.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
</channel>
</rss>

