<?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>Being the adventures of a young man whose principal interests are... &#187; Flash CS3</title>
	<atom:link href="http://juliankussman.com/blog/tag/flash-cs3/feed/" rel="self" type="application/rss+xml" />
	<link>http://juliankussman.com/blog</link>
	<description>Advertising, Interactive Art Direction, and usability.</description>
	<lastBuildDate>Tue, 27 Dec 2011 17:32:38 +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>My TextFormat won&#8217;t stick to my TextField</title>
		<link>http://juliankussman.com/blog/2008/04/01/my-textformat-wont-stick-to-my-textfield/</link>
		<comments>http://juliankussman.com/blog/2008/04/01/my-textformat-wont-stick-to-my-textfield/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 14:42:05 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Flash CS3]]></category>
		<category><![CDATA[TextField]]></category>
		<category><![CDATA[TextFormat]]></category>

		<guid isPermaLink="false">http://juliankussman.com/blog/2008/04/01/my-textformat-wont-stick-to-my-textfield/</guid>
		<description><![CDATA[Run this SWF and click the button, the text stays pink. Then run this and click on the text, then click the button. The text defaults size and color. Why??????textFormatBug var titleTF:TextFormat = new TextFormat(); titleTF.color = 0xFF00FF; titleTF.size = &#8230; <a href="http://juliankussman.com/blog/2008/04/01/my-textformat-wont-stick-to-my-textfield/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Run this SWF and click the button, the text stays pink.<br />
Then run this and click on the text, then click the button.<br />
The text defaults size and color. Why??????<a href="http://juliankussman.com/blog/2008/04/01/my-textformat-wont-stick-to-my-textfield/textformatbug/" rel="attachment wp-att-23" title="textFormatBug">textFormatBug</a></p>
<p>var titleTF:TextFormat = new TextFormat();<br />
titleTF.color = 0xFF00FF;<br />
titleTF.size = 22;<br />
//titleTF.font = avantBold.fontName;<br />
var titleText:TextField = createTF(10, 10, 200, 26, true, titleTF, &#8220;This is a test&#8221;);<br />
addChild(titleText);</p>
<p>function createTF(_x:Number, _y:Number, _width:Number, _height:Number, _autoSize:Boolean, _defaultTF:TextFormat, _text:String):TextField {<br />
var tf:TextField = new TextField();<br />
tf.x = _x;<br />
tf.y = _y;<br />
tf.width = _width;<br />
tf.height = _height;<br />
tf.autoSize = (_autoSize) ? TextFieldAutoSize.LEFT : TextFieldAutoSize.NONE;<br />
tf.wordWrap = true;<br />
tf.multiline = true;<br />
tf.defaultTextFormat = _defaultTF;<br />
tf.htmlText = _text;<br />
//tf.setTextFormat(_defaultTF);<br />
return tf;<br />
}</p>
<p>clicker.addEventListener(MouseEvent.CLICK, swapText);</p>
<p>function swapText(e:*):void{<br />
titleText.htmlText = &#8220;This is now a changed test&#8221; + String(Math.random());;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://juliankussman.com/blog/2008/04/01/my-textformat-wont-stick-to-my-textfield/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Services in AIR (Flash CS3)</title>
		<link>http://juliankussman.com/blog/2008/03/19/web-services-in-air-flash-cs3/</link>
		<comments>http://juliankussman.com/blog/2008/03/19/web-services-in-air-flash-cs3/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 21:38:56 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash CS3]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://juliankussman.com/blog/2008/03/19/web-services-in-air-flash-cs3/</guid>
		<description><![CDATA[I have been banging my head against a wall for days. I am trying to get web services to work in an AIR app built with Flash CS3. My co-workers use a solution that works for Flash only http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash But &#8230; <a href="http://juliankussman.com/blog/2008/03/19/web-services-in-air-flash-cs3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been banging my head against a wall for days. I am trying to get web services to work in an AIR app built with Flash CS3.  My co-workers use a solution that works for Flash only <a href="http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash" target="_blank">http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash</a></p>
<p>But every time I tried to use it with an AIR app it would crash.</p>
<p>I then found  <a href="http://manmachine-tech.blogspot.com/" target="_blank">http://manmachine-tech.blogspot.com/</a></p>
<p>but after days of frustration I found a critical bug:</p>
<p>In the WSProxy class there is a variable  _busyOnCall = true; that gets set within callMethod()</p>
<p>and it gets set to false in onComplete()</p>
<p>but it NEVER GETS SET IN onFault</p>
<p>After that it&#8217;s all good. I hope this helps anyone in the same boat as myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://juliankussman.com/blog/2008/03/19/web-services-in-air-flash-cs3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

