<?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>WebProNews &#187; actionscript</title>
	<atom:link href="http://www.webpronews.com/tag/actionscript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webpronews.com</link>
	<description>Breaking News in Tech, Search, Social, &#38; Business</description>
	<lastBuildDate>Mon, 13 Feb 2012 16:03:10 +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>Easier Flash/Facebook Integration</title>
		<link>http://www.webpronews.com/integrating-flash-with-facebook-apps-just-got-easier-2009-03</link>
		<comments>http://www.webpronews.com/integrating-flash-with-facebook-apps-just-got-easier-2009-03#comments</comments>
		<pubDate>Tue, 31 Mar 2009 13:32:42 +0000</pubDate>
		<dc:creator>Chris Crum</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Application Development]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[facebook apps]]></category>
		<category><![CDATA[facebook platform]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=49254</guid>
		<description><![CDATA[<p><strong>Update:</strong> More from the press release, which has since come out:</p>
<p>Documentation, example applications and code are now available at <a href="http://www.adobe.com/go/facebook">http://www.adobe.com/go/facebook</a> for developers to get started building rich applications with Adobe Flash and Flex software, and Facebook Platform.</p>]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> More from the press release, which has since come out:</p>
<p>Documentation, example applications and code are now available at <a href="http://www.adobe.com/go/facebook">http://www.adobe.com/go/facebook</a> for developers to get started building rich applications with Adobe Flash and Flex software, and Facebook Platform.</p>
<p>The ActionScript 3.0 Client Library for Facebook Platform is available immediately as a free download along with developer documentation and tutorials at <a href="http://www.adobe.com/devnet/facebook">http://www.adobe.com/devnet/facebook</a>.</p>
<p><strong>Original article: </strong>Adobe and Facebook have announced the availability of a new Actionscript 3 Client Library for Facebook Platform, the platform for building apps on the social network. This library will enable developers to use Flash to create more compelling apps.</p>
<p><img align="right" style="margin: 10px;" title="Josh Elman" alt="Josh Elman" src="http://images.ientrymail.com/webpronews/article_pics/josh-elman.jpg" />Flash in Facebook apps is not a new concept, but this library that Adobe has partnered with Facebook on will provide an organized and official resource for developers to utilize. In a conference call with WebProNews, Facebook Platform Program Manager Josh Elman and Adrian Ludwig, Group Manager for Adobe Flash Product Marketing told me that this project was started back in November. </p>
<p><img align="left" style="margin: 10px;" title="Adrian Ludwig" alt="Adrian Ludwig" src="http://images.ientrymail.com/webpronews/article_pics/adrian-ludwig.jpg" /> There was a lot of unofficial stuff out there, but none of it had great documentation, they said, so they decided to start an officially supported, re-written code library with all public APIs, authentication, sessioning, etc. This way, Flash developers can build better integration between Flash and Facebook or Facebook Connect. </p>
<p>They talked a little about how developers and businesses can use flash-based Facebook apps for monetization. Of course there are advertising opportunities such as we&#8217;ve talked about in the past, but apps open up all kinds of ways for businesses to get potential customers engaged in their content. </p>
<p>They mentioned the <a href="http://www.benandjerrys.com">Ben and Jerry&#8217;s</a> site for example, that utilizes Facebook Connect and Flash to let users rate ice cream flavors and invite their friends to engage with the site.</p>
<p><center><a href="http://www.benandjerrys.com"><img src="http://images.ientrymail.com/webpronews/article_pics/ben-jerrys-fb-connect.jpg" alt="Ben and Jerry's - Facebook Connect" title="Ben and Jerry's - Facebook Connect" /></a></center></p>
<p>They also talked about how CNN used Facebook and Flash to organize viewing of President Obama&#8217;s inauguration and allow people to pull in their friends and turn a simple streaming video opportunity into a social one and the &quot;most streams ever.&quot; </p>
<p>Obviously the potential for engagement is there. Businesses can get creative with how to do it. I&#8217;m thinking you&#8217;ll want to have content that people will actually want to engage with first though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/integrating-flash-with-facebook-apps-just-got-easier-2009-03/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>MapQuest Launches ActionScript API</title>
		<link>http://www.webpronews.com/mapquest-launches-actionscript-api-2007-05</link>
		<comments>http://www.webpronews.com/mapquest-launches-actionscript-api-2007-05#comments</comments>
		<pubDate>Tue, 29 May 2007 14:57:16 +0000</pubDate>
		<dc:creator>Mike Sachoff</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[mapquest]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=37999</guid>
		<description><![CDATA[<p>MapQuest has launched a new, Adobe ActionScript API that will allow developers to use a robust toolset with the benefits of ActionScript 3.0.</p>
]]></description>
			<content:encoded><![CDATA[<p>MapQuest has launched a new, Adobe ActionScript API that will allow developers to use a robust toolset with the benefits of ActionScript 3.0.</p>
<p><span id="more-37999"></span></p>
<p>Developers will be able to build rich applications with Adobe Flex or <a title="Mapping" href="http://www.adobe.com/">Adobe</a> Flash software using a native API for ActionScript for better developer productivity.</p>
<p>&quot;As an industry leading provider of geospatial web services, <a title="MapQuest" href="http://company.mapquest.com/mqbs/4a.html">MapQuest</a> has created a foundation for developers to bring a rich multi-media experience to end-users. Future enhancements will open up the possibilities even further, ultimately allowing developers to customize location-based applications that offer significant end-user control,&quot; said Christian Dwyer, Vice President of Business Solutions and Operations for MapQuest.</p>
<p>&quot;Created to offer more choice, the new ActionScript API offers the possibility of enhanced interactivity, lower development costs and faster time to market while providing all the same great mapping, routing, geocoding and search feature sets that customers rely on from MapQuest.&quot;</p>
<p>MapQuest says because Adobe&#8217;s Flash Player is available to 97 percent of the world&#8217;s Internet-enabled desktops that developers will spend less time on cross-browser support and more on building applications.</p>
<p>&quot;The API developed by MapQuest for ActionScript opens up new avenues for the Web 2.0 developer ecosystem, especially those who use Flash, Flex and Apollo to build rich Internet applications (RIAs) in the browser or right on the desktop,&quot; said Jeff Whatcott, Vice President of Product Marketing, Enterprise and Developer Business Unit at Adobe.</p>
<p>&quot;Now, RIA developers can quickly and easily integrate MapQuest&#8217;s mapping services into their Web 2.0 mash-up applications, enabling them to go beyond simple HTML to create more engaging, data-rich and interactive mapping applications.&quot;</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/mapquest-launches-actionscript-api-2007-05/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding &amp; Controlling Flash Video With Actionscript</title>
		<link>http://www.webpronews.com/embedding-controlling-flash-video-with-actionscript-2006-12</link>
		<comments>http://www.webpronews.com/embedding-controlling-flash-video-with-actionscript-2006-12#comments</comments>
		<pubDate>Wed, 06 Dec 2006 18:38:25 +0000</pubDate>
		<dc:creator>Charlie Campbell</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash%20Video]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=33454</guid>
		<description><![CDATA[Of late, there's no questioning the ubiquity of flash video on the web: Google, Yahoo, YouTube, etc..
]]></description>
			<content:encoded><![CDATA[<p>Of late, there&#8217;s no questioning the ubiquity of flash video on the web: Google, Yahoo, YouTube, etc..</p>
<p>Given this presence (and consequent validity) more folks and more folks are entering into Flash development. Thus, the trend in web video is a boon to development, but in what vein?</p>
<p>Inherently, video needs a method of playback; a VCR, if you will. Flash player is (technically) our VCR, though it needs a bit of molding, as it comes &#8220;buttonless.&#8221;</p>
<p>By this, I mean that one cannot simply embed a video and immediately have playback. Through Flash 8, Adobe provides a fairly simple method for importing clips. One adds pre-designed buttons and sliders by attaching a &#8220;skin&#8221; through an &#8220;import video&#8221; wizard.</p>
<p>Options then include: streaming said flv from a Flash Communications server or offering it as a progressive download. Either way, an swf file is created, referencing the &#8220;skin&#8221; and the flv, effectively creating a &#8220;dedicated player&#8221; of sorts. This swf contains a hard link to that flv file (or stream) and the skin file forever&#8230; so for each production you&#8217;ll have to manage three individual files! Sound a bit messy?</p>
<p>The real power of Flash video is in the hands of Actionscript developers. While most tinkerers can embed a video, it&#8217;s simply not a flexible or sophisticated method. What if you need to control playback via function calls? Nearly impossible.</p>
<p>What happens when something changes? A reprocessing of all previously published swfs!</p>
<p>What about a customized GUI? Anyone who&#8217;s seen <a href="http://www.adobe.com/devnet/flash/articles/flv_tutorial_pt2.html" class="bluelink">Jen deHaan&#8217;s Flash skin-making tutorial </a>knows how complicated this can be. Why suffer through draconian &#8220;skin&#8221; file standards and other nightmares when you can weave a bit of Actionscript? </p>
<p>Here at WebProNews&#8217; Video Blog ( like Google, YouTube and Yahoo ) we&#8217;ve opted for a more organized, Actionscript alternative: feeding video into a Flash application via externalized variables. Any method of importing data into Flash will suffice (in our case, we&#8217;re utilizing a script creating dynamic XML ).</p>
<p>In this manner, a  video symbol is created from which the flv plays. This is referenced in Actionscript which controls this symbol using attachVideo on a NetStream object. Here&#8217;s the proof of concept:
<ul><code>	var nc = new NetConnection();<br />
	nc.connect( null );</p>
<p>	var stream_ns:NetStream = new NetStream(nc);</p>
<p>	video_mc.attachVideo(stream_ns);<br />
	//video_mc is the name of the video symbol placed on the stage</p>
<p>	stream_ns.play(path_to_flv);</code></ul>
<p>At this point, the flv will be embedded into video_mc and begin playing. Flash&#8217;s NetStream functions can be performed on stream_ns to pause, play, seek, and gather information about the newly embedded video.</p>
<p>It&#8217;s a magical moment when this all comes together. Suddenly, flv lives up to the hype&#8230; you have it under your thumb. The possibilities are endless and exist within a familiar environment.</p>
<p>Tag: </p>
<p>Add to <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=clos e&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(docum ent.title),'delicious','toolbar=no,width=700,height=400'); return false;" class="printMailTop"><img src="http://images.ientrymail.com/webpronews/delicious-pic.png" border="0"> Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window. location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,locati on=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src="http://images.ientrymail.com/webpronews/digg-pic.png" border="0"> Digg</a> | <a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComp onent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img src="http://images.ientrymail.com/webpronews/reddit.png" border="0">Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeUR IComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+ ' '"><img src="http://images.ientrymail.com/webpronews/furl-pic.png" border="0"> Furl</a></p>
<p>Bookmark WebProNews: <a href="http://www.webpronews.com"><img src="http://images.ientrymail.com/webpronews/wpn-readit.jpg" border="0"></a></p>
<p>Charlie is a videographer, web developer and occasional correspondent for the <a href="http://videos.webpronews.com/">WebProNews Video Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/embedding-controlling-flash-video-with-actionscript-2006-12/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adobe Opens ActionScript Code to Mozilla</title>
		<link>http://www.webpronews.com/adobe-opens-actionscript-code-to-mozilla-2006-11</link>
		<comments>http://www.webpronews.com/adobe-opens-actionscript-code-to-mozilla-2006-11#comments</comments>
		<pubDate>Thu, 09 Nov 2006 21:35:02 +0000</pubDate>
		<dc:creator>Joe Lewis</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Tamarin]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=32742</guid>
		<description><![CDATA[Adobe announced this week that it has contributed source code for the ActionScript Virtual Machine to the Mozilla Foundation as part of a new open source project entitled Tamarin.
]]></description>
			<content:encoded><![CDATA[<p>Adobe announced this week that it has contributed source code for the ActionScript Virtual Machine to the Mozilla Foundation as part of a new open source project entitled Tamarin.</p>
<table width="128" border="0" align="right">
<tr>
<td width="122" height="62"><a href="http://www.webproworld.com/viewtopic.php?p=334786"><img src="http://images.ientrymail.com/CommentImage-4.gif" width="130" height="60" border="0"></a></td>
</tr>
</table>
<p>The Tamarin project is aimed at developing new and exciting interactive applications as part of the industry&#8217;s climb toward the almost mythical destination of Web 2.0.</p>
<p>Of course, <a href="http://www.mozilla.com" class="bluelink">Mozilla</a> isn&#8217;t the only developer that might be interested in getting a peek at the ActionScript source code. Conspicuously absent from the discussion, however, were <a href="http://www.microsoft.com" class="bluelink">Microsoft</a> and <a href="http://www.opera.com" class="bluelink">Operasoft</a>, both of which also tout browsers that would see great benefit from an open source partnership with Adobe.</p>
<p><a href="http://www.adobe.com" class="bluelink">Adobe</a> maintains that the announcement is not indicative of an exclusive partnership with Mozilla&#8217;s Firefox browser.</p>
<p>In talking with Adobe&#8217;s Matt Rozen, he comments on Firefox and how the idea for the venture came about, &#8220;The project really started from the top of the two organizations &#8211; with the ActionScript Virtual Machine based on JavaScript and the creator of JavaScript at Mozilla, I think that played into it.&#8221;</p>
<p>&#8220;And although this relationship isn&#8217;t specifically about implementing the open sourced code into Firefox, Firefox is popular with users and developers. According to 3rd party firms such as One Stat and Net Applications, Firefox&#8217;s market share is between 12 and 16 percent in the US. And according to Mozilla, some European countries are as high as 30 percent.&#8221;</p>
<p>Rozen adds, &#8220;I&#8217;m not sure whether Adobe considered any other organizations to open source the code to &#8212; I do know that Adobe and Mozilla have been working together on the spec for a while now. This didn&#8217;t happen overnight.&#8221;</p>
<p>As part of my conversation with Adobe about the <a href="http://www.mozilla.com/en-US/press/mozilla-2006-11-07.html" class="bluelink">Tamarin</a> project I also got the chance to hear from Pam Deziel, Director of Product Marketing for the Platform Business Unit at Adobe.</p>
<p>She elaborates on the nature of the Adobe/Mozilla partnership, &#8220;This is an open source project in conjunction with the Mozilla foundation; it isn&#8217;t specifically a relationship with the Firefox browser and other technologies created by the Mozilla Corporation technologies.&#8221; </p>
<p>&#8220;The Tamarin project will be hosted by the Mozilla Foundation. Adobe contributed source code from the ActionScript Virtual Machine in the hopes that Adobe, Mozilla and the greater developer community will create the ECMAScript, 4th edition &#8212; a high performance, standards-compliant scripting engine, to accelerate the ability of developers to create and deliver richer, more interactive and engaging experiences that work across multiple platforms.&#8221;</p>
<p>Deziel continues, &#8220;The Tamarin project is an opportunity to help advance the open Internet by broadening its reach, improving the secure engagement of rich content and empowering millions of developers to evolve the technology we are contributing. Microsoft and Operasoft are welcome to implement Tamarin as the scripting language engine in their browsers.&#8221;</p>
<p>Inquiries to both Microsoft and Operasoft have thus far gone unanswered, but I&#8217;m willing to wager that both companies are more than casually interested in what ActionScript Virual Machine can bring to the development table of their respective web applications.</p>
<p>And at least from appearances, Adobe has extended an open invitation to both companies to incorporate Tamarin into both the Internet Explorer and Opera browsers. </p>
<p>It will be interesting to see if Mozilla, Microsoft and Operasoft can all make nice and play well together in the Web 2.0 sandbox.</p>
<p>Add to <a href=http://del.icio.us/post onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return false;" CLASS="printMailTop"><img src=http://images.ientrymail.com/webpronews/delicious-pic.png border=0> Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window. location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src=http://images.ientrymail.com/webpronews/digg-pic.png border=0> Digg</a> | <a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img src=http://images.ientrymail.com/webpronews/reddit.png border=0>Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+ ' '"><img src=http://images.ientrymail.com/webpronews/furl-pic.png border=0> Furl</a></p>
<p>Joe is a staff writer for  <a href="http://www.webpronews.com">WebProNews</a>. Visit WebProNews for the <a href="http://www.WebProNews.com">latest ebusiness news</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/adobe-opens-actionscript-code-to-mozilla-2006-11/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Yahoo Flashes New Development Center</title>
		<link>http://www.webpronews.com/yahoo-flashes-new-development-center-2006-09</link>
		<comments>http://www.webpronews.com/yahoo-flashes-new-development-center-2006-09#comments</comments>
		<pubDate>Fri, 22 Sep 2006 15:38:59 +0000</pubDate>
		<dc:creator>WebProNews Staff</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=31640</guid>
		<description><![CDATA[A Flash Development Center opened on the Yahoo Developer Network with a variety of resources for ActionScript 2 and 3 application builders.
]]></description>
			<content:encoded><![CDATA[<p>A Flash Development Center opened on the Yahoo Developer Network with a variety of resources for ActionScript 2 and 3 application builders.</p>
<table width="128" border="0" align="right">
<tr>
<td width="122" height="62"><a href="http://www.webproworld.com/viewtopic.php?p=324836"><img src="http://images.ientrymail.com/CommentImage-4.gif" width="130" height="60" border="0"></a></td>
</tr>
</table>
<p>Have you wanted to become more comfortable using Flash with Yahoo&#8217;s web services? <a href=http://developer.yahoo.com/flash/ class=bluelink>Now you can</a>.</p>
<p>Jeffery Bennett <a href=http://developer.yahoo.net/blog/archives/2006/09/flash_developer.html class=bluelink>posted</a> the news at Yahoo&#8217;s Developer Center <a href=http://developer.yahoo.net/blog/archives/2006/09/flash_developer.html class=bluelink>blog</a>:</p>
<p><i>
<div style=margin-left:10px; margin-right:10px>With examples in both ActionScript 2 and ActionScript 3, the Flash Developer Center will have you mashing up search, maps, music, and events in no time.</p>
<p>Brand-new to Flash? No worries; see our list of downloads and resources to get started. And for even more help, join our new YDN group, <a href=http://groups.yahoo.com/group/ydn-flash/ class=bluelink>ydn-flash</a>, and start trading those API tips and tricks with your fellow developers.</div>
<p></i><br />
Noted Yahoo staffer and blogger Jeremy Zawodny also <a href=http://jeremy.zawodny.com/blog/archives/007490.html class=bluelink>noted</a> the debut of the Flash center, along with one for <a href=http://developer.yahoo.com/ruby/ class=bluelink>Ruby developers</a>. &#8220;What languages should we do next?&#8221; he asked in the post, to which several people replied, &#8220;<a href=http://www.perl.com class=bluelink>Perl</a>.&#8221;</p>
<p>Back to Flash. At Yahoo&#8217;s new center, a few resources have been made available already to developers. A quartet of how-to articles discuss the ins and outs of performing a Yahoo search, using ActionScript with Yahoo Maps, creating a Yahoo Music Jukebox plug-in, and mashing up Flash with Yahoo&#8217;s event service, <a href=http://upcoming.org class=bluelink>Upcoming.org</a>.</p>
<p>Several links to useful downloads and other external resources appear at the Flash Developer Center. The site also makes note of what a developer will need to get started with Yahoo:</p>
<p>&bull;&nbsp; Adobe Flash 8 Professional<br />
&bull;&nbsp; A Yahoo API Key<br />
&bull;&nbsp; YahooAPI class and examples<br />
&bull;&nbsp;  An Application ID</p>
<p>After registering that ID with the Yahoo API class, development can begin. Yahoo&#8217;s how-to examples take the developer through the process of setting up the event handler, and demonstrating how to invoke, for example, the static Yahoo search method.</p>
<p>Interested developers may wish to make their way to Yahoo&#8217;s first public <a href=http://www.hackday.org class=bluelink>Hack Day</a> on September 29-30. See the site for more details.</p>
<p>&#8212;<br />
Tag: </p>
<p>Add to <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return false;" CLASS="printMailTop"><img src=http://images.ientrymail.com/webpronews/delicious-pic.png border=0> Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src=http://images.ientrymail.com/webpronews/digg-pic.png border=0> Digg</a>  | <a href="javascript:void window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&#038;u='+encodeURIComponent(window.location.href)+'&#038;tag=Flash','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src=http://images.ientrymail.com/webpronews/yahoo-pic.png border=0> Yahoo! My Web</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+' '"><img src=http://images.ientrymail.com/webpronews/furl-pic.png border=0> Furl</a></p>
<p>Bookmark WebProNews: <a href=http://www.webpronews.com><img src=http://images.ientrymail.com/webpronews/wpn-readit.jpg border=0></a> </p>
<p><script language=JavaScript src="http://aj.600z.com/aj/1095/0/vj?z=1&#038;dim=1088&#038;pos=15"></script></p>
<p>David Utter is a staff writer for WebProNews covering technology and business. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/yahoo-flashes-new-development-center-2006-09/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActionScript 2.0 Best Practices</title>
		<link>http://www.webpronews.com/actionscript-best-practices-2006-06</link>
		<comments>http://www.webpronews.com/actionscript-best-practices-2006-06#comments</comments>
		<pubDate>Fri, 23 Jun 2006 21:08:36 +0000</pubDate>
		<dc:creator>Ashley Peach</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=30022</guid>
		<description><![CDATA[Actionscript is a very powerful language made by macromedia. Learning actionscript can be tricky until you get your mind thinking the same way actionscript does.
]]></description>
			<content:encoded><![CDATA[<p>Actionscript is a very powerful language made by macromedia. Learning actionscript can be tricky until you get your mind thinking the same way actionscript does.</p>
<p>Actionscript is evolving at a very fast rate into a top programming language. With the release of ActionScript 3.0 expected in the next few months it&#8217;s important to get use to good 2.0 practices.</p>
<p>So what are correct 2.0 practices?</p>
<p>Correct 2.0 practices would include strict data typing all variables, function return values and values excepted. Strict data typing can also be used in classes which is another great 2.0 practice. </p>
<p>OOP is Object Orientated Programming; OOP is like an advanced external function. Languages such as Java are purely OOP all programming done is Java uses classes. </p>
<p>The advantages to classes are they can be re-used time and time again. They can be extended with additional classes, They can be shared and they&#8217;re great for organization. </p>
<p>Once you start programming things over 1000 lines of code, things can get very complicated and sometimes impossible because you simply don&#8217;t know what goes next. This is where classes come in. Classes will organize your entire site into manageable sections. </p>
<p>An example of using classes would be a members system. You could create a members class, and that class could contain a signup function that registers the users checked for blank values and further validation. </p>
<p>You could then have a login function which checked the user&#8217;s name and password against the database and returned a value of true if the username and password supplied match that of the database. </p>
<p>OOP really is the future of programming without OOP you will struggle with medium to large sized projects. Another huge advantage to OOP is when working in a team you can simply work on a class each and modify or extend another persons class. Where as without OOP you would have to look through maybe 10,000 lines of code to find 5 lines of code that needed modifying. </p>
<p>Good 2.0 practices would also be using movieclips instead of buttons. Movieclips have far more functionality than buttons ever could. Actionscript 2.0 can do just about anything to movieclips: change the coulor, size, shape, movement, and the list goes on and on. Buttons really are the past. The future is movieclips.</p>
<p><b>How to define strict datatypeing</b></p>
<p>For example to define a variable as a number we would use </p>
<p>var &#8211; to signal what we are defining is a variable.</p>
<p>thename &#8211; anything you like to identify the specific variable.</p>
<p>:number &#8211; the datatype this could be a number, boolean or string.</p>
<p>= &#8211; to define what will be inside the variable.</p>
<p>4 &#8211; the value that sits inside the variable.</p>
<p>; &#8211; just to end the line of code</p>
<p><b>So in full</b></p>
<p><code>var thename:Number = 4;</code></p>
<p>String and boolean would look as follows:</p>
<p><code>var thestring:String = hello;</p>
<p>var theboolean:Boolean = true;</code></p>
<p>If you wanted to make something happen when a user clicked a movie clip, the correct 2.0 code to use would be:</p>
<p><code>nameofthemovieclip.onPress = function ():Void {</p>
<p>//what you would like to happen in here.</p>
<p>}</code></p>
<p>We define the function as void so that actionscript does not except a retuned value. If we were to put expected values inside the function we would use:</p>
<p><code>myfunc = function (mynumber:Number):Void{</p>
<p>//code goes here</p>
<p>}</code></p>
<p>So remember to always use correct 2.0 practices and your code will shine.</p>
<p>Add to <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&#038;noui&#038;jump=close&#038;url='+enco   deURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400');   return false;">Del.icio.us</a> | <a href="javascript:void   window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.   location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,locati   on=0,resizable=1,scrollbars=1,left=100,top=50',0)">DiggThis</a>  | <a href="javascript:void   window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encode   URIComponent(document.title)+'&#038;u='+encodeURIComponent(window.location.href)+   '&#038;tag=','popup','width=520px,height=420px,status=0,location=0,resizable=1,sc rollbars=1,left=100,top=50',0)">Yahoo! My   Web</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeUR   IComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+ ' '">Furl</a></p>
<p>Ashley Peach &#8211; Owns Dog toys, Dog books and Dog coats.</p>
<p>View their website at: http://www.dog-toy.co.uk/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/actionscript-best-practices-2006-06/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex &amp; Ajax Together: FABridge</title>
		<link>http://www.webpronews.com/flex-ajax-together-fabridge-2006-03</link>
		<comments>http://www.webpronews.com/flex-ajax-together-fabridge-2006-03#comments</comments>
		<pubDate>Wed, 08 Mar 2006 21:05:09 +0000</pubDate>
		<dc:creator>John Stith</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=27477</guid>
		<description><![CDATA[Macromedia has a lot of wonderful tools for the developer community. One of the most impressive new tools, Flex 2.0, has been developed with ColdFusion integration in mind. Macromedia threw out a new resource by introducing a new library of code called the Flex Ajax Bridge (FABridge). The new code can be inserted into a Flex application, a Flex component or an empty SWF file in order to expose it to scripting in the browser.
]]></description>
			<content:encoded><![CDATA[<p>Macromedia has a lot of wonderful tools for the developer community. One of the most impressive new tools, Flex 2.0, has been developed with ColdFusion integration in mind. Macromedia threw out a new resource by introducing a new library of code called the Flex Ajax Bridge (FABridge). The new code can be inserted into a Flex application, a Flex component or an empty SWF file in order to expose it to scripting in the browser.</p>
<p>Ely Greenfield gave an apt <a href="http://labs.macromedia.com/wiki/index.php/Flex_Framework:FABridge" class="bluelink">description</a> of the new toy over at Macromedia&#8217;s (a division of Adobe) website. He broke things down, explaining what the FABridge is and what to do with it. </p>
<p><i>To humbly borrow a page from the Ruby on Rails community, FABridge is built with the &#8220;don&#8217;t repeat yourself&#8221; principle in mind. Rather than having to define new, simplified APIs to expose a graph of ActionScript objects to JavaScript, with FABridge you can make your ActionScript classes available to JavaScript without any additional coding. Once you&#8217;ve inserted the library, pretty much anything you can do using ActionScript, you can do using JavaScript</i>.</p>
<p>He said Flash Player has the ability, natively, through the External API (ExternalInterface), to call JavaScript from ActionScript and vice versa. He ExternalInterface has some limitations:</p>
<p>	The ExternalInterface class requires you, the developer, to write a library of extra code in both ActionScript and JavaScript, to expose the functionality of your Flex application to JavaScript, and vice versa. </p>
<p>	The ExternalInterface class also limits what you can pass across the gap &#8211; primitive types, arrays, and simple objects are legal, but user-defined classes, with associated properties and methods, are off-limits. You&#8217;re limited in what you can do. </p>
<p>	The ExternalInterface class enables you to define an interface so your JavaScript can call your ActionScript &#8211; FABridge essentially lets you write JavaScript instead of ActionScript. </p>
<p>Next he goes into where to use the FABridge. He says the library may be useful if you want to use a rich Flex component in an Ajax application but don&#8217;t want to write a lot of Flex code. If only a couple of people know how to use Flex, this FABridge will allow everyone to use the work of the Flex dudes. Finally, if you&#8217;re building an integrated RIA with both Flex and Ajax portions, he suggests on might find it faster to start with FABridge as a head start.</p>
<p>He said there are some limitations on the FABridge in its current state, which is pre-alpha. He said testing has been done on Firefox 1.5 and Internet Explorer 6.0 (SP2). Neither Linux nor Macintosh has been tested.</p>
<p><i>Because of the limited integration between the JavaScript and ActionScript garbage collection models, the bridge must guarantee that any ActionScript object stays in memory indefinitely once it has been accessed from JavaScript. If you find that memory consumption is becoming an issue in your use of the bridge, you can call the function FABridge.<flash | bridge name>.releaseASObjects(). This will clear the cache of bridged objects and functions and allow them to exit from memory as appropriate. After calling this function, all references to ActionScript objects and functions are invalid and must be reacquired.</i></p>
<p>He ended by saying one can use the FABridge to automatically expose your Flex application to Ajax-based HTML applications. The bridge allows users to &#8220;easily embed rich Flex components in applications, integrating them tightly with the rest of the page content and one the Flex app is enabled through the bridge, JavaScript developers have access to all the functionality it provides.&#8221;</p>
<p>Tag:  | <script language='javascript'> document.write("Email WebProNews <a href='mailto:news@ientry.com?subject="+encodeURIComponent(document.title)+"' >here</a>.")</script></p>
<p>Add to <script language='javascript'> document.write("<a href='http://del.icio.us/post?url="+encodeURIComponent(document.location.href)+"&#038;title="+encodeURIComponent(document.title)+"'>Del.icio.us</a>")</script > | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window. location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,locati on=0,resizable=1,scrollbars=1,left=100,top=50',0)">DiggThis</a>| <a href="javascript:void window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encode URIComponent(document.title)+'&#038;u='+encodeURIComponent(window.location.href)+ '&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable= 1,scrollbars=1,left=100,top=50',0)">Yahoo My Web</a>=</p>
<p><script language=JavaScript src="http://aj.600z.com/aj/1095/0/vj?z=1&#038;dim=1088&#038;pos=15"></script></p>
<p>John Stith is a staff writer for WebProNews covering technology and business. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/flex-ajax-together-fabridge-2006-03/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Developer Toolbox</title>
		<link>http://www.webpronews.com/flash-developer-toolbox-2005-08</link>
		<comments>http://www.webpronews.com/flash-developer-toolbox-2005-08#comments</comments>
		<pubDate>Thu, 25 Aug 2005 19:29:45 +0000</pubDate>
		<dc:creator>Paul Newman</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=22482</guid>
		<description><![CDATA[These days, Flash users fall into two main categories: designers, who can dream up amazing Flash user interfaces, and developers, who spend most of their time pressing Ctrl+Enter. The Flash developer is a relatively new moniker. It describes someone who prefers to interact with Flash using a text editor, rather than manipulating movie clips on the stage. This article is an overview of must-have tools for Flash developers. Most of them are free, some are not. But all of them can save you time and effort.
]]></description>
			<content:encoded><![CDATA[<p>These days, Flash users fall into two main categories: designers, who can dream up amazing Flash user interfaces, and developers, who spend most of their time pressing Ctrl+Enter. The Flash developer is a relatively new moniker. It describes someone who prefers to interact with Flash using a text editor, rather than manipulating movie clips on the stage. This article is an overview of must-have tools for Flash developers. Most of them are free, some are not. But all of them can save you time and effort.</p>
<p>ActionScript Editors<br />
The following text editors offer features, such as code hinting, that are superior to Flash&#8217;s built-in text editor. Some features, such as class browsing, aren&#8217;t even available in Flash MX 2004. </p>
<p>PrimalScript<br />
Of the many available third-party ActionScript editors, PrimalScript arguably offers the most features in a single package. It&#8217;ll set you back almost 200 bucks, but it&#8217;s worth it. The best feature of PrimalScript is its code hinting. Unlike Flash MX 2004, PrimalScript offers code hinting for custom ActionScript classes, as well as a class browser that provides a quick reference to classes&#8217; properties and methods. It&#8217;s also possible to compile Flash movies directly from PrimalScript using a JSFL command or a third-party tool such as MTASC. The only real drawback is the lack of CVS integration &#8211; currently, PrimalScript only supports MSSCCAPI-compliant source control systems such as Perforce, Visual SourceSafe, PVCS and StarTeam &#8211; but hopefully this will be added in a future release.</p>
<p>For more information, see the free Community MX article and videos, &#8220;Coding for Flash with PrimalScript.&#8221;</p>
<p>SE|PY ActionScript Editor<br />
SE|PY ActionScript Editor is free and offers many of the features available in PrimalScript, and even some that aren&#8217;t, such as word wrap, auto-complete, and collapsible code (&#8220;code folding&#8221;). If you want to move beyond Flash&#8217;s built-in text editor and don&#8217;t want to spend the money on PrimalScript, SE|PY is a good place to start.</p>
<p>SciTE|Flash<br />
SciTE|Flash is a little geekier, and not as feature-rich as PrimalScript or SE|PY, but it does offer limited code hinting, auto-complete, code folding, and (like SE|PY) built-in support for the Flash compiler Flush. Visit the following link to download the SciTE|Flash installer.</p>
<p>Eclipse<br />
If you&#8217;re not familiar with Eclipse, it&#8217;s a top-notch, Java-based IDE. Because it&#8217;s open source and extensible, Eclipse boasts a huge number of free plugins that enable it to edit almost anything, from ActionScript to PHP to XML. The most popular ActionScript plugin is AS Development Tool (ASDT), although it still has a way to go before it replaces the tools mentioned above. Eclipse also integrates with CVS and command-line compilers such as MTASC.</p>
<p>Utilities<br />
In this section, we look at a number of utilities- some built specifically for Flash, some not &#8211; that help you get your work done faster.</p>
<p>Screen Ruler<br />
Screen Ruler is a $25 shareware utility that enables you to measure anything on your screen, vertically and horizontally, in pixels, inches, picas, and other units. Screen Ruler is especially useful if you&#8217;re working from comps or wireframes and need to extract the dimensions of an image and its elements. </p>
<p>Eyedropper<br />
Eyedropper, like Screen Ruler, is one of those simple utilities that should be bundled with Windows but isn&#8217;t. Once you use it, you&#8217;ll wonder how you ever lived without it. With Eyedropper, you can point your cursor at any object on the screen and get its color information in Hex, RGB, or CMYK format. </p>
<p>FLV MetaData Injector (FLVMDI)<br />
FLVDMDI is a free command-line tool that enables you to add metadata information to your Flash video (FLV) files. A visual interface, FLVMDI GUI, is also available:<br />
With FLVMDI, you can select one or more FLVs on your computer and it inserts the correct metadata. This is a lifesaver if your client encodes FLVs with a tool that doesn&#8217;t insert metadata (metadata properties, such as duration, are required by many Flash video components). You can also use FLVMDI to correct metadata generated by Sorenson Squeeze (see blog).</p>
<p>FLV Player<br />
Martijn de Visser&#8217;s FLV Player is a free Windows executable that registers itself as the default handler for Flash video (FLV) files. Once installed, it enables you to double-click any FLV on your computer and watch the video. You can also get additional information about the video, such as width, height, and duration, by right-clicking the player and choosing Media Properties. If you do any work with Flash video, this one is indispensable.</p>
<p>NetConnection Debugger<br />
This panel is added to Flash MX 2004 when you install Flash Remoting for Flash MX 2004 ActionScript 2.0. What many Flash users don&#8217;t realize is that you can also run NCD outside of the Flash IDE (thanks to Tom Muck for this tip). Simply create a shortcut to the SWF file. On Windows XP Pro, you&#8217;ll find it here:</p>
<p>C:\Documents and Settings\[Username]\Local Settings\Application Data\Macromedia\Flash MX 2004\[Language]\Configuration\WindowSWF\NetConnection Debugger.swf </p>
<p>You can use NetConnection Debugger to debug Flash Remoting applications in the test player, the standalone Flash Player, and the browser. </p>
<p>BLDoc Community Edition<br />
BLDoc is a documentation generator for ActionScript 2.0. The free community edition is available if you join the beta program.<br />
BLDoc generates docs in one of three formats: a Javadoc-style framed HTML interface, a Flash (SWF) interface with a table of contents and index, and intrinsic class files for third-party IDEs. For the best results, you must use Java-style comments in your ActionScript, which enforces good coding habits.</p>
<p>Applications<br />
In this section, we look at some more advanced Flash development tools to assist you with compiling, debugging, and source code management. </p>
<p>ActionScript Viewer (ASV)<br />
In addition to being a Flash decompiler, ActionScript Viewer (ASV) offers additional tools, such as SOL Viewer and Editor, a plugin that enables you to read and edit local shared objects generated by Flash. ASV is most useful when you need to recover Flash code but no longer have access to the original FLA source file. It can also be a useful learning tool when you want to see how another developer achieved a certain result.<br />
I&#8217;ve used it mainly to convert components to external ActionScript classes &#8211; this is often easier than remembering to tell other developers on your team to install an extension &#8211; and to find undocumented methods and properties in Flash and Central.</p>
<p>AdminTool<br />
AdminTool is a unique third-party Flash debugger that uses the LocalConnection class to display &#8220;trace&#8221; statements outside of the Flash IDE. But that just scratches the surface. The free AdminTool also enables you to take a snapshot of your application and inspect and manipulate movie clips and other objects in real time &#8211; even audio and video. You can think of AdminTool as a remote control for your Flash movies. Currently, AdminTool can be implemented via a Flash component, or an external ActionScript class, so it&#8217;s easy to add to an application. </p>
<p>For more information, see &#8220;Debugging Flash Applications with AdminTool&#8221; on Community MX.</p>
<p>Flash Resource Manager<br />
Flash Resource Manager, created by Mike Chambers, aggregates information from Flash help into a single application. It&#8217;s particularly useful if you author and compile Flash applications without the Flash IDE. You can also search Flash community sites, and add additional help files in Macromedia LiveDocs format, such as ColdFusion 7 and Flex.</p>
<p>For more information, see &#8220;Using Flash Resource Manager&#8221; on Community MX.</p>
<p>Motion-Twin ActionScript 2 Compiler (MTASC)<br />
What sets MTASC apart from other Flash compilers such as Flush and FlashCommand is that Flash MX 2004 doesn&#8217;t have to be running &#8211; or even installed &#8211; to compile SWF files. However, MTASC is a command-line compiler and not for the faint of heart. Similar to Java, the compiler expects a static entry point method called main() and is much stricter than Flash MX 2004, so you may have to do more debugging before your app compiles successfully. The upside is that MTASC compiles much, much faster than Flash. For more information, see the &#8220;Usage&#8221; and &#8220;Tutorial&#8221; sections.</p>
<p>TortoiseCVS<br />
TortoiseCVS is a free CVS version control client for Windows. If you&#8217;re working on a team with multiple Flash developers, TortoiseCVS enables you to check out a remote repository, add files, commit them back to the repository, and update your local copy when other developers make changes. What&#8217;s nice about TortoiseCVS is that it integrates with the Windows Explorer shell, so you can right-click files to perform CVS operations, and you can tell at a glance if a file has been added or committed to CVS. TortoiseCVS also offers built-in support for WinMerge. This means you can right-click an ActionScript file, choose CVS Diff, and WinMerge launches to display your current file and the previous version side-by-side. This is useful when you&#8217;re committing a new version and need to make comments about the latest changes.</p>
<p>For more information, see Arman Danesh&#8217;s excellent five-part series, &#8220;Using Source Code Management,&#8221; on Community MX. </p>
<p>Conclusion<br />
We hope you enjoyed this article. If you would like to recommend additional Flash-related tools for inclusion in this article, please use the feedback form below.</p>
<p>Paul Newman is Expertise: Dreamweaver, Central, Flash, ActionScript, Flash Remoting, ColdFusion, ASP, SQL Server, Photoshop, ImageReady and InDesign Contributions: Author of The Joy of Dreamweaver MX. Contributor to DevNet. Team Macromedia for Central. Founder of Newman Zone. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/flash-developer-toolbox-2005-08/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Actionscript Based Shapes, That Move</title>
		<link>http://www.webpronews.com/actionscript-based-shapes-that-move-2004-06</link>
		<comments>http://www.webpronews.com/actionscript-based-shapes-that-move-2004-06#comments</comments>
		<pubDate>Fri, 18 Jun 2004 18:52:21 +0000</pubDate>
		<dc:creator>Erwin Schiphouwer</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=10458</guid>
		<description><![CDATA[Peace and Respect 2 all of you outThere that live an ACTIONSCRIPTING life. Firstly let me say i'm no actionscript guru, i'm just a beginner, but i live, eat, breathe, dream actionscript since the first time i laid eyez on it. (thats about 3-4 months ago).
]]></description>
			<content:encoded><![CDATA[<p>Peace and Respect 2 all of you outThere that live an ACTIONSCRIPTING life. Firstly let me say i&#8217;m no actionscript guru, i&#8217;m just a beginner, but i live, eat, breathe, dream actionscript since the first time i laid eyez on it. (thats about 3-4 months ago).</p>
<p>I really love making effects and everyThing else that involves actionscript, and i also love to try2explain2others how they can do it 2. I hope all of you that read this find this a usefull tutorial, it&#8217;s about the first tut i have ever written in my entire life. </p>
<p>Allrighty enough of me, let us commence da ActionScriptBattle.;) &#8230;&#8230;aahYeahhhhhh&#8230;&#8230;&#8230;. </p>
<p>By the way, i used a: </p>
<p>- grey bgColor</p>
<p>- a framerate of 30</p>
<p>- a Stage Width and Height of 200&#215;80</p>
<p>- i use FLASH MX, the file won&#8217;t work in Flash 5 or less!</p>
<p><code>// Step 1: The MovieClip.prototype.drawShape4Testing()<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                  // (This makes the shapes we'll use.) </code></p>
<p>This first part of the script is a MovieClip.prototype i use it very very very often. It can make a normal circle, but it can make a whole lot of different shapes too, You only have to edit one variable to accomplish this. &#8211;> style is the variable to edit. This comes in very useful when you quickly want to drop a shape on stage, that exists completely of actionscript, and then quickly release your ASmagic on it. Set style to 22.5 and you have a perfect circle but set it to other values (stay under 90) and you get cool different shapes.</p>
<p>Don&#8217;t worry too much about the look of this proto, the first time i saw it i was in awe. It&#8217;s now stuck in my head, i edited it to my needs and i now i can do with it what i want.</p>
<p>Now what this prototype does is:</p>
<p><b>1 :</b> It goes to a given point(moveTo), with a given radius. </p>
<p><b>2 :</b> The lineStyle and fills are set, this ofcourse set the look of the lines, and colors used      in the shape that will be created. </p>
<p><b>3 :</b> An angle is calculated into radians, flash uses radians to calculate stuff.(flash doesn&#8217;t      know degrees) but because we&#8217;re humans here, we need degrees to know what&#8217;s      happening.</p>
<p><b>4 :</b> Next a For loop is set, as you can see values are given in degrees, and are later used      for the conversion to radians. </p>
<p><b>5 :</b> Now the endPoints and current Points are calculated and put into a variables to use in      the curveTo. </p>
<p><b>6 :</b> finally you&#8217;ll see the drawingApi curveTo in action, it will curve to the calculated points      and make the shape.(and ofCourse endFill to stop the fillColor) </p>
<p>In different parts of the prototype you&#8217;ll see the conversion formula for degrees2radians. The formula used for this conversion is:</p>
<p><code>angleInradians=angleInDegrees *Math.PI/180;</code></p>
<p>The angle in radians is then used to calculate Things. </p>
<p> FROM THIS POINT YOU CAN SELECT ALL TEXT AND COPY IT INTO THE ACTIONSCRIPT EDITOR IN FLASH.</p>
<p><code>//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
// PROTOTYPE 1:<br />
// Now when we create a new empty movieClip we can call this prototype, define it's<br />
// values and the shape is made in the empty movieClip.<br />
// Then you can control that holder mc as alwayzz, and do what you wanna do with it<br />
//<br />
// Here i will give a short description of the variables used in the prototype.<br />
// radius   = Sets how big the shape will be.<br />
// x           = The startX position, good to keep it at 0,then set the _x of the MC yourSelf.<br />
// y           = The startY position, good to keep it at 0,then set the _y of the MC yourSelf.<br />
// lW         = This is the line width of the shape that will be created.<br />
// lC          = This is the line color of the shape that will be created.<br />
// lA          = This is the line alpha of the shape that will be created.<br />
// fC          = This is the fill color of the shape that will be created.<br />
// fA          = This is the fill alpha of the shape that will be created.<br />
// style     = Sets the look of the shape, 22.5 is a perfect circle.(keep the value below 90)</p>
<p>MovieClip.prototype.drawShape4Testing= function(radius,x,y,lW,lC,lA,fC,fA,style)<br />
{<br />
&#038;nbsp&#038;nbsp          this.moveTo(x+radius,y);<br />
 &#038;nbsp&#038;nbsp         this.lineStyle(lW,lC,lA);<br />
&#038;nbsp&#038;nbsp          this.beginFill(fC,fA);<br />
&#038;nbsp&#038;nbsp          a = Math.tan(style * Math.PI/180);<br />
 &#038;nbsp&#038;nbsp         for (var angle=45;angle<=360;angle+=45)<br />
 &#038;nbsp&#038;nbsp &#038;nbsp             {<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                     var endX = radius*Math.cos (angle*Math.PI/180);<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                     var endY = radius*Math.sin (angle *Math.PI/180);<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                     var cX = endX + radius*a*Math.cos ((angle-90)*Math.PI/180);<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                     var cY = endY + radius*a*Math.sin ((angle-90)*Math.PI/180);<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                     this.curveTo(cX+x,cY+y,endX+x,endY+y);<br />
&#038;nbsp&#038;nbsp&#038;nbsp               }<br />
&#038;nbsp&#038;nbsp               this.endFill()<br />
}<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </code></p>
<p><code>// Step 2: Making the MovieClip.prototype.moveInSetArea()<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp              // (This sets the movement of the shapes.) </code></p>
<p><code>//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
// PROTOTYPE 2:<br />
// Now when we have created the empty movieClip(in the end of the script) and<br />
// we have put in a shape with prototype 1, we can now define the area and speed<br />
// the shape may move.</p>
<p>// Here again i will give a short description of the variables used in this prototype.<br />
// areaW   = Sets the moveAreawidth, the shape will move only in this defined width.<br />
// areaH   = Sets the moveAreaheight, the shape will move only in this defined height.<br />
// xS         = Sets the movement Speed of the shape in the x direction.<br />
// yS         = Sets the movement Speed of the shape in the y direction.<br />
// rS         = Sets the rotation Speed of the shapes.</p>
<p>MovieClip.prototype.moveInSetArea=function(areaW,areaH,xS,yS,rS)<br />
{<br />
&#038;nbsp      this.XX = Math.round(Math.random()*areaW);<br />
&#038;nbsp      this.YY = Math.round(Math.random()*areaH);<br />
&#038;nbsp      this._rotation=0<br />
 &#038;nbsp     this.onEnterFrame=function()<br />
&#038;nbsp&#038;nbsp&#038;nbsp           {<br />
 &#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp               this._x+=(this.XX-this._x)/xS;<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                this._y+=(this.YY-this._y)/yS;<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                this._rotation+=rS;<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                if(Math.ceil(this._x)==this.XX||Math.ceil(this._y)==this.YY)<br />
&#038;nbsp&#038;nbsp&#038;nbsp                     {<br />
 &#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                         this.XX = Math.round(Math.random()*areaW);<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                          this.YY = Math.round(Math.random()*areaH);<br />
&#038;nbsp&#038;nbsp&#038;nbsp                     }<br />
 &#038;nbsp&#038;nbsp          }<br />
}<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </code></p>
<p>// Step 3: making the MovieClip.prototype.makeBox()<br />
                 // (This makes the boxes we'll use as masks.) </p>
<p>//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
// PROTOTYPE 3:<br />
// Now as (again at the end of the script where all the protos are called) you now know<br />
// we have an empty mc, we put in the shape with prototype 1, and we have set the<br />
// movement area and speed for the mc that holds the shape.<br />
// Now it's time to make a mask, the function of a mask as you probably know is to<br />
// let the shape only appear in the area of the mask MC, thisWay you can hide certain<br />
// things or use it as a way to make nice effects.<br />
// I put in this proto to make a box in a quick way, and then i used it to make the masks<br />
// for the shapes.</p>
<p>// Here again i will give a short description of the variables used in this prototype.<br />
// starterValue  = Set's the stat of the depthCount<br />
// x                    = The startX position,keep it at 0,then set the _x of the MC yourSelf.<br />
// y                    = The startY position, Also keep it at 0,then set the _y of the MC yourSelf.<br />
// w                   = Sets the width of the box that serves as mask<br />
// h                    = Sets the height of the box that serves as mask<br />
// Lw1                = Sets the line width of the mask<br />
// Lc1                 = Sets the line color of the mask<br />
// La1                = Sets the line alpha of the mask<br />
// fc                   = Sets the fill color of the mask<br />
// fa                  = Sets the fill alpha of the mask</p>
<p>MovieClip.prototype.makeBox=function (starterValue,x,y,w,h,Lw1,Lc1,La1,fc,fa)<br />
{<br />
&#038;nbsp     boxCount=starterValue<br />
&#038;nbsp     box=createEmptyMovieClip("box"+boxCount,boxCount)<br />
&#038;nbsp     box._x=x<br />
&#038;nbsp     box._y=y<br />
&#038;nbsp     box.lineStyle(Lw1,Lc1,La1)<br />
&#038;nbsp     box.beginFill(fc,fa)<br />
&#038;nbsp     box.lineTo(w,o)<br />
&#038;nbsp     box.lineTo(w,h)<br />
&#038;nbsp     box.lineTo(0,h)<br />
&#038;nbsp     box.lineTo(0,0)<br />
&#038;nbsp     box.endFill()<br />
&#038;nbsp     return box<br />
}<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </p>
<p><code>// Step 4: Now we'll set the control point<br />
&#038;nbsp&#038;nbsp&#038;nbsp&#038;nbsp                  // (all important variables) </code></p>
<p>//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
<code>// THE CONTROL POINT:<br />
// The next part will be the control area, you can define all the values for a whole<br />
// lot of variables.(so you make set the whole look here, speed, scales and so on.)<br />
// I really like doing things this way, it let's me quickly edit the values without having<br />
// to search through the whole code. I try 2 set nearly all the variables into a<br />
// central contol point and those variables link to all the prototype callings, and fill them<br />
// with the values that will make stuff happen.If you have a lot of linez of code and the're<br />
// all hardcoded numbers, it's very difficult to quickly edit something. if you set a<br />
// control point and you give variables names names that really define what they do, it's<br />
// easy to edit the thing you want. but keep your variable names short, long names<br />
// means more script results more kb in the end. i like to make short variable<br />
// names but not alwayz, If i do make em short i always explain them and because<br />
// we have a control point you have a complete view of what you made and what<br />
// the variables do. </p>
<p>// FIRSTLY HERE ARE SOME VARIABLES THAT EFFECT ALL OF THE SHAPEs,not specific ones.<br />
// colorSet1 is a color Array, a place holder that holds colors like a book holds pages<br />
// we make the array, place some colors in it(e.g. 0xff0000), then when we need to set<br />
// a random color on some object, we set it like:<br />
// colorSet1[random(totalNumerOfColor)]<br />
// now you will have random colors, chosen from the array into your lines and fills.<br />
// I also set the depth to 1000 so it won't collide with something, and a total color<br />
// colors variable that is set to 7 , this is how many colors there are in our array. </p>
<p>colorSet1 = [0xff0000,0x0000ff,0xaaddee,0xeeeedd,0xddeeff,0xffee00,0x332211]<br />
totalColors = 7<br />
Depth = 1000 </p>
<p>//////SHAPE 1 CONTROL variables //////////////////////////////////////////////////////////////////////<br />
// shape1RADIUS set's how big the shape will be.<br />
shape1RADIUS = 1+Math.random()*20<br />
// shape1LineWidth set's the width of the linez used in the shape.<br />
shape1LineWidth = 1<br />
// shape1LineColor set's the colors of the linez used in the shape.<br />
//Notice how we call the colors array here!!.<br />
shape1LineColor = colorSet1[random(totalColors)]<br />
// shape1LineAlpha set's the alpha of the linez used in the shape.<br />
shape1LineAlpha = 1+Math.random()*19<br />
// shape1FillColor set's the Fill colors of the the shape.<br />
shape1FillColor = colorSet1[random(totalColors)]<br />
// shape1FillAlpha set's the Fill alpha of the the shape.<br />
shape1FillAlpha = 5+Math.random()*20<br />
// shape1STYLE set's how the shape will look.(22.5 is the circle)<br />
shape1STYLE = random(69)<br />
// shape1MOVEAREAwidth set's the Xwidth the shape can move.<br />
shape1MOVEAREAwidth = 220<br />
// shape1MOVEAREAheight set's the Ywidth the shape can move.<br />
shape1MOVEAREAheight = 100<br />
// shape1XmoveSPEED set's the XSpeed of the movement.<br />
shape1XmoveSPEED = 8<br />
// shape1YmoveSPEED set's the YSpeed of the movement.<br />
shape1YmoveSPEED = 8<br />
// shape1RotationSpeed sets a rotationSpeed between 10 and 20.<br />
shape1RotationSpeed = 10+Math.random()*10 </p>
<p>/////////SHAPE 1's MASK VARIABLES/////////////////////////////////////////////////////////////////////<br />
// shape1MASKxpos set's the start x of ths shape1Mask.<br />
shape1MASKxpos = 0<br />
// shape1MASKypos set's the start y of ths shape1Mask.<br />
shape1MASKypos = 0<br />
// shape1MASKwidth set's the masks width.<br />
shape1MASKwidth = 200<br />
// shape1MASKheight set's the masks height.<br />
shape1MASKheight = 80<br />
// shape1MASKlineWidth set's the masks lineWidth.<br />
shape1MASKlineWidth = 7<br />
// shape1MASKlineColor set's the masks lineColors.<br />
shape1MASKlineColor = colorSet1[random(totalColors)]<br />
// shape1MASKlinealpha set's the masks lineAlpha.<br />
shape1MASKlinealpha = 20<br />
// shape1MASKfillColor set's the masks FillColors.<br />
shape1MASKfillColor = colorSet1[random(totalColors)]<br />
// shape1MASKfillalpha set's the masks FillAlpha.<br />
shape1MASKfillalpha = 10 </p>
<p>// I won't explain the variables for the other shapes, they are exactly the same<br />
// as for shape 1. </p>
<p>//////SHAPE 2 CONTROL variables //////////////////////////////////////////////////////////////////////<br />
shape2RADIUS=5+Math.random()*10<br />
shape2LineWidth=1<br />
shape2LineColor=colorSet1[random(totalColors)]<br />
shape2LineAlpha=1+Math.random()*19<br />
shape2FillColor=colorSet1[random(totalColors)]<br />
shape2FillAlpha=5+Math.random()*20<br />
shape2STYLE=random(69)<br />
shape2RADIUS=15<br />
shape2MOVEAREAwidth=220<br />
shape2MOVEAREAheight=100<br />
shape2XmoveSPEED=8<br />
shape2YmoveSPEED=8<br />
shape2RotationSpeed=10+Math.random()*-10<br />
/////////SHAPE 2's MASK VARIABLES/////////////////////////////////////////////////////////////////////<br />
shape2MASKxpos=0<br />
shape2MASKypos=0<br />
shape2MASKwidth=200<br />
shape2MASKheight=80<br />
shape2MASKlineWidth=7<br />
shape2MASKlineColor=colorSet1[random(totalColors)]<br />
shape2MASKlinealpha=20<br />
shape2MASKfillColor=colorSet1[random(totalColors)]<br />
shape2MASKfillalpha=10</p>
<p>//////SHAPE 3 CONTROL variables //////////////////////////////////////////////////////////////////////<br />
shape3RADIUS=1+Math.random()*10<br />
shape3LineWidth=1<br />
shape3LineColor=colorSet1[random(totalColors)]<br />
shape3LineAlpha=1+Math.random()*19<br />
shape3FillColor=colorSet1[random(totalColors)]<br />
shape3FillAlpha=5+Math.random()*20<br />
shape3STYLE=random(69)<br />
shape3RADIUS=15<br />
shape3MOVEAREAwidth=220<br />
shape3MOVEAREAheight=100<br />
shape3XmoveSPEED=8<br />
shape3YmoveSPEED=8<br />
shape3RotationSpeed=10+Math.random()*10<br />
/////////SHAPE 3's MASK VARIABLES/////////////////////////////////////////////////////////////////////<br />
shape3MASKxpos=0<br />
shape3MASKypos=0<br />
shape3MASKwidth=200<br />
shape3MASKheight=80<br />
shape3MASKlineWidth=7<br />
shape3MASKlineColor=colorSet1[random(totalColors)]<br />
shape3MASKlinealpha=20<br />
shape3MASKfillColor=colorSet1[random(totalColors)]<br />
shape3MASKfillalpha=10</p>
<p>//////SHAPE 4 CONTROL variables //////////////////////////////////////////////////////////////////////<br />
shape4RADIUS=5+Math.random()*10<br />
shape4LineWidth=1<br />
shape4LineColor=colorSet1[random(totalColors)]<br />
shape4LineAlpha=1+Math.random()*19<br />
shape4FillColor=colorSet1[random(totalColors)]<br />
shape4FillAlpha=5+Math.random()*20<br />
shape4STYLE=random(69)<br />
shape4RADIUS=15<br />
shape4MOVEAREAwidth=220<br />
shape4MOVEAREAheight=100<br />
shape4XmoveSPEED=8<br />
shape4YmoveSPEED=8<br />
shape4RotationSpeed=10+Math.random()*-10<br />
/////////SHAPE 4's MASK VARIABLES/////////////////////////////////////////////////////////////////////<br />
shape4MASKxpos=0<br />
shape4MASKypos=0<br />
shape4MASKwidth=200<br />
shape4MASKheight=80<br />
shape4MASKlineWidth=7<br />
shape4MASKlineColor=colorSet1[random(totalColors)]<br />
shape4MASKlinealpha=20<br />
shape4MASKfillColor=colorSet1[random(totalColors)]<br />
shape4MASKfillalpha=10</p>
<p>//////SHAPE 5 CONTROL variables //////////////////////////////////////////////////////////////////////<br />
shape5RADIUS=1+Math.random()*10<br />
shape5LineWidth=1<br />
shape5LineColor=colorSet1[random(totalColors)]<br />
shape5LineAlpha=1+Math.random()*19<br />
shape5FillColor=colorSet1[random(totalColors)]<br />
shape5FillAlpha=5+Math.random()*20<br />
shape5STYLE=random(69)<br />
shape5RADIUS=15<br />
shape5MOVEAREAwidth=220<br />
shape5MOVEAREAheight=100<br />
shape5XmoveSPEED=8<br />
shape5YmoveSPEED=8<br />
shape5RotationSpeed=10+Math.random()*10<br />
/////////SHAPE 5's MASK VARIABLES/////////////////////////////////////////////////////////////////////<br />
shape5MASKxpos=0<br />
shape5MASKypos=0<br />
shape5MASKwidth=200<br />
shape5MASKheight=80<br />
shape5MASKlineWidth=7<br />
shape5MASKlineColor=colorSet1[random(totalColors)]<br />
shape5MASKlinealpha=20<br />
shape5MASKfillColor=colorSet1[random(totalColors)]<br />
shape5MASKfillalpha=10</p>
<p>//////SHAPE 6 CONTROL variables //////////////////////////////////////////////////////////////////////<br />
shape6RADIUS=5+Math.random()*10<br />
shape6LineWidth=1<br />
shape6LineColor=colorSet1[random(totalColors)]<br />
shape6LineAlpha=1+Math.random()*19<br />
shape6FillColor=colorSet1[random(totalColors)]<br />
shape6FillAlpha=5+Math.random()*20<br />
shape6STYLE=random(69)<br />
shape6RADIUS=15<br />
shape6MOVEAREAwidth=220<br />
shape6MOVEAREAheight=100<br />
shape6XmoveSPEED=8<br />
shape6YmoveSPEED=8<br />
shape6RotationSpeed=10+Math.random()*-10<br />
/////////SHAPE 6's MASK VARIABLES/////////////////////////////////////////////////////////////////////<br />
shape6MASKxpos=0<br />
shape6MASKypos=0<br />
shape6MASKwidth=200<br />
shape6MASKheight=80<br />
shape6MASKlineWidth=7<br />
shape6MASKlineColor=colorSet1[random(totalColors)]<br />
shape6MASKlinealpha=20<br />
shape6MASKfillColor=colorSet1[random(totalColors)]<br />
shape6MASKfillalpha=10</p>
<p>//////SHAPE 7 CONTROL variables //////////////////////////////////////////////////////////////////////<br />
shape7RADIUS=1+Math.random()*10<br />
shape7LineWidth=1<br />
shape7LineColor=colorSet1[random(totalColors)]<br />
shape7LineAlpha=1+Math.random()*19<br />
shape7FillColor=colorSet1[random(totalColors)]<br />
shape7FillAlpha=5+Math.random()*20<br />
shape7STYLE=random(69)<br />
shape7RADIUS=15<br />
shape7MOVEAREAwidth=220<br />
shape7MOVEAREAheight=100<br />
shape7XmoveSPEED=8<br />
shape7YmoveSPEED=8<br />
shape7RotationSpeed=10+Math.random()*10<br />
/////////SHAPE 7's MASK VARIABLES/////////////////////////////////////////////////////////////////////<br />
shape7MASKxpos=0<br />
shape7MASKypos=0<br />
shape7MASKwidth=200<br />
shape7MASKheight=80<br />
shape7MASKlineWidth=7<br />
shape7MASKlineColor=colorSet1[random(totalColors)]<br />
shape7MASKlinealpha=20<br />
shape7MASKfillColor=colorSet1[random(totalColors)]<br />
shape7MASKfillalpha=10</code></p>
<p><code>// Step 5: The Final step, Calling our prototypes </code></p>
<p><code>//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
// This wil be the last part of this script and tutorial, we'll call our prototypes.<br />
// There is no need 4 hardcoded values here because we have set the values<br />
// already in our control area.<br />
// It's important to notice that the variables that we put in here link through<br />
// the whole script, they origin in the prototypes, are called here and filled<br />
// with the settings from the control point.<br />
// Beware of the lineBreaks , put them back on one line when u paste into flash<br />
// i tried to show you with colors, lines of script that must be placed in one line<br />
// of script (if pasted into flash) have the color darkGreen,purple,and orange.<br />
// In this tut i couldn't place them in one line, but it'a must that the script is<br />
// placed on one line in flash!!. </p>
<p>shape1=createEmptyMovieClip("shape1",Depth++);<br />
shape1.drawShape4Testing(shape1RADIUS,MASK4shape1._x,MASK4shape1._y<br />
,shape1LineWidth,shape1LineColor,shape1LineAlpha,shape1FillColor,shape1FillAlpha<br />
,shape1STYLE);<br />
shape1.moveInSetArea(shape1MOVEAREAwidth,shape1MOVEAREAheight<br />
,shape1XmoveSPEED,shape1YmoveSPEED,shape1RotationSpeed);<br />
MASK4shape1=makeBox(Depth++,shape1MASKxpos,shape1MASKypos,shape1MASKwidth<br />
,shape1MASKheight,shape1MASKlineWidth,shape1MASKlineColor,shape1MASKlinealpha<br />
,shape1MASKfillColor,shape1MASKfillalpha);<br />
shape1.setMask(MASK4shape1); </p>
<p>shape2=createEmptyMovieClip("shape2",Depth++);<br />
shape2.drawShape4Testing(shape2RADIUS,MASK4shape2._x,MASK4shape2._y<br />
,shape2LineWidth,shape2LineColor,shape2LineAlpha,shape2FillColor,shape2FillAlpha<br />
,shape2STYLE);<br />
shape2.moveInSetArea(shape2MOVEAREAwidth,shape2MOVEAREAheight<br />
,shape2XmoveSPEED,shape2YmoveSPEED,shape2RotationSpeed)<br />
MASK4shape2=makeBox(Depth++,shape2MASKxpos,shape2MASKypos,shape2MASKwidth<br />
,shape2MASKheight,shape2MASKlineWidth,shape2MASKlineColor,shape2MASKlinealpha<br />
,shape2MASKfillColor,shape2MASKfillalpha);<br />
shape2.setMask(MASK4shape2); </p>
<p>shape3=createEmptyMovieClip("shape3",Depth++);<br />
shape3.drawShape4Testing(shape3RADIUS,MASK4shape3._x,MASK4shape3._y<br />
,shape3LineWidth,shape3LineColor,shape3LineAlpha,shape3FillColor,shape3FillAlpha<br />
,shape3STYLE);<br />
shape3.moveInSetArea(shape3MOVEAREAwidth,shape3MOVEAREAheight<br />
,shape3XmoveSPEED,shape3YmoveSPEED,shape3RotationSpeed);<br />
MASK4shape3=makeBox(Depth++,shape3MASKxpos,shape3MASKypos,shape3MASKwidth<br />
,shape3MASKheight,shape3MASKlineWidth,shape3MASKlineColor,shape3MASKlinealpha<br />
,shape3MASKfillColor,shape3MASKfillalpha);<br />
shape3.setMask(MASK4shape3); </p>
<p>shape4=createEmptyMovieClip("shape4",Depth++);<br />
shape4.drawShape4Testing(shape4RADIUS,MASK4shape4._x,MASK4shape4._y<br />
,shape4LineWidth,shape4LineColor,shape4LineAlpha,shape4FillColor,shape4FillAlpha<br />
,shape4STYLE);<br />
shape4.moveInSetArea(shape4MOVEAREAwidth,shape4MOVEAREAheight<br />
,shape4XmoveSPEED,shape4YmoveSPEED,shape4RotationSpeed)<br />
MASK4shape4=makeBox(Depth++,shape4MASKxpos,shape4MASKypos,shape4MASKwidth<br />
,shape4MASKheight,shape4MASKlineWidth,shape4MASKlineColor,shape4MASKlinealpha<br />
,shape4MASKfillColor,shape4MASKfillalpha);<br />
shape4.setMask(MASK4shape4); </p>
<p>shape5=createEmptyMovieClip("shape5",Depth++);<br />
shape5.drawShape4Testing(shape5RADIUS,MASK4shape5._x,MASK4shape5._y<br />
,shape5LineWidth,shape5LineColor,shape5LineAlpha,shape5FillColor,shape5FillAlpha<br />
,shape5STYLE);<br />
shape5.moveInSetArea(shape5MOVEAREAwidth,shape5MOVEAREAheight<br />
,shape5XmoveSPEED,shape5YmoveSPEED,shape5RotationSpeed);<br />
MASK4shape5=makeBox(Depth++,shape5MASKxpos,shape5MASKypos,shape5MASKwidth<br />
,shape5MASKheight,shape5MASKlineWidth,shape5MASKlineColor,shape5MASKlinealpha<br />
,shape5MASKfillColor,shape5MASKfillalpha);<br />
shape5.setMask(MASK4shape5); </p>
<p>shape6=createEmptyMovieClip("shape6",Depth++);<br />
shape6.drawShape4Testing(shape6RADIUS,MASK4shape6._x,MASK4shape6._y<br />
,shape6LineWidth,shape6LineColor,shape6LineAlpha,shape6FillColor,shape6FillAlpha<br />
,shape6STYLE);<br />
shape6.moveInSetArea(shape6MOVEAREAwidth,shape6MOVEAREAheight<br />
,shape6XmoveSPEED,shape6YmoveSPEED,shape6RotationSpeed);<br />
MASK4shape6=makeBox(Depth++,shape6MASKxpos,shape6MASKypos,shape6MASKwidth<br />
,shape6MASKheight,shape6MASKlineWidth,shape6MASKlineColor,shape6MASKlinealpha<br />
,shape6MASKfillColor,shape6MASKfillalpha);<br />
shape6.setMask(MASK4shape6); </p>
<p>shape7=createEmptyMovieClip("shape7",Depth++);<br />
shape7.drawShape4Testing(shape7RADIUS,MASK4shape7._x,MASK4shape7._y<br />
,shape7LineWidth,shape7LineColor,shape7LineAlpha,shape7FillColor,shape7FillAlpha<br />
,shape7STYLE);<br />
shape7.moveInSetArea(shape7MOVEAREAwidth,shape7MOVEAREAheight<br />
,shape7XmoveSPEED,shape7YmoveSPEED,shape7RotationSpeed);<br />
MASK4shape7=makeBox(Depth++,shape7MASKxpos,shape7MASKypos,shape7MASKwidth<br />
,shape7MASKheight,shape7MASKlineWidth,shape7MASKlineColor,shape7MASKlinealpha<br />
,shape7MASKfillColor,shape7MASKfillalpha);<br />
shape7.setMask(MASK4shape7); </p>
<p>//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
// Well, this was my tutorial on this actionscript banner style shape move,<br />
// 4 all of u loving actionscript.co.uk. I hope some of you out there found it useful.<br />
// If u know a much better way of doing the same but much more efficint,<br />
// i would really like to know.(so that i can learn from u )<br />
// And ofcourse if ya liked the tut or have questions about it, you can<br />
// alwayzzz mail me at i_love_actionscript@hotmail.com.<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </code></p>
<p>My name is Erwin Schiphouwer a.k.a deamothul, im 25 and live in Groningen in<br />
the Netherlands.<br />
Im totally hooked on actionscript and especially in combination with php and<br />
mysql.<br />
I taught what i know by myself and still learn new things every day.<br />
I hope to spread some love for scripting and make it a bit more easy for<br />
people just starting out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/actionscript-based-shapes-that-move-2004-06/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/57 queries in 0.592 seconds using memcached
Object Caching 550/711 objects using memcached

Served from: webpronews.com @ 2012-02-13 11:03:47 -->
