<?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>Make me pulse - Making a better life for web developer since 2006 &#187; Flash 8</title>
	<atom:link href="http://blog.makemepulse.com/category/flash-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.makemepulse.com</link>
	<description>Making a better life for web developer since 2006</description>
	<lastBuildDate>Thu, 22 Apr 2010 15:56:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://blog.makemepulse.com/?pushpress=hub'/>
		<item>
		<title>FlashDevelop 3.0.0 Beta7 released</title>
		<link>http://blog.makemepulse.com/2008/04/21/flashdevelop-300-beta7-released/</link>
		<comments>http://blog.makemepulse.com/2008/04/21/flashdevelop-300-beta7-released/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 09:52:05 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Flash CS3]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2008/04/21/flashdevelop-300-beta7-released/</guid>
		<description><![CDATA[This release contains Flex SDK related fixes/updates, UI stability improvements and few new features. Happy coding!
Changes:
* Flex/AIR completion updated
* Improved AIR projects with certification &#38; packaging scripts
* Basic compatibility with Adobe Flex Builder projects (open read-only / import FB projects)
* Automatic output in &#8220;bin-debug&#8221; vs. &#8220;bin&#8221; depending on the selected &#8220;Debug&#8221; vs. &#8220;Release&#8221; configuration
* Flash [...]]]></description>
			<content:encoded><![CDATA[<p>This release contains Flex SDK related fixes/updates, UI stability improvements and few new features. Happy coding!</p>
<p>Changes:</p>
<p>* Flex/AIR completion updated<br />
* Improved AIR projects with certification &amp; packaging scripts<br />
* Basic compatibility with Adobe Flex Builder projects (open read-only / import FB projects)<br />
* Automatic output in &#8220;bin-debug&#8221; vs. &#8220;bin&#8221; depending on the selected &#8220;Debug&#8221; vs. &#8220;Release&#8221; configuration<br />
* Flash compiler errors are captured and clickable in FlashDevelop<br />
* Supports building current Flash project or current FLA<br />
* View modified lines, you can enable it from the program settings<br />
* New &#8220;test project&#8221; option: open a document (ie. html page) instead of the SWF file<br />
* Optionally define the main class&#8217; package when creating a project<br />
* View code regions &amp; improved sorting options in Outline view<br />
* Support for trace capture in Quick Build (&#8220;-debug&#8221; option)<br />
* Support for high-dpi setting and customizable UI fonts<br />
* Match case option added to quick find<br />
* Improved code generators (override, interface implementation)</p>
<p><a href="http://www.flashdevelop.org/">More Infos</a><br />
<a href="http://www.flashdevelop.org/downloads/releases/FlashDevelop-3.0.0-Beta7.exe"><br />
Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2008/04/21/flashdevelop-300-beta7-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Youtube Player Loader Class in AS2</title>
		<link>http://blog.makemepulse.com/2008/04/04/youtube-player-loader-class-in-as2/</link>
		<comments>http://blog.makemepulse.com/2008/04/04/youtube-player-loader-class-in-as2/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 12:10:01 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Pixlib]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2008/04/04/youtube-player-loader-class-in-as2/</guid>
		<description><![CDATA[Just a little class that I made this week to load the youtube flash player in a flash. This class is made in action script 2 with the help of the pixlib. 

import com.bourre.commands.Delegate;
import com.bourre.events.BasicEvent;
import com.bourre.events.EventType;
import com.bourre.events.NumberEvent;
import com.bourre.visual.MovieClipHelper;
import com.bourre.commands.CommandManagerMS;
import com.bourre.core.HashCodeFactory;
/**
* @author Rajabaly Nicolas
* @version 0.1
*/

class YoutubeLoader extends MovieClipHelper {

	private var _mc:MovieClip;
	private var _scale:Number;
	private var _commandMs:CommandManagerMS;
	private [...]]]></description>
			<content:encoded><![CDATA[<p>Just a little class that I made this week to load the youtube flash player in a flash. This class is made in action script 2 with the help of the <a href="http://osflash.org/projects/pixlib">pixlib</a>. </p>
<pre langage="Actionscript">
import com.bourre.commands.Delegate;
import com.bourre.events.BasicEvent;
import com.bourre.events.EventType;
import com.bourre.events.NumberEvent;
import com.bourre.visual.MovieClipHelper;
import com.bourre.commands.CommandManagerMS;
import com.bourre.core.HashCodeFactory;
/**
* @author Rajabaly Nicolas
* @version 0.1
*/

class YoutubeLoader extends MovieClipHelper {

	private var _mc:MovieClip;
	private var _scale:Number;
	private var _commandMs:CommandManagerMS;
	private var _delCheckPlayer:Delegate;
	private var _mcl:MovieClipLoader;
	private var _listener:Object;
	//
	static public var LOAD_START:EventType = new EventType("onLoadYoutubePlayerStart");
	static public var LOAD_PROGRESS:EventType = new EventType("onLoadYoutubePlayerProgress");
	static public var LOAD_COMPLETE:EventType = new EventType("onLoadYoutubePlayerComplete");
	static public var PLAYER_IS_READY:EventType = new EventType("onYoutubePlayerReady");
	static public var PLAYERLOADER_IS_OPEN:EventType = new EventType("onYoutubeLoaderOpen");
	static public var PLAYERLOADER_IS_CLOSE:EventType = new EventType("onYoutubeLoaderClose");

	public function YoutubeLoader(name:String, mc:MovieClip) {
		super(name, mc);
		_commandMs = CommandManagerMS.getInstance();
		_delCheckPlayer = new Delegate(this, _checkPlayer);
		System.security.allowDomain("http://youtube.com");
	}

	private function _checkPlayer():Void{
		if (_mc.isPlayerLoaded()) {
			_commandMs.remove(_delCheckPlayer);
			_mc._alpha=100;
			_mc._xscale = _mc._yscale = _scale;
			_oEB.dispatchEvent(new BasicEvent(PLAYER_IS_READY));
		}
	}

	private function _loadProgressPlayer(myTarget:MovieClip, myBytesLoaded:Number, myBytesTotal:Number):Void {
		var myPrcent:Number = Math.round(myBytesLoaded / myBytesTotal * 100);
		_oEB.dispatchEvent(new NumberEvent(LOAD_PROGRESS, myPrcent));
	}

	private function _loadCompletePlayer():Void {
		_oEB.dispatchEvent(new BasicEvent(LOAD_COMPLETE));
		_commandMs.delay(_delCheckPlayer, 250);
	}

	private function _loadStartPlayer():Void {
		_oEB.dispatchEvent(new BasicEvent(LOAD_START));
	}

	public function open(myId:String, myScale:Number):Void {
		_scale = myScale;
		_mc = view.createEmptyMovieClip(HashCodeFactory.getNextName(), 1);
		_mc._alpha=0;
		_mcl = new MovieClipLoader();
		_listener = new Object();
		_listener.onLoadStart = Delegate.create(this, _loadStartPlayer);
		_listener.onLoadProgress = Delegate.create(this, _loadProgressPlayer);
		_listener.onLoadInit = Delegate.create(this, _loadCompletePlayer);
		_mcl.addListener(_listener);
		_mcl.loadClip("http://youtube.com/v/" + myId, _mc);
		_oEB.dispatchEvent(new BasicEvent(PLAYERLOADER_IS_CLOSE));
	}

	public function release():Void {
		stopAllSounds();
		_mc.removeMovieClip();
		_mcl.removeListener(_listener);
		_oEB.dispatchEvent(new BasicEvent(PLAYERLOADER_IS_OPEN));
		super.release();
	}

}
</pre>
<p>To use it in flash :</p>
<pre langage="Actionscript">
import YoutubeLoader;
import com.bourre.commands.Delegate;
import com.bourre.events.NumberEvent;
import com.bourre.events.BasicEvent;

var myLoader:YoutubeLoader=new YoutubeLoader("THENAMEOFTHELOADERINSTANCE",this.createEmptyMovieClip("loadertest",this.getNextHighestDepth()));
myLoader.addEventListener(YoutubeLoader.LOAD_START,Delegate.create(this,_loadStart));
myLoader.addEventListener(YoutubeLoader.LOAD_PROGRESS,Delegate.create(this,_loadprogress));
myLoader.addEventListener(YoutubeLoader.LOAD_COMPLETE,Delegate.create(this,_loadComplete));
myLoader.addEventListener(YoutubeLoader.PLAYER_IS_READY,Delegate.create(this,_playerReady));
myLoader.addEventListener(YoutubeLoader.PLAYERLOADER_IS_OPEN,Delegate.create(this,_playerLoaderOpen));
myLoader.addEventListener(YoutubeLoader.PLAYERLOADER_IS_CLOSE,Delegate.create(this,_playerLoaderClose));
myLoader.open("37t52UpCaGE",200);
//myLoader.close();

function _loadStart(e:BasicEvent):Void{
	trace("_loadStart");
}

function _loadprogress(e:NumberEvent):Void{
	trace("_loadprogress"+e.getNumber());
}

function _loadComplete(e:BasicEvent):Void{
	trace("_loadComplete");
}

function _playerReady(e:BasicEvent):Void{
	trace("_playerReady");
}

function _playerLoaderOpen(e:BasicEvent):Void{
	trace("_playerLoaderOpen");
}

function _playerLoaderClose(e:BasicEvent):Void{
	trace("_playerLoaderClose");
}
</pre>
<p>Enjoy <img src='http://blog.makemepulse.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2008/04/04/youtube-player-loader-class-in-as2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Contributor on this blog</title>
		<link>http://blog.makemepulse.com/2008/03/04/contributor-on-this-blog/</link>
		<comments>http://blog.makemepulse.com/2008/03/04/contributor-on-this-blog/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 12:18:31 +0000</pubDate>
		<dc:creator>Antoine Ughetto</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Our lab]]></category>
		<category><![CDATA[Our lifes]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Xhtml & CSS]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2008/03/04/contributor-on-this-blog/</guid>
		<description><![CDATA[Hi,
After a long reflexion, we decide to open this blog to new contributors. So if you want to post something on developement (PHP, Javascript, AS, Android, Flex, Air, Processing, &#8230;&#8230;.) sometimes but you don&#8217;t want to have your own blog, you can become a contributor here to submit your articles !
If you are interested, send [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>After a long reflexion, we decide to open this blog to new contributors. So if you want to post something on developement (PHP, Javascript, AS, Android, Flex, Air, Processing, &#8230;&#8230;.) sometimes but you don&#8217;t want to have your own blog, you can become a contributor here to submit your articles !<br />
If you are interested, send us a mail to antoine.ughetto _AT_ gmail.com</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2008/03/04/contributor-on-this-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tips: How to deserialize an xml in object with pixlib</title>
		<link>http://blog.makemepulse.com/2008/02/19/tips-how-to-deserialize-an-xml-in-object-with-pixlib/</link>
		<comments>http://blog.makemepulse.com/2008/02/19/tips-how-to-deserialize-an-xml-in-object-with-pixlib/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 12:34:42 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Pixlib]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2008/02/19/tips-how-to-deserialize-an-xml-in-object-with-pixlib/</guid>
		<description><![CDATA[Pixlib is an AS 2.0 framework developed by Francis Bourre.
It&#8217;s designed to support event handling, logging, data prÃ©loading, managing sound and video, making transitions, data holders and data structures, patterns implementations&#8230; (more infos here).
The svn repository is here to download it.
Working with the childnodes syntax is always constraining. It&#8217;s why I prefer to deserialize my [...]]]></description>
			<content:encoded><![CDATA[<p>Pixlib is an AS 2.0 framework developed by <a href="http://www.tweenpix.net/blog/">Francis Bourre</a>.<br />
It&#8217;s designed to support event handling, logging, data prÃ©loading, managing sound and video, making transitions, data holders and data structures, patterns implementations&#8230; (more infos <a href="http://osflash.org/projects/pixlib">here</a>).<br />
The svn repository is <a href="http://svn1.cvsdude.com/osflash/pixlib/trunk/framework/">here</a> to download it.</p>
<p>Working with the childnodes syntax is always constraining. It&#8217;s why I prefer to deserialize my xml in object to work more easily.</p>
<p>For example with this xml :</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;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;config_flash<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;lang<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>fr<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/lang<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;country<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>fr<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/country<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;width<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>990<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/width<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;height<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>690<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/height<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;min_width<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>960<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/min_width<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;min_height<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>590<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/min_height<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;flash_version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>8<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/flash_version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;use_express_install</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;boolean&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/use_express_install<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;flash_bgcolor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><span style="color: #339933;">&lt;![CDATA[#000000]]&gt;</span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/flash_bgcolor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;swf_name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>loader<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/swf_name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;allow_languages<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;language</span> <span style="color: #000066;">c</span>=<span style="color: #ff0000;">&quot;uk&quot;</span> <span style="color: #000066;">l</span>=<span style="color: #ff0000;">&quot;en&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;language</span> <span style="color: #000066;">c</span>=<span style="color: #ff0000;">&quot;us&quot;</span> <span style="color: #000066;">l</span>=<span style="color: #ff0000;">&quot;en&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;language</span> <span style="color: #000066;">c</span>=<span style="color: #ff0000;">&quot;be&quot;</span> <span style="color: #000066;">l</span>=<span style="color: #ff0000;">&quot;du&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;language</span> <span style="color: #000066;">c</span>=<span style="color: #ff0000;">&quot;fr&quot;</span> <span style="color: #000066;">l</span>=<span style="color: #ff0000;">&quot;fr&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/allow_languages<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/config_flash<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>With the pixlib, I can simply deserialize it in object like this :</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">bourre</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">libs</span>.<span style="color: #006600;">XMLToObject</span>;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">bourre</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">libs</span>.<span style="color: #006600;">XMLToObjectEvent</span>;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">bourre</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">libs</span>.<span style="color: #006600;">XMLToObjectDeserializer</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> _pixObj:<span style="color: #0066CC;">Object</span>;
<span style="color: #000000; font-weight: bold;">var</span> _path:<span style="color: #0066CC;">String</span>=<span style="color: #ff0000;">&quot;thexml.xml&quot;</span>;
<span style="color: #000000; font-weight: bold;">function</span> _loadXML<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span><span style="color: #66cc66;">&#123;</span>
	XMLToObjectDeserializer.<span style="color: #006600;">PUSHINARRAY_IDENTICAL_NODE_NAMES</span> = <span style="color: #000000; font-weight: bold;">true</span>;
        XMLToObjectDeserializer.<span style="color: #006600;">DESERIALIZE_ATTRIBUTES</span> = <span style="color: #000000; font-weight: bold;">true</span>;
	<span style="color: #000000; font-weight: bold;">var</span> xto : XMLToObject = <span style="color: #000000; font-weight: bold;">new</span> XMLToObject<span style="color: #66cc66;">&#40;</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>;
	xto.<span style="color: #006600;">setAntiCache</span><span style="color: #66cc66;">&#40;</span> <span style="color: #000000; font-weight: bold;">false</span> <span style="color: #66cc66;">&#41;</span>;
	xto.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> XMLToObject.<span style="color: #006600;">onLoadInitEVENT</span>, <span style="color: #0066CC;">this</span>, _onXmlDataLoad <span style="color: #66cc66;">&#41;</span>;
	xto.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span> _path <span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> _onXmlDataLoad<span style="color: #66cc66;">&#40;</span> <span style="color: #0066CC;">e</span> : XMLToObjectEvent <span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">Void</span> <span style="color: #66cc66;">&#123;</span>
	_pixObj=<span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	_pixObj =  <span style="color: #0066CC;">e</span>.<span style="color: #006600;">getObject</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> ;	
         <span style="color: #0066CC;">trace</span> <span style="color: #66cc66;">&#40;</span>_pixObj.<span style="color: #006600;">lang</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">// fr</span>
         <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>pixObj.<span style="color: #006600;">min_width</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//960</span>
         <span style="color: #0066CC;">trace</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">typeof</span><span style="color: #66cc66;">&#40;</span>_pixObj.<span style="color: #006600;">use_express_install</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//boolean</span>
	 <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>_pixObj.<span style="color: #006600;">allow_languages</span>.<span style="color: #0066CC;">language</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">c</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//uk</span>
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
_loadXML<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>As you can see in example, it&#8217;s very easy to use those class to deserialize an xml in object.<br />
The first step is to set some static var in the XMLToObjectDeserializer class.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">XMLToObjectDeserializer.<span style="color: #006600;">PUSHINARRAY_IDENTICAL_NODE_NAMES</span></pre></div></div>

<p> (default is false) make an array if they are identical node names in your xml. In the example, you can see that they are 4 &#8220;language&#8221; node and to access them you just have to manipulate the &#8220;langage&#8221; node as an array.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">XMLToObjectDeserializer.<span style="color: #006600;">DESERIALIZE_ATTRIBUTES</span></pre></div></div>

<p> (default is false) deserialize attributes. The node with attributes become an object.</p>
<p>With the attribute &#8220;type&#8221; you can force the typping of the nodeValue. For example :</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"> <span style="color: #0066CC;">trace</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">typeof</span><span style="color: #66cc66;">&#40;</span>_pixObj.<span style="color: #006600;">use_express_install</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//Boolean</span></pre></div></div>

<p>Because the node was</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;use_express_install</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;boolean&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/use_express_install<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>but if the node is :</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;use_express_install</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/use_express_install<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"> <span style="color: #0066CC;">trace</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">typeof</span><span style="color: #66cc66;">&#40;</span>_pixObj.<span style="color: #006600;">use_express_install</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//String</span></pre></div></div>

<p>After setting those vars, create an instance of XMLToObject and load the xml with the &#8220;load&#8221; method . You can set the anticache to true or false( a timestamp is added to the url of your xml if the anticache is true).<br />
If you want you have some events to listen during the loading of the xml :</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">XMLToObject.<span style="color: #006600;">onErrorEVENT</span>
XMLToObject.<span style="color: #006600;">onLoadInitEVENT</span>
XMLToObject.<span style="color: #006600;">onLoadProgressEVENT</span>
XMLToObject.<span style="color: #006600;">onTimeOutEVENT</span></pre></div></div>

<p>When the xml is loaded, you just have to push the result in an object and that&#8217;s all !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2008/02/19/tips-how-to-deserialize-an-xml-in-object-with-pixlib/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tips: Using the Delegate class to manage scope</title>
		<link>http://blog.makemepulse.com/2008/02/18/tips-using-the-delegate-class-to-manage-scope/</link>
		<comments>http://blog.makemepulse.com/2008/02/18/tips-using-the-delegate-class-to-manage-scope/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 12:41:36 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2008/02/18/tips-using-the-delegate-class-to-manage-scope/</guid>
		<description><![CDATA[Basically, whenever you are passing around a Function object in Actionscript, that object is decoupled from whatever class it was written for. What this means that if that function has references to &#8220;this&#8221;, these references will refer to whichever object that will be the execution scope of the function when the function will execute.
For example, [...]]]></description>
			<content:encoded><![CDATA[<p>Basically, whenever you are passing around a Function object in Actionscript, that object is decoupled from whatever class it was written for. What this means that if that function has references to &#8220;this&#8221;, these references will refer to whichever object that will be the execution scope of the function when the function will execute.</p>
<p>For example, suppose you are creating a Mouse Listener :</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> mListener:<span style="color: #0066CC;">Object</span>=<span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     mListener.<span style="color: #0066CC;">onMouseDown</span>=<span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span><span style="color: #66cc66;">&#123;</span>
         <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">// [Object Object]</span>
    <span style="color: #66cc66;">&#125;</span>
    <span style="color: #0066CC;">Mouse</span>.<span style="color: #0066CC;">addListener</span><span style="color: #66cc66;">&#40;</span>mListener<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Here, &#8220;this&#8221; is a reference to the mouseListener<br />
but if you use the mx.utils.Delegate class :</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">utils</span>.<span style="color: #006600;">Delegate</span>;
<span style="color: #000000; font-weight: bold;">var</span> mListener:<span style="color: #0066CC;">Object</span>=<span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     mListener.<span style="color: #0066CC;">onMouseDown</span>=Delegate.<span style="color: #006600;">create</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>,mousePressDown<span style="color: #66cc66;">&#41;</span>;
     <span style="color: #000000; font-weight: bold;">function</span> mousePressDown<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span><span style="color: #66cc66;">&#123;</span>
        <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">// _level0</span>
    <span style="color: #66cc66;">&#125;</span>
    <span style="color: #0066CC;">Mouse</span>.<span style="color: #0066CC;">addListener</span><span style="color: #66cc66;">&#40;</span>mListener<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Here, &#8220;this&#8221; is a reference to the context of the mouse listener.</p>
<p>The Delegate class is used to specify this context(or scope). In the flash documentation you can read : &#8220;The Delegate class creates a function wrapper to let you run a function in the context of the original object, rather than in the context of the second object, when you pass a function from one object to another.&#8221;</p>
<p>If you open the class you will see (luckily, this class is only a few line long) :</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> mx.<span style="color: #006600;">utils</span>.<span style="color: #006600;">Delegate</span> <span style="color: #0066CC;">extends</span> <span style="color: #0066CC;">Object</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/**
	Creates a functions wrapper for the original function so that it runs 
	in the provided context.
	@parameter obj Context in which to run the function.
	@paramater func Function to run.
	*/</span>
	<span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> create<span style="color: #66cc66;">&#40;</span>obj:<span style="color: #0066CC;">Object</span>, func:<span style="color: #000000; font-weight: bold;">Function</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #000000; font-weight: bold;">Function</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">var</span> f = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">target</span> = <span style="color: #0066CC;">arguments</span>.<span style="color: #0066CC;">callee</span>.<span style="color: #0066CC;">target</span>;
			<span style="color: #000000; font-weight: bold;">var</span> func = <span style="color: #0066CC;">arguments</span>.<span style="color: #0066CC;">callee</span>.<span style="color: #006600;">func</span>;
&nbsp;
			<span style="color: #b1b100;">return</span> func.<span style="color: #0066CC;">apply</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">target</span>, <span style="color: #0066CC;">arguments</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>;
&nbsp;
		f.<span style="color: #0066CC;">target</span> = obj;
		f.<span style="color: #006600;">func</span> = func;
&nbsp;
		<span style="color: #b1b100;">return</span> f;
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> Delegate<span style="color: #66cc66;">&#40;</span>f:<span style="color: #000000; font-weight: bold;">Function</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		func = f;
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> func:<span style="color: #000000; font-weight: bold;">Function</span>;
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> createDelegate<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;">Function</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">return</span> create<span style="color: #66cc66;">&#40;</span>obj, func<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>In ActionScript, each function has a method &#8220;apply&#8221; which takes two arguments apply(scope, arguments), the scope of the function, and all arguments given to the function when the function is called.</p>
<p>The create() method of the class Delegate, takes two arguments, the scope in which the function will be executed and the function to execute and returns a reference to another function, which is a &#8220;wrapper&#8221; of the original.<br />
When the delegate is called, it simply executes the original function in the desired scope with the help of the apply method !<br />
It&#8217;s a static method, you did not need to create an instance of the Delegate object in order for it to work. You can simply call it directly as mx.utils.Delegate.create() which returned you the new &#8220;delegated&#8221; function.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2008/02/18/tips-using-the-delegate-class-to-manage-scope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Official site for makemepulse.com</title>
		<link>http://blog.makemepulse.com/2007/11/08/official-site-for-makemepulsecom/</link>
		<comments>http://blog.makemepulse.com/2007/11/08/official-site-for-makemepulsecom/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 12:03:04 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Our lifes]]></category>
		<category><![CDATA[Papervision3D]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/11/08/official-site-for-makemepulsecom/</guid>
		<description><![CDATA[We are proud to announce that Makemepulse.com have finally is start page !
This website was made in Flash and Papervision 3D.

Makemepulse have also a logo made by Enila !

Please Check it !!!!!! And leave us a comment to say if you love it or not !
Edit : The Blog as also have a revamp !
]]></description>
			<content:encoded><![CDATA[<p>We are proud to announce that Makemepulse.com have finally is start page !<br />
This website was made in Flash and Papervision 3D.</p>
<p style="text-align: center"><img src="http://blog.makemepulse.com/wp-content/uploads/2007/11/screenmmp.jpg" /></p>
<p>Makemepulse have also a logo made by <a href="http://www.enila.fr/">Enila</a> !</p>
<p style="text-align: center"><img src="http://blog.makemepulse.com/wp-content/uploads/2007/11/logommp.jpg" /></p>
<p>Please <a href="http://www.makemepulse.com">Check it</a> !!!!!! And leave us a comment to say if you love it or not !</p>
<p>Edit : The Blog as also have a revamp !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/11/08/official-site-for-makemepulsecom/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SWFMill, Xml file creator for imported fonts with Air</title>
		<link>http://blog.makemepulse.com/2007/10/22/swfmill-xml-file-creator-for-imported-fonts-with-air/</link>
		<comments>http://blog.makemepulse.com/2007/10/22/swfmill-xml-file-creator-for-imported-fonts-with-air/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 09:57:49 +0000</pubDate>
		<dc:creator>Antoine Ughetto</dc:creator>
				<category><![CDATA[Air]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 8]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/10/22/swfmill-xml-file-creater-for-imported-fonts-with-air/</guid>
		<description><![CDATA[When you use swfmill to import fonts, you have to create Xml configuration files. So we make a small Air app where you can drag&#38;drop your xml files with all characters and your ttf files. The Air app will select distinct characters and generate an xml file on your desktop.
So just try and give us [...]]]></description>
			<content:encoded><![CDATA[<p>When you use <a href="http://swfmill.org/" target="_blank">swfmill</a> to import fonts, you have to create Xml configuration files. So we make a small Air app where you can drag&amp;drop your xml files with all characters and your ttf files. The Air app will select distinct characters and generate an xml file on your desktop.</p>
<p>So just <a href="http://blog.makemepulse.com/wp-content/uploads/2007/10/swfmill.air" title="SWFMILL.AIR">try and give us</a> feedback (you need last Air player) !</p>
<p style="text-align: center"><img src="http://blog.makemepulse.com/wp-content/uploads/2007/10/swfmill.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/10/22/swfmill-xml-file-creator-for-imported-fonts-with-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to retrieve image from a Quicktime VR for a Flash Panorama</title>
		<link>http://blog.makemepulse.com/2007/10/10/how-to-retrieve-image-from-a-quicktime-vr-for-a-flash-panorama/</link>
		<comments>http://blog.makemepulse.com/2007/10/10/how-to-retrieve-image-from-a-quicktime-vr-for-a-flash-panorama/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 09:28:06 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/10/10/how-to-retrieve-image-from-a-quicktime-vr-for-a-flash-panorama/</guid>
		<description><![CDATA[I receive a lot of mails which ask me how I generate the montage I specified in my Flash AS2 360 Panorama.
For example, this morning a mail from Sunil :
Do you have any links or tips on how to create the photo montage? How
did you shoot your photos? I don&#8217;t see a tripod. Do you [...]]]></description>
			<content:encoded><![CDATA[<p>I receive a lot of mails which ask me how I generate the montage I specified in my <a href="http://blog.makemepulse.com/2007/06/28/tutorial-simple-360-panorama-with-papervision-in-as2/">Flash AS2 360 Panorama</a>.</p>
<p>For example, this morning a mail from Sunil :<br />
<em>Do you have any links or tips on how to create the photo montage? How<br />
did you shoot your photos? I don&#8217;t see a tripod. Do you need a special<br />
lens or can you use a regular point and shoot camera?</p>
<p>I&#8217;m familiar with quicktime vr but not sure how to make an export that<br />
would generate the montage you specified in your tutorial.</em></p>
<p>I did not shoot those pictures, I can tell you how if you need a special lens or anything else.<br />
I just take a Quicktime VR and export images from it with Quicktime. In 50% of cases, the VR gives you 6 images so it&#8217;s perfect for you but in other cases the VR can give you 10, 12 or more, pictures and you must make a montage in Photoshop.</p>
<p>To retrieve image from a Quictime VR I follow this video tutorial :</p>
<p><a href="http://www.qtbridge.com/LS/Tips/GetImagesFromVR/index.html">Export image from a Quicktime VR</a></p>
<p>Enjoy <img src='http://blog.makemepulse.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/10/10/how-to-retrieve-image-from-a-quicktime-vr-for-a-flash-panorama/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>YUI 2.3.0 Rich Text Editor Expriment with Yahoo Maps Embed</title>
		<link>http://blog.makemepulse.com/2007/08/06/yui-230-rich-text-editor-expriment-with-yahoo-maps-embed/</link>
		<comments>http://blog.makemepulse.com/2007/08/06/yui-230-rich-text-editor-expriment-with-yahoo-maps-embed/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 11:28:25 +0000</pubDate>
		<dc:creator>Antoine Ughetto</dc:creator>
				<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/08/06/yui-230-rich-text-editor-expriment-with-yahoo-maps-embed/</guid>
		<description><![CDATA[Last week, Yahoo has released a new version of YUI library with new components.
One of this component, the RTE (alias Rich Text Editor) is very interesting and powerfull&#8230; so i wanted to test it. I don&#8217;t have much idea on what to do with it&#8230; After few minutes (   ) I decided to [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, Yahoo has released a new version of <a href="http://blog.makemepulse.com/2007/08/01/yui-230-new-components/" target="_blank">YUI library with new components</a>.</p>
<p>One of this component, the RTE (alias Rich Text Editor) is very interesting and powerfull&#8230; so i wanted to test it. I don&#8217;t have much idea on what to do with it&#8230; After few minutes ( <img src='http://blog.makemepulse.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) I decided to make a RTE with a Yahoo Maps plugin (<a href="http://developer.yahoo.com/yui/examples/editor/flickr_editor_clean.html" target="_blank">YUI team has made one with FlickR</a>). Because I&#8217;m not a flash dev, i try to implement the Yahoo Maps Ajax API&#8230; but doesn&#8217;t work with the new YUI 2.0.3 so, i decided to use the Yahoo Maps Flash API!<br />
The YUI RTE is still in beta, so lots of featureÂ  has some problem to work as I want <img src='http://blog.makemepulse.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . In fact, Embed are correctly rendered when they are in the textarea as default value but if we had them with the execCommand, they are not rendered.<br />
So I had a small code in the editor-beta.js which rewrite a new iframe to render the embed (that&#8217;s not the good way but don&#8217; t have more time to find a better solution). This experimentation seems to work on Firefox but I don&#8217;t know on other browser&#8230;</p>
<p style="text-align: center"><img src="http://blog.makemepulse.com/wp-content/uploads/2007/08/rte.jpg" alt="RTE" /></p>
<p><a href="http://dev.makemepulse.com/yahoo_rte/#" target="_blank">Check It</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/08/06/yui-230-rich-text-editor-expriment-with-yahoo-maps-embed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial : Simple 360 Panorama with Papervision in AS2</title>
		<link>http://blog.makemepulse.com/2007/06/28/tutorial-simple-360-panorama-with-papervision-in-as2/</link>
		<comments>http://blog.makemepulse.com/2007/06/28/tutorial-simple-360-panorama-with-papervision-in-as2/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 11:22:59 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Our lab]]></category>
		<category><![CDATA[Papervision3D]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/06/28/tutorial-simple-360-panorama-with-papervision-in-as2/</guid>
		<description><![CDATA[How to make a simple 360 Panorama (quicktime VR like) with Papervision3D in AS2 ?
It&#8217;s very easy !
The first step : Getting Papervision
PaperVision3D is an open source project started by Carlos Ulloa. The most recent build of PaperVision can be retrieved from OSFlashâ€™s Subversion Repository (SVN) here.
The second step : Everybody need a montage :p
You [...]]]></description>
			<content:encoded><![CDATA[<p>How to make a simple 360 Panorama (quicktime VR like) with Papervision3D in AS2 ?</p>
<p>It&#8217;s very easy !</p>
<p><strong>The first step : Getting Papervision</strong></p>
<p>PaperVision3D is an open source project started by <a href="http://blog.papervision3d.org/" target="_blank">Carlos Ulloa</a>. The most recent build of PaperVision can be retrieved from OSFlashâ€™s Subversion Repository (SVN) <a href="http://svn1.cvsdude.com/osflash/papervision3d" target="_blank">here</a>.</p>
<p><strong>The second step : Everybody need a montage :p</strong></p>
<p>You can find some quicktime VR export or your can make your own. Just think that you must at the end make a cube (6 faces) like this :</p>
<p style="text-align: center"><img src="http://blog.makemepulse.com/wp-content/uploads/2007/06/cubic.png" alt="cubic.png" /></p>
<p><strong>The last step : Dev</strong></p>
<p>For a panorama you must export those6 faces of your cube in Bitmap and linked in your library. You can also load your face from external bitmap and make a bitmapData for each face.</p>
<p>Now you can realy start the dev.</p>
<p>- Make a empy movieclip and linked it to a class witch extended MovieClip class.</p>
<p>- Make a 3D Scene :</p>
<p><code>var  scene:MovieScene3D = new MovieScene3D(this);</code></p>
<p>&#8220;this&#8221; is your empty movieclip</p>
<p>- Make a camera :</p>
<p><code>var camera:FreeCamera3D = new FreeCamera3D();</code></p>
<p>- Make 6 differents textures with each face of the cube :</p>
<p><code>var texture:BitmapAssetMaterial = new BitmapAssetMaterial("face1");<br />
texture_b.oneSide = false;</code></p>
<p>the &#8220;face1&#8243; is your linked name of your bitmap on your library.</p>
<p>The property &#8220;oneSide&#8221; is a property of a BitmapAssetMaterial. It&#8217;s make a two faces textures if you set it at false.</p>
<p>- For each 6 textures make 6 planes :</p>
<p><code>var plane1:Plane = new Plane(texture, widh_img, height_img, nbFaces, nbFaces);</code></p>
<p>The nb faces for a plane is very  important because if you give a big number the 3D will be more precis but that make lag because it&#8217;s more informations wich must be treat by your processor.</p>
<p>- Push each plane to your scene :</p>
<p><code>scene.push(plane1);</code></p>
<p>- Place each plane to make a cube in 3D:</p>
<p><code>plane1.x = -wid_img/2;<br />
plane1.z = 0;<br />
plane1.rotationY =-90;</code></p>
<p>- Make a render to your camera :</p>
<p><code>scene.renderCamera(camera);</code></p>
<p>- That&#8217;s all ! Now you can apply a function in enterframe to make move your camera or your planes with the position of the mouse for example.</p>
<p>You can see the result <a href="http://dev.makemepulse.com/simple360Panorama/" target="_blank">here</a>.</p>
<p>You can download the source <a href="http://dev.makemepulse.com/simple360Panorama/simplePanorama.rar" target="_blank">here</a>.</p>
<p>Enjoy It!!</p>
<p>Edit : <a href="http://blog.makemepulse.com/2007/10/10/how-to-retrieve-image-from-a-quicktime-vr-for-a-flash-panorama/" target="_blank">http://blog.makemepulse.com/2007/10/10/how-to-retrieve-image-from-a-quicktime-vr-for-a-flash-panorama/</a> will help you for this panorama</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/06/28/tutorial-simple-360-panorama-with-papervision-in-as2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Last Fm Related Artist V3.0 with new feature</title>
		<link>http://blog.makemepulse.com/2007/06/08/last-fm-related-artist-v30-with-new-feature/</link>
		<comments>http://blog.makemepulse.com/2007/06/08/last-fm-related-artist-v30-with-new-feature/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 15:29:12 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Our lab]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/06/08/last-fm-related-artist-v30-with-new-feature/</guid>
		<description><![CDATA[WTF! A new version of Last Fm Related Artist!

Now you can click on related artist to make another research.
 Enjoy It 
]]></description>
			<content:encoded><![CDATA[<p>WTF! A new version of Last Fm Related Artist!</p>
<p><a href="http://blog.makemepulse.com/wp-content/uploads/2007/06/lastfmview.jpg" title="lastfmview.jpg"><img src="http://blog.makemepulse.com/wp-content/uploads/2007/06/lastfmview.jpg" alt="lastfmview.jpg" /></a></p>
<p>Now you can click on related artist to make another research.</p>
<p><a href="http://dev.makemepulse.com/lastFm3/" target="_blank"> Enjoy It </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/06/08/last-fm-related-artist-v30-with-new-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last Fm Related Artist V2.0</title>
		<link>http://blog.makemepulse.com/2007/05/31/last-fm-related-artist-v20/</link>
		<comments>http://blog.makemepulse.com/2007/05/31/last-fm-related-artist-v20/#comments</comments>
		<pubDate>Thu, 31 May 2007 15:40:43 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Our lab]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/05/31/last-fm-related-artist-v20/</guid>
		<description><![CDATA[Just some optimisation and another skin :p
Enjoy It 
]]></description>
			<content:encoded><![CDATA[<p>Just some optimisation and another skin :p</p>
<p><a href="http://dev.makemepulse.com/lastFm2/" target="_blank">Enjoy It </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/05/31/last-fm-related-artist-v20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last FM Related Artist</title>
		<link>http://blog.makemepulse.com/2007/05/30/last-fm-related-artist/</link>
		<comments>http://blog.makemepulse.com/2007/05/30/last-fm-related-artist/#comments</comments>
		<pubDate>Wed, 30 May 2007 14:25:19 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Our lab]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/05/30/last-fm-related-artist/</guid>
		<description><![CDATA[Just a simple test to show you that we are not dead ;p
Peace.
Check It 
]]></description>
			<content:encoded><![CDATA[<p>Just a simple test to show you that we are not dead ;p</p>
<p>Peace.</p>
<p><a href="http://dev.makemepulse.com/lastFm/" target="_blank">Check It </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/05/30/last-fm-related-artist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlickR Roller</title>
		<link>http://blog.makemepulse.com/2007/02/20/flickr-roller/</link>
		<comments>http://blog.makemepulse.com/2007/02/20/flickr-roller/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 23:52:56 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Our lab]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/02/20/flickr-roller/</guid>
		<description><![CDATA[Some Eyes Candy made with flash 8 and Flickr API  
Enjoy It 
]]></description>
			<content:encoded><![CDATA[<p>Some Eyes Candy made with flash 8 and Flickr API <img src='http://blog.makemepulse.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://dev.makemepulse.com/FlickRRoller/" title="FlickR Roller">Enjoy It </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/02/20/flickr-roller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A first try with the Sandy 3D Lib and the Flickr API</title>
		<link>http://blog.makemepulse.com/2007/01/26/a-first-try-with-the-sandy-3d-lib-and-the-flickr-api/</link>
		<comments>http://blog.makemepulse.com/2007/01/26/a-first-try-with-the-sandy-3d-lib-and-the-flickr-api/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 10:38:17 +0000</pubDate>
		<dc:creator>Nicolas Rajabaly</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Our lab]]></category>
		<category><![CDATA[Sandy]]></category>

		<guid isPermaLink="false">http://blog.makemepulse.com/2007/01/26/a-first-try-with-the-sandy-3d-lib-and-the-flickr-api/</guid>
		<description><![CDATA[This is our first try with the Sandy 3D Lib.
A simple search Engine linked to the Flickr API, to give us some textures ^^ to the cube witch you can move with keyboard arrow and ctrl to zoom/dezoom.
Enjoy It 
]]></description>
			<content:encoded><![CDATA[<p>This is our first try with the S<a href="http://www.flashsandy.org/">andy 3D Lib</a>.</p>
<p>A simple search Engine linked to the Flickr API, to give us some textures ^^ to the cube witch you can move with keyboard arrow and ctrl to zoom/dezoom.</p>
<p><a href="http://dev.makemepulse.com/flickr3D/">Enjoy It </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.makemepulse.com/2007/01/26/a-first-try-with-the-sandy-3d-lib-and-the-flickr-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
