<?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: Using Flex Components in ActionScript Projects</title>
	<atom:link href="http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/</link>
	<description>code = joy</description>
	<lastBuildDate>Fri, 02 Dec 2011 01:36:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Herr Moose</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-16466</link>
		<dc:creator>Herr Moose</dc:creator>
		<pubDate>Sun, 28 Jun 2009 21:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-16466</guid>
		<description>A solution can be found here:
http://ersatz.tv/2009/off-topic-flex-components-without-mxml

This code snippet gives you the basic set of Flex components for use with ActionScript only.</description>
		<content:encoded><![CDATA[<p>A solution can be found here:<br />
<a href="http://ersatz.tv/2009/off-topic-flex-components-without-mxml" rel="nofollow">http://ersatz.tv/2009/off-topic-flex-components-without-mxml</a></p>
<p>This code snippet gives you the basic set of Flex components for use with ActionScript only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: none</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-15561</link>
		<dc:creator>none</dc:creator>
		<pubDate>Tue, 13 Jan 2009 16:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-15561</guid>
		<description>I have not tried this, but I would say the problem is you need to create the correct hierarchy to attach the button too which I believe goes nativeWindow-&gt;application-&gt;panel-&gt;button</description>
		<content:encoded><![CDATA[<p>I have not tried this, but I would say the problem is you need to create the correct hierarchy to attach the button too which I believe goes nativeWindow-&gt;application-&gt;panel-&gt;button</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry G</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-15416</link>
		<dc:creator>Henry G</dc:creator>
		<pubDate>Sun, 04 Jan 2009 06:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-15416</guid>
		<description>And yet another year later... I searched entire google trying to find an answer to the same question: how to use mx.controls components in Flex AS project.

It just doesn&#039;t work for me, I keep getting a runtime error that styleManager is a bad descriptor (null aparently).. Here is the code example that breaks:

package {
	import mx.controls.Button;
	import mx.core.Application;

public class test2 extends Application
{
  public var btn:Button;
    public function test2() {
      btn = new Button();
      btn.label=&quot;OK&quot;;
      addChild(btn);
    }
}
}

It beaks with this runtime error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.core::UIComponent/getStyle()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7597]


please help :)
Thanks
Henry</description>
		<content:encoded><![CDATA[<p>And yet another year later&#8230; I searched entire google trying to find an answer to the same question: how to use mx.controls components in Flex AS project.</p>
<p>It just doesn&#8217;t work for me, I keep getting a runtime error that styleManager is a bad descriptor (null aparently).. Here is the code example that breaks:</p>
<p>package {<br />
	import mx.controls.Button;<br />
	import mx.core.Application;</p>
<p>public class test2 extends Application<br />
{<br />
  public var btn:Button;<br />
    public function test2() {<br />
      btn = new Button();<br />
      btn.label=&#8221;OK&#8221;;<br />
      addChild(btn);<br />
    }<br />
}<br />
}</p>
<p>It beaks with this runtime error:<br />
TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at mx.core::UIComponent/getStyle()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7597]</p>
<p>please help :)<br />
Thanks<br />
Henry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wouitmil</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-10964</link>
		<dc:creator>wouitmil</dc:creator>
		<pubDate>Mon, 28 Jan 2008 01:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-10964</guid>
		<description>Hi,

I&#039;m trying to make an AS Project in flex builder 2.01.

All is fine i can use Tween of Flex but I can&#039;t use Datagrid.
Can you help me about that?


In my source path  I&#039;ve

${FRAMEWORKS}\source
${FRAMEWORKS}\locale\en_US // To avoid 

And 

${FRAMEWORKS}/libs/playerglobal.swc
${FRAMEWORKS}/libs/utilities.swc
${FRAMEWORKS}/libs/flex.swc
${FRAMEWORKS}/libs/framework.swc

THe project compile weel but When i run the project i got this error:

 Error #1006: getInstance is not a function
	at mx.core::Singleton$/getInstance()[C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\core\Singleton.as:49]
	at mx.styles::CSSStyleDeclaration$cinit()
	at global$init()[C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\styles\CSSStyleDeclaration.as:75]
	at global$init()[C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\controls\dataGridClasses\DataGridColumn.as:151]
	at content.winners::Winners$iinit()[M:\flex workspaces\lunapark\Lunapark\src\content\winners\Winners.as:32]
	at Lunapark/setContent()[M:\flex workspaces\lunapark\Lunapark\src\Lunapark.as:118]
	at content.header::Header/content.header:Header::navigate()[M:\flex workspaces\lunapark\Lunapark\src\content\header\Header.as:111]

Can you help me?

Best regards

Hadrien</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to make an AS Project in flex builder 2.01.</p>
<p>All is fine i can use Tween of Flex but I can&#8217;t use Datagrid.<br />
Can you help me about that?</p>
<p>In my source path  I&#8217;ve</p>
<p>${FRAMEWORKS}\source<br />
${FRAMEWORKS}\locale\en_US // To avoid </p>
<p>And </p>
<p>${FRAMEWORKS}/libs/playerglobal.swc<br />
${FRAMEWORKS}/libs/utilities.swc<br />
${FRAMEWORKS}/libs/flex.swc<br />
${FRAMEWORKS}/libs/framework.swc</p>
<p>THe project compile weel but When i run the project i got this error:</p>
<p> Error #1006: getInstance is not a function<br />
	at mx.core::Singleton$/getInstance()[C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\core\Singleton.as:49]<br />
	at mx.styles::CSSStyleDeclaration$cinit()<br />
	at global$init()[C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\styles\CSSStyleDeclaration.as:75]<br />
	at global$init()[C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\controls\dataGridClasses\DataGridColumn.as:151]<br />
	at content.winners::Winners$iinit()[M:\flex workspaces\lunapark\Lunapark\src\content\winners\Winners.as:32]<br />
	at Lunapark/setContent()[M:\flex workspaces\lunapark\Lunapark\src\Lunapark.as:118]<br />
	at content.header::Header/content.header:Header::navigate()[M:\flex workspaces\lunapark\Lunapark\src\content\header\Header.as:111]</p>
<p>Can you help me?</p>
<p>Best regards</p>
<p>Hadrien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amitpal</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-10903</link>
		<dc:creator>amitpal</dc:creator>
		<pubDate>Mon, 21 Jan 2008 13:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-10903</guid>
		<description>Do anyone know, how to add MXML components like &quot;panel, vbox etc&quot; in pure ActionScript Flex Project?</description>
		<content:encoded><![CDATA[<p>Do anyone know, how to add MXML components like &#8220;panel, vbox etc&#8221; in pure ActionScript Flex Project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-9324</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 14 Sep 2007 13:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-9324</guid>
		<description>Anyone ever figure this out?</description>
		<content:encoded><![CDATA[<p>Anyone ever figure this out?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sakri</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-8602</link>
		<dc:creator>sakri</dc:creator>
		<pubDate>Fri, 29 Jun 2007 11:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-8602</guid>
		<description>Hello,

Almost 2 years later what do you know ;)

I want to use a combobox and a button in a simple as3 project, possible? not possible?

thanks,

Sakri</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Almost 2 years later what do you know ;)</p>
<p>I want to use a combobox and a button in a simple as3 project, possible? not possible?</p>
<p>thanks,</p>
<p>Sakri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flexer</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-6383</link>
		<dc:creator>Flexer</dc:creator>
		<pubDate>Fri, 01 Dec 2006 04:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-6383</guid>
		<description>Hello,
 
Almost a year later what do you know, well, I cannot find any info on how to do this &quot;Using Flex Components in ActionScript Projects&quot; can someone please send me an email with a clear example of how I can do this because I tried a lot of things including the explanation found here which almost worked

http://www.moock.org/blog/archives/000197.html

I was able to access the mx.controls but when I tried to create a control dynamically it was not shown on the stage ? pls send me an email 

Kind Regards,

thanks.

</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Almost a year later what do you know, well, I cannot find any info on how to do this &#8220;Using Flex Components in ActionScript Projects&#8221; can someone please send me an email with a clear example of how I can do this because I tried a lot of things including the explanation found here which almost worked</p>
<p><a href="http://www.moock.org/blog/archives/000197.html" rel="nofollow">http://www.moock.org/blog/archives/000197.html</a></p>
<p>I was able to access the mx.controls but when I tried to create a control dynamically it was not shown on the stage ? pls send me an email </p>
<p>Kind Regards,</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cheol jin eom</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-6382</link>
		<dc:creator>cheol jin eom</dc:creator>
		<pubDate>Sat, 03 Dec 2005 03:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-6382</guid>
		<description>This is my as3.0 sample.
http://blog.naver.com/ecj2000

This sample is show combinations of Marix, bitmap, realtime MP3 Spectrum.
Just Look and feel AS3.0&#039; powers.</description>
		<content:encoded><![CDATA[<p>This is my as3.0 sample.<br />
<a href="http://blog.naver.com/ecj2000" rel="nofollow">http://blog.naver.com/ecj2000</a></p>
<p>This sample is show combinations of Marix, bitmap, realtime MP3 Spectrum.<br />
Just Look and feel AS3.0&#8242; powers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Campbell</title>
		<link>http://www.mikechambers.com/blog/2005/11/29/using-flex-components-in-actionscript-projects/comment-page-1/#comment-6381</link>
		<dc:creator>Campbell</dc:creator>
		<pubDate>Wed, 30 Nov 2005 12:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=928#comment-6381</guid>
		<description>Aparently &quot;-keep-generated-actionscript=true&quot; is a compiler argument in Flex 2 but:

&quot;Normally, you would put an argument like that in the box provided on the
Flex Compiler page of the project properties in Flex Builder. However, in
the current alpha build, Flex Builder is not passing that through properly
to the compiler. This will be fixed in a subsequent build.

For now, you can use the mxmlc command-line compiler to view the generated
ActionScript.

-- 
Phil Costa
Sr. Product Manager
Macromedia&quot;</description>
		<content:encoded><![CDATA[<p>Aparently &#8220;-keep-generated-actionscript=true&#8221; is a compiler argument in Flex 2 but:</p>
<p>&#8220;Normally, you would put an argument like that in the box provided on the<br />
Flex Compiler page of the project properties in Flex Builder. However, in<br />
the current alpha build, Flex Builder is not passing that through properly<br />
to the compiler. This will be fixed in a subsequent build.</p>
<p>For now, you can use the mxmlc command-line compiler to view the generated<br />
ActionScript.</p>
<p>&#8211;<br />
Phil Costa<br />
Sr. Product Manager<br />
Macromedia&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

