<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Common Flash Compiler Errors: #1046</title>
	<atom:link href="http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/</link>
	<description>wrangling the Internet's wildest</description>
	<lastBuildDate>Fri, 16 Dec 2011 14:20:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Ans</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-17309</link>
		<dc:creator>Ans</dc:creator>
		<pubDate>Wed, 19 Jan 2011 20:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-17309</guid>
		<description>Mohsin,

Check the capitalization on &quot;tween&quot;, I suspect it should be &quot;Tween&quot; in your code.

Cheers!</description>
		<content:encoded><![CDATA[<p>Mohsin,</p>
<p>Check the capitalization on &#8220;tween&#8221;, I suspect it should be &#8220;Tween&#8221; in your code.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohsin</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-17303</link>
		<dc:creator>mohsin</dc:creator>
		<pubDate>Wed, 19 Jan 2011 12:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-17303</guid>
		<description>1046 type was not found or was not a compile-time constant:tween
-------------------------------------------------------------------------------
My code is also suffering with same problem, I have imported all the things which is required(imported tween and other classes also) but still there is same error

How could i solve this problem please help me</description>
		<content:encoded><![CDATA[<p>1046 type was not found or was not a compile-time constant:tween<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
My code is also suffering with same problem, I have imported all the things which is required(imported tween and other classes also) but still there is same error</p>
<p>How could i solve this problem please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ans</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-14835</link>
		<dc:creator>Ans</dc:creator>
		<pubDate>Thu, 14 Oct 2010 02:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-14835</guid>
		<description>Hmm, I don&#039;t immediately see an issue from what you&#039;ve supplied. The error looks like you&#039;re trying to create an instance named casey_btn and bioPane when these are already named in instances through the Properties panel (just a guess). Try putting stop(); above the code you provided. Perhaps the code is looping and the second time round it&#039;s having issues.</description>
		<content:encoded><![CDATA[<p>Hmm, I don&#8217;t immediately see an issue from what you&#8217;ve supplied. The error looks like you&#8217;re trying to create an instance named casey_btn and bioPane when these are already named in instances through the Properties panel (just a guess). Try putting stop(); above the code you provided. Perhaps the code is looping and the second time round it&#8217;s having issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-14829</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Wed, 13 Oct 2010 23:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-14829</guid>
		<description>i&#039;m getting this error when creating an instance of the Tween class.  i have other AS-generated Tweens in my SWF that work so i know i&#039;m importing the class properly.  i&#039;m not using any custom classes and i&#039;m not calling objects from the library(only objects already onstage) so i&#039;m not setting the export for AS on any of my library objects.  i understand that there are nuances to my SWF that make it difficult to troubleshoot in this fashion, but i wonder if there are any other reasons you know of why this might happen.

this.casey_btn.addEventListener(MouseEvent.MOUSE_UP, playCasey);
function playCasey(evt:MouseEvent):void {
    var bioPaneTween:Tween = new Tween(this.bioPane, &quot;x&quot;, Regular.easeOut, 100, 370, 20, false);
}

casey_btn:Button and bioPane:MovieClip are already named and on the stage.</description>
		<content:encoded><![CDATA[<p>i&#8217;m getting this error when creating an instance of the Tween class.  i have other AS-generated Tweens in my SWF that work so i know i&#8217;m importing the class properly.  i&#8217;m not using any custom classes and i&#8217;m not calling objects from the library(only objects already onstage) so i&#8217;m not setting the export for AS on any of my library objects.  i understand that there are nuances to my SWF that make it difficult to troubleshoot in this fashion, but i wonder if there are any other reasons you know of why this might happen.</p>
<p>this.casey_btn.addEventListener(MouseEvent.MOUSE_UP, playCasey);<br />
function playCasey(evt:MouseEvent):void {<br />
    var bioPaneTween:Tween = new Tween(this.bioPane, &#8220;x&#8221;, Regular.easeOut, 100, 370, 20, false);<br />
}</p>
<p>casey_btn:Button and bioPane:MovieClip are already named and on the stage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ans</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-12923</link>
		<dc:creator>Ans</dc:creator>
		<pubDate>Wed, 28 Jul 2010 09:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-12923</guid>
		<description>Oops, my mistake, I meant &quot;import fl.controls.RadioButtonGroup;&quot; the mx package is for Flex, fl is for Flash. Are you using an older version of Flash? The fl package was introduced relatively recently, in CS4 if my memory serves me correctly. These are ActionScript code libraries (classes) you&#039;re importing, so if you&#039;re using an older version of Flash they won&#039;t exist, and hence won&#039;t be imported, and you&#039;ll get a #1046 I believe.</description>
		<content:encoded><![CDATA[<p>Oops, my mistake, I meant &#8220;import fl.controls.RadioButtonGroup;&#8221; the mx package is for Flex, fl is for Flash. Are you using an older version of Flash? The fl package was introduced relatively recently, in CS4 if my memory serves me correctly. These are ActionScript code libraries (classes) you&#8217;re importing, so if you&#8217;re using an older version of Flash they won&#8217;t exist, and hence won&#8217;t be imported, and you&#8217;ll get a #1046 I believe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-12921</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Wed, 28 Jul 2010 08:23:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-12921</guid>
		<description>Hey Ans, thanks for the speedy response, i appreciate it! Unfortunately it didn&#039;t do the trick though..

SO how does that work, are the mx.controls and fl.controls different? Is it just the pre CS version or something or am i way off the mark?</description>
		<content:encoded><![CDATA[<p>Hey Ans, thanks for the speedy response, i appreciate it! Unfortunately it didn&#8217;t do the trick though..</p>
<p>SO how does that work, are the mx.controls and fl.controls different? Is it just the pre CS version or something or am i way off the mark?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ans</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-12916</link>
		<dc:creator>Ans</dc:creator>
		<pubDate>Wed, 28 Jul 2010 04:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-12916</guid>
		<description>Stefan,

Adding &quot;import mx.controls.RadioButtonGroup;&quot; at the top of your code should help!</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>Adding &#8220;import mx.controls.RadioButtonGroup;&#8221; at the top of your code should help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-12906</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Tue, 27 Jul 2010 17:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-12906</guid>
		<description>Hi there, 

I having been dipping in and out of AS3 for the last year and it always infuriates me, for example when i even try and use the examples in the flash help its splits out this 1046 error

1046: Type was not found or was not a compile-time constant: RadioButtonGroup.</description>
		<content:encoded><![CDATA[<p>Hi there, </p>
<p>I having been dipping in and out of AS3 for the last year and it always infuriates me, for example when i even try and use the examples in the flash help its splits out this 1046 error</p>
<p>1046: Type was not found or was not a compile-time constant: RadioButtonGroup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/comment-page-1/#comment-11351</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 02 May 2010 17:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=755#comment-11351</guid>
		<description>Just wanted to say thanks for writing this article!  I&#039;m definitely new to AS 3, and this error has been bugging me for a while.  What I like specifically about this article than the others I&#039;ve read regarding this error is the attention to detail and screenshots.  Keep up the great work here!</description>
		<content:encoded><![CDATA[<p>Just wanted to say thanks for writing this article!  I&#8217;m definitely new to AS 3, and this error has been bugging me for a while.  What I like specifically about this article than the others I&#8217;ve read regarding this error is the attention to detail and screenshots.  Keep up the great work here!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

