<?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: Flex Tip 2: MXML Script-tag content is not HTML JavaScript</title>
	<atom:link href="http://www.waldosmeets.com/2004/08/03/550/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.waldosmeets.com/2004/08/03/550/</link>
	<description>Solutions Consultant Digital Marketing @adobe;web content management, rich internet applications, customer experience, conversion, social, mobile, cloud</description>
	<lastBuildDate>Thu, 13 Nov 2008 16:23:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Waldo Smeets</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-287</link>
		<dc:creator>Waldo Smeets</dc:creator>
		<pubDate>Sat, 02 Oct 2004 09:14:54 +0000</pubDate>
		<guid isPermaLink="false">#comment-287</guid>
		<description>Hi Tushar, I have not looked into it yet but I guess it&#039;s the &#039;prototype&#039; thing. In ActionScript 2.0 (and Flex is ActionScript 2.0) methods are not added using the prototype chain, you can now just create a clean Lexer class and define the method in your class file as a function.

Lexer.as:
class Lexer {
    function Lexer(){
    }

    function Next(){
    }
}</description>
		<content:encoded><![CDATA[<p>Hi Tushar, I have not looked into it yet but I guess it&#8217;s the &#8216;prototype&#8217; thing. In ActionScript 2.0 (and Flex is ActionScript 2.0) methods are not added using the prototype chain, you can now just create a clean Lexer class and define the method in your class file as a function.</p>
<p>Lexer.as:<br />
class Lexer {<br />
    function Lexer(){<br />
    }</p>
<p>    function Next(){<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-419</link>
		<dc:creator>Tushar</dc:creator>
		<pubDate>Thu, 23 Sep 2004 14:33:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-419</guid>
		<description>Hi Waldo,

I am getting the same error, &#039;...not permitted in class definition&#039;, when I use following function definition:

Lexer.prototype.Next = function() {
//do something
}

Thanks to your post, now I know that it is due to Flex compier making a single application class. However I do not know what can be the problem behind above function. Please help.

Tushar</description>
		<content:encoded><![CDATA[<p>Hi Waldo,</p>
<p>I am getting the same error, &#8216;&#8230;not permitted in class definition&#8217;, when I use following function definition:</p>
<p>Lexer.prototype.Next = function() {<br />
//do something<br />
}</p>
<p>Thanks to your post, now I know that it is due to Flex compier making a single application class. However I do not know what can be the problem behind above function. Please help.</p>
<p>Tushar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldo Smeets</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-259</link>
		<dc:creator>Waldo Smeets</dc:creator>
		<pubDate>Tue, 17 Aug 2004 09:03:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-259</guid>
		<description>Hi Sven, glad to hear you find it usefull :o)</description>
		<content:encoded><![CDATA[<p>Hi Sven, glad to hear you find it usefull <img src='http://www.waldosmeets.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldo Smeets</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-230</link>
		<dc:creator>Waldo Smeets</dc:creator>
		<pubDate>Thu, 05 Aug 2004 17:54:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-230</guid>
		<description>No need to worry Sander, you were not the only one that gave me the idea to blog about this. I think we all once have made this mistake and yes, so did I :-)</description>
		<content:encoded><![CDATA[<p>No need to worry Sander, you were not the only one that gave me the idea to blog about this. I think we all once have made this mistake and yes, so did I <img src='http://www.waldosmeets.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sander Prins</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-229</link>
		<dc:creator>Sander Prins</dc:creator>
		<pubDate>Thu, 05 Aug 2004 14:17:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-229</guid>
		<description>Nice to see that this is a common mistake to make, thanx for helping me out earlier on this one ;-) The solution is very simple, but until you see what&#039;s going on, these are the sort of things that really get your blood boiling...

</description>
		<content:encoded><![CDATA[<p>Nice to see that this is a common mistake to make, thanx for helping me out earlier on this one <img src='http://www.waldosmeets.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  The solution is very simple, but until you see what&#8217;s going on, these are the sort of things that really get your blood boiling&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Casario</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-226</link>
		<dc:creator>Marco Casario</dc:creator>
		<pubDate>Wed, 04 Aug 2004 03:13:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-226</guid>
		<description>Hi Waldo,
i think that another big mistake that flash developers are trying to achieve is to not think Flex event based model and the  different usage of methods defined inside their AS classes..
Read the flex docs is a must for every flash or javascript developer ...
thanks,
</description>
		<content:encoded><![CDATA[<p>Hi Waldo,<br />
i think that another big mistake that flash developers are trying to achieve is to not think Flex event based model and the  different usage of methods defined inside their AS classes..<br />
Read the flex docs is a must for every flash or javascript developer &#8230;<br />
thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldo Smeets</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-225</link>
		<dc:creator>Waldo Smeets</dc:creator>
		<pubDate>Wed, 04 Aug 2004 00:48:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-225</guid>
		<description>Hi Sven, glad to hear you find it usefull :o)</description>
		<content:encoded><![CDATA[<p>Hi Sven, glad to hear you find it usefull <img src='http://www.waldosmeets.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven Claar</title>
		<link>http://www.waldosmeets.com/2004/08/03/550/comment-page-1/#comment-224</link>
		<dc:creator>Sven Claar</dc:creator>
		<pubDate>Wed, 04 Aug 2004 00:33:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-224</guid>
		<description>Thanks for this explanation at the right time!
This question is one of my favourites ;)

Cheers,
Sven</description>
		<content:encoded><![CDATA[<p>Thanks for this explanation at the right time!<br />
This question is one of my favourites <img src='http://www.waldosmeets.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Sven</p>
]]></content:encoded>
	</item>
</channel>
</rss>

