<?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: FABridge: Flex(and now Flash)-Ajax Bridge</title>
	<atom:link href="http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/feed/" rel="self" type="application/rss+xml" />
	<link>http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/</link>
	<description>lulz</description>
	<lastBuildDate>Mon, 05 Jul 2010 10:30:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Ryan</title>
		<link>http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/comment-page-1/#comment-310</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 05 Jun 2008 23:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/#comment-310</guid>
		<description>I wouldn&#039;t have thought of using FABridge without using Flex. Interesting.

When I started using FABridge I had some issues because I was using swfobject to include my Flash. I was able to resolve the issues, and others might be interested in &lt;a href=&quot;http://blog.innerfence.com/2008/06/05/using-fabridge-and-swfobject-together/&quot; rel=&quot;nofollow&quot;&gt;using FABridge and swfobject together&lt;/a&gt;.
</description>
		<content:encoded><![CDATA[<p>I wouldn&#8217;t have thought of using FABridge without using Flex. Interesting.</p>
<p>When I started using FABridge I had some issues because I was using swfobject to include my Flash. I was able to resolve the issues, and others might be interested in <a href="http://blog.innerfence.com/2008/06/05/using-fabridge-and-swfobject-together/" rel="nofollow">using FABridge and swfobject together</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/comment-page-1/#comment-309</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 18 Jan 2008 07:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/#comment-309</guid>
		<description>Paul you are completely defeating the purpose of trying to use FABridge outside of Flex. All you&#039;ve done is add the Flex overhead into Flash. The point I was going for is that you can actually use FABridge with only 6 classes from the Flex framework.

I just tested it out myself and you can definitely compile in Flash with only the 6 Flex classes above. You should have no references to any other classes.
</description>
		<content:encoded><![CDATA[<p>Paul you are completely defeating the purpose of trying to use FABridge outside of Flex. All you&#8217;ve done is add the Flex overhead into Flash. The point I was going for is that you can actually use FABridge with only 6 classes from the Flex framework.</p>
<p>I just tested it out myself and you can definitely compile in Flash with only the 6 Flex classes above. You should have no references to any other classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/comment-page-1/#comment-308</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 17 Jan 2008 10:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/#comment-308</guid>
		<description>Thanks for this, it works. Your intructions are correct but it still took me a while to get this right. I hope the following comments will help someone:

- firstly, note the comment about EULA

- this will enable you to build an app just like the FABridge sample apps found on the Adobe website

- I got this working using Flash CS3 only (I don&#039;t have FLEX) but you&#039;ll need to get the above mentioned .as files and .js file from inside the SDK which you download from &lt;a href=&quot;http://download.macromedia.com/pub/labs/flex/3/flex3sdk_b3_121207.zip&quot; rel=&quot;nofollow&quot;&gt;http://download.macromedia.com/pub/labs/flex/3/flex3sdk_b3_121207.zip&lt;/a&gt;

- I followed the exact instuctions above but at compile time of the flash application FABridge.as threw a compile error because it couldn&#039;t resolve a reference to something like mx.controls.Alert (this implies that extra classes need adding to the classpath) anyway, I got bored of going through the library finding specific classes to copy so I just copied the lot.
* To do this unzip the download and then locate \frameworks\projects\framework\src and copy src to somewhere on your hard drive, like &quot;C:\Flash classes&quot; (can be anywhere) and then add a classpath entry...

- ...to add a classpath entry that will be present for every project you work on you&#039;ll need to go to Edit &gt; Preferences... &gt; ActionScript &gt; ActionScript 3.0 Settings...
Click on this. You should see:
.
$(AppConfig)/ActionScript 3.0/Classes
now click the + symbol and add
C:\Flash classes (or where ever you put it)

- to get started create a new Flash File (AS3), set Document Class: Initializer (don&#039;t worry about the warning message), then create a new ActionScript File and save it as Initializer.as and it&#039;s contents should look like:

package {
import flash.display.MovieClip;
import bridge.FABridge;

public class Initializer extends MovieClip {

private var externalBridge:FABridge;

public function Initialiser() {
super();
externalBridge = new FABridge();
externalBridge.rootObject = this;
}
}
}

- now just add components like buttons etc to your stage. Give them names like btnSayHello, and then publish your project to a SWF.

- now you&#039;ll have to write some javascript code that makes use of the FABridge.js file and you&#039;ll have to learn the special way in which you reference your components like &quot;btnSayHello&quot;.

... i&#039;ll leave that to someone else to contribute!
</description>
		<content:encoded><![CDATA[<p>Thanks for this, it works. Your intructions are correct but it still took me a while to get this right. I hope the following comments will help someone:</p>
<p>- firstly, note the comment about EULA</p>
<p>- this will enable you to build an app just like the FABridge sample apps found on the Adobe website</p>
<p>- I got this working using Flash CS3 only (I don&#8217;t have FLEX) but you&#8217;ll need to get the above mentioned .as files and .js file from inside the SDK which you download from <a href="http://download.macromedia.com/pub/labs/flex/3/flex3sdk_b3_121207.zip" rel="nofollow">http://download.macromedia.com/pub/labs/flex/3/flex3sdk_b3_121207.zip</a></p>
<p>- I followed the exact instuctions above but at compile time of the flash application FABridge.as threw a compile error because it couldn&#8217;t resolve a reference to something like mx.controls.Alert (this implies that extra classes need adding to the classpath) anyway, I got bored of going through the library finding specific classes to copy so I just copied the lot.<br />
* To do this unzip the download and then locate \frameworks\projects\framework\src and copy src to somewhere on your hard drive, like &#8220;C:\Flash classes&#8221; (can be anywhere) and then add a classpath entry&#8230;</p>
<p>- &#8230;to add a classpath entry that will be present for every project you work on you&#8217;ll need to go to Edit > Preferences&#8230; > ActionScript > ActionScript 3.0 Settings&#8230;<br />
Click on this. You should see:<br />
.<br />
$(AppConfig)/ActionScript 3.0/Classes<br />
now click the + symbol and add<br />
C:\Flash classes (or where ever you put it)</p>
<p>- to get started create a new Flash File (AS3), set Document Class: Initializer (don&#8217;t worry about the warning message), then create a new ActionScript File and save it as Initializer.as and it&#8217;s contents should look like:</p>
<p>package {<br />
import flash.display.MovieClip;<br />
import bridge.FABridge;</p>
<p>public class Initializer extends MovieClip {</p>
<p>private var externalBridge:FABridge;</p>
<p>public function Initialiser() {<br />
super();<br />
externalBridge = new FABridge();<br />
externalBridge.rootObject = this;<br />
}<br />
}<br />
}</p>
<p>- now just add components like buttons etc to your stage. Give them names like btnSayHello, and then publish your project to a SWF.</p>
<p>- now you&#8217;ll have to write some javascript code that makes use of the FABridge.js file and you&#8217;ll have to learn the special way in which you reference your components like &#8220;btnSayHello&#8221;.</p>
<p>&#8230; i&#8217;ll leave that to someone else to contribute!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin Garner</title>
		<link>http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/comment-page-1/#comment-307</link>
		<dc:creator>Devin Garner</dc:creator>
		<pubDate>Thu, 29 Nov 2007 20:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/#comment-307</guid>
		<description>Updated FABridge that allows access to statics/constants.

&lt;a href=&quot;https://bugs.adobe.com/jira/browse/SDK-12279&quot; rel=&quot;nofollow&quot;&gt;https://bugs.adobe.com/jira/browse/SDK-12279&lt;/a&gt;
</description>
		<content:encoded><![CDATA[<p>Updated FABridge that allows access to statics/constants.</p>
<p><a href="https://bugs.adobe.com/jira/browse/SDK-12279" rel="nofollow">https://bugs.adobe.com/jira/browse/SDK-12279</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/comment-page-1/#comment-306</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Wed, 17 Oct 2007 19:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2007/10/04/fabridge-flexand-now-flash-ajax-bridge/#comment-306</guid>
		<description>Hey,
Thanks for the great info.
Just what i was looking for!
Thumbs up!
</description>
		<content:encoded><![CDATA[<p>Hey,<br />
Thanks for the great info.<br />
Just what i was looking for!<br />
Thumbs up!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
