<?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: Associating Custom AS3 Classes with Embedded Assets</title>
	<atom:link href="http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/feed/" rel="self" type="application/rss+xml" />
	<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/</link>
	<description>lulz</description>
	<lastBuildDate>Sat, 07 Jan 2012 17:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: mittu</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1982</link>
		<dc:creator>mittu</dc:creator>
		<pubDate>Tue, 04 Jan 2011 06:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1982</guid>
		<description>&lt;blockquote&gt;[Embed(source=&#039;/images/page9.swf&#039;, symbol=&quot;MYPage&quot;)] 
public static const MYPage:Class;
&lt;/blockquote&gt;

I got this error while embed the swf in Flash IDE with Flex Lib included in Lib path. And using Player 10.


&lt;blockquote&gt;
definition for symbol &#039;MYPage&#039; not found
Unable to transcode /images/page9.swf.
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote><p>[Embed(source='/images/page9.swf', symbol="MYPage")]<br />
public static const MYPage:Class;
</p></blockquote>
<p>I got this error while embed the swf in Flash IDE with Flex Lib included in Lib path. And using Player 10.</p>
<blockquote><p>
definition for symbol &#8216;MYPage&#8217; not found<br />
Unable to transcode /images/page9.swf.
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1981</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 18 Dec 2010 17:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1981</guid>
		<description>Hello! Thank you for a great post. I use this association method in all my Flash/Flex projects and it worked flawlessly until now :(.

The concern is that I have three projects which share same classes. So I created Flex-library-project and placed classes to share into it’s packages structure. Then I created  three project interested in those classes from Flex-library-project, pointed that Flex-library-project in Projects properties-&gt;ActionScript Build Path-&gt;Library path-&gt;Add project dialogue. Now I have classes visible and can create them like:

package {
	import flash.display.Sprite;	
	public class TestProject extends Sprite {
		public function TestProject() {
			var pItem:TestSprite = new TestSprite();
			addChild(pItem);
		}
	}
}


package {
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	[Embed(source=&#039;editor.swf&#039;, symbol=&#039;MarkerState&#039;)]
	public class TestSprite extends Sprite{
		
public var box:MovieClip;
		public function TestSprite() {
		}
	}
}
The problem is that there’s no “box” movieclip in TestSprite I addChild in my main project from the library project. Everything worked fine until I moved TestSprite to that Flex Library Project. 
Haven’t found the answer even after hours of heavy goggling around. 
Please advice.</description>
		<content:encoded><![CDATA[<p>Hello! Thank you for a great post. I use this association method in all my Flash/Flex projects and it worked flawlessly until now <img src='http://yourpalmark.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>
<p>The concern is that I have three projects which share same classes. So I created Flex-library-project and placed classes to share into it’s packages structure. Then I created  three project interested in those classes from Flex-library-project, pointed that Flex-library-project in Projects properties-&gt;ActionScript Build Path-&gt;Library path-&gt;Add project dialogue. Now I have classes visible and can create them like:</p>
<p>package {<br />
	import flash.display.Sprite;<br />
	public class TestProject extends Sprite {<br />
		public function TestProject() {<br />
			var pItem:TestSprite = new TestSprite();<br />
			addChild(pItem);<br />
		}<br />
	}<br />
}</p>
<p>package {<br />
	import flash.display.MovieClip;<br />
	import flash.display.Sprite;</p>
<p>	[Embed(source='editor.swf', symbol='MarkerState')]<br />
	public class TestSprite extends Sprite{</p>
<p>public var box:MovieClip;<br />
		public function TestSprite() {<br />
		}<br />
	}<br />
}<br />
The problem is that there’s no “box” movieclip in TestSprite I addChild in my main project from the library project. Everything worked fine until I moved TestSprite to that Flex Library Project.<br />
Haven’t found the answer even after hours of heavy goggling around.<br />
Please advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark A.</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1979</link>
		<dc:creator>Mark A.</dc:creator>
		<pubDate>Sun, 21 Nov 2010 12:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1979</guid>
		<description>Hi.
I have already associtated the symbol with the class I use in the embedding swf. So when I try to export the library.swf Flash complains:exception during transcoding: lib_shell.swf (The process cannot access the file because another process uses it). That is why the embed tag is also recognized by Flash.. problem! How can I make Flash ignore the embed tag?</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I have already associtated the symbol with the class I use in the embedding swf. So when I try to export the library.swf Flash complains:exception during transcoding: lib_shell.swf (The process cannot access the file because another process uses it). That is why the embed tag is also recognized by Flash.. problem! How can I make Flash ignore the embed tag?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1952</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Fri, 28 May 2010 14:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1952</guid>
		<description>Hello and thank you for your post, of all those related to this issue, it is the one I like the most.

Do you think you could post or email me an example including the source code and the movie to produce library.swf?

I am asking because I have tried many different combinations and I cannot make this work. 

It would be great if you could post or email me a zip file with everything needed.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello and thank you for your post, of all those related to this issue, it is the one I like the most.</p>
<p>Do you think you could post or email me an example including the source code and the movie to produce library.swf?</p>
<p>I am asking because I have tried many different combinations and I cannot make this work. </p>
<p>It would be great if you could post or email me a zip file with everything needed.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jossa</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1893</link>
		<dc:creator>Jossa</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1893</guid>
		<description>Thank you, this is incredibly useful!

@Seb: In case you never got it working: I got the same error and fixed it by declaring the movieclip as a variable, like public var myMask:MovieClip; in the class.</description>
		<content:encoded><![CDATA[<p>Thank you, this is incredibly useful!</p>
<p>@Seb: In case you never got it working: I got the same error and fixed it by declaring the movieclip as a variable, like public var myMask:MovieClip; in the class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mac</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1771</link>
		<dc:creator>mac</dc:creator>
		<pubDate>Sat, 08 Aug 2009 17:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1771</guid>
		<description>I want to do my Star class as a main class - is it possible ?</description>
		<content:encoded><![CDATA[<p>I want to do my Star class as a main class &#8211; is it possible ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BubbleBoy</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1605</link>
		<dc:creator>BubbleBoy</dc:creator>
		<pubDate>Wed, 29 Apr 2009 18:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1605</guid>
		<description>I am trying to do this but it doesnt work, I keep getting:

&quot;App_Picture.as(10): col: 42 Error: The definition of base class BitmapAsset was not found.&quot;

Any ideas?</description>
		<content:encoded><![CDATA[<p>I am trying to do this but it doesnt work, I keep getting:</p>
<p>&#8220;App_Picture.as(10): col: 42 Error: The definition of base class BitmapAsset was not found.&#8221;</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriaan Wormgoor</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1299</link>
		<dc:creator>Adriaan Wormgoor</dc:creator>
		<pubDate>Tue, 07 Apr 2009 17:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1299</guid>
		<description>That was very helpful, thanks!</description>
		<content:encoded><![CDATA[<p>That was very helpful, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seb</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-1217</link>
		<dc:creator>Seb</dc:creator>
		<pubDate>Mon, 23 Mar 2009 17:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-1217</guid>
		<description>Thanks for this tip Mark, I am having the following issue:

My movieclip makes use of other movieclips in the library.swf (like buttons, etc), when I try to complie my &quot;application.swf&quot; I get an error for each movieclip that the Star class references, saying:

1120: Access of undefined property myMask.

My Star class has a line in the constructor that reads:

myMask.cacheAsBitmap = true;

Would you happen to know why this happens? Thanks in advance for your support</description>
		<content:encoded><![CDATA[<p>Thanks for this tip Mark, I am having the following issue:</p>
<p>My movieclip makes use of other movieclips in the library.swf (like buttons, etc), when I try to complie my &#8220;application.swf&#8221; I get an error for each movieclip that the Star class references, saying:</p>
<p>1120: Access of undefined property myMask.</p>
<p>My Star class has a line in the constructor that reads:</p>
<p>myMask.cacheAsBitmap = true;</p>
<p>Would you happen to know why this happens? Thanks in advance for your support</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fajar</title>
		<link>http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/comment-page-1/#comment-245</link>
		<dc:creator>Fajar</dc:creator>
		<pubDate>Wed, 20 Aug 2008 15:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/03/31/associating-custom-as3-classes-with-embedded-assets/#comment-245</guid>
		<description>should i import the class, if i put the Star class file on different folder ?
</description>
		<content:encoded><![CDATA[<p>should i import the class, if i put the Star class file on different folder ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

