<?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>eldamaractionscript &#187; eldamar</title>
	<atom:link href="http://www.eldamar.se/blog/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eldamar.se</link>
	<description>webdesign, linux and lots of other stuff...</description>
	<lastBuildDate>Tue, 19 Apr 2011 07:35:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Actionscript development on Mac</title>
		<link>http://www.eldamar.se/blog/2010/03/actionscript-development-on-mac/</link>
		<comments>http://www.eldamar.se/blog/2010/03/actionscript-development-on-mac/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 22:10:56 +0000</pubDate>
		<dc:creator>Samuel Tilly</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.eldamar.se/?p=342</guid>
		<description><![CDATA[I&#8217;m planing on starting up some small game projects in Flash using either actionscript or haxe with all open source softwares, just to look at the possibilities of doing interactive flash things using this tools.  It looks to be a bunch of different ways of compiling and making this possible but i have a hard time getting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m planing on starting up some small game projects in Flash using either actionscript or haxe with all open source softwares, just to look at the possibilities of doing interactive flash things using this tools.  It looks to be a bunch of different ways of compiling and making this possible but i have a hard time getting going because i can&#8217;t seem to find a good IDE to start development in. I currently use Eclipse with Flex plugin for work but is very unpleased with this solution and since this Flex plugin is a commercial product it&#8217;s not really what I&#8217;m looking for.</p>
<p>The closest thing Ive come across for mac is using MacVim with plugins, i have been trying all kinds of syntax plugins, omni-completion plugins (no auto-completion plugin available) but nothing seems to work, the syntax plugins Ive tried gets weird results in most of the files Ive loaded, omni-completion is just not working no matter how many times i press CTRL-X or CMD-X. MacVim looks really nice but it also looks like it would be a lot of hard work just getting to know the editor.</p>
<p>I have known about FlexBean for NetBeans witch is my IDE of choice, there is also nbflex and flex-bean but development for all of this projects seem to have halted.</p>
<p>Does anyone out there know of a good IDE for developing actionscript on mac? what are people using?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldamar.se/blog/2010/03/actionscript-development-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript for Flash CS3 ActionScript 3.0 Part 1</title>
		<link>http://www.eldamar.se/blog/2008/10/javascript-for-flash-cs3-actionscript-30-part-1/</link>
		<comments>http://www.eldamar.se/blog/2008/10/javascript-for-flash-cs3-actionscript-30-part-1/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 11:45:18 +0000</pubDate>
		<dc:creator>Samuel Tilly</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.eldamar.se/?p=3</guid>
		<description><![CDATA[I wanted to write down some information that i found hard to find when trying to implement simple JavaScript actions to a ActionScript Flash CS3 link. We will start by making a button that calls a popup from JavaScript within Flash CS3 Start by creating a new flash-file (CTRL+N) and choose ActionScript 3.0 Then create [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to write down some information that i found hard to find when trying to implement simple JavaScript actions to a ActionScript Flash CS3 link.</p>
<p>We will start by making a button that calls a popup from JavaScript within Flash CS3</p>
<p>Start by creating a new  flash-file (CTRL+N) and choose ActionScript 3.0</p>
<p>Then create some simple object, maby something like this:</p>
<p style="text-align: center;"><a href="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava01.jpg"><img class="size-full wp-image-16 aligncenter" title="flashjava01" src="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava01.jpg" alt="" width="199" height="116" /></a><a href="http://www.eldamar.se/wordpress/wp-content/uploads/flashjava04.jpg"> </a></p>
<p>Now select your object and press F8.  Rename the object “button” and choose Type: Button.</p>
<p style="text-align: center;"><a href="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava02.jpg"><img class="size-full wp-image-17 aligncenter" title="flashjava02" src="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava02.jpg" alt="" width="444" height="153" /></a></p>
<p>Now we need to give the new object an “Instance Name”, we will call it “btn”</p>
<p style="text-align: center;"><a href="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava03.jpg"><img class="size-full wp-image-18 aligncenter" title="flashjava03" src="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava03.jpg" alt="" width="444" height="153" /></a></p>
<p>Now we need to create a new layer for the ActionScript, so press Insert Layer and rename the new layer to “action”.</p>
<p style="text-align: center;"><a href="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava04.jpg"><img class="size-full wp-image-19 aligncenter" title="flashjava04" src="http://www.eldamar.se/wordpress/wp-content/uploads/2008/10/flashjava04.jpg" alt="" width="444" height="153" /></a></p>
<p>This was the easy part, now we are beginning the ActionScripting. make sure you have selected the keyframe in your action layer then open up your Actions panel by pressing F9 and insert the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> js<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
js.<span style="color: #004993;">url</span>=”javascript<span style="color: #000000; font-weight: bold;">:</span>window.<span style="color: #004993;">open</span><span style="color: #000000;">&#40;</span>’sitepop.html’,<span style="color: #990000;">'popup’,'</span><span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">550</span>,<span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">400</span>′<span style="color: #000000;">&#41;</span>;newWindow.<span style="color: #004993;">focus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>; <span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#40;</span>0<span style="color: #000000;">&#41;</span>;”;
&nbsp;
btn.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span>.<span style="color: #004993;">CLICK</span>,openPopUp<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> openPopUp<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span>js,’_self’<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>This will popup sitepop.html in a new window with set height and width.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldamar.se/blog/2008/10/javascript-for-flash-cs3-actionscript-30-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

