<?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>noeone &#187; Flash</title>
	<atom:link href="http://www.noeone.net/?cat=3&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.noeone.net</link>
	<description>flash.videos.links.etc</description>
	<lastBuildDate>Wed, 08 Oct 2014 20:12:43 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>AS3 Simple Menu</title>
		<link>http://www.noeone.net/?p=225</link>
		<comments>http://www.noeone.net/?p=225#comments</comments>
		<pubDate>Wed, 07 Sep 2011 18:49:38 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[AS3 Array]]></category>
		<category><![CDATA[AS3 Right Click Menu]]></category>
		<category><![CDATA[Deactivate Active Button]]></category>
		<category><![CDATA[Menu]]></category>
		<category><![CDATA[tweenlite]]></category>
		<category><![CDATA[URLRequest]]></category>

		<guid isPermaLink="false">http://www.noeone.net/?p=225</guid>
		<description><![CDATA[You will need tweenlite for this to work. You can set the menu items via an array and disable the current button that is pressed. if you want you can set the URLS in an array and have the selected button pull the URL from your array, right now it&#8217;s not being set to do [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>You will need tweenlite for this to work.</p>
<p>You can set the menu items via an array and disable the current button that is pressed.<br />
if you want you can set the URLS in an array and have the selected button pull the URL from your array, right now it&#8217;s not being set to do that.</p>
<p>but it would go something like this.</p>
<p>var links:Array = new Array(&#8220;link1&#8243;,&#8221;link2&#8243;,&#8221;link3&#8243;);<br />
then in setNav Function change the URLRequest to<br />
navigateToURL (new URLRequest(links[thisOne]),&#8221;_blank&#8221;);</p>
<p>import flash.events.MouseEvent;<br />
import com.greensock.*;<br />
import com.greensock.plugins.*;<br />
import com.greensock.easing.*;<br />
import com.greensock.OverwriteManager;<br />
import flash.display.MovieClip;</p>
<p>OverwriteManager.init();<br />
TweenPlugin.activate([TintPlugin]);</p>
<p>var btns:Array = new Array(&#8220;home&#8221;,&#8221;away&#8221;,&#8221;long&#8221;,&#8221;about&#8221;,&#8221;links&#8221;,&#8221;bio&#8221;);<br />
//var links:Array = new Array(&#8220;link1&#8243;,&#8221;link2&#8243;,&#8221;link3&#8243;);<br />
var xPos:Number = 1;<br />
var yPos:Number = 40;<br />
var distance:Number = 1;<br />
var delayBtn:Number = .1<br />
<span id="more-225"></span><br />
var mHolder:MovieClip = new MovieClip();<br />
mHolder.x = 1;<br />
mHolder.y = stage.stageHeight &#8211; 54;<br />
mHolder.name = &#8220;mHolder&#8221;;<br />
addChild(mHolder);</p>
<p>for (var i:Number = 0; i&lt;btns.length; i++) {<br />
var btn:MovieClip = new MovieClip();<br />
btn.graphics.beginFill (0x333333);<br />
btn.graphics.drawRoundRect (0, 0, 100, 50, 10, 10);<br />
btn.graphics.endFill ();<br />
btn.x = xPos;<br />
btn.y = yPos;<br />
btn.id = i;<br />
btn.name = &#8220;btn&#8221; + i;<br />
btn.alpha = 1;<br />
btn.addEventListener (MouseEvent.MOUSE_DOWN, btnDown);<br />
btn.addEventListener (MouseEvent.MOUSE_OVER, btnOver);<br />
btn.addEventListener (MouseEvent.MOUSE_OUT, btnOut);<br />
btn.mouseChildren = false;<br />
btn.buttonMode = true;<br />
mHolder.addChild (btn);</p>
<p>var btnBkg:MovieClip = new MovieClip();<br />
btnBkg.graphics.beginFill (0x555555);<br />
btnBkg.graphics.drawRoundRect (-50, -25, 100, 50, 10, 10);<br />
btnBkg.graphics.endFill ();<br />
btnBkg.x = 50;<br />
btnBkg.y = 25;<br />
btnBkg.name = &#8220;bkg&#8221;;<br />
btn.addChild (btnBkg);</p>
<p>var myFormat:TextFormat = new TextFormat();<br />
myFormat.color = 0xffffff;<br />
myFormat.size = 14;<br />
myFormat.italic = false;<br />
myFormat.font = &#8220;Univers 57 Condensed&#8221;;</p>
<p>var txtField:TextField = new TextField();<br />
txtField.text = btns[i].toUpperCase();<br />
txtField.width = 150;<br />
txtField.x= (mHolder.getChildByName(&#8220;btn&#8221;+i).height &#8211; 105) / 2;<br />
txtField.y= (mHolder.getChildByName(&#8220;btn&#8221;+i).height) / 3;<br />
txtField.selectable = false;<br />
txtField.border = false;<br />
txtField.autoSize = TextFieldAutoSize.CENTER;<br />
txtField.setTextFormat (myFormat);<br />
btn.addChild (txtField);</p>
<p>TweenLite.to(btn, .25, {alpha:1,y:1, delay:delayBtn});</p>
<p>if (i &lt; btns.length) {<br />
xPos +=  100 + distance;<br />
delayBtn += .1;<br />
}<br />
}</p>
<p>function btnDown (evt:MouseEvent):void {<br />
trace (&#8220;you clicked &#8221; + evt.target.name);<br />
setNav (evt.target.id);<br />
}<br />
function btnOver (evt:MouseEvent):void {<br />
TweenLite.to(evt.target, .5, {y:evt.target.y+5});<br />
TweenLite.to(evt.target.getChildByName(&#8220;bkg&#8221;), 1, {x:(evt.target.width)/2, y:(evt.target.height)/2,scaleX:.05, scaleY:.05, alpha:0, ease:Back.easeInOut, tint:0xFFFFFF});<br />
}<br />
function btnOut (evt:MouseEvent):void {<br />
if(evt.target.mouseEnabled == false){</p>
<p>}else{<br />
TweenLite.to(evt.target, .5, {y:1});<br />
TweenLite.to(evt.target.getChildByName(&#8220;bkg&#8221;), 1, {x:(evt.target.width)/2, y:(evt.target.height)/2 ,scaleX:.7, scaleY:.7, alpha:1, ease:Back.easeInOut, tint:0x555555});<br />
}<br />
}</p>
<p>function setNav (thisOne):void {<br />
for (var n:Number = 0; n&lt;btns.length; n++) {<br />
var thisBtn1 = mHolder.getChildByName(&#8220;btn&#8221; + n);<br />
thisBtn1.mouseEnabled = true;<br />
TweenLite.to(thisBtn1, .5, {y:1});<br />
TweenLite.to(thisBtn1.getChildByName(&#8220;bkg&#8221;), 1, {y:25,scaleY:.7, alpha:1, ease:Back.easeInOut, tint:0x555555});<br />
}<br />
var thisBtn2 = mHolder.getChildByName(&#8220;btn&#8221; + thisOne);<br />
thisBtn2.mouseEnabled = false;<br />
TweenLite.to(thisBtn2, .5, {y:thisBtn2.y+5});<br />
TweenLite.to(thisBtn2.getChildByName(&#8220;bkg&#8221;), 1, {y:23,scaleY:.05, alpha:0, ease:Back.easeInOut, tint:0xFFFFFF});<br />
navigateToURL (new URLRequest(&#8220;http://www.noeone.com&#8221;),&#8221;_blank&#8221;);<br />
//navigateToURL (new URLRequest(links[thisOne]),&#8221;_blank&#8221;);</p>
<p>}</p>
<p>// CUSTOMIZE RIGHT CLICK CONTEXT MENU<br />
var menu:ContextMenu = new ContextMenu();<br />
menu.hideBuiltInItems();<br />
var signature = new ContextMenuItem(&#8220;//NO3ONE//&#8221;);<br />
signature.addEventListener (ContextMenuEvent.MENU_ITEM_SELECT, openLink);<br />
function openLink (e:ContextMenuEvent):void {<br />
navigateToURL (new URLRequest(&#8220;http://www.noeone.com&#8221;));<br />
}<br />
menu.customItems.push (signature);<br />
contextMenu = menu;</p>
<p>TweenLite.to(mHolder, 1, {x: (stage.stageWidth &#8211; mHolder.width) / 2, delay: .25, ease:Back.easeInOut});</p>
<p><a href="http://www.noeone.net/wp-content/uploads/2011/09/nav2.fla">Download the FLA</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.noeone.net/?feed=rss2&#038;p=225</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Color for Multiple Flash Items</title>
		<link>http://www.noeone.net/?p=217</link>
		<comments>http://www.noeone.net/?p=217#comments</comments>
		<pubDate>Wed, 10 Jun 2009 21:22:20 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[newColor]]></category>
		<category><![CDATA[setRGB]]></category>

		<guid isPermaLink="false">http://www.noeone.net/?p=217</guid>
		<description><![CDATA[Change colors for multiple items in your flash file, textField, movieClips, whatever. //change color for multiple items var newColor:Number = 0xDAE2EE; mcChange = [mc_1, mc_2, mc_3, mc_4, mc_5];//or add text field textField for (i=0; i&#60;mcChange.length; i++) { var mainColor:Color = new Color(mcChange[i]); mainColor.setRGB(newColor); }]]></description>
				<content:encoded><![CDATA[<p>Change colors for multiple items in your flash file, textField, movieClips, whatever.</p>
<p>//change color for multiple items<br />
var newColor:Number = 0xDAE2EE;<br />
mcChange = [mc_1, mc_2, mc_3, mc_4, mc_5];//or add text field textField<br />
for (i=0; i&lt;mcChange.length; i++) {<br />
var mainColor:Color = new Color(mcChange[i]);<br />
mainColor.setRGB(newColor);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.noeone.net/?feed=rss2&#038;p=217</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Multiple Characters or Words from a String</title>
		<link>http://www.noeone.net/?p=213</link>
		<comments>http://www.noeone.net/?p=213#comments</comments>
		<pubDate>Tue, 26 May 2009 16:14:05 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://www.noeone.net/?p=213</guid>
		<description><![CDATA[So you want to remove multiple characters or words from a string, here&#8217;s a simple way to get job done. ActionScript 2.0 var myString:String = &#8220;noe noeone chicago&#8221;; var dontNeed:String = &#8220;noe ,?,-,:,/,&#8217;,&#38;&#8221;; var myArray:Array = new Array(); myArray = dontNeed.split(&#8220;,&#8221;); trace(&#8220;character or words not needed : &#8220;+myArray); for (i=0; i&#60;myArray.length; i++) { //remove unwanted [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So you want to remove multiple characters or words from a string, here&#8217;s a simple way to get job done. ActionScript 2.0</p>
<p>var myString:String = &#8220;noe noeone chicago&#8221;;<br />
var dontNeed:String = &#8220;noe ,?,-,:,/,&#8217;,&amp;&#8221;;<br />
var myArray:Array = new Array();<br />
myArray = dontNeed.split(&#8220;,&#8221;);<br />
trace(&#8220;character or words not needed : &#8220;+myArray);<br />
for (i=0; i&lt;myArray.length; i++) {<br />
//remove unwanted characters<br />
newString = myString.split(myArray[i]).join(&#8220;&#8221;);<br />
myString = newString;<br />
trace(myString);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.noeone.net/?feed=rss2&#038;p=213</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fill Flash stage with bitmap image</title>
		<link>http://www.noeone.net/?p=6</link>
		<comments>http://www.noeone.net/?p=6#comments</comments>
		<pubDate>Thu, 03 Jul 2008 22:11:59 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://noeone.net/?p=6</guid>
		<description><![CDATA[Want to fill your flash stage area with a tiled image? You can fill your background with just a few lines of code. First download the Image below (or use your own image) import to your library in flash. Right click on the image and select &#8220;properties&#8221; and click on &#8220;Export for ActionScript&#8221; under identifer [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Want to fill your flash stage area with a tiled image? You can fill your background with just a few lines of code.</p>
<p>First download the Image below (or use your own image) import to your library in flash. Right click on the image and select &#8220;properties&#8221; and click on &#8220;Export for ActionScript&#8221; under identifer type in &#8220;bg&#8221; then click &#8220;ok&#8221; to close the screen.<br />
<span id="more-6"></span><br />
<a href="http://noeone.net/wp-content/uploads/2008/07/bg.gif"><img class="alignnone size-medium wp-image-8" title="bg" src="http://noeone.net/wp-content/uploads/2008/07/bg.gif" alt="" width="14" height="14" /></a></p>
<p>On the second frame on your flash file write or copy and pase the following code:<br />
//Fill Background with a bitMap<br />
import  flash.display.BitmapData;<br />
var  tile:BitmapData  =  BitmapData.loadBitmap(&#8220;bg&#8221;);<br />
this.beginBitmapFill(tile);</p>
<p>this.lineTo(0, 0);<br />
this.lineTo(Stage.width, 0);<br />
this.lineTo(Stage.width, Stage.height);<br />
this.lineTo(0, Stage.height);<br />
this.endFill();<br />
stop();</p>
<p>I don&#8217;t know if it&#8217;s some kind of bug but you need to place your code on the second frame or you can loop the code to fill the stage with the tile background. I&#8217;ve Included a sample .fla to look at. it&#8217;s in CS3</p>
<p>You can download a sample .fla of this project.</p>
<p><a href="http://noeone.net/wp-content/uploads/2008/07/bitmap_fill_flash.zip">bitmap_fill_flash.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.noeone.net/?feed=rss2&#038;p=6</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Custom Right Click Menu</title>
		<link>http://www.noeone.net/?p=5</link>
		<comments>http://www.noeone.net/?p=5#comments</comments>
		<pubDate>Wed, 02 Jul 2008 12:49:34 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://noeone.net/?p=5</guid>
		<description><![CDATA[Ever wanted to change the menu when a user right clicks (control Click for Mac) on a flash file on the browser. Set this code to your first keyframe and your done, change the links to what ever you like. You can use this for the user to navigate your content as well, a seperate [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Ever wanted to change the menu when a user right clicks (control Click for Mac) on a flash file on the browser. Set this code to your first keyframe and your done, change the links to what ever you like. You can use this for the user to navigate your content as well, a seperate navigation.</p>
<p><span id="more-5"></span></p>
<p>//Change the links with in the &#8221; &#8221; to what ever you might like.<br />
function thisLink() {<br />
getURL(&#8220;www.linkone.com&#8221;, &#8220;_blank&#8221;);<br />
}<br />
function thisLink2() {<br />
getURL(&#8220;http://www.noeone.net&#8221;, &#8220;_blank&#8221;);<br />
}</p>
<p>newMenu = new ContextMenu();<br />
newMenu.hideBuiltInItems();<br />
functioned = new ContextMenuItem(&#8220;link one name&#8221;, thisLink);<br />
functioned2 = new ContextMenuItem(&#8220;NOEONE&#8221;, thisLink2);<br />
newMenu.customItems.push(functioned);<br />
newMenu.customItems.push(functioned2);<br />
_root.menu = newMenu;<br />
stop();</p>
]]></content:encoded>
			<wfw:commentRss>http://www.noeone.net/?feed=rss2&#038;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Full Screen</title>
		<link>http://www.noeone.net/?p=4</link>
		<comments>http://www.noeone.net/?p=4#comments</comments>
		<pubDate>Wed, 02 Jul 2008 05:22:59 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://noeone.net/?p=4</guid>
		<description><![CDATA[Have you ever wanted to make your flash file full screen aka 100% on a browser window with out scaling your content. Filling the background with a tile with in flash. Well this will be my first full tutorial so we&#8217;ll see how it goes. When you set flash to 100% w x 100% h [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Have you ever wanted to make your flash file full screen aka 100% on a browser window with out scaling your content. Filling the background with a tile with in flash. Well this will be my first full tutorial so we&#8217;ll see how it goes.</p>
<p><span id="more-4"></span></p>
<p>When you set flash to 100% w x 100% h the artboard does not scale but it shows you more of your background. so you can have a bitmap covering the whole gray area and that is what will be shown.</p>
<p>Step 1:<br />
Set your artboard to 800px X 600px.<br />
On a empty layer you add your Actionscript to:<br />
fscommand(&#8220;fullscreen&#8221;, true);<br />
fscommand(&#8220;allowscale&#8221;, false);</p>
<p>So this will set flash to fullscreen and not allow it to scale.</p>
<p>Step 2.<br />
<textarea id="textarea" cols="60" rows="5" name="textarea">&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;&lt;/p&gt; &lt;p&gt;&lt;head&gt;&lt;br /&gt; &lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243; /&gt;&lt;br /&gt; &lt;title&gt;Untitled Document&lt;/title&gt;&lt;br /&gt; &lt;/head&gt;&lt;br /&gt; &lt;style&gt;&lt;br /&gt; body {&lt;br /&gt; 	margin-left:0px;&lt;br /&gt; 	margin-top:0px;&lt;br /&gt; 	margin-right:0px;&lt;br /&gt; 	margin-bottom:0px;&lt;br /&gt; 	}&lt;br /&gt; &lt;/style&gt;&lt;/p&gt; &lt;div align=&#8221;justify&#8221;&gt; &lt;table width=&#8221;100%&#8221; height=&#8221;100%&#8221; border=&#8221;0&#8243; cellpadding=&#8221;0&#8243; cellspacing=&#8221;0&#8243;&gt; &lt;tr&gt; &lt;td align=&#8221;center&#8221;&gt;         &lt;span class=&#8221;mceItemObject&#8221;  classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=7,0,0,0&#8243; width=&#8221;100%&#8221; height=&#8221;100%&#8221; align=&#8221;middle&#8221;&gt;&lt;/p&gt; &lt;span  name=movie value=&#8221;nameofSWF.swf&#8221; class=&#8221;mceItemParam&#8221;&gt;&lt;/span&gt; &lt;span  name=menu value=true class=&#8221;mceItemParam&#8221;&gt;&lt;/span&gt; &lt;span  name=quality value=high class=&#8221;mceItemParam&#8221;&gt;&lt;/span&gt; &lt;span  name=scale value=noscale class=&#8221;mceItemParam&#8221;&gt;&lt;/span&gt; &lt;span  name=salign value=MC class=&#8221;mceItemParam&#8221;&gt;&lt;/span&gt; &lt;span  name=bgcolor value=#999999 class=&#8221;mceItemParam&#8221;&gt;&lt;/span&gt;     &lt;span class=&#8221;mceItemEmbed&#8221;  src=&#8221;nameofSWF.swf&#8221; mce_src=&#8221;nameofSWF.swf&#8221; menu=true quality=high salign=MT scale=noscale bgcolor=#999999  width=&#8221;100%&#8221; height=&#8221;100%&#8221; align=&#8221;middle&#8221; type=&#8221;application/x-shockwave-flash&#8221; pluginspage=&#8221;http://www.macromedia.com/go/getflashplayer&#8221;&gt;&lt;br /&gt;     &lt;/span&gt; &lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;p&gt;</textarea></p>
]]></content:encoded>
			<wfw:commentRss>http://www.noeone.net/?feed=rss2&#038;p=4</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash Loader Component issue with I.E.</title>
		<link>http://www.noeone.net/?p=1</link>
		<comments>http://www.noeone.net/?p=1#comments</comments>
		<pubDate>Sat, 28 Jun 2008 17:26:33 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://noeone.net/?p=1</guid>
		<description><![CDATA[I don&#8217;t know if anyone else has ran into the same problem I did in the past, when using the Flash Loader Component. The component works fine except in I.E. when using the component with a loader it does not track the loading progress or an image does not scale scale to fit. I looked [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I don&#8217;t know if anyone else has ran into the same problem I did in the past, when using the Flash Loader Component. The component works fine except in I.E. when using the component with a loader it does not track the loading progress or an image does not scale scale to fit. I looked for a solution from Macromedia / Adobe and came out empty handed.</p>
<p>here is a link to a fix, it works great, and has saved me a lot of headaches.</p>
<p><a title="bgxcomponents" href="http://www.bgxcomponents.com/flashLoaderScale.htm" target="_blank">http://www.bgxcomponents.com/flashLoaderScale.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.noeone.net/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
