<?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>scriptygoddess &#187; Flash</title>
	<atom:link href="http://www.scriptygoddess.com/archives/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 Dec 2011 18:23:44 +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>swfobject &#8211; flash doesn&#039;t load in Firefox</title>
		<link>http://www.scriptygoddess.com/archives/2009/12/16/swfobject-flash-doesnt-load-in-firefox/</link>
		<comments>http://www.scriptygoddess.com/archives/2009/12/16/swfobject-flash-doesnt-load-in-firefox/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 18:17:43 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Lessons learned]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1627</guid>
		<description><![CDATA[Ran into a bizarre problem today using swfobject. A lot of wasted time, but I&#039;ll give you the short story / solution. I&#039;m not sure of what other factors played a role (the fact that the element was in a absolute positioned container, or that the immediate container to the flash element was in a [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Ran into a bizarre problem today using <a href="http://code.google.com/p/swfobject/">swfobject</a>. A lot of wasted time, but I&#039;ll give you the short story / solution.</p>
<p>I&#039;m not sure of what other factors played a role (the fact that the element was in a absolute positioned container, or that the immediate container to the flash element was in a float) but I had the call to the swfobject javascript in the BODY tags of the html (not within the head tags). This was apparently causing Firefox to not display the flash. Simply moving the swfobject javascript code within the head tags of the html instantly fixed the problem.</p>
<p>I know I&#039;ve used swfobject inside the body before &#8211; so I&#039;m sure there&#039;s something else that contributed to the problem.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2009/12/16/swfobject-flash-doesnt-load-in-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code to make a button in Flash link to another URL</title>
		<link>http://www.scriptygoddess.com/archives/2007/12/02/code-to-make-a-button-in-flash-link-to-another-url/</link>
		<comments>http://www.scriptygoddess.com/archives/2007/12/02/code-to-make-a-button-in-flash-link-to-another-url/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 15:30:01 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2007/12/02/code-to-make-a-button-in-flash-link-to-another-url/</guid>
		<description><![CDATA[This is only just a small snippet of code and probably won&#039;t be totally helpful unless you have a fairly good idea what you&#039;re doing. I would make a full tutorial, except *I* don&#039;t have a complete understanding of what I&#039;m doing. LOL! I know just enough in Flash to be &#034;dangerous&#034;. In any case, [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This is only just a small snippet of code and probably won&#039;t be totally helpful unless you have a fairly good idea what you&#039;re doing. I would make a full tutorial, except *I* don&#039;t have a complete understanding of what I&#039;m doing. LOL! I know just enough in Flash to be &#034;dangerous&#034;.</p>
<p>In any case, from what I can tell, in the latest version of Flash, there is a new way to make a button link to a URL. Instead of creating an action on the same layer as the button, you need to assign an instance name to your button. Then in another layer you have all the code for your buttons &#8211; similar to the following:</p>
<p><code>function gotoYahoo(event:MouseEvent):void<br />
{<br />
var mylink:URLRequest = new URLRequest("http://www.yahoo.com");<br />
navigateToURL(mylink, "_self");<br />
}<br />
buttonInstanceName.addEventListener(MouseEvent.CLICK, gotoYahoo);</code></p>
<p>(If <em>YOU </em>know more about Flash, and have any corrections &#8211; they would be very welcome in the comments. I know how to do simple animations (like slideshows) and simple buttons &#8211; but beyond that I&#039;m still in the very early learning stages)</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2007/12/02/code-to-make-a-button-in-flash-link-to-another-url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

