<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Slegg.net - Game Development, Rapid prototyping, Mobile Android and iOS, ShiVa &#187; Tutorials</title>
	<atom:link href="http://www.slegg.net/category/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://www.slegg.net</link>
	<description>About game development and other stuff...</description>
	<lastBuildDate>Sun, 29 May 2011 20:35:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MASH-up</title>
		<link>http://www.slegg.net/mash-up</link>
		<comments>http://www.slegg.net/mash-up#comments</comments>
		<pubDate>Wed, 25 May 2011 21:15:16 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Modern Alchemists]]></category>
		<category><![CDATA[Rapid Prototyping in Game Development]]></category>
		<category><![CDATA[ShiVa]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[MASH]]></category>
		<category><![CDATA[Rapid Prototyping]]></category>

		<guid isPermaLink="false">http://www.slegg.net/?p=747</guid>
		<description><![CDATA[Today we released the first iteration of MASH, the &#8220;Modern Alchemists ShiVa Libs&#8221;: Modern Alchemists ShiVa Libs is a bundle of custom written ShiVa addons. All projects rely on ShiVa 1.9 and UAT 1.2 beta 7. This doesn&#8217;t mean it won&#8217;t work with older versions, but the docs might refer to code hockups which weren&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Today we released the first iteration of MASH, the &#8220;Modern Alchemists ShiVa Libs&#8221;:</p>
<blockquote><p>Modern Alchemists ShiVa Libs is a bundle of custom written ShiVa addons. All projects rely on ShiVa 1.9 and UAT 1.2 beta 7. This doesn&#8217;t mean it won&#8217;t work with older versions, but the docs might refer to code hockups which weren&#8217;t present back then.</p>
<p>All code is under LGPL License. If you like our work, tell us! If not, tell us even more! Got a code fix? Tell us&#8230; you get the idea <img src='http://blog.scrambled-egg.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p></blockquote>
<p>It features:</p>
<ul>
<li> MASS: In-App-Purchase for iOS and Android</li>
<li>MAOF: OpenFeint for iOS and Android</li>
<li>Mortar (TBA): automating the world!</li>
</ul>
<p>You can get all the files/code either from the download section or via SVN at  google code: <a href="http://code.google.com/p/ma-sh/">http://code.google.com/p/ma-sh/</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=MASH-up&amp;link=http://www.slegg.net/mash-up&amp;notes=Today%20we%20released%20the%20first%20iteration%20of%20MASH%2C%20the%20%22Modern%20Alchemists%20ShiVa%20Libs%22%3A%0D%0AModern%20Alchemists%20ShiVa%20Libs%20is%20a%20bundle%20of%20custom%20written%20ShiVa%20addons.%20All%20projects%20rely%20on%20ShiVa%201.9%20and%20UAT%201.2%20beta%207.%20This%20doesn%27t%20mean%20it%20won%27t%20work%20with%20older%20versions%2C%20but%20the%20docs%20might%20refer%20to%20code%20hockup&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/mash-up/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android: Could not reserve enough space for object heap</title>
		<link>http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap</link>
		<comments>http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap#comments</comments>
		<pubDate>Fri, 15 Apr 2011 18:35:57 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.slegg.net/?p=742</guid>
		<description><![CDATA[If you ever get an error like Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. or BUILD FAILED ...ant_rules_r3.xml:361: The following error occurred while executing this line: ...ant_rules_r3.xml:174: apply returned: 1, don&#8217;t let yourself get fooled about some threads found on google. [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever get an error like<br />
<code>Error occurred during initialization of VM<br />
Could not reserve enough space for object heap<br />
Could not create the Java virtual machine.</code><br />
or<br />
<code>BUILD FAILED<br />
...ant_rules_r3.xml:361: The following error occurred while executing this line:<br />
...ant_rules_r3.xml:174: apply returned: 1</code>,<br />
don&#8217;t let yourself get fooled about some threads found on google.</p>
<p>The answer why your VM crashes is, that the heap space trying to be allocated is not free in physical memory.</p>
<p><strong>That means:</strong> try to decrease the setting for max heap space in the file android-sdk-windows/platform-toolsdx.bat to smaller value. I had to change it to 512M instead of 1024M, meaning:<br />
<code>set defaultMx=-Xmx512M</code></p>
<p>And tada, off you go!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Android%3A+Could+not+reserve+enough+space+for+object+heap&amp;link=http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap&amp;notes=If%20you%20ever%20get%20an%20error%20like%0D%0AError%20occurred%20during%20initialization%20of%20VM%0D%0ACould%20not%20reserve%20enough%20space%20for%20object%20heap%0D%0ACould%20not%20create%20the%20Java%20virtual%20machine.%0D%0Aor%0D%0ABUILD%20FAILED%0D%0A...ant_rules_r3.xml%3A361%3A%20The%20following%20error%20occurred%20while%20executing%20this%20line%3A%0D%0A...ant_rules_r3.xml%3A174%3A%20apply%20re&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/android-could-not-reserve-enough-space-for-object-heap/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drag and drop install APK script</title>
		<link>http://www.slegg.net/drag-and-drop-install-apk-script</link>
		<comments>http://www.slegg.net/drag-and-drop-install-apk-script#comments</comments>
		<pubDate>Thu, 30 Sep 2010 09:55:23 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Console]]></category>

		<guid isPermaLink="false">http://blog.scrambled-egg.net/?p=700</guid>
		<description><![CDATA[Update April 5th 2011: since the latest Android SDK, the adb tool has been moved to the platform-tools folder. I updated the script to point to the correct directory. If you want to be able to just drag and drop your APK file onto a CMD file, and let it be installed on the connected [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update April 5th 2011:</strong> since the latest Android SDK, the adb tool has been moved to the platform-tools folder. I updated the script to point to the correct directory.</p>
<p>If you want to be able to just drag and drop your APK file onto a CMD file, and let it be installed on the connected device automatically, use something like this (simply copy this to your *.cmd file):</p>
<p><strong>New:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="winbatch" style="font-family:monospace;"><span style="color: #FF1010; font-weight: bold;">:: Just some debug output:</span>
echo Attempting <span style="color: #800080;">to</span> install file<span style="color: #FF1010; font-weight: bold;">: %1</span>
&nbsp;
<span style="color: #FF1010; font-weight: bold;">:: Enter drive letter:</span>
d<span style="color: #FF1010; font-weight: bold;">:</span>
&nbsp;
<span style="color: #FF1010; font-weight: bold;">:: Enter path to adb here:</span>
cd D<span style="color: #FF1010; font-weight: bold;">:\android_sdk on 10.17.1.205\platform-tools</span>
&nbsp;
<span style="color: #FF1010; font-weight: bold;">:: Install file:</span>
adb install <span style="color: #66cc66;">-</span>r <span style="color: #66cc66;">%</span>1
<span style="color: #0000FF;">PAUSE</span></pre></div></div>

<p><strong>Old:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="winbatch" style="font-family:monospace;"><span style="color: #FF1010; font-weight: bold;">:: Just some debug output:</span>
echo Attempting <span style="color: #800080;">to</span> install file<span style="color: #FF1010; font-weight: bold;">: %1</span>
&nbsp;
<span style="color: #FF1010; font-weight: bold;">:: Enter drive letter:</span>
d<span style="color: #FF1010; font-weight: bold;">:</span>
&nbsp;
<span style="color: #FF1010; font-weight: bold;">:: Enter path to adb here:</span>
cd D<span style="color: #FF1010; font-weight: bold;">:\androidsdk\tools</span>
&nbsp;
<span style="color: #FF1010; font-weight: bold;">:: Install file:</span>
adb install <span style="color: #66cc66;">-</span>r <span style="color: #66cc66;">%</span>1
<span style="color: #0000FF;">PAUSE</span></pre></div></div>

<p>PS: Of course one could use set varNAme=__PATH__ instead of the cd-ing, but my path has some spaces and that leads to troubles.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Drag+and+drop+install+APK+script&amp;link=http://www.slegg.net/drag-and-drop-install-apk-script&amp;notes=Update%20April%205th%202011%3A%20since%20the%20latest%20Android%20SDK%2C%20the%20adb%20tool%20has%20been%20moved%20to%20the%20platform-tools%20folder.%20I%20updated%20the%20script%20to%20point%20to%20the%20correct%20directory.%0D%0A%0D%0AIf%20you%20want%20to%20be%20able%20to%20just%20drag%20and%20drop%20your%20APK%20file%20onto%20a%20CMD%20file%2C%20and%20let%20it%20be%20installed%20on%20the%20connected%20device%20automa&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/drag-and-drop-install-apk-script/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simulate incoming call with Android emulator</title>
		<link>http://www.slegg.net/simulate-incoming-call-with-android-emulator</link>
		<comments>http://www.slegg.net/simulate-incoming-call-with-android-emulator#comments</comments>
		<pubDate>Tue, 14 Sep 2010 12:52:43 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Console]]></category>

		<guid isPermaLink="false">http://blog.scrambled-egg.net/?p=659</guid>
		<description><![CDATA[First be sure that an emulator is running. Then open up the console with Start &#62;&#62; Run (or press Windows + &#8216;r&#8217;) and type in &#8216;cmd&#8216;. This will bring you to something like: &#160; Like shown above, type in &#8216;telnet&#8216; and press enter. The result will look like: &#160; Here type in &#8216;o localhost 5554&#8216; [...]]]></description>
			<content:encoded><![CDATA[<p>First be sure that an emulator is running.<br />
Then open up the console with Start &gt;&gt; Run (or press Windows + &#8216;r&#8217;) and type in &#8216;<tt>cmd</tt>&#8216;.<br />
This will bring you to something like:<br />
<a href="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console01.png"><img class="aligncenter size-medium wp-image-661" title="console01" src="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console01-300x70.png" alt="" width="300" height="70" /></a></p>
<p>&nbsp;</p>
<p>Like shown above, type in &#8216;<tt>telnet</tt>&#8216; and press enter. The result will look like:<br />
<a href="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console02.png"><img class="aligncenter size-medium wp-image-661" title="console02" src="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console02-300x70.png" alt="" width="300" height="70" /></a></p>
<p>&nbsp;</p>
<p>Here type in &#8216;<tt>o localhost 5554</tt>&#8216; as shown here:<br />
<a href="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console03.png"><img class="aligncenter size-medium wp-image-661" title="console03" src="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console03-300x70.png" alt="" width="300" height="70" /></a></p>
<p>&nbsp;</p>
<p>This will establish a connection to the emulator.<br />
You can see the <strong>port number</strong> to be entered in the <strong>title bar of the emulator window</strong>.<br />
If this succeeds, it will open the <em>Android Console</em>:<br />
<a href="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console04.png"><img class="aligncenter size-medium wp-image-661" title="console04" src="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console04-300x70.png" alt="" width="300" height="70" /></a></p>
<p>&nbsp;</p>
<p>Here you can use all kinds of commands.<br />
<strong>To simulate a call</strong>, type &#8216;<tt>gsm call 066712345</tt>&#8216;:<br />
<a href="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console05.png"><img class="aligncenter size-medium wp-image-661" title="console05" src="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/console05-300x70.png" alt="" width="300" height="70" /></a></p>
<p>&nbsp;</p>
<p>The result is an incoming call at the emulator:<br />
<a href="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/incomingcall.jpg"><img class="aligncenter size-medium wp-image-660" title="incomingcall" src="http://blog.scrambled-egg.net/wp-content/uploads/2010/09/incomingcall-300x210.jpg" alt="" width="300" height="210" /></a></p>
<p>&nbsp;</p>
<p><strong>To cancel the call</strong>, type &#8216;<tt>gsm cancel 066712345</tt>&#8216;.<br />
See <a href="http://developer.android.com/guide/developing/tools/emulator.html#telephony">http://developer.android.com/guide/developing/tools/emulator.html#telephony</a> for more information about gsm operations.</p>
<p>Use &#8216;<tt>exit</tt>&#8216; to exit the <em>Android Console</em> and &#8216;<tt>quit</tt>&#8216; to quit <em>telnet</em>.<br />
Hope that helps!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+incoming+call+with+Android+emulator&amp;link=http://www.slegg.net/simulate-incoming-call-with-android-emulator&amp;notes=First%20be%20sure%20that%20an%20emulator%20is%20running.%0D%0AThen%20open%20up%20the%20console%20with%20Start%20%26gt%3B%26gt%3B%20Run%20%28or%20press%20Windows%20%2B%20%27r%27%29%20and%20type%20in%20%27cmd%27.%0D%0AThis%20will%20bring%20you%20to%20something%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0ALike%20shown%20above%2C%20type%20in%20%27telnet%27%20and%20press%20enter.%20The%20result%20will%20look%20like%3A%0D%0A%0D%0A%0D%0A%26nbsp%3B%0D%0AHere%20type%20in%20%27o%20lo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/simulate-incoming-call-with-android-emulator/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Notepad++ for pbelevel format</title>
		<link>http://www.slegg.net/configuring-notepad-for-pbelevel-format</link>
		<comments>http://www.slegg.net/configuring-notepad-for-pbelevel-format#comments</comments>
		<pubDate>Tue, 23 Mar 2010 09:21:30 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[PushButton Engine]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.scrambled-egg.net/blog/?p=439</guid>
		<description><![CDATA[I use Notepad++ for viewing my *.pbelevel files, and always had to do the extra clicking &#8220;Language >> XML&#8221; to configure it, to display the file with XML highlighting. I now found out, how one can configure Notepad++ to do this automatically: locate the langs.xml in your Notepad++ install directory and add the following line: [...]]]></description>
			<content:encoded><![CDATA[<p>I use Notepad++ for viewing my *.pbelevel files, and always had to do the extra clicking &#8220;Language >> XML&#8221; to configure it, to display the file with XML highlighting. I now found out, how one can configure Notepad++ to do this automatically: locate the langs.xml in your Notepad++ install directory and add the following line:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Language</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;xml&quot;</span>  <span style="color: #000066;">ext</span>=<span style="color: #ff0000;">&quot;pbelevel&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/Language<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>And tada &#8211; you&#8217;re off to go!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Configuring+Notepad%2B%2B+for+pbelevel+format&amp;link=http://www.slegg.net/configuring-notepad-for-pbelevel-format&amp;notes=I%20use%20Notepad%2B%2B%20for%20viewing%20my%20%2A.pbelevel%20files%2C%20and%20always%20had%20to%20do%20the%20extra%20clicking%20%22Language%20%3E%3E%20XML%22%20to%20configure%20it%2C%20to%20display%20the%20file%20with%20XML%20highlighting.%20I%20now%20found%20out%2C%20how%20one%20can%20configure%20Notepad%2B%2B%20to%20do%20this%20automatically%3A%20locate%20the%20langs.xml%20in%20your%20Notepad%2B%2B%20install%20directory%20a&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/configuring-notepad-for-pbelevel-format/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Use SWFSpriteSheetComponent (PBE)</title>
		<link>http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe</link>
		<comments>http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe#comments</comments>
		<pubDate>Fri, 12 Mar 2010 19:59:47 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[PushButton Engine]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.scrambled-egg.net/blog/?p=413</guid>
		<description><![CDATA[JD Conley from Hive7 has posted a tutorial how to use his SWFSpriteSheetComponent for the PushButton Engine. Check it out at his blog, it&#8217;s definately worth a look! In short, using this component, you can combine, what normally is hard to achieve with Flash: animation with &#8220;thousands of buildings on the screen at once&#8220;. Tweet [...]]]></description>
			<content:encoded><![CDATA[<p>JD Conley from Hive7 has posted a tutorial how to use his SWFSpriteSheetComponent for the PushButton Engine. Check it out at his <a title="Mr. Sprite Sheet, Meet Ms. MovieClip" href="http://jdconley.com/blog/archive/2010/03/09/mr.-sprite-sheet-meet-ms.-movieclip.aspx" target="_blank">blog</a>, it&#8217;s definately worth a look!</p>
<p>In short, using this component, you can combine, what normally is hard to achieve with Flash: animation with &#8220;<cite>thousands of buildings on the screen at once</cite>&#8220;.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Use+SWFSpriteSheetComponent+%28PBE%29&amp;link=http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe&amp;notes=JD%20Conley%20from%20Hive7%20has%20posted%20a%20tutorial%20how%20to%20use%20his%20SWFSpriteSheetComponent%20for%20the%20PushButton%20Engine.%20Check%20it%20out%20at%20his%20blog%2C%20it%27s%20definately%20worth%20a%20look%21%0D%0A%0D%0AIn%20short%2C%20using%20this%20component%2C%20you%20can%20combine%2C%20what%20normally%20is%20hard%20to%20achieve%20with%20Flash%3A%20animation%20with%20%22thousands%20of%20buildings&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/how-to-use-swfspritesheetcomponent-pbe/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Understanding Local Flash Player Security</title>
		<link>http://www.slegg.net/understanding-local-flash-player-security</link>
		<comments>http://www.slegg.net/understanding-local-flash-player-security#comments</comments>
		<pubDate>Sun, 07 Mar 2010 16:46:02 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[PushButton Engine]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.scrambled-egg.net/blog/?p=371</guid>
		<description><![CDATA[Nate Beck has posted a great explaination about how Flash player security works. He covers what types of sand boxes there are, and for what they are good for. Check it out at his blog: Understanding Local Flash Player Security! Tweet This! Share this on Facebook Share this on del.icio.us Digg this! Share this on [...]]]></description>
			<content:encoded><![CDATA[<p>Nate Beck has posted a great explaination about how Flash player security works. He covers what types of sand boxes there are, and for what they are good for.<br />
Check it out at his blog: <a href="http://blog.natebeck.net/2010/01/developing-games-with-pushbutton-engine-understanding-local-flash-player-security/">Understanding Local Flash Player Security</a>!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Understanding+Local+Flash+Player+Security&amp;link=http://www.slegg.net/understanding-local-flash-player-security&amp;notes=Nate%20Beck%20has%20posted%20a%20great%20explaination%20about%20how%20Flash%20player%20security%20works.%20He%20covers%20what%20types%20of%20sand%20boxes%20there%20are%2C%20and%20for%20what%20they%20are%20good%20for.%20%0D%0ACheck%20it%20out%20at%20his%20blog%3A%20Understanding%20Local%20Flash%20Player%20Security%21%0D%0A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/understanding-local-flash-player-security/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simulate Double-Click with Actionscript</title>
		<link>http://www.slegg.net/simulate-double-click-with-actionscript</link>
		<comments>http://www.slegg.net/simulate-double-click-with-actionscript#comments</comments>
		<pubDate>Tue, 02 Feb 2010 20:56:00 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.scrambled-egg.net/blog/?p=287</guid>
		<description><![CDATA[Using the Flash built in solution to detect double clicks with MouseEvent.DOUBLE_CLICK can turn out to be a pain, especially if you&#8217;re developing more than a simple website (no offence to those who do! ). For my current project (Level Master 2000), I urgently needed such behaviour, and I didn&#8217;t want to turn on sprite.doubleClickEnabled [...]]]></description>
			<content:encoded><![CDATA[<p>Using the Flash built in solution to detect double clicks with <code>MouseEvent.DOUBLE_CLICK</code> can turn out to be a pain, especially if you&#8217;re developing more than a simple website (no offence to those who do! <img src='http://blog.scrambled-egg.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ). For my current project (<a href="http://www.levelmaster2000.com">Level Master 2000</a>), I urgently needed such behaviour, and I didn&#8217;t want to turn on <code>sprite.doubleClickEnabled = true</code> for all selectable objects. So I simply implemented my own version, for which I can even adjust the click interval, such that a double click gets recognized.<br />
It&#8217;s as simple as:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> const DOUBLE_CLICK_INTERVAL:<span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">400</span>;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> clickIntervalTimer:<span style="color: #0066CC;">int</span>;</pre></div></div>

<p>Somewhere, add your event listener to a normal mouse down event:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">%</span>something<span style="color: #66cc66;">%</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, OnClick<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>And then, in the OnClick, check if it was a double click:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">getTimer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> - clickIntervalTimer<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&lt;</span> DOUBLE_CLICK_INTERVAL<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">//A DOUBLE CLICK HAPPENED, DO SOMETHING!</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//Don't forget to update your clickIntervalTimer afterwards:</span>
clickIntervalTimer = <span style="color: #0066CC;">getTimer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Note: the <code>getTimer</code> function can be found in <code>import flash.utils.getTimer;</code>. Everything else should be straight forward!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Simulate+Double-Click+with+Actionscript&amp;link=http://www.slegg.net/simulate-double-click-with-actionscript&amp;notes=Using%20the%20Flash%20built%20in%20solution%20to%20detect%20double%20clicks%20with%20MouseEvent.DOUBLE_CLICK%20can%20turn%20out%20to%20be%20a%20pain%2C%20especially%20if%20you%27re%20developing%20more%20than%20a%20simple%20website%20%28no%20offence%20to%20those%20who%20do%21%20%3B%29%20%29.%20For%20my%20current%20project%20%28Level%20Master%202000%29%2C%20I%20urgently%20needed%20such%20behaviour%2C%20and%20I%20didn%27t%20w&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/simulate-double-click-with-actionscript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get class and super class</title>
		<link>http://www.slegg.net/get-class-and-super-class</link>
		<comments>http://www.slegg.net/get-class-and-super-class#comments</comments>
		<pubDate>Wed, 27 Jan 2010 10:49:27 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Level Master 2000]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.scrambled-egg.net/blog/?p=267</guid>
		<description><![CDATA[For Level Master 2000, I needed two functions: getClass, which I stuff in any kind of object, and it returns me its class. getSuperClass, which I stuff in it&#8217;s class name as string, and it returns me the class name of its parent as string. Note that first returns the class itself, and the second [...]]]></description>
			<content:encoded><![CDATA[<p>For <a href="level-master-2000">Level Master 2000</a>, I needed two functions:</p>
<ol>
<li>getClass, which I stuff in any kind of object, and it returns me its class.</li>
<li>getSuperClass, which I stuff in it&#8217;s class name as string, and it returns me the class name of its parent as string.</li>
</ol>
<p>Note that first returns the class itself, and the second one works with strings. If you need to e.g. let the second one work with classes also, just adapt it like in the first function.</p>
<p>All in all, you need to import these functions:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">utils</span>.<span style="color: #006600;">getDefinitionByName</span>;
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">utils</span>.<span style="color: #006600;">getQualifiedClassName</span>;
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">utils</span>.<span style="color: #006600;">getQualifiedSuperclassName</span>;</pre></div></div>

<p>And here are the two functions:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> getClass<span style="color: #66cc66;">&#40;</span>obj:<span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #000000; font-weight: bold;">Class</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">Class</span><span style="color: #66cc66;">&#40;</span>getDefinitionByName<span style="color: #66cc66;">&#40;</span>getQualifiedClassName<span style="color: #66cc66;">&#40;</span>obj<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">static</span> <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getSuperClass<span style="color: #66cc66;">&#40;</span>className:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">return</span> getQualifiedSuperclassName<span style="color: #66cc66;">&#40;</span>getDefinitionByName<span style="color: #66cc66;">&#40;</span>className<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Note that getSuperClass only returns its direct parent. If you need to go further up the inheritance tree, you need to call it recursively. Highest it can get is &#8220;Object&#8221;.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Get+class+and+super+class+&amp;link=http://www.slegg.net/get-class-and-super-class&amp;notes=For%20Level%20Master%202000%2C%20I%20needed%20two%20functions%3A%0D%0A%0D%0A%09getClass%2C%20which%20I%20stuff%20in%20any%20kind%20of%20object%2C%20and%20it%20returns%20me%20its%20class.%0D%0A%09getSuperClass%2C%20which%20I%20stuff%20in%20it%27s%20class%20name%20as%20string%2C%20and%20it%20returns%20me%20the%20class%20name%20of%20its%20parent%20as%20string.%0D%0A%0D%0ANote%20that%20first%20returns%20the%20class%20itself%2C%20and%20the%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/get-class-and-super-class/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PBE Series: using SchemaGenerator</title>
		<link>http://www.slegg.net/pbe-series-using-schemagenerator</link>
		<comments>http://www.slegg.net/pbe-series-using-schemagenerator#comments</comments>
		<pubDate>Fri, 22 Jan 2010 10:36:40 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[PushButton Engine]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.scrambled-egg.net/blog/?p=248</guid>
		<description><![CDATA[Previously, in PBE Series: dynamically get list of public members, properties and methods of object or class, I noted that SchemaGenerator.instance.generateSchema&#40;&#41;; &#8220;dumps all classes and public info to a xml file&#8221;. We&#8217;ll, I&#8217;ve used it now, and I must admit that was a lie So here&#8217;s how you use it, and what it results in! [...]]]></description>
			<content:encoded><![CDATA[<p>Previously, in <a href="pbe-series-dynamically-get-list-of-public-members-properties-and-methods-of-object-or-class">PBE Series: dynamically get list of public members, properties and methods of object or class</a>, I noted that</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">SchemaGenerator.<span style="color: #006600;">instance</span>.<span style="color: #006600;">generateSchema</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>&#8220;dumps all classes and public info to a xml file&#8221;.<br />
We&#8217;ll, I&#8217;ve used it now, and I must admit that was a lie <img src='http://blog.scrambled-egg.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
So here&#8217;s how you use it, and what it results in!</p>
<p>First, you need to establish a local connection, and then call generateSchema:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">conn = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">LocalConnection</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
conn.<span style="color: #006600;">client</span> = <span style="color: #0066CC;">this</span>;
conn.<span style="color: #0066CC;">allowDomain</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'*'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">try</span> <span style="color: #66cc66;">&#123;</span>
	conn.<span style="color: #0066CC;">connect</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;_SchemaConnection&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #0066CC;">catch</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">error</span>:ArgumentError<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Can't connect to _SchemaConnection&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
SchemaGenerator.<span style="color: #006600;">instance</span>.<span style="color: #006600;">generateSchema</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>SchemaGenerator.instance.generateSchema will then call OnSchemaReceived in your class, so you need to add that. It takes two string arguments: type and data. Type is either &#8220;START&#8221;, &#8220;END&#8221;, &#8220;ERROR&#8221; or &#8220;TYPE&#8221;. Data is an XML description of the current processed class (internally it uses flash.utils.describeType), which you then can further interact with.<br />
Here&#8217;s an example of how OnSchemaReceived could look like:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> OnSchemaReceived<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>:<span style="color: #0066CC;">String</span>, <span style="color: #0066CC;">data</span>:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">switch</span><span style="color: #66cc66;">&#40;</span> <span style="color: #0066CC;">type</span> <span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">case</span> <span style="color: #ff0000;">&quot;START&quot;</span>:
		<span style="color: #b1b100;">break</span>;
&nbsp;
		<span style="color: #b1b100;">case</span> <span style="color: #ff0000;">&quot;END&quot;</span>:
		<span style="color: #b1b100;">break</span>;
&nbsp;
		<span style="color: #b1b100;">case</span> <span style="color: #ff0000;">&quot;ERROR&quot;</span>:
		<span style="color: #b1b100;">break</span>;
&nbsp;
		<span style="color: #b1b100;">case</span> <span style="color: #ff0000;">&quot;TYPE&quot;</span>:
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">var</span> myXML:<span style="color: #0066CC;">XML</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">XML</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#41;</span>;
			myXML.<span style="color: #0066CC;">ignoreWhite</span> = <span style="color: #000000; font-weight: bold;">true</span>;
&nbsp;
			<span style="color: #000000; font-weight: bold;">var</span> xmlList:XMLList = myXML.<span style="color: #006600;">child</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;factory&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
			<span style="color: #808080; font-style: italic;">//Check accessors:</span>
			<span style="color: #b1b100;">for</span> <span style="color: #b1b100;">each</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> acc:<span style="color: #0066CC;">XML</span> <span style="color: #b1b100;">in</span> xmlList.<span style="color: #006600;">accessor</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				<span style="color: #808080; font-style: italic;">//DO SOMETHING.</span>
			<span style="color: #66cc66;">&#125;</span>
&nbsp;
			<span style="color: #808080; font-style: italic;">//Check public variables:</span>
			<span style="color: #b1b100;">for</span> <span style="color: #b1b100;">each</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> pVar:<span style="color: #0066CC;">XML</span> <span style="color: #b1b100;">in</span> xmlList.<span style="color: #0066CC;">variable</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				<span style="color: #808080; font-style: italic;">//DO SOMETHING.</span>
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #b1b100;">break</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>That should help you getting started!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=PBE+Series%3A+using+SchemaGenerator&amp;link=http://www.slegg.net/pbe-series-using-schemagenerator&amp;notes=Previously%2C%20in%20PBE%20Series%3A%20dynamically%20get%20list%20of%20public%20members%2C%20properties%20and%20methods%20of%20object%20or%20class%2C%20I%20noted%20that%0D%0ASchemaGenerator.instance.generateSchema%28%29%3B%0D%0A%22dumps%20all%20classes%20and%20public%20info%20to%20a%20xml%20file%22.%0D%0AWe%27ll%2C%20I%27ve%20used%20it%20now%2C%20and%20I%20must%20admit%20that%20was%20a%20lie%20%3B%29%20%0D%0ASo%20here%27s%20how%20you%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.slegg.net/pbe-series-using-schemagenerator/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

