<?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>Code and Visual</title>
	<atom:link href="http://www.codeandvisual.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codeandvisual.com</link>
	<description>Creative Design and Development</description>
	<pubDate>Fri, 16 Jul 2010 04:28:02 +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>Google App Inventor - Director revisited?</title>
		<link>http://www.codeandvisual.com/2010/google-app-inventor-director-revisited/</link>
		<comments>http://www.codeandvisual.com/2010/google-app-inventor-director-revisited/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 05:02:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=708</guid>
		<description><![CDATA[Having just seen the story about Google&#8217;s new App Inventor, something immediately felt very familiar. For anyone who remembers the good ol&#8217; days of Macromedia Director and it&#8217;s &#8216;Behaviors&#8217; the drag and drop coding paradigm might ring a bell. What follows is a bit of a whine, I never knew it was in me, but [...]]]></description>
			<content:encoded><![CDATA[<p>Having just seen the story about Google&#8217;s new <a href="http://appinventor.googlelabs.com/about/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/appinventor.googlelabs.com/about/?referer=');">App Inventor</a>, something immediately felt very familiar. For anyone who remembers the good ol&#8217; days of Macromedia Director and it&#8217;s &#8216;Behaviors&#8217; the drag and drop coding paradigm might ring a bell. What follows is a bit of a whine, I never knew it was in me, but I&#8217;m exorcising it.</p>
<p>I&#8217;ve always thought there must be a good visual approach to programming - something that will take care of the repetitive, verbose and manual tasks in an easy and intuitive way, but I was thinking of it as a good tool for developers, not the lay man&#8230;</p>
<p>As a multimedia developer (I may as well just say AS3 developer these days) stories about apps that make programming so easy that even a cat can do it always send shivers down my spine. You can just imagine the ideas that those sorts of headlines generate in the wider public&#8217;s mindset. </p>
<p>I find the idea behind Adobe&#8217;s <a href="http://www.adobe.com/products/flashcatalyst/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.adobe.com/products/flashcatalyst/?referer=');">Flash Catalyst</a> to be similarly worrisome, suddenly there are going to be even more cooks spoiling the broth as designers hand you their output - formatted and structured in whatever paradigm Adobe has generated for the software. It sounds great if you are happy to stick to an offical coding/naming method, but if you already have your libraries and frameworks infused into your workflow, will this mean you now have to repurpose them all? </p>
<p>I can see Catalyst working great for Flex as it is a widely used and defined framework, but would it be possible or even make sense to make it work with a PureMCV framework for instance? Of course importing, assembling and wiring up interface elements is painstakingly laborious and unchallenging so Catalyst could also be the greatest thing ever invented, freeing up developers to actually do the fun stuff. In that light I&#8217;ll wait to see how that one pans out.</p>
<p>At the end of the day, these drag and drop solutions tend to be similar to those template based website systems - very limited and glaringly un-customisable in a meaningful way. So while the headline sounds great, it goes without saying that the professional (and more lucrative) projects won&#8217;t be effected by them too much. Still it&#8217;s a shame to lose some of those small to medium sized jobs too thanks to the DIY ethic, and I think we all suffer the conequences - does anyone remember myspace?? Or what is more likely is the discussion about why building an app/website costs so much when there are tools out there that allow you to make it yourself with just the click of a few buttons.</p>
<p>Despite my personal reactions the App Inventor does sound like a pretty nifty creation, and I should probably have a play with it before I pan it. I still have to say that the demonstration video, and that cat application, really sends me visions of a colour-by-numbers world that  I don&#8217;t want to exist.</p>
<p><em>Sorry to all of those Lingo coders out there who are still using Director. You might be offended by my past tense reference - I was one of you for a large part of my working life but after I made the switch to Actionscript 4 or 5 years ago I haven&#8217;t looked back. To me it&#8217;s in the past, long ago irrelevant to the online world.</p>
<p>Apologies to myspace users too, the site has been dead to me for many years - Murdoch knows what I&#8217;m talking about.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2010/google-app-inventor-director-revisited/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rainbow Live 1.5 Released!</title>
		<link>http://www.codeandvisual.com/2010/rainbow-live-15-released/</link>
		<comments>http://www.codeandvisual.com/2010/rainbow-live-15-released/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 09:47:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rainbow]]></category>

		<category><![CDATA[Version 1.5]]></category>

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=688</guid>
		<description><![CDATA[I&#8217;m happy to announce that Rainbow Live 1.5 has now been released.
This version has many new improvements to the version 1 and has few new handy functions as well - for a complete list of added features check out the feature list: http://www.codeandvisual.com/rainbow/features/
You can also test drive Rainbow on your own server with full functionality [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m happy to announce that Rainbow Live 1.5 has now been released.</p>
<p>This version has many new improvements to the version 1 and has few new handy functions as well - for a complete list of added features check out the feature list: http://www.codeandvisual.com/rainbow/features/</p>
<p>You can also test drive Rainbow on your own server with full functionality using the Free Trial Key.</p>
<p>Give Rainbow a go now! </p>
<p>http://www.codeandvisual.com/rainbow/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2010/rainbow-live-15-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rainbow live Free 30 Day Trial - Find out what&#8217;s so great about Rainbow.</title>
		<link>http://www.codeandvisual.com/2010/rainbow-live-free-30-day-trial-find-out-whats-so-great-about-rainbow/</link>
		<comments>http://www.codeandvisual.com/2010/rainbow-live-free-30-day-trial-find-out-whats-so-great-about-rainbow/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 00:29:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=679</guid>
		<description><![CDATA[Been hearing a lot about Rainbow Live? Want to understand what all the fuss is about?
You can now download and install the brand new Rainbow 1.5 on your server and see just how easily it will turn your XML based Flash site into a content managed powerhouse, all in just a few minutes!
For more information [...]]]></description>
			<content:encoded><![CDATA[<p>Been hearing a lot about Rainbow Live? Want to understand what all the fuss is about?<br />
You can now download and install the brand new Rainbow 1.5 on your server and see just how easily it will turn your XML based Flash site into a content managed powerhouse, all in just a few minutes!</p>
<div id="attachment_680" class="wp-caption aligncenter" style="width: 308px"><a href="http://www.codeandvisual.com/wp-content/uploads/box_white_bg.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/box_white_bg_med.jpg" alt="Rainbow Live 1.5" title="box_white_bg" width="298" height="369" class="size-full wp-image-680" /></a><p class="wp-caption-text">Rainbow Live 1.5</p></div>
<p>For more information about Rainbow and to get your free 30 day trial Domain Key, visit: <a href="http://www.codeandvisual.com/rainbow">http://www.codeandvisual.com/rainbow</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2010/rainbow-live-free-30-day-trial-find-out-whats-so-great-about-rainbow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New tutorials on using XML with Flash, and using Rainbow Live CMS for Flash</title>
		<link>http://www.codeandvisual.com/2010/new-tutorials-on-using-xml-with-flash-and-using-rainbow-live-cms-for-flash/</link>
		<comments>http://www.codeandvisual.com/2010/new-tutorials-on-using-xml-with-flash-and-using-rainbow-live-cms-for-flash/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 11:54:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rainbow]]></category>

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

		<category><![CDATA[Flash CMS]]></category>

		<category><![CDATA[Flash websites]]></category>

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

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=654</guid>
		<description><![CDATA[Check out these new video tutorials showing you how to create and use XML in Flash with Rainbow Live Versatile Flash CMS]]></description>
			<content:encoded><![CDATA[<p>Over in the new <a href="http://www.codeandvisual.com/forums">forums</a> at codeandvisual I&#8217;ve been posting a series of video tutorials covering the basics of usig XML and how you can create a simple Flash CMS using Rainbow Live.</p>
<p>Rainbow live is the easiest and most flexible way to create a CMS for your Flash websites and files and with the release of version 1.5 it&#8217;s become even easier and more flexible. <a href="http://www.codeandvisual.com/rainbow">Try it now!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2010/new-tutorials-on-using-xml-with-flash-and-using-rainbow-live-cms-for-flash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rainbow 1.5 beta</title>
		<link>http://www.codeandvisual.com/2010/rainbow-15-beta/</link>
		<comments>http://www.codeandvisual.com/2010/rainbow-15-beta/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 16:08:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rainbow]]></category>

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

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

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

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=648</guid>
		<description><![CDATA[For a limited time, try the Rainbow 1.5 beta before the official release. You can download Rainbow from: http://www.codeandvisual.com/downloads/Rainbow_1.5_beta.zip
For an Installation/upgrade guide please see the following: http://www.codeandvisual.com/forums/topic.php?id=7
For those that don&#8217;t know, Rainbow is a simple CMS for Flash that exports XML files for use in  your websites and animations. It makes it easy for [...]]]></description>
			<content:encoded><![CDATA[<p>For a limited time, try the Rainbow 1.5 beta before the official release. You can download Rainbow from: http://www.codeandvisual.com/downloads/Rainbow_1.5_beta.zip</p>
<p>For an Installation/upgrade guide please see the following: http://www.codeandvisual.com/forums/topic.php?id=7</p>
<p>For those that don&#8217;t know, Rainbow is a simple CMS for Flash that exports XML files for use in  your websites and animations. It makes it easy for you to provide your clients with effective CMS functionality straight out of the box.</p>
<p>Try it today!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2010/rainbow-15-beta/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New version of Rainbow on the way.</title>
		<link>http://www.codeandvisual.com/2010/new-version-of-rainbow-on-the-way/</link>
		<comments>http://www.codeandvisual.com/2010/new-version-of-rainbow-on-the-way/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 08:45:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rainbow]]></category>

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

		<category><![CDATA[download beta]]></category>

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=641</guid>
		<description><![CDATA[Well I&#8217;m excited to announce that a new version of Rainbow is on the way. Since the first release I&#8217;ve had a lot of great feedback and suggestions on how to improve Rainbow from real world experience. I&#8217;ve tried to address most of the suggestions and added a couple more features that I think are [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;m excited to announce that a new version of Rainbow is on the way. Since the first release I&#8217;ve had a lot of great feedback and suggestions on how to improve Rainbow from real world experience. I&#8217;ve tried to address most of the suggestions and added a couple more features that I think are really cool. Here&#8217;s a quick list:</p>
<ul>
<li>Easy install wizard</li>
<li>Automated remote install (install straight onto your server without having to download a thing!)</li>
<li>Custom user notes (on a per node basis)</li>
<li>Apply template option  (update a node to comply with a selected template)</li>
<li>XML Preview button</li>
<li>Rich text locking (the Rich Text mode has caused a bit of confusion)</li>
<li>Relative/absolute path output</li>
</ul>
<p>There&#8217;s also been a few usablility improvements and little fix ups here and there and importantly some optimisation of the code to allow Rainbow to cope with slightly larger data sheets.</p>
<p>These updrages all make Rainbow even better and I&#8217;m really excited to be releasing them. As for a release date - &#8220;soon&#8221; is as good as I can give right now, but I&#8217;m thinking weeks as opposed to months (or days). If you would like to give the new version a trial send me an email and I&#8217;ll be happy to organise a beta.</p>
<p>More info soon!</p>
<p>EDIT: Download the Beta now -  <a href="http://www.codeandvisual.com/downloads/Rainbow_1.5_beta.zip">http://www.codeandvisual.com/downloads/Rainbow_1.5_beta.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2010/new-version-of-rainbow-on-the-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Open source AS3 frameworks to test run</title>
		<link>http://www.codeandvisual.com/2009/open-source-as3-frameworks-to-test-run/</link>
		<comments>http://www.codeandvisual.com/2009/open-source-as3-frameworks-to-test-run/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 22:46:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[APIs]]></category>

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

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

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

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

		<category><![CDATA[open source]]></category>

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

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

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

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=553</guid>
		<description><![CDATA[With so many handy AS3 frameworks out there I often get excited about each new offering, but in the end I&#8217;m overwhelmed with the options and so rarely give any a test run.
&#160;
Frameworks I use
Here&#8217;s a list of frameworks that I do rely on heavily and couldn&#8217;t live without (This is mostly for Flash website [...]]]></description>
			<content:encoded><![CDATA[<p>With so many handy AS3 frameworks out there I often get excited about each new offering, but in the end I&#8217;m overwhelmed with the options and so rarely give any a test run.<br />
&nbsp;<br />
<strong>Frameworks I use</strong></p>
<p>Here&#8217;s a list of frameworks that I do rely on heavily and couldn&#8217;t live without (This is mostly for Flash website development).</p>
<p><a href="http://www.puremvc.org" onclick="pageTracker._trackPageview('/outgoing/www.puremvc.org?referer=');">PureMVC</a> Brilliant MVC framework for AS3 (and a plethora of other platforms). This was my first foray into MVC and was hard going to get my head around, but now, I don&#8217;t look back!</p>
<p><a href="http://www.asual.com/swfaddress/" onclick="pageTracker._trackPageview('/outgoing/www.asual.com/swfaddress/?referer=');">swfAddress</a> Integral for current Flash website development. Adds deep linking and browser history to your websites. Another good thing about swfAddress is that it forces you to use elements of good practice when developing your navigation code, it&#8217;s asymmetrical and requires a central navigation function.</p>
<p><a href="http://code.google.com/p/tweener/" onclick="pageTracker._trackPageview('/outgoing/code.google.com/p/tweener/?referer=');">Tweener</a> One of the many Tween engines out there. I like Tweener because it&#8217;s simple to use and has shortcuts for really handy things (like colour effects and sound control). Most tween engines these days all do pretty much the same thing - either way they are vital tools for any actionscript animation.</p>
<p>And of course I have my own Tool and UI packages that I leverage on projects, being able to streamline and make more robust with each new job.<br />
&nbsp;<br />
<strong>Frameworks to test run</strong></p>
<p>But now to the point of this post. My new resolution is to tackle the mountain of frameworks out there, one at a time. I&#8217;ll do a quick &#8220;hello world&#8221; demo with each to get some hands on experience and see any potential for practical use. So, I&#8217;ll add to this list, but to start off with I&#8217;ll be looking at:</p>
<p><a href="http://code.google.com/p/flash-camouflage/" onclick="pageTracker._trackPageview('/outgoing/code.google.com/p/flash-camouflage/?referer=');">Flash Camoflage</a> I don&#8217;t know too much about camoflage, but my general understanding is  that it&#8217;s a Flash chrome and skinning framework</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2009/open-source-as3-frameworks-to-test-run/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Changing the behaviour of a class without recompiling.</title>
		<link>http://www.codeandvisual.com/2009/changing-the-behaviour-of-a-class-without-recompiling/</link>
		<comments>http://www.codeandvisual.com/2009/changing-the-behaviour-of-a-class-without-recompiling/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 10:53:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Classes]]></category>

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

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

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

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

		<category><![CDATA[loading swfs]]></category>

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

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=514</guid>
		<description><![CDATA[This is a feature in AS3 that I hadn&#8217;t come accross before. If you ever load swf files into one another you might not know it, but you&#8217;ll be dealing with application domains. I&#8217;ve loaded in SWF&#8217;s before, but never had to pay any specific attention to the applicationDomain. 
Basically they allow you to specify [...]]]></description>
			<content:encoded><![CDATA[<p>This is a feature in AS3 that I hadn&#8217;t come accross before. If you ever load swf files into one another you might not know it, but you&#8217;ll be dealing with <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/ApplicationDomain.html" onclick="pageTracker._trackPageview('/outgoing/livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/ApplicationDomain.html?referer=');">application domains</a>. I&#8217;ve loaded in SWF&#8217;s before, but never had to pay any specific attention to the applicationDomain. </p>
<p>Basically they allow you to specify where the class definitions for an SWF are sourced from. By default if two SWF files use a class with the same name, then only the definition found in the parent SWF will be used. If you want the child SWF to use it&#8217;s own version of that class, then you need to give it it&#8217;s own application domain. </p>
<p>From the Adobe docs:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">        request = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.url.com/myflashfile.swf&quot;</span><span style="color: #66cc66;">&#41;</span>;
        <span style="color: #000000; font-weight: bold;">var</span> context:LoaderContext = <span style="color: #000000; font-weight: bold;">new</span> LoaderContext<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
        context.<span style="color: #006600;">applicationDomain</span>= <span style="color: #000000; font-weight: bold;">new</span> applicationDomain<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
        loader.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span>request,context<span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>The current project I&#8217;m working on loads in a variety of SWFs that extend a common base class. It ended up that I needed to make a change to the base class, so at first I thought I was going to have to go and recompile all of the external swf files in order to incorporate the changes I&#8217;d made. But actually, this wasn&#8217;t the case due to the default behaviour of the applicationDomain. It turned out that as long as that base class was used in the parent swf, then all the external swfs that were loaded in would use the defintion found in it and not their own. Way to go! It meant that I could tweak and make changes to those external swfs, without ever open or recompile them. It&#8217;s turned out to be really useful, and painless!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2009/changing-the-behaviour-of-a-class-without-recompiling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rainbow Update 1.0.4 - New Rich Text Editor</title>
		<link>http://www.codeandvisual.com/2009/rainbow-update-104-new-rich-text-editor/</link>
		<comments>http://www.codeandvisual.com/2009/rainbow-update-104-new-rich-text-editor/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 15:25:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rainbow]]></category>

		<category><![CDATA[Embed Fonts]]></category>

		<category><![CDATA[Flash CMS]]></category>

		<category><![CDATA[Rich Text Editor]]></category>

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

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

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

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=485</guid>
		<description><![CDATA[
It&#8217;s exciting times at Code and Visual as we are happy to announce a new upgrade for Rainbow Live Flash CMS that sees the addition of a rich text editor for live text formatting!
&#8220;WYSIWYG&#8221;- What You See Is What You Get
Using the Rich Text Editor you are now able to add formatting to your XML [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.codeandvisual.com/wp-content/uploads/rich_text_editor.gif"><img src="http://www.codeandvisual.com/wp-content/uploads/rich_text_editor.gif" alt="rich_text_editor" title="rich_text_editor" width="500" height="383" style="margin:20px;margin-top:0;"  class="alignright size-full wp-image-486" /></a></p>
<p>It&#8217;s exciting times at Code and Visual as we are happy to announce a new upgrade for Rainbow Live Flash CMS that sees the addition of a rich text editor for live text formatting!</p>
<h4><strong>&#8220;WYSIWYG&#8221;</strong>- What You See Is What You Get</h4>
<p>Using the Rich Text Editor you are now able to add formatting to your XML text directly in Rainbow, with a live preview to show you exactly how Flash will render the text. Change font, style, colour, size and alignment, even add HTML links. <br />Click on the HTML button to view the raw HTML that Flash generates, or edit it yourself.</p>
<p>Download your free upgrade from: <a href = "http://www.codeandvisual.com/downloads/rainbow_package.zip">here.</a> </p>
<p>The Rich text editor has been one of the most requested additions for Rainbow, which already includes other features such as image and file upload, password protection, admin and client modes, node repositioning, template creation and many more. This addition will help Rainbow Live become more powerful as a Flash CMS solution for XML driven websites, components and files. As always, we are always aiming to improve Rainbow, so please feel free to let us know your thoughts, comments and requests.</p>
<p><strong>Warnings for working in Rich Text Mode</strong></p>
<p>With great power comes great responsibility. When you are working with the Rich Text Editor, remember that any fonts you wish to display have to be embedded into your Flash file. If you select a font that isn&#8217;t embedded you might find that some of your text displays blank. You may choose to set your display TextField to the &#8220;use Device Fonts&#8221; option, which will display unembedded fonts - but remember the person viewing your Flash file needs to have the same fonts installed. Just like when designing websites, it&#8217;s safer in this case to stick to standard fonts such as Arial, Verdana, Courier or Times New Roman. As with any update, please make sure to back up your XML and RBW files before uploading.</p>
<p><a href="http://www.codeandvisual.com/rainbow" target="_self">Learn more about Rainbow &gt;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2009/rainbow-update-104-new-rich-text-editor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Import MovieClips into a Flash Builder ActionScript Project</title>
		<link>http://www.codeandvisual.com/2009/how-to-import-movieclips-into-a-flash-builder-actionscript-project/</link>
		<comments>http://www.codeandvisual.com/2009/how-to-import-movieclips-into-a-flash-builder-actionscript-project/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 11:15:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[.swc]]></category>

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

		<category><![CDATA[Flash Builder]]></category>

		<guid isPermaLink="false">http://www.codeandvisual.com/?p=446</guid>
		<description><![CDATA[With the release of the new Flash Builder Beta from Adobe labs, more Actionscript developers will be tempted to leave the Flash IDE and head to what is now the rebranded Flex Builder. Previously there has been a bit of confusion over what Flex and Flex Builder were for, not everybody realised that you could [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of the new <a title="Download Flash builder demo" href="http://labs.adobe.com/technologies/flashbuilder4/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/labs.adobe.com/technologies/flashbuilder4/?referer=');">Flash Builder Beta </a>from Adobe labs, more Actionscript developers will be tempted to leave the Flash IDE and head to what is now the rebranded Flex Builder. Previously there has been a bit of confusion over what Flex and Flex Builder were for, not everybody realised that you could write non-Flex applications (i.e. plain actionscript ones) in Flex Builder. And then even without this confusion those of us used to the Flash IDE still had to get to grips with not having any sort of timeline or way to edit library assets. Long story short, you still need to use the flash IDE to create and edit your library assets, though once this is done you can export them to a .SWC file in order to use them in Flash Builder. Here&#8217;s a quick tutorial to show you how.</p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_1.jpg"><img class="alignnone size-full wp-image-449" src="http://www.codeandvisual.com/wp-content/uploads/step_1.jpg" alt="Using Movieclips in Flash Builder - Step 1" width="430" height="424" /></a></p>
<p>Firstly, in the Flash IDE, create your asset and save it as a MovieClip. I&#8217;m using a character from an upcoming game called &#8220;Tooth&#8217;n'Claw&#8221; that I&#8217;m going to release soon through Actionsprite.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_1_b.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_1_b.jpg" alt="Using Movieclips in Flash Builder - Step 1_b" width="430" height="424" /></a></p>
<p>Next you need to open up the properties window for your MovieClip where we will give it a Linkage ID that will allow Flash Builder to identify the Movieclip.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_2.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_2.jpg" alt="Using Movieclips in Flash Builder - Step 2" width="414" height="542" /></a></p>
<p>In the properties window, check both &#8220;Export for ActionScript&#8221; and &#8220;Export in frame 1&#8243; - you should see that the Class value is automatically filled out by Flash - it&#8217;s the same name as you&#8217;ve given the MovieClip. You can change this to whatever you want, but remember it because it will be the name you use to refer to the MovieClip in Flash Builder.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_3.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_3.jpg" alt="Using Movieclips in Flash Builder - Step 3" width="426" height="649" /></a></p>
<p>Now that your MovieClip is prepared, go to &#8220;File&gt;Publish Settings&#8221; and click on the &#8220;Flash&#8221; Tab. On this screen you want to make sure &#8220;Export SWC&#8221; is selected.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_4.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_4.jpg" alt="Using Movieclips in Flash Builder - Step 4" width="431" height="273" /></a></p>
<p>Now publish your file (I&#8217;ve named mine &#8220;Assets.Fla&#8221;) and you&#8217;ll notice that a .SWC file of the same name has been created. This file contains all of the assets that you have selected for export and is the file that you will use in Flash Builder to gain access to them.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_5.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_5.jpg" alt="Using Movieclips in Flash Builder - Step 5" width="577" height="641" /></a></p>
<p>Now you can load up Flash Builder and create a new project. You&#8217;ll see there are various types of projects you can create, but the one we are going to deal with is an ActionScript project seeming as this is the whole point of the tutorial.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_6.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_6.jpg" alt="Using Movieclips in Flash Builder - Step 6" width="495" height="398" /></a></p>
<p>Give your new project a name, and then click the &#8220;Next&#8221; button.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_7.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_7.jpg" alt="Using Movieclips in Flash Builder - Step 7" width="605" height="588" /></a></p>
<p>Now this is where you tell Flash Builder about the .SWC file you created. Choose the &#8220;Library Path&#8221; tab and click on the &#8220;Add SWC&#8221; button.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_8.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_8.jpg" alt="Using Movieclips in Flash Builder - Step 8" width="658" height="656" /></a></p>
<p>A dialog will appear with a &#8220;Browse&#8221; button. Click this and point Flash Builder to the Assets.SWC file you made previously.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_9.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_9.jpg" alt="Using Movieclips in Flash Builder - Step 9" width="674" height="522" /></a></p>
<p>Now that you&#8217;ve located your .SWC file, you should be able to view it&#8217;s contents via the Package Explorer window.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_10.jpg"><img class="alignnone size-full wp-image-459" title="step_10" src="http://www.codeandvisual.com/wp-content/uploads/step_10.jpg" alt="step_10" width="674" height="522" /></a></p>
<p> Once opened, you should see the Package Explorer window open to the side of your layout. Open up the &#8220;Referenced Libraries&#8221; section. Drilling down you should ba able to see the MovieClip you named in the properties window back in Flash. In this Case its called &#8220;ninja_cat&#8221; and has a little &#8220;c&#8221; icon next to it (for &#8220;class&#8221;).</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_11.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_11.jpg" alt="Using Movieclips in Flash Builder - Step 11" width="630" height="360" /></a></p>
<p>Finally in the code window you can write your ActionScript as you normally would. This is where you&#8217;ll start to see some of the benefits of working in Flash Builder. As a coding environment there are a lot of little touches that make your life easier - some of which is incorporated into the Flash IDE, but for some reason, not all. Firstly you&#8217;ll notice that when you create a new Actionscript project Flash Builder will automatically create a Document Class for you and prefill some of it out. Create a new instance of your library item as you usually would and attach it to the stage. Flash Builder should be smart enough to realise that it needs to import the MovieClip Class as well, which it will do for you automatically - see, I told you it was good.</p>
<p> </p>
<p> </p>
<p><a href="http://www.codeandvisual.com/wp-content/uploads/step_12.jpg"><img src="http://www.codeandvisual.com/wp-content/uploads/step_12.jpg" alt="Using Movieclips in Flash Builder - Step 12" width="575" height="494" /></a></p>
<p>Finally &#8220;Run&#8221; your movie and you&#8217;ll see the MovieClip has been successfully imported and added to your stage. From here on in you should be able to import and use items as you need to. If you need to add more assets, or update existing assets, simply republish a new .SWC from Flash.</p>
<p> </p>
<p> </p>
<p>So that&#8217;s all there is to it. I will try and cover some more aspects of Flash Builder in future posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeandvisual.com/2009/how-to-import-movieclips-into-a-flash-builder-actionscript-project/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
