<?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 with mxmlc as flash.display.BitmapData</title> <atom:link href="http://renaun.com/blog/2010/03/embedding-assets-with-mxmlc-as-flashdisplaybitmapdata/feed/" rel="self" type="application/rss+xml" /><link>http://renaun.com/blog/2010/03/embedding-assets-with-mxmlc-as-flashdisplaybitmapdata/</link> <description>My ideas on the web and mobile application/game technologies</description> <lastBuildDate>Sat, 27 Jun 2015 02:02:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>By: Garth Braithwaite</title><link>http://renaun.com/blog/2010/03/embedding-assets-with-mxmlc-as-flashdisplaybitmapdata/#comment-485877</link> <dc:creator>Garth Braithwaite</dc:creator> <pubDate>Tue, 23 Mar 2010 15:38:33 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=374#comment-485877</guid> <description><![CDATA[Awesome.  I&#039;m digging the rebrand by the way.]]></description> <content:encoded><![CDATA[<p>Awesome.  I&#8217;m digging the rebrand by the way.</p> ]]></content:encoded> </item> <item><title>By: Renaun Erickson</title><link>http://renaun.com/blog/2010/03/embedding-assets-with-mxmlc-as-flashdisplaybitmapdata/#comment-485876</link> <dc:creator>Renaun Erickson</dc:creator> <pubDate>Tue, 23 Mar 2010 11:37:41 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=374#comment-485876</guid> <description><![CDATA[I actually do this for interactivity but the point of this post was how to get the BitmapData into the ActionScript project in the smallest form. Your example still will bring in the &quot;asset&quot; class as mx.core.BitmapAsset which is heavier then flash.display.BitmapData.]]></description> <content:encoded><![CDATA[<p>I actually do this for interactivity but the point of this post was how to get the BitmapData into the ActionScript project in the smallest form. Your example still will bring in the &#8220;asset&#8221; class as mx.core.BitmapAsset which is heavier then flash.display.BitmapData.</p> ]]></content:encoded> </item> <item><title>By: Inas Luthfi</title><link>http://renaun.com/blog/2010/03/embedding-assets-with-mxmlc-as-flashdisplaybitmapdata/#comment-485874</link> <dc:creator>Inas Luthfi</dc:creator> <pubDate>Tue, 23 Mar 2010 10:14:14 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=374#comment-485874</guid> <description><![CDATA[I have posted similar post like this, including useful links to other blogs discussing MXMLC asset embedding. It is at http://nascode.com/2010/02/01/embedding-asset-at-compile-time-in-pure-as3-project/.Sorry if my english is not too good :(]]></description> <content:encoded><![CDATA[<p>I have posted similar post like this, including useful links to other blogs discussing MXMLC asset embedding. It is at <a href="http://nascode.com/2010/02/01/embedding-asset-at-compile-time-in-pure-as3-project/" rel="nofollow">http://nascode.com/2010/02/01/embedding-asset-at-compile-time-in-pure-as3-project/</a>.</p><p>Sorry if my english is not too good :(</p> ]]></content:encoded> </item> <item><title>By: y_nk</title><link>http://renaun.com/blog/2010/03/embedding-assets-with-mxmlc-as-flashdisplaybitmapdata/#comment-485873</link> <dc:creator>y_nk</dc:creator> <pubDate>Tue, 23 Mar 2010 09:00:15 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=374#comment-485873</guid> <description><![CDATA[why not using graphics.beginBitmapFill to let your clip be interactive too ? What do you think about it ?package examples { static public function prepare(bmd:BitmapData):Sprite { var s:Sprite = new Sprite; s.graphics.beginBitmapFill(bmd, null, false, true); s.graphics.drawRect(0, 0, bmd.width, bmd.height); s.graphics.endFill(); return s; }[Embed(source=&quot;/assets/Spinner.png&quot;)] private var asset:Class; public class Main() { public function Main() { addChild(prepare(new asset()); } } }]]></description> <content:encoded><![CDATA[<p>why not using graphics.beginBitmapFill to let your clip be interactive too ? What do you think about it ?</p><p>package examples<br /> {<br /> static public function prepare(bmd:BitmapData):Sprite<br /> {<br /> var s:Sprite = new Sprite;<br /> s.graphics.beginBitmapFill(bmd, null, false, true);<br /> s.graphics.drawRect(0, 0, bmd.width, bmd.height);<br /> s.graphics.endFill();</p><p> return s;<br /> }</p><p> [Embed(source="/assets/Spinner.png")] private var asset:Class;</p><p> public class Main()<br /> {<br /> public function Main()<br /> {<br /> addChild(prepare(new asset());<br /> }<br /> }<br /> }</p> ]]></content:encoded> </item> <item><title>By: Tahir Ahmed</title><link>http://renaun.com/blog/2010/03/embedding-assets-with-mxmlc-as-flashdisplaybitmapdata/#comment-485872</link> <dc:creator>Tahir Ahmed</dc:creator> <pubDate>Tue, 23 Mar 2010 06:48:33 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=374#comment-485872</guid> <description><![CDATA[Aahh! This is the kind of solution I was looking for 5-6 days ago when I was trying to [Embed] some image assets. FlashDevelop kept on throwing errors of not finding mx.core.BitmapAsset class for which, in the end, I had to point FlashDevelop to use framework.swc and import this unnecessary extra classes.P.S. I just didn&#039;t think of exporting a Bitmap using Flash CS4 IDE at all which could&#039;ve easily worked in my case; stupid me.- Tahir.]]></description> <content:encoded><![CDATA[<p>Aahh! This is the kind of solution I was looking for 5-6 days ago when I was trying to [Embed] some image assets. FlashDevelop kept on throwing errors of not finding mx.core.BitmapAsset class for which, in the end, I had to point FlashDevelop to use framework.swc and import this unnecessary extra classes.</p><p>P.S. I just didn&#8217;t think of exporting a Bitmap using Flash CS4 IDE at all which could&#8217;ve easily worked in my case; stupid me.</p><p>- Tahir.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 368/373 objects using disk: basic

 Served from: renaun.com @ 2026-06-09 02:42:06 by W3 Total Cache -->