<?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>I.D.E.A. &#187; Flash</title>
	<atom:link href="http://www.2-bit-toys.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.2-bit-toys.com</link>
	<description>Inspirations, Dreams, Explorations, Addictions</description>
	<lastBuildDate>Sun, 15 Jan 2012 06:59:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MVC and Actionscript</title>
		<link>http://www.2-bit-toys.com/2009/03/13/mvc-and-actionscript/</link>
		<comments>http://www.2-bit-toys.com/2009/03/13/mvc-and-actionscript/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 02:38:29 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.2-bit-toys.com/wordpress/?p=79</guid>
		<description><![CDATA[I have to admit that I&#8217;ve tried to use the MVC pattern for coding projects in the past and have never committed fully to using it for all UI objects in the project. Sometimes MVC just seems like too much work for a simple button, for example. Maybe, I just don&#8217;t understand how to apply [...]]]></description>
			<content:encoded><![CDATA[<p>I have to admit that I&#8217;ve tried to use the MVC pattern for coding projects in the past and have never committed fully to using it for all UI objects in the project.  Sometimes MVC just seems like too much work for a simple button, for example.  Maybe, I just don&#8217;t understand how to apply the pattern, but I&#8217;m pretty sure I understand the concept.  To me, the MVC pattern still has points of tight coupling. For example, your View subscribes to Model events.  The Controller holds onto references to the Model and the View.</p>
<p>I&#8217;ve just found <a href="http://puremvc.org/content/view/98/189/">PureMVC</a> and am trying to understand their implementation.  It seems like their architecture is based on really loose coupling.  Objects subscribe to messages (not tied to an object at all), and other objects broadcast messages.  Subscribers and Publishers don&#8217;t know about each other.  It sounds like a good idea to me. I&#8217;ve seen examples out there of eventmanager objects (subscribers and publishers interact with the eventmanager via the subscribing and publishing of messages) and have used them in projects before and PureMVC sounds like it&#8217;s built around this flexible way for objects to communicate with each other.  One down side could be that there may be too many message flying around the system.  I&#8217;m still trying to get my head wrapped around this so let&#8217;s see how well this works.  I&#8217;m following <a href="http://hubflanger.com/building-a-flash-site-using-puremvc/">this tutorial</a>.</p>
<table>
<tr>
<td><iframe src="http://rcm.amazon.com/e/cm?t=2bittoysblog-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0596526946&#038;md=10FE9736YVPPT7A0FBG2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td>
<td><iframe src="http://rcm.amazon.com/e/cm?t=2bittoysblog-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0596007124&#038;md=10FE9736YVPPT7A0FBG2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.2-bit-toys.com/2009/03/13/mvc-and-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash and Internet Explorer ActiveX focus issue</title>
		<link>http://www.2-bit-toys.com/2007/02/24/flash-and-internet-explorer-activex-focus-issue/</link>
		<comments>http://www.2-bit-toys.com/2007/02/24/flash-and-internet-explorer-activex-focus-issue/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 17:10:54 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.2-bit-toys.com/wordpress/2007/02/24/flash-and-internet-explorer-activex-focus-issue/</guid>
		<description><![CDATA[I&#8217;ve been doing most of my development on the Mac these days so I haven&#8217;t touched Internet Explorer. I&#8217;ve also been avoiding general HTML and been using Flash because dealing with browser incompatibilities makes my head spin. So who would have thought that there might be a slight user interface issue regarding Flash and IE? [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing most of my development on the Mac these days so I haven&#8217;t touched Internet Explorer. I&#8217;ve also been avoiding general HTML and been using Flash because dealing with browser incompatibilities makes my head spin.  So who would have thought that there might be a slight user interface issue regarding Flash and IE?</p>
<p class="spacer">
<p>If you publish your .swf and .html, Flash puts in the necessary OBJECT and EMBED tags in there for you.  This works in all browsers EXCEPT for IE on Windows.  OK, it doesn&#8217;t necessarily render your Flash movie unusable, but it does require that the user click on the Flash movie BEFORE you can actually interact with it. <a target="_blank" title="Adobe Article" href="http://www.adobe.com/devnet/activecontent/articles/before_after.html"> </a><a target="_blank" title="Adobe Article" href="http://www.adobe.com/devnet/activecontent/articles/before_after.html">Here&#8217;s the Adobe article</a> that explains it and contains a Javascript fix.  It&#8217;s an annoyance for the user or the the user might think that the Flash movie is broken.  The fix requires two Javascript libraries and a call to one of the the functions to embed your movie so that you don&#8217;t get see that weird behavior in IE for Windows.</p>
<p class="spacer">
<p>Now, if you are passing GET style parameters to your flash movie inside your EMBED and OBJECT tags, you&#8217;ll have to modify one of the functions to accommodate these parameters.Add this in AC_RunActiveContent.js:</p>
<pre>function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
...
switch (currArg){
case "GET_parameters":
ext = ext + "?" + args[i+1];
break;

...

}</pre>
<p>So, if you want to pass two parameters to your Flash movie, greeting and foo, now your javascript call will look like this instead:</p>
<pre>AC_FL_RunContent('GET_parameters','greeting=hello&#038;foo=bar','codebase',</pre>
<pre>'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0',</pre>
<pre>'width','320','height','240','src','test_flash_movie','quality','high',</pre>
<pre>'pluginspage','http://www.macromedia.com/go/getflashplayer',</pre>
<pre>'movie','test_flash_movie' ); //end AC code</pre>
<pre><script type="text/javascript"> AC_FL_RunContent('GET_parameters','greeting=hello&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;foo=bar','codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','770','height','500','src','testmovie','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','testmovie' ); //end AC code </script></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.2-bit-toys.com/2007/02/24/flash-and-internet-explorer-activex-focus-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audacity and disappearing Flash 8 Pro sound</title>
		<link>http://www.2-bit-toys.com/2006/12/28/audacity-and-disappearing-flash-8-pro-sound/</link>
		<comments>http://www.2-bit-toys.com/2006/12/28/audacity-and-disappearing-flash-8-pro-sound/#comments</comments>
		<pubDate>Thu, 28 Dec 2006 06:27:18 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.2-bit-toys.com/wordpress/2006/12/28/audacity-and-disappearing-flash-8-pro-sound/</guid>
		<description><![CDATA[I was working in Flash 8 Professional on my new MacBook Pro (Core Duo) running 10.4.8 when all of a sudden no sounds play in my development environment.  I test in my browser and the sound works!  I try it again in my Flash 8 Pro, and no dice.  It had my frustrated for a [...]]]></description>
			<content:encoded><![CDATA[<p>I was working in Flash 8 Professional on my new MacBook Pro (Core Duo) running 10.4.8 when all of a sudden no sounds play in my development environment.  I test in my browser and the sound works!  I try it again in my Flash 8 Pro, and no dice.  It had my frustrated for a couple of days until I found this article with a section entitled <a href="http://audacityteam.org/wiki/index.php?title=Mac_Bugs#Disappearing_Quick_Time_sound">Disappearing Quicktime Sound</a> in Audacity&#8217;s wiki.  I tried their solution of running Garage band an voila! all is normal again.  How wacky.  I hope others that are experiencing the problem find this blog entry so they won&#8217;t have to go through what I went throug.  Ugh!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2-bit-toys.com/2006/12/28/audacity-and-disappearing-flash-8-pro-sound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open source Flash Development</title>
		<link>http://www.2-bit-toys.com/2006/03/24/open-source-flash-development/</link>
		<comments>http://www.2-bit-toys.com/2006/03/24/open-source-flash-development/#comments</comments>
		<pubDate>Fri, 24 Mar 2006 20:04:17 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.2-bit-toys.com/wordpress/2006/03/24/open-source-flash-development/</guid>
		<description><![CDATA[I&#8217;ve been aware of MTASC for awhile now but haven&#8217;t tried it until today. It all started out with a search for an Eclipse plug-in for Actionscript. I chanced upon this page which contains a great tutorial for acquiring and testing out all the tools you&#8217;ll need to start compiling .swf&#8217;s. These are the pieces [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been aware of MTASC for awhile now but haven&#8217;t tried it until today.<br />
It all started out with a search for an Eclipse plug-in for Actionscript.  I chanced upon <a href="http://www.actionscript.com/Article/tabid/54/ArticleID/towards-open-source-flash-development/Default.aspx">this page</a> which contains a great tutorial for acquiring and testing out all the tools you&#8217;ll need to start compiling .swf&#8217;s. <br />
These are the pieces you&#8217;ll need:</p>
<ul>
<li><a href="http://www.eclipse.org/downloads/">Eclipse</a> &#8211; open source IDE</li>
<li><a href="http://sourceforge.net/projects/aseclipseplugin/">ASDT</a> &#8211; eclipse plug-in for Actionscript development</li>
<li><a href="http://www.mtasc.org/">MTASC</a> &#8211; open source Actionscript compiler</li>
<li><a href="http://www.potapenko.com/flashout">Flashout</a> &#8211; eclipse plug-in that gives you a function similar to &#8220;Test Movie&#8221; in Flash</li>
</ul>
<p>MTASC comes with all the classes for MX and 8 (the site mentions its successor, <a href="http://haxe.org/">haXE</a>, which will support Flash Players 6-7-8 and 8.5 as well as Javascript and Server-Side scripting.)</p>
<p>I had a little bit of trouble working with Flashout on my Mac running OS X Tiger.  When I was trying to configure Flashout in the Eclipse preferences I kept getting an error message saying that it couldn&#8217;t find the FlashoutMTASCPreferences class.  It turns out that Flashout requires Java 1.5 which doesn&#8217;t come with Tiger.  This <a href="http://flashmx2004.com/forums/index.php?s=e9f533bec8faca245511e39fbb7b7b03&#038;showtopic=6119&#038;pid=25793&#038;st=0&#entry25793">page</a> gives you the fix.  Essentially you have to download Java 1.5 from Apple&#8217;s site and then you need to point the CurrentJDK folder to the 1.5 folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2-bit-toys.com/2006/03/24/open-source-flash-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

