<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Flashcraving</title>
	<atom:link href="http://flashcraving.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashcraving.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 01 Jun 2008 18:45:51 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='flashcraving.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/9becdb69731da731c3c999b03ba50b5c?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Flashcraving</title>
		<link>http://flashcraving.wordpress.com</link>
	</image>
			<item>
		<title>Using Lightbox++ on a Flash button</title>
		<link>http://flashcraving.wordpress.com/2008/06/01/using-lightbox-on-a-flash-button/</link>
		<comments>http://flashcraving.wordpress.com/2008/06/01/using-lightbox-on-a-flash-button/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 14:42:05 +0000</pubDate>
		<dc:creator>flashcraving</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://flashcraving.wordpress.com/?p=13</guid>
		<description><![CDATA[Level: Intermediate Languages: AS 2.0, JavaScript
In this tutorial, I will show you how to launch a Lightbox window from within a flash movie.
Step 1:
You need to install Lightbox++ on you server for it to work.
Click on the Lightbox++ link for instructions
Then paste the following code between the &#60;head&#62;&#60;/head&#62; tag of your html page holding your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=13&subd=flashcraving&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Level: <span style="color:#ff0000;">Intermediate</span> Languages: <span style="color:#ff0000;">AS 2.0, JavaScript</span></p>
<p><span id="more-13"></span>In this tutorial, I will show you how to launch a <a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">Lightbox</a> window from within a flash movie.</p>
<p><strong>Step 1:</strong><br />
You need to install <a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">Lightbox++</a> on you server for it to work.<br />
Click on the <a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">Lightbox++</a> link for instructions<br />
Then paste the following code between the &lt;head&gt;&lt;/head&gt; tag of your html page holding your swf.<br />
<span style="color:#999999;"><br />
</span><span style="color:#888888;"><span style="color:#999999;">&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function LightboxDelegate(url,caption) {<br />
var objLink = document.createElement(&#8216;a&#8217;);<br />
objLink.setAttribute(&#8216;href&#8217;,url);<br />
objLink.setAttribute(&#8216;rel&#8217;,'lightbox&#8217;);<br />
objLink.setAttribute(&#8216;title&#8217;,caption);<br />
Lightbox.prototype.start(objLink);<br />
}</span><br />
&lt;/script&gt;</span><br />
<strong>Step 2: </strong><br />
In the Flash movie, you need to use the <span style="color:#ff0000;">getURL</span> method on a button to call the images. You can create your button dynamically or using the Flash IDE.<br />
Your ActionScript should look like this:</p>
<p><span style="color:#999999;">my_btn.onRelease = function(){<br />
getURL(“javascript:LightboxDelegate(‘image1.jpg’, ‘caption’)”);<br />
}</span></p>
<p>Embed your flash movie or publish the html file using the Flash publish settings.</p>
<p><strong>Step 3:</strong><br />
After publishing your html page,<br />
Within the &lt;body&gt; tags, specify the following parameters to your flash movie:<br />
<span style="color:#999999;">&lt;param name=”allowscriptaccess” value=”samedomain”&gt;<br />
&lt;param name=”wmode” value=”transparent”&gt;</span></p>
<p>You also need to add the following attribute to your &lt;embed&gt; tag: <span style="color:#888888;">wmode=”transparent”</span><br />
Make sure you have edited the location of all you script and images for lightbox++.<br />
This is important for the lightbox.css file to be linked properly as well as the images for it to work.<br />
Then all you have to do is upload it to your server.</p>
<p><span style="color:#ffac36;">Download my example</span> <a href="http://www.mycommunitycreative.co.uk/tutorials/lightbox/lightbox_example.zip" target="_blank">here.</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flashcraving.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flashcraving.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flashcraving.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flashcraving.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flashcraving.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flashcraving.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flashcraving.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flashcraving.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flashcraving.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flashcraving.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flashcraving.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flashcraving.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=13&subd=flashcraving&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://flashcraving.wordpress.com/2008/06/01/using-lightbox-on-a-flash-button/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6db691181fd3186dd6a206f573b69d94?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">flashcraving</media:title>
		</media:content>
	</item>
		<item>
		<title>Loading a flash movie using the MovieClipLoader Class</title>
		<link>http://flashcraving.wordpress.com/2008/06/01/loading-a-flash-movie-using-the-moviecliploader-class/</link>
		<comments>http://flashcraving.wordpress.com/2008/06/01/loading-a-flash-movie-using-the-moviecliploader-class/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 10:29:08 +0000</pubDate>
		<dc:creator>flashcraving</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ActionScript 2.0]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://flashcraving.wordpress.com/?p=11</guid>
		<description><![CDATA[Level: Intermediate,          Language: AS 2.0

In this tutorial I am going to show you how to use the MovieClipLoader Class to load a Flash movie into another Flash movie. This is a very useful Class and you can use it to load jpg, gif and png files [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=11&subd=flashcraving&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Level: <span style="color:#ff0000;">Intermediate</span>,          Language: <span style="color:#ff0000;">AS 2.0</span></p>
<p><span id="more-11"></span></p>
<p>In this tutorial I am going to show you how to use the <span style="color:#ff0000;">MovieClipLoader</span> Class to load a Flash movie into another Flash movie. This is a very useful Class and you can use it to load jpg, gif and png files as well</p>
<p><span style="color:#ffac36;">Download the example source files</span> <span style="color:#ff0000;"><span style="text-decoration:underline;"><a href="http://www.mycommunitycreative.co.uk/tutorials/moviecliploader/moviecliploader.zip" target="_blank">here</a></span></span>.</p>
<p>I created two Flash movies for this example. The one named main.swf will be the main flash movie that you will embed in a website. The other movie called content.swf  will be loaded into main.swf.<br />
In main.swf, you need to create a button, give it an instance name loader_btn.</p>
<p>Open the action panel and enter the following code on the first frame:</p>
<p><span style="color:#999999;">//create an instance of the MovieClipLoader Class</span></p>
<p><span style="color:#999999;">var clipLoader:MovieClipLoader = new MovieClipLoader();</span></p>
<p><span style="color:#999999;">//create a container and set it&#8217;s depth.</span></p>
<p><span style="color:#999999;">this.createEmptyMovieClip(&#8220;MyContainer_mc&#8221;,_root.getNextHighestDepth());</span></p>
<p><span style="color:#999999;"> loader_btn.onRelease = function() {</span></p>
<p><span style="color:#999999;"> clipLoader.loadClip(&#8220;content.swf&#8221;, MyContainer_mc);</span></p>
<p><span style="color:#999999;"> }</span></p>
<p><span style="color:#c0c0c0;">Tip: </span><span style="color:#3366ff;">You can create a function to unload the content.swf clip</span></p>
<p>Add to the first frame the following code</p>
<p><span style="color:#999999;">function unLoadingClips() {<br />
clipLoader.unloadClip(_root.getNextHighestDepth());<br />
}</span></p>
<p>You can now call the function on a particular frame or button of your main.swf movie:</p>
<p><span style="color:#999999;">unLoadingClips();</span></p>
<p>One of the advantage in using the <span style="color:#ff0000;">MovieClipLoader</span> Class is the ability to add a listener to your <span style="color:#ff0000;">MovieClipLoader</span>. That way you can add a preloader and listen to the loading start, the progress and when the Flash movie is fully loaded. Following is an example:</p>
<p><span style="color:#999999;">var clipLoader:MovieClipLoader = new MovieClipLoader();<br />
this.createEmptyMovieClip(&#8220;MyContainer_mc&#8221;,_root.getNextHighestDepth());<br />
loader_btn.onRelease = function() {<br />
clipLoader.loadClip(&#8220;content.swf&#8221;,_root.getNextHighestDepth());<br />
}</span></p>
<p><span style="color:#888888;">var preloader:Object = new Object();<br />
clipLoader.addListener(preloader);</span></p>
<p><span style="color:#888888;">preloader.onLoadStart = function(target){<br />
target.createTextField(&#8220;my_txt&#8221;,target.getNextHighestDepth,0,0,100,20);<br />
target.my_txt.selectable = false;<br />
}</span></p>
<p><span style="color:#888888;">preloader.onLoadProgress = function (target, loadedBytes, totalBytes){<br />
target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100)+&#8221;%&#8221;<br />
target_mc._visible = true;<br />
}</span></p>
<p><span style="color:#888888;">preloader.onLoadComplete = function(target){<br />
target.my_txt._visible = false;<br />
}<br />
stop();</span></p>
<p>What I have done here is set a Textfield called my_txt on top of the loaded clip to give indication of how much data was downloaded at runtime.</p>
<p>You can easily replace the text field by a movieClip as your preloader.</p>
<p>Tip: <span style="color:#008000;"><span style="color:#1a8fe4;">Y<span style="color:#3366ff;">ou can invoke the onLoadInit method to the MovieClipLoader to be called when the first frame of your content.swf has been loaded.</span></span><br />
</span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flashcraving.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flashcraving.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flashcraving.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flashcraving.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flashcraving.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flashcraving.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flashcraving.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flashcraving.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flashcraving.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flashcraving.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flashcraving.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flashcraving.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=11&subd=flashcraving&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://flashcraving.wordpress.com/2008/06/01/loading-a-flash-movie-using-the-moviecliploader-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6db691181fd3186dd6a206f573b69d94?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">flashcraving</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome to my blog!</title>
		<link>http://flashcraving.wordpress.com/2008/05/18/welcome-to-my-blog/</link>
		<comments>http://flashcraving.wordpress.com/2008/05/18/welcome-to-my-blog/#comments</comments>
		<pubDate>Sun, 18 May 2008 18:57:35 +0000</pubDate>
		<dc:creator>flashcraving</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flashcraving.wordpress.com/?p=9</guid>
		<description><![CDATA[Hi all,
I have decided to set up this blog to post all my Web and Graphic design ressources to the web community, This is for proficient and beginner Web and Graphic Designer. This blog will cover mainly Flash, Photoshop, Illustrator and HMTL/CSS, XML. I will post post tutorials and some very useful links I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=9&subd=flashcraving&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi all,</p>
<p>I have decided to set up this blog to post all my Web and Graphic design ressources to the web community, This is for proficient and beginner Web and Graphic Designer. This blog will cover mainly Flash, Photoshop, Illustrator and HMTL/CSS, XML. I will post post tutorials and some very useful links I have been gathering. Feel free to comment and post some link on here as well. The web is about sharing after all&#8230;</p>
<p>And check out my portfolio at <a title="portfolio_mycommunitycreative" href="http://www.mycommunitycreative.co.uk" target="_blank">mycommunitycreative.co.uk</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flashcraving.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flashcraving.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flashcraving.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flashcraving.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flashcraving.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flashcraving.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flashcraving.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flashcraving.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flashcraving.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flashcraving.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flashcraving.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flashcraving.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=9&subd=flashcraving&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://flashcraving.wordpress.com/2008/05/18/welcome-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6db691181fd3186dd6a206f573b69d94?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">flashcraving</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello!</title>
		<link>http://flashcraving.wordpress.com/2008/02/08/hello-world/</link>
		<comments>http://flashcraving.wordpress.com/2008/02/08/hello-world/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 15:13:24 +0000</pubDate>
		<dc:creator>flashcraving</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=1&subd=flashcraving&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flashcraving.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flashcraving.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flashcraving.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flashcraving.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flashcraving.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flashcraving.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flashcraving.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flashcraving.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flashcraving.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flashcraving.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flashcraving.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flashcraving.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flashcraving.wordpress.com&blog=2809174&post=1&subd=flashcraving&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://flashcraving.wordpress.com/2008/02/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6db691181fd3186dd6a206f573b69d94?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">flashcraving</media:title>
		</media:content>
	</item>
	</channel>
</rss>