<?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>Eddie On Everything &#187; Action Script</title>
	<atom:link href="http://www.eddieoneverything.com/category/action-script/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eddieoneverything.com</link>
	<description>Tips &#38; tricks on things that interest me</description>
	<lastBuildDate>Wed, 11 Jan 2012 08:29:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3 Error:  1046: Type was not found or was not a compile-time constant</title>
		<link>http://www.eddieoneverything.com/flash-9-as3/as3-error-1046-type-was-not-found-or-was-not-a-compile-time-constant.php</link>
		<comments>http://www.eddieoneverything.com/flash-9-as3/as3-error-1046-type-was-not-found-or-was-not-a-compile-time-constant.php#comments</comments>
		<pubDate>Wed, 20 Feb 2008 22:15:46 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[Action Script]]></category>
		<category><![CDATA[Flash 9 AS3]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.eddieoneverything.com/windows-xp/as3-error-1046-type-was-not-found-or-was-not-a-compile-time-constant.php</guid>
		<description><![CDATA[File under Adobe Flash 9 / Action Script 3 (AS3) Errors
Error Message:  1046: Type was not found or was not a compile-time constant: caseStudyLink.
The Problem:  I was getting this error message when trying to tween a MovieClip on the stage.  Flash was telling me that the error message was coming from one [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense#468banner--><br />
File under Adobe Flash 9 / Action Script 3 (AS3) Errors</p>
<p><strong>Error Message:</strong>  1046: Type was not found or was not a compile-time constant: caseStudyLink.</p>
<p><strong>The Problem:</strong>  I was getting this error message when trying to tween a MovieClip on the stage.  Flash was telling me that the error message was coming from one of my package files &#8211; in this case, it was a custom class that I was using to extend the parent MovieClip.  It is notable that this class had no direct mention of the object I was trying to tween.</p>
<p>Everything was running smoothly until I added an instance name to the existing MovieClip.</p>
<p><strong>The Cause:</strong>  I can&#8217;t say for sure why, but for some reason Flash was unable to find the object I was referring to, even though it was indeed in the Library and had the proper class name filled in.</p>
<p><strong>The Solution:</strong>  I duplicated the offending MovieClip in the Library, then used the &#8220;swap&#8221; button in the properties pane to swap the parent object in every keyframe that the instance was being used.  Presto &#8211; problem went away.</p>
<p>Go figure.</p>
<p><!--adsense#468banner--></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.eddieoneverything.com/articles/disabling-textarea-scrolling-in-flash-as3.php" title="Disabling TextArea Scrolling in Flash AS3">Disabling TextArea Scrolling in Flash AS3</a></li><li><a href="http://www.eddieoneverything.com/articles/validating-an-email-address-with-phps-filter_var-isnt-perfect.php" title="Validating an Email Address with PHP&rsquo;s filter_var isn&rsquo;t perfect">Validating an Email Address with PHP&rsquo;s filter_var isn&rsquo;t perfect</a></li><li><a href="http://www.eddieoneverything.com/articles/how-to-scan-a-computer-for-open-ports.php" title="How to Scan a Computer for Open Ports">How to Scan a Computer for Open Ports</a></li><li><a href="http://www.eddieoneverything.com/articles/the-zen-of-taco-bell-programming-using-unix-tools-to-prevent-reinventing-the-wheel.php" title="The Zen of Taco Bell Programming &#8211; Using Unix Tools to Prevent Reinventing the Wheel">The Zen of Taco Bell Programming &#8211; Using Unix Tools to Prevent Reinventing the Wheel</a></li><li><a href="http://www.eddieoneverything.com/articles/acrobatinfo-exe-is-as-bad-as-a-virus-how-to-remove-it.php" title="AcrobatInfo.exe is as bad as a Virus &#8211; How to remove it">AcrobatInfo.exe is as bad as a Virus &#8211; How to remove it</a></li><li><a href="http://www.eddieoneverything.com/articles/how-to-make-phpbb3-forum-links-automatically-relnofollow.php" title="How to Make phpbb3 Forum Links Automatically rel=&#8221;nofollow&#8221;">How to Make phpbb3 Forum Links Automatically rel=&#8221;nofollow&#8221;</a></li><li><a href="http://www.eddieoneverything.com/programming/how-to-use-global-variables-from-another-file-in-a-perl-module-or-package.php" title="How To Use Global Variables From Another File In A Perl Module or Package">How To Use Global Variables From Another File In A Perl Module or Package</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eddieoneverything.com/flash-9-as3/as3-error-1046-type-was-not-found-or-was-not-a-compile-time-constant.php/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

