<?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/"
	>

<channel>
	<title>ActionScript 3.0</title>
	<atom:link href="http://alexgblog.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://alexgblog.com</link>
	<description>ActionScript 3.0 blog</description>
	<pubDate>Tue, 24 Aug 2010 17:49:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3.0 native 3D classes</title>
		<link>http://alexgblog.com/?p=433</link>
		<comments>http://alexgblog.com/?p=433#comments</comments>
		<pubDate>Sun, 15 Aug 2010 10:05:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[3D designing]]></category>

		<category><![CDATA[Algorithms]]></category>

		<category><![CDATA[PV3D and 3D libraries]]></category>

		<category><![CDATA[3D]]></category>

		<category><![CDATA[AS3.0]]></category>

		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=433</guid>
		<description><![CDATA[Starting with Flash Player 10 Adobe introduces the native 3D calculations methods for Action Script 3.0 . This calculations are faster than scripted 3D trigonometric calculations. Papervision 2 uses this native 3D clases and I explored them also. Soon Adobe will release Flash Player which will use hardware 3D acceleration but now the most effective [...]]]></description>
			<content:encoded><![CDATA[<p>Starting with Flash Player 10 Adobe introduces the native 3D calculations methods for Action Script 3.0 . This calculations are faster than scripted 3D trigonometric calculations. Papervision 2 uses this native 3D clases and I explored them also. Soon Adobe will release Flash Player which will use hardware 3D acceleration but now the most effective way to use 3D in Flash are this native 3D methods. <span id="more-433"></span></p>
<p><strong>Mapping Flash video to 3D objects</strong><br />
http://www.adobe.com/devnet/flash/articles/flash_video_3d.html</p>
<p><strong>Culling</strong><br />
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WSB0132CAB-C91D-4cb4-9A47-394C85677E40.html</p>
<p><strong>Projecting 3D objects onto a 2D view</strong><br />
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS36223081-8938-4b45-BB89-F1F8B1A52E4E.html#WS0D64676D-1BCC-40f0-9A23-F19F4A0D8A6C<br />
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS36223081-8938-4b45-BB89-F1F8B1A52E4E.html</p>
<p><strong>Exploring the new 3D features in Flash CS4 Professional</strong><br />
http://www.adobe.com/devnet/flash/articles/3d_support_08.html</p>
<p><strong>Performing complex 3D transformations</strong><br />
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WSA340940C-A537-450c-8069-A4A052A98CAA.html</p>
<p><strong>Documentation for PV3D 2</strong><br />
http://www.flashbookmarks.com/PV3D-GreatWhite-DOC/</p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=433</wfw:commentRss>
		</item>
		<item>
		<title>Using sounds in ActionScript 3.0 games</title>
		<link>http://alexgblog.com/?p=547</link>
		<comments>http://alexgblog.com/?p=547#comments</comments>
		<pubDate>Sun, 08 Aug 2010 10:27:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Algorithms]]></category>

		<category><![CDATA[AS3.0]]></category>

		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=547</guid>
		<description><![CDATA[Any game is better and tastyer if it got sounds. Sounds can be generally of two types - music and actions sounds. Music is usually set to play during the menu using or in game levels. Actions sounds are set to play when some action occurs, like clicks or personage jump or shoot. Also the [...]]]></description>
			<content:encoded><![CDATA[<p>Any game is better and tastyer if it got sounds. Sounds can be generally of two types - music and actions sounds. Music is usually set to play during the menu using or in game levels. Actions sounds are set to play when some action occurs, like clicks or personage jump or shoot. Also the sounds are used on menu actions.<span id="more-547"></span></p>
<p>In this article I describe how to use sounds in both of the cases, for background music, and for actions. Most of the examples of code was taken from my last game Star Fields which can be seen here http://alexgblog.com/?p=501</p>
<p>Any sound you use in AS3.0 must be embed or loaded. If you want to embed your sound in Flash authoring tool go to Menu>> File >> Import >> Import to Library, and choose your file. After importing the file to the library it must be assigned to a class. Open the library panel (shortcut is ctrl+L). Right click on the sound in library and choose &#8220;properties&#8221;. In the &#8220;Linkage&#8221; section choose &#8220;Export for ActionScript&#8221; and write a name for your class which will define the music file. In Flex for importing sounds you have to write code symilar to this example:</p>
<blockquote><p><span style="color: #555555;"><br />
 [Embed('assets/ding.mp3')]<br />
 private var ding_mp3:Class<br />
</span></p></blockquote>
<p><br/><br />
Now you can create a new instance of this class and use it.</p>
<blockquote><p><span style="color: #555555;"><br />
var gameMusic:Sound<br />
var gameMusic:Sound = new mySound ()   // this is an embed sound<br />
/* if you want to load this sound you must create an instance of URLRequest class */<br />
var musicReq:URLRequest = new URLRequest(&#8221;http://alexgblog.com/sf/gameMusic.mp3&#8243;)<br />
/* and also we will set the listeners to load progress and load complete. We have 3 listeners, first ine triggers when the sound is loaded entirely, second triggers on loading progress and the third one triggers if the sound cant be loaded*/<br />
gameMusic.addEventListener(Event.COMPLETE, gameMusicLoadedLi )<br />
gameMusic.addEventListener(ProgressEvent.PROGRESS, gameMusicProgressLi)<br />
gameMusic.addEventListener(IOErrorEvent.IO_ERROR, ioErrorLi)<br />
// here we set the sound file to load<br />
gameMusic.load(musicReq)<br />
</span></p></blockquote>
<p><br/></p>
<p>So we have our sounds loaded or embed. If you are loading your sound files you will set listeners to loading complete and in that listener you will set the actions to execute when the sound file is loaded. Next code is for listeners</p>
<blockquote><p><span style="color: #555555;"><br />
function gameMusicLoadedLi(event:Event):void {<br />
           /*notice that play() method takes 3 parameters, startTime:Number = 0, loops:int = 0, sndTransform: flash.media:SoundTransform = null .Using this parameters you can point out an offset, number of loops or an SoundTransform property */<br />
	var gameMusChannel:SoundChannel = gameMusic.play() }<br />
function gameMusicProgressLi(event:ProgressEvent):void {<br />
	var loadedPct:uint = Math.round(100 * (event.bytesLoaded / event.bytesTotal));<br />
	trace(&#8221;The sound is &#8221; + loadedPct + &#8220;% loaded.&#8221;) }<br />
function ioErrorLi(event:Event):void {<br />
	trace(&#8221;The sound cant be loaded&#8221;) }<br />
</span></p></blockquote>
<p><br/></p>
<p>The second function is a preloader which traces the percents loaded. Preloader is not needed if we have an embed sound. Next code is for embed sounds but if you are loading a sound you can insert the same code inside the COMPLETE event listener which here is the function called gameMusicLoadedLi.</p>
<blockquote><p><span style="color: #555555;"><br />
var gameMusChannel:SoundChannel = gameMusic.play()<br />
var gameMusTrans:SoundTransform = new SoundTransform(1, 0)<br />
gameMusTrans.volume = 0.8 ( volume can have a value from 0 to 1 )<br />
gameMusChannel.soundTransform=gameMusTrans<br />
</span></p></blockquote>
<p><br/></p>
<p>In previous snippet I created an instance of SoundChannel class which will play our sounds and an instance of SoundTransform class which modifies the sound volume and panning. Later you can modify the SoundTransform instance properties and assign it to the SoundChannel as in the previous snippet of code.</p>
<p>If we want the sound to loop lets make this</p>
<blockquote><p><span style="color: #555555;"><br />
gameMusChannel.addEventListener(Event.SOUND_COMPLETE, gameMusCompleteLi)<br />
// when the sound will play completely it will call this listener<br />
function gameMusCompleteLi(evt:Event):void{<br />
   gameMusChannel = gameMusic.play()<br />
   gameMusChannel.soundTransform=gameMusTrans  };<br />
// also we can stop the sound by calling the stop() method of the SoundChannel class<br />
gameMusChannel.stop()<br />
</span></p></blockquote>
<p><br/></p>
<p>Create your games and applications, make experiments and discover new spaces. If you have any questions about using this classes or any other or interesting ideas you can share them on my blog http://alexgblog.com I will try to respond to all of them. </p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=547</wfw:commentRss>
<enclosure url="http://alexgblog.com/sf/gameMusic.mp3" length="3563064" type="audio/mpeg" />
		</item>
		<item>
		<title>Star Fields released</title>
		<link>http://alexgblog.com/?p=501</link>
		<comments>http://alexgblog.com/?p=501#comments</comments>
		<pubDate>Tue, 11 May 2010 11:58:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Graphic design]]></category>

		<category><![CDATA[AS3.0]]></category>

		<category><![CDATA[graphics]]></category>

		<category><![CDATA[Papervision]]></category>

		<category><![CDATA[PhotoShop]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=501</guid>
		<description><![CDATA[Star Fields game is released and ready to play. I wrote the music and made all design works for this game. You can see the game and play it and listen to the original soundtrack below in post. The game uses Papervision 2 and it is real 3D.

Press the image to play the game

Press the [...]]]></description>
			<content:encoded><![CDATA[<p>Star Fields game is released and ready to play. I wrote the music and made all design works for this game. You can see the game and play it and listen to the original soundtrack below in post. The game uses Papervision 2 and it is real 3D.<span id="more-501"></span></p>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http://alexgblog.com/" scrolling="no" frameborder="0" style="height: 62px; width: 100%" allowTransparency="true"></iframe></p>
<p>Press the image to play the game<br />
<a href="http://alexgblog.com/sf" target="_blank"><img src="http://alexgblog.com/wp-content/uploads/2010/05/SF_artwork.jpg" alt="Star Fields artwork" /></a><br />
Press the image to play the game!</p>
<p><noscript><embed src='http://alexgblog.com/sf/main.swf' type='application/x-shockwave-flash' allowFullScreen="true" quality="autohigh" bgcolor="#000000" width='550' height='500'></embed></noscript></p>
<p><BR/></p>
<p>Next I am going to make Star Fields for iPhone and PC and after that I will start making Star Fields 2. It will contain more melodies and graphics. When it will be ready I will make Star Fields opensource. Also I will publish some tutorials. Look for them also in Flash and Flex Developer magazine. FFD is a free to download magazine with very usefull staff for Action scripters  http://ffdmag.com/<br />
<BR/><br />
Later I will add some music and artworks for this game.<br />
<BR/><br />
This is the OST from game stages. It can be downloaded.<br />
<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Falexgreentown%2Fgamemusic&amp;show_comments=true&amp;auto_play=false&amp;color=2b0c63"></param><param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Falexgreentown%2Fgamemusic&amp;show_comments=true&amp;auto_play=false&amp;color=2b0c63" type="application/x-shockwave-flash" width="100%"></embed></object>   <span><a href="http://soundcloud.com/alexgreentown/gamemusic">GameMusic</a> by <a href="http://soundcloud.com/alexgreentown">AlexGreentown</a></span><br />
<BR/><br />
And next is the original song which was written for SF.<br />
<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Falexgreentown%2Fstar-fields&amp;show_comments=true&amp;auto_play=false&amp;color=54a5e7"></param><param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Falexgreentown%2Fstar-fields&amp;show_comments=true&amp;auto_play=false&amp;color=54a5e7" type="application/x-shockwave-flash" width="100%"></embed></object>   <span><a href="http://soundcloud.com/alexgreentown/star-fields">Star Fields</a> by <a href="http://soundcloud.com/alexgreentown">AlexGreentown</a></span></p>
<p><BR/><br />
The game contains advertising from MochiMedia<br />
<a href="https://www.mochimedia.com/r/1c7350c03913406d"><img src="http://www.mochimedia.com/static/web/images/badge_468x60.gif" border="0"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=501</wfw:commentRss>
		</item>
		<item>
		<title>Audio visual design ¦ part 3</title>
		<link>http://alexgblog.com/?p=396</link>
		<comments>http://alexgblog.com/?p=396#comments</comments>
		<pubDate>Sun, 18 Apr 2010 16:28:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[3D designing]]></category>

		<category><![CDATA[Graphic design]]></category>

		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=396</guid>
		<description><![CDATA[This is the third edition of the Audio Video Design post. Some of you have subscribed to my blog only because of this category. Traditionally I present here collection of artworks which selection is based on exceptional graphics, sound and originality, appreciated in different measure. This artworks are yeasy to percept and understand by anybody, [...]]]></description>
			<content:encoded><![CDATA[<p>This is the third edition of the Audio Video Design post. Some of you have subscribed to my blog only because of this category. Traditionally I present here collection of artworks which selection is based on exceptional graphics, sound and originality, appreciated in different measure. This artworks are yeasy to percept and understand by anybody, even a child, because they are based on graphic and auditive language which does not require any educational background.<span id="more-396"></span><br />
<br/><br />
<object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2086684&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2086684&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object>
<p><a href="http://vimeo.com/2086684">O&#8217;Neill NavJacket</a> from <a href="http://vimeo.com/aras">Aras Darmawan</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3175337&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3175337&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/3175337">(Tunit f50) Sound Redesigned</a> from <a href="http://vimeo.com/user1269742">Solomute </a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/><br />
<object width="400" height="320"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=7032368&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=7032368&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="320"></embed></object>
<p><a href="http://vimeo.com/7032368">candlestickmaker and icecream-xtruder &#8216;take.me.elsewhere&#8217;</a> from <a href="http://vimeo.com/user2447322">icecream</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9856705&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9856705&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object>
<p><a href="http://vimeo.com/9856705">Nokta .</a> from <a href="http://vimeo.com/onursenturk">Onur Senturk</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p>Next videos are about Blip Festival or its participants. Blip Festival is dedicated to creators of 8 bit music. Such music is usually played by game consoles like Gameboy or Nintendo Portable which have 8 bit soundcard. Here we have a video clip on music of Blip Festival participant.<br />
<br/></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=676009&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=676009&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/676009">&#8220;Sting Operation&#8221; Video for Anamanaguchi</a> from <a href="http://vimeo.com/twoplayer">2 Player Productions</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p>And next 2 videos are filmed on Blip Festival 2007.<br />
<br/></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=450829&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=450829&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/450829">SabrePulse // Blip Festival 2007: The Videos</a> from <a href="http://vimeo.com/twoplayer">2 Player Productions</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1255509&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1255509&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/1255509">Bit Shifter // Blip Festival 2007: The Videos</a> from <a href="http://vimeo.com/twoplayer">2 Player Productions</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p>Next video is tech not so yeasy to percept by non-technical people.<br />
Anyway its interesting and usefull experience watching it.<br />
<br/></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10650308&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10650308&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/10650308">HSS3c Demo</a> from <a href="http://vimeo.com/gijs">Gijs</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8946475&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8946475&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/8946475">Odaiba &#8212; Shinbashi in 3:07 (Yurikamome)</a> from <a href="http://vimeo.com/tv106">tv106</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/><br/></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8075976&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8075976&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/8075976">HOLOPHONICS - MODERN FRIGHT</a> from <a href="http://vimeo.com/user902399">Fatbros Productions</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=396</wfw:commentRss>
		</item>
		<item>
		<title>Debugging ActionScript 3.0 in Flash</title>
		<link>http://alexgblog.com/?p=421</link>
		<comments>http://alexgblog.com/?p=421#comments</comments>
		<pubDate>Fri, 02 Apr 2010 15:17:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Algorithms]]></category>

		<category><![CDATA[AS3.0]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=421</guid>
		<description><![CDATA[Today I explored Flash AS3.0 debugging and it is awesome. Flash debugger is an extremely useful tool for serious programmers and for kids too. Using this tool debugging ActionScript becomes two times simplier and much more in some cases. I present here mostly links to the info.
Basic info about Flash debugger
http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSD76536C2-C8AA-472a-BE2F-BD0D0855972Aa.html
Understanding ActionScript 3 debugging in [...]]]></description>
			<content:encoded><![CDATA[<p>Today I explored Flash AS3.0 debugging and it is awesome. Flash debugger is an extremely useful tool for serious programmers and for kids too. Using this tool debugging ActionScript becomes two times simplier and much more in some cases. I present here mostly links to the info.<span id="more-421"></span></p>
<p>Basic info about Flash debugger<br />
<a href="http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSD76536C2-C8AA-472a-BE2F-BD0D0855972Aa.html">http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSD76536C2-C8AA-472a-BE2F-BD0D0855972Aa.html</a></p>
<p>Understanding ActionScript 3 debugging in Flash<br />
<a href="http://www.adobe.com/devnet/flash/articles/flcs4_as3_debugging.html">http://www.adobe.com/devnet/flash/articles/flcs4_as3_debugging.html</a></p>
<p>Introducing the ActionScript 3.0 debugger<br />
<a href="http://www.adobe.com/devnet/flash/articles/as3_debugger.html">http://www.adobe.com/devnet/flash/articles/as3_debugger.html</a><br />
part 2<br />
<a href="http://www.adobe.com/devnet/flash/articles/as3_debugger_02.html">http://www.adobe.com/devnet/flash/articles/as3_debugger_02.html</a></p>
<p>And some more info about an external debugging tool<br />
<a href="http://gotoandlearn.com/play?id=109">http://gotoandlearn.com/play?id=109</a></p>
<p>Notice that this article is dedicated to debugging in Flash authoring tool. Debugging in Flex or other ActionScript editors may differ.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=421</wfw:commentRss>
		</item>
		<item>
		<title>Local LiveDocs and other features of &#8220;Doc?&#8221;</title>
		<link>http://alexgblog.com/?p=452</link>
		<comments>http://alexgblog.com/?p=452#comments</comments>
		<pubDate>Sat, 20 Mar 2010 07:11:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Algorithms]]></category>

		<category><![CDATA[PV3D and 3D libraries]]></category>

		<category><![CDATA[AS3.0]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=452</guid>
		<description><![CDATA[Most ActionScript programmers has to use online help system, LiveDocs which is not so convenient as local help system, which was in CS3 and Macromedia Flash. It is annoying waiting until pages are loading and searching something. Well, LiveDocs is not the only one help online system, there is also a lot of online docs [...]]]></description>
			<content:encoded><![CDATA[<p>Most ActionScript programmers has to use online help system, LiveDocs which is not so convenient as local help system, which was in CS3 and Macromedia Flash. It is annoying waiting until pages are loading and searching something. Well, LiveDocs is not the only one help online system, there is also a lot of online docs for almost all the 3D, physics, and many other libraries for Flash. But now you can access all this documentation locally which makes it much faster and comrfortable. Thanks to Jeroem Beckers and Michiel Vancoillie we have the free &#8220;Doc?&#8221;. <span id="more-452"></span></p>
<p>The home page of the Doc? is<br />
<a href="http://airdoc.be/home/" target="blank">http://airdoc.be/home/</a></p>
<p>This is the description from this page: &#8221; Doc? is a free desktop Application, made entirely in FLEX &#038; AIR.</p>
<p>Doc? allows you to view, search and bookmark all your favorite ASDocs. It can also handle some legacy books like the ones you find in Flash CS3 and older. Online books can be downloaded and viewed directly in Doc?. &#8221;</p>
<p>I can say also that it has search system, bookmarks, navigation history, it is really handy!</p>
<p><a href="http://alexgblog.com/wp-content/uploads/2010/03/docInterface.jpg"><img src="http://alexgblog.com/wp-content/uploads/2010/03/docInterface.jpg" alt="docInterface" title="docInterface" width="771" height="467" class="alignnone size-full wp-image-152" /></a></p>
<p>I made a screenshot of the interface, as you can see there are 2 search systems, one through the directories, and second through the document. I tried it, it is handy and flexible. At the top you can see document search, next are the bookmarks, next goes navigation hystory, and at the top right there are two buttons - &#8220;home&#8221; and &#8220;books and settings&#8221;. If you want to download some docs you have to go to &#8220;books and settings&#8221;.</p>
<p>If you need help, you can find info on the <a href="http://airdoc.be/home/" target="blank">http://airdoc.be</a> page.</p>
<p>Also I added a download of the most recent version for now. <a href="http://mybestblog.comyr.com/wp-content/uploads/2010/03/Doc.air">Download (press here)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=452</wfw:commentRss>
		</item>
		<item>
		<title>Optimising CPU and memory usage in AS3.0</title>
		<link>http://alexgblog.com/?p=392</link>
		<comments>http://alexgblog.com/?p=392#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:47:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[AS3.0]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=392</guid>
		<description><![CDATA[This post is extremely useful for serious ActionScript 3.0 programmers. Kids has nothing to do with it but any serious application cant give high results and framerate without code optimization. Memory and processor optimization is especially important for those who make games and complicated graphics. Most of the information in this post represents links with [...]]]></description>
			<content:encoded><![CDATA[<p>This post is extremely useful for serious ActionScript 3.0 programmers. Kids has nothing to do with it but any serious application cant give high results and framerate without code optimization. Memory and processor optimization is especially important for those who make games and complicated graphics. Most of the information in this post represents links with description but in time maybe I will add textual information and more links.  <span id="more-392"></span></p>
<p><strong>Colin Mook talking about garbage collector on Adobe TV</strong><br />
<a href="http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/object-references-and-garbage-collection/" target="_blank">http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/object-references-and-garbage-collection/</a></p>
<p><strong>Slide show about memory and CPU management from Grant Skinner</strong><br />
<a href="http://www.gskinner.com/talks/resource-management/" target="_blank">http://www.gskinner.com/talks/resource-management/</a></p>
<p><strong>The blog of Grant Skinner - lots of info about stuff</strong><br />
<a href="http://www.gskinner.com/blog/" target="_blank">http://www.gskinner.com/blog/</a></p>
<p><strong>Some tips</strong><br />
<a href="http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3/" target="_blank">http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3/</a></p>
<p><strong>Useful tips with examples and many links</strong><br />
<a href="http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/" target="_blank">http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/</a></p>
<p><strong>Tips from Andre Michelle</strong><br />
<a href="http://blog.andre-michelle.com/2005/as3-optimations-suggestions/" target="_blank">http://blog.andre-michelle.com/2005/as3-optimations-suggestions/</a></p>
<p><strong>ActionScript 3.0 and AVM2: Performance Tuning - pdf</strong><br />
<a href="http://www.onflex.org/ACDS/AS3TuningInsideAVM2JIT.pdf" target="_blank">http://www.onflex.org/ACDS/AS3TuningInsideAVM2JIT.pdf</a></p>
<p><strong>Resource management strategies in Flash Player 9</strong><br />
<a title="Resource management strategies in Flash Player 9" href="http://www.adobe.com/devnet/flashplayer/articles/resource_management.html">http://www.adobe.com/devnet/flashplayer/articles/resource_management.html</a></p>
<p><strong>Understanding garbage collection in Flash Player 9</strong><br />
<a title="Understanding garbage collection in Flash Player 9" href="http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html">http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html</a></p>
<p><strong>gskinner.com: gBlog: Types in AS3: ints not so fast, uints slow!</strong><br />
<a title="Types in AS3: ints not so fast, uints slow!" href="http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html">http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html</a></p>
<p><strong>Actionscript optimization resources</strong><br />
<a title="Actionscript optimization resources" href="http://www.gotoandplay.it/_forums/viewtopic.php?t=179">http://www.gotoandplay.it/_forums/viewtopic.php?t=179</a></p>
<p><strong>More performance tuning in Actionscript 3</strong><br />
<a title="More performance tuning in Actionscript 3" href="http://www.danielhai.com/blog/?p=55">http://www.danielhai.com/blog/?p=55</a></p>
<p><strong>Bitwise gems - fast integer math</strong><br />
<a title="Bitwise gems - fast integer math" href="http://lab.polygonal.de/2007/05/10/bitwise-gems-fast-integer-math">http://lab.polygonal.de/2007/05/10/bitwise-gems-fast-integer-math</a></p>
<p><strong>AS3 and AVM Performance Tuning tips from Gary Grossman - pdf</strong><br />
<a title="AS3 and AVM Performance Tuning tips from Gary Grossman" href="http://www.onflex.org/ACDS/AS3TuningInsideAVM2JIT.pdf">http://www.onflex.org/ACDS/AS3TuningInsideAVM2JIT.pdf</a></p>
<p><strong>AS3: Rethink your old assumptions</strong><br />
<a title="AS3: Rethink your old assumptions" href="http://www.bit-101.com/blog/?p=1023">http://www.bit-101.com/blog/?p=1023</a></p>
<p><strong>ActionScript 3 Performance Tuning by Matt Chotin - pdf</strong><br />
<a title="ActionScript 3 Performance Tuning by Matt Chotin" href="http://www.adobe.com/devnet/flex/articles/as3_tuning/fm_as3perf.pdf">http://www.adobe.com/devnet/flex/articles/as3_tuning/fm_as3perf.pdf</a></p>
<p><strong>Fast and accurate sine/cosine approximation</strong><br />
<a title="Fast and accurate sine/cosine approximation" href="http://lab.polygonal.de/2007/07/18/fast-and-accurate-sinecosine-approximation">http://lab.polygonal.de/2007/07/18/fast-and-accurate-sinecosine-approximation</a></p>
<p><strong>Optimizations for AS3 calculations</strong><br />
<a title="Optimizations for AS3 calculations" href="http://www.rockonflash.com/blog/?p=63">http://www.rockonflash.com/blog/?p=63</a></p>
<p><strong>Fast Flash9 Fixed Point Sine</strong><br />
<a title="Fast Flash9 Fixed Point Sine" href="http://blog.haxe.org/entry/26">http://blog.haxe.org/entry/26</a></p>
<p><strong>AS3 Interesting Numeric Storage Behavior</strong><br />
<a title="AS3 Interesting Numeric Storage Behavior" href="http://drawk.wordpress.com/2007/06/06/as3-interesting-numeric-storage-behavior">http://drawk.wordpress.com/2007/06/06/as3-interesting-numeric-storage-behavior</a></p>
<p><strong>Flex RIA Performance Considerations Part 1: Getting Started</strong><br />
<a title="Flex RIA Performance Considerations Part 1: Getting Started" href="http://www.insideria.com/2008/03/flex-ria-performance-considera-1.html">http://www.insideria.com/2008/03/flex-ria-performance-considera-1.html</a></p>
<p><strong>Boost memory performance on data structures using HashMapCollection API</strong><br />
<a title="Boost memory performance on data structures using HashMapCollection API" href="http://elromdesign.com/blog/2008/03/27/boost-memory-performance-on-data-structures-using-hashmapcollection-api">http://elromdesign.com/blog/2008/03/27/boost-memory-performance-on-data-structures-using-hashmapcollection-api</a></p>
<p><strong>Flash AS3 optimization - Fastest way to copy an array</strong><br />
<a title="Flash AS3 optimization - Fastest way to copy an array" href="http://agit8.turbulent.ca/bwp/2008/08/04/flash-as3-optimization-fastest-way-to-copy-an-array">http://agit8.turbulent.ca/bwp/2008/08/04/flash-as3-optimization-fastest-way-to-copy-an-array</a></p>
<p><strong>Making dispatchEvent More Efficient</strong><br />
<a title="Making dispatchEvent More Efficient" href="http://www.gskinner.com/blog/archives/2008/12/making_dispatch.html">http://www.gskinner.com/blog/archives/2008/12/making_dispatch.htm</a></p>
<p><strong>ActionScript 3 Vector / Array Performance Comparison</strong><br />
<a title="ActionScript 3 Vector / Array Performance Comparison" href="http://www.mikechambers.com/blog/2008/09/24/actioscript-3-vector-array-performance-comparison">http://www.mikechambers.com/blog/2008/09/24/actioscript-3-vector-array-performance-comparison</a></p>
<p><strong>ActionScript 3 Performance Tester</strong><br />
<a title="ActionScript 3 Performance Tester" href="http://businessintelligence.me/projects/performance_tester/performanceTester.html">http://businessintelligence.me/projects/performance_tester/performanceTester.html</a></p>
<p><strong>Excellent article about benchmarking</strong><br />
<a title="Excellent article about benchmarking" href="http://www.stephencalenderblog.com/?p=7">http://www.stephencalenderblog.com/?p=7</a></p>
<p><strong>Top Ten ActionScript Performance Tips</strong><br />
<a title="Top Ten ActionScript Performance Tips" href="http://www.stephencalenderblog.com/?p=109">http://www.stephencalenderblog.com/?p=109</a></p>
<p><strong>Tips on how to write efficient AS3 - part 1</strong><br />
<a title="Tips on how to write efficient AS3 - part 1" href="http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3">http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3</a></p>
<p><strong>Tips on how to write efficient AS3 - part 2</strong><br />
<a title="Tips on how to write efficient AS3 - part 2" href="http://www.lostinactionscript.com/blog/index.php/2008/11/01/tips-on-how-to-write-efficient-as3-part-2">http://www.lostinactionscript.com/blog/index.php/2008/11/01/tips-on-how-to-write-efficient-as3-part-2</a></p>
<p><strong>AS3 Performance Testing Harness</strong><br />
<a title="AS3 Performance Testing Harness" href="http://www.gskinner.com/blog/archives/2009/04/as3_performance.html">http://www.gskinner.com/blog/archives/2009/04/as3_performance.html</a></p>
<p><strong>Joa Ebert: Code Optimization</strong><br />
<a title="Code Optimization" href="http://wiki.joa-ebert.com/index.php/Category:Code_Optimization">http://wiki.joa-ebert.com/index.php/Category:Code_Optimization</a></p>
<p><strong>LinkedGrid</strong><br />
<a title="LinkedGrid" href="http://pixelero.wordpress.com/2009/06/11/linkedgrid">http://pixelero.wordpress.com/2009/06/11/linkedgrid</a></p>
<p><strong>LinkedList</strong><br />
<a title="LinkedList" href="http://wiki.joa-ebert.com/index.php/LinkedList">http://wiki.joa-ebert.com/index.php/LinkedList</a></p>
<p>Flex Databinding Performance<br />
<a title="Flex Databinding Performance" href="http://www.screenshot.at/blog/2009/04/18/databinding-under-the-hood-part-1-performance">http://www.screenshot.at/blog/2009/04/18/databinding-under-the-hood-part-1-performance</a></p>
<p><strong>Round up of ActionScript 3.0 and Flex optimization techniques and practices and some links</strong><br />
<a href="http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html" target="_blank">http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html</a></p>
<p><strong>Sean Christmann: Optimizing Adobe AIR for Code Execution, Memory, and Rendering </strong><br />
<a href="http://www.craftymind.com/2008/11/20/max-2008-session-material/" target="_blank">http://www.craftymind.com/2008/11/20/max-2008-session-material/</a></p>
<p><strong>Dennis Ippel: Some ActionScript 3.0 Optimizations</strong><br />
<a href="http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/" target="_blank">http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/</a></p>
<p><strong>Shane McCartney: Tips on how to write efficient AS3</strong><br />
<a href="http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3/" target="_blank">http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3/</a></p>
<p><strong>Flex Application Performance: Tips and Techniques for Improving Client Application Performance</strong><br />
<a href="http://www.adobe.com/devnet/flex/articles/client_perf.html" target="_blank">http://www.adobe.com/devnet/flex/articles/client_perf.html</a></p>
<p><strong>Stephen Calender: ActionScript 3.0 Benchmarking</strong><br />
<a href="http://www.stephencalenderblog.com/?p=7" target="_blank">http://www.stephencalenderblog.com/?p=7</a></p>
<p><strong>Grant Skinner: Types in AS3: ints not so fast, uints slow!</strong><br />
<a href="http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html" target="_blank">http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html</a></p>
<p><strong>Grant Skinner: Resource management strategies in Flash Player 9 </strong><br />
<a href="http://www.adobe.com/devnet/flashplayer/articles/resource_management.html" target="_blank">http://www.adobe.com/devnet/flashplayer/articles/resource_management.html</a></p>
<p><strong>Gary Grossman: ActionScript 3.0 and AVM2 Performance Tuning</strong><br />
<a href="aaa" target="_blank">http://www.onflex.org/ACDS/AS3TuningInsideAVM2JIT.pdf </a></p>
<p><strong>Fastest way to copy an array</strong><br />
<a href="http://agit8.turbulent.ca/bwp/2008/08/04/flash-as3-optimization-fastest-way-to-copy-an-array/" target="_blank">http://agit8.turbulent.ca/bwp/2008/08/04/flash-as3-optimization-fastest-way-to-copy-an-array/</a></p>
<p><strong>Andre Michelle: AS3 optimations &#038; suggestions</strong><br />
<a href="http://blog.andre-michelle.com/2005/as3-optimations-suggestions/" target="_blank">http://blog.andre-michelle.com/2005/as3-optimations-suggestions/</a></p>
<p><strong>Package-level function closures in ActionScript</strong><br />
<a href="http://www.ericfeminella.com/blog/2008/05/06/package-level-function-closures-in-actionscript/" target="_blank">http://www.ericfeminella.com/blog/2008/05/06/package-level-function-closures-in-actionscript/</a></p>
<p><strong>ActionScript 3 optimization techniques</strong><br />
<a href="http://blog.joa-ebert.com/2008/04/26/actionscript-3-optimization-techniques/" target="_blank">http://blog.joa-ebert.com/2008/04/26/actionscript-3-optimization-techniques/</a></p>
<p><strong>AS3 Performance Tester</strong><br />
<a href="http://businessintelligence.me/projects/performance_tester/performanceTester.html" target="_blank">http://businessintelligence.me/projects/performance_tester/performanceTester.html</a></p>
<p><strong>There is a new method drawPath() in FP10 and drawings render faster with drawPath() than with a series of individual lineTo() and curveTo() methods</strong><br />
<a href="http://www.flashandmath.com/basic/drawpathCS4/index.html" target="_blank">http://www.flashandmath.com/basic/drawpathCS4/index.html</a><br />
<a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Graphics.html#drawPath()" target="_blank">http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Graphics.html#drawPath()</a></p>
<p><strong>AS3 garbage collection monitor</strong><br />
<a href="http://www.soundstep.com/blog/2010/01/18/as3-garbage-collection-monitor/" target="_blank">http://www.soundstep.com/blog/2010/01/18/as3-garbage-collection-monitor/</a></p>
<p><strong>John Iacoviello – Papervision3D Optimization Tips</strong><br />
<a href="http://interactivehug.com/2008/04/21/john-iacoviello-papervision3d-optimization-tips/" target="_blank">http://interactivehug.com/2008/04/21/john-iacoviello-papervision3d-optimization-tips/</a></p>
<p><strong>Polygonal Labs - bitwise operations</strong><br />
<a href="http://lab.polygonal.de/2007/05/10/bitwise-gems-fast-integer-math/" target="_blank">http://lab.polygonal.de/2007/05/10/bitwise-gems-fast-integer-math/</a></p>
<p><strong>There will be more links in future</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=392</wfw:commentRss>
		</item>
		<item>
		<title>Audio visual design ¦ part 2</title>
		<link>http://alexgblog.com/?p=356</link>
		<comments>http://alexgblog.com/?p=356#comments</comments>
		<pubDate>Mon, 01 Feb 2010 12:29:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[3D designing]]></category>

		<category><![CDATA[Algorithms]]></category>

		<category><![CDATA[Graphic design]]></category>

		<category><![CDATA[3D]]></category>

		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://alexgblog.com/?p=356</guid>
		<description><![CDATA[This post is the continuation of the previous post devoted to amazing and inspiring audio visual design. Unfortunately I dont see many interactive works between them and in first video I present an unique interactive visual design artwork. This is a video shot of my experiment, the original doesnt have sound but the video has [...]]]></description>
			<content:encoded><![CDATA[<p>This post is the continuation of the previous post devoted to amazing and inspiring audio visual design. Unfortunately I dont see many interactive works between them and in first video I present an unique interactive visual design artwork. This is a video shot of my experiment, the original doesnt have sound but the video has music playing, enjoy it&#8230;<span id="more-356"></span><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4071203&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4071203&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/4071203">SwanDive</a> from <a href="http://vimeo.com/user1550459">AlexG</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
Next artwork represents an unique combination of technical perfection and human mind researches result.<br />
Its called White Swan. &#8220;2009 - An exhausted, shivering girl is captured in a dark machinery world. As she escapes in to her imagination, a mesmerizing world unfolds.&#8221;<br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5742964&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=5742964&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/5742964">White Swan</a> from <a href="http://vimeo.com/user2076875">Sil van der Woerd</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
In next video the music is generated according to visual motion and in previous video the image was generated according to the music. It seem to be not important but this details can make you look deeper into the audio visual design. Indeed, both cases can be beautiful but this small details can make you see and percept the flow of the authors mind.<br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6132324&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6132324&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/6132324">ARTIFICIAL PARADISE,INC.</a> from <a href="http://vimeo.com/frenayjp">Jp Frenay</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=7450851&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=7450851&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/7450851">Trigger Event</a> from <a href="http://vimeo.com/user1678659">FKSD</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
Next and previous masterpieces belongs to <a href="http://www.fksd-design.de/">Toni Polkowski</a>.<br />
</br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=7360575&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=7360575&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/7360575">Taeguk</a> from <a href="http://vimeo.com/user1678659">FKSD</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6988731&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6988731&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/6988731">Playgrounds festival</a> from <a href="http://vimeo.com/user1754856">Rogier Hendriks</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4313015&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4313015&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/4313015">Place - Plus+ 2007</a> from <a href="http://vimeo.com/clusta">Clusta</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4965201&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4965201&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/4965201">AEC Facade Visualization</a> from <a href="http://vimeo.com/clausmeister">Claus Helfenschneider</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
Next one is a work of Japanese artists<br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=7681282&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=7681282&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/7681282">Urban Abstract</a> from <a href="http://vimeo.com/musuta">Musuta</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
This one is a bit chaotic but its live performance and its nice and I included it:<br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4071399&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4071399&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/4071399">Himuro Yoshiteru w/Takafumi Tsuchiya A/V Liveset quick edit promo sample.</a> from <a href="http://vimeo.com/takcom">takcom™</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
Many thanks to guys from <a href="http://www.cromoart.de/wordpress/">Cromoart</a> for helping me choose this masterpieces.<br />
</br></p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=356</wfw:commentRss>
		</item>
		<item>
		<title>Audio visual design</title>
		<link>http://alexgblog.com/?p=331</link>
		<comments>http://alexgblog.com/?p=331#comments</comments>
		<pubDate>Fri, 29 Jan 2010 22:56:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[3D designing]]></category>

		<category><![CDATA[Algorithms]]></category>

		<category><![CDATA[Graphic design]]></category>

		<category><![CDATA[3D]]></category>

		<category><![CDATA[graphics]]></category>

		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://mybestblog.comyr.com/?p=331</guid>
		<description><![CDATA[We, the artist of digital era have the opportunity to use motion graphics and sound design to express. In this post I gathered videos of motion design that impressed me or I consider a source of inspiration. Of course the main source of inspiration must be your vision and feelings but its useful to see [...]]]></description>
			<content:encoded><![CDATA[<p>We, the artist of digital era have the opportunity to use motion graphics and sound design to express. In this post I gathered videos of motion design that impressed me or I consider a source of inspiration. Of course the main source of inspiration must be your vision and feelings but its useful to see what other people do. Lets watch, enjoy&#8230; <span id="more-331"></span><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5405849&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=5405849&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/5405849">Short Film / Onedreamrush / 42 Below Vodka / China</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
In this edition I placed products of Universal Everything studio which I consider an extremely innovative and talented guys, they use all kind of digital graphics, algorithm motion, post production. Also this studio  performs exclusive sound design, mostly devoid of cliches.<br />
</br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5393745&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=5393745&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/5393745">MTV / Surprise x 1000% / Jewels and Oil</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3497287&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3497287&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/3497287">Designing Seeds / Exhibition / SIAD Gallery, Sheffield</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2782153&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2782153&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/2782153">Nokia E71 launch / 6 Billion People, 6 Billion Colours</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1952826&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1952826&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/1952826">MTV / History of Dance</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
As you can see even with simple technical solutions which are available in real time rendering you can create amazing visual sound experience design. In this video its not interactive but it could be.<br />
</br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1920984&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1920984&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/1920984">Nokia / Leave No Trace / Video Ringtones</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1919768&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1919768&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/1919768">George Michael / 25 Live / Freedom</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1919712&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1919712&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/1919712">Audi TT Launch / Viral Film</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
These are images generated proportional to sound but you can make in your artworks parallel designing of sound and visual or even sound generated by image. Of course you can make interactive artwork which will consist of visual and audio data generated proportional to users activity. I want to make such work, if someone wants to join me, write it in comments and I will respond.<br />
</br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1198743&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1198743&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/1198743">Advanced Beauty 5 of 18 / Directed by Mate Steinforth</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></br><br />
</br><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1197991&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1197991&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/1197991">Advanced Beauty 3 of 18 / Directed by Karsten Schmidt</a> from <a href="http://vimeo.com/universal">Universal Everything</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=331</wfw:commentRss>
		</item>
		<item>
		<title>Advanced loading external files in AS3.0</title>
		<link>http://alexgblog.com/?p=305</link>
		<comments>http://alexgblog.com/?p=305#comments</comments>
		<pubDate>Tue, 19 Jan 2010 23:49:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Algorithms]]></category>

		<guid isPermaLink="false">http://mybestblog.comyr.com/?p=305</guid>
		<description><![CDATA[Loading external clips is very important part of every actionScripter work. In this post I will give you detailed information about handling the loading of external clips and images process. Reading this post you will learn how to use different locations, load crossDomain policies, start and stop the loading, manage the loaded data and loader [...]]]></description>
			<content:encoded><![CDATA[<p>Loading external clips is very important part of every actionScripter work. In this post I will give you detailed information about handling the loading of external clips and images process. Reading this post you will learn how to use different locations, load crossDomain policies, start and stop the loading, manage the loaded data and loader events and errors. Also you will learn to make preloaders and obser<span id="more-305"></span>ve the loading advance.<br />
<!--more--><br />
Here is some very usefull documentation<br />
<a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Loader.html">http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Loader.html</a><br />
<a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/LoaderInfo.html">http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/LoaderInfo.html</a><br />
notice that I describe here loading of clips and images, if you want to load textual data you must use URLLoader:<br />
<a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/net/URLLoader.html">http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/net/URLLoader.html</a></p>
<p><strong><br />
package {<br />
import flash.display.MovieClip<br />
import flash.events.Event<br />
import flash.events.IEventDispatcher<br />
import flash.events.ProgressEvent<br />
import flash.events.IOErrorEvent<br />
import flash.events.MouseEvent<br />
import flash.display.Loader<br />
import flash.net.URLRequest<br />
import flash.text.TextField<br />
import flash.system.Security<br />
import flash.utils.setTimeout</p>
<p>public class AdvancedLoading extends MovieClip {<br />
//creating an instance of Loader<br />
private var loader:Loader=new Loader()<br />
private var url:String=&#8221;image.jpg&#8221;<br />
//creating an instance of URLRequest<br />
private var theRequest:URLRequest=new URLRequest(url)<br />
//creating a textField which will reflect the loading progress<br />
private var progressTxt:TextField=new TextField()<br />
//also we will make a timer which will close loader connection after some time left<br />
var closeLoadingID:uint = setTimeout(closeLoader, 3000)</p>
<p>public function AdvancedLoading() {<br />
//initialisng listeners of the loader<br />
  initListeners(loader.contentLoaderInfo)<br />
//if you load content from alien web site you can load a crossDomain policy XML<br />
  try{Security.loadPolicyFile(&#8221;http://someAdress.com/crossdomain.xml&#8221;)}catch(Error){}<br />
//start loading<br />
  loader.load(theRequest)<br />
  addChild(progressTxt)};</p>
<p>private function initListeners(dispatcher:IEventDispatcher):void {<br />
  dispatcher.addEventListener(Event.INIT, onInit)<br />
  dispatcher.addEventListener(ProgressEvent.PROGRESS, onProgress)<br />
  dispatcher.addEventListener(Event.COMPLETE, onComplete)<br />
  dispatcher.addEventListener(IOErrorEvent.IO_ERROR, onIOError)  };</p>
<p>function onInit(evt:Event):void{<br />
/*this function will trigger when first frame of the loaded swf will be loaded. When loading an image INIT event is the same as COMPLETE*/<br />
	};</p>
<p>private function onProgress(event:ProgressEvent):void {<br />
//lets show the progress event in percents<br />
  var perc:uint=(event.bytesLoaded/event.bytesTotal)*100<br />
  progressTxt.text=&#8221;Loading &#8220;+perc.toString()+&#8221;%&#8221; };</p>
<p>private function onComplete(event:Event):void {<br />
//when loading is completed you can access loaded staff:<br />
  var loadedStaff:*=loader.content<br />
  addChild(loadedStaff)<br />
//here I do center loaded staff on x axis<br />
  loadedStaff.x=stage.stageWidth/2-loadedStaff.width/2<br />
//lets delete the closing timer<br />
  clearTimeout(closeLoadingID)  };</p>
<p>private function onIOError(evt:IOErrorEvent):void {<br />
  trace(&#8221;ioErrorHandler: &#8220;+evt) };</p>
<p>private function closeLoader(evt:Event):void{<br />
//this function triggers if the time interval runs before the staff is loaded<br />
  loader.close()  };  </p>
<p>}  }</strong></p>
<p>Download the <a href="http://mybestblog.comyr.com/wp-content/uploads/2010/01/AdvancedLoading.as">source</a> and use it in any good purposes. <a href="http://mybestblog.comyr.com/wp-content/uploads/2010/01/AdvancedLoading.as">Download source(press here)</a></p>
<p>My friend Andre Venancio wrote a class which could be usefull http://blog.andrevenancio.com/2010/02/19/load-manager-v1/</p>
]]></content:encoded>
			<wfw:commentRss>http://alexgblog.com/?feed=rss2&amp;p=305</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
