<?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: XML to UI Examples	</title>
	<atom:link href="https://jessewarden.com/2004/04/xml-to-ui-examples.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2004/04/xml-to-ui-examples.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Wed, 21 Apr 2004 16:00:58 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2004/04/xml-to-ui-examples.html/comment-page-1#comment-1622</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Wed, 21 Apr 2004 16:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=504#comment-1622</guid>

					<description><![CDATA[Yeah, it&#039;s one of the neat features of Flash MX 2004, where for behavoirs or Window SWF&#039;s, you can create forms using XUL.  It&#039;s a lot quicker than creating a Flash form, and then making that SWF talk to JSAPI.  The problem is, the JSAPI that you code in the XUL file (xml file) seems to have no way out of it&#039;s scope prison.
]]></description>
			<content:encoded><![CDATA[<p>Yeah, it&#8217;s one of the neat features of Flash MX 2004, where for behavoirs or Window SWF&#8217;s, you can create forms using XUL.  It&#8217;s a lot quicker than creating a Flash form, and then making that SWF talk to JSAPI.  The problem is, the JSAPI that you code in the XUL file (xml file) seems to have no way out of it&#8217;s scope prison.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Muzak		</title>
		<link>https://jessewarden.com/2004/04/xml-to-ui-examples.html/comment-page-1#comment-1621</link>

		<dc:creator><![CDATA[Muzak]]></dc:creator>
		<pubDate>Wed, 21 Apr 2004 10:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=504#comment-1621</guid>

					<description><![CDATA[Hi John,

XML2UI = XUL :-)
Since there&#039;s no official docs on XML2UI from MM, I think everyone (or is that just me and Jesse - hehe) started to call it XUL as most of the info we gathered comes from xulplanet.com.
And XML2UI is a subset of (based on) XUL, right?

And writing XUL is much shorter than XML2UI or XML to UI ;-)


regards,
Muzak]]></description>
			<content:encoded><![CDATA[<p>Hi John,</p>
<p>XML2UI = XUL :-)<br />
Since there&#8217;s no official docs on XML2UI from MM, I think everyone (or is that just me and Jesse &#8211; hehe) started to call it XUL as most of the info we gathered comes from xulplanet.com.<br />
And XML2UI is a subset of (based on) XUL, right?</p>
<p>And writing XUL is much shorter than XML2UI or XML to UI ;-)</p>
<p>regards,<br />
Muzak</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: John Dowdell		</title>
		<link>https://jessewarden.com/2004/04/xml-to-ui-examples.html/comment-page-1#comment-1620</link>

		<dc:creator><![CDATA[John Dowdell]]></dc:creator>
		<pubDate>Wed, 21 Apr 2004 09:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=504#comment-1620</guid>

					<description><![CDATA[Sorry, it&#039;s late here, and I acknowledge I&#039;m confused, but... what is it that you&#039;re trying to do?

(I read about &quot;XML to UI&quot; which seemed to imply Flex, then I read &quot;XUL&quot; which seemed to imply Mozilla creating a UI, then I read &quot;JSAPI&quot; which seemed to imply automating the Macromedia Flash MX authoring tool... I&#039;m not getting a clear picture yet, couldn&#039;t restate the desired question for confirmation yet.)

tx,
jd/mm]]></description>
			<content:encoded><![CDATA[<p>Sorry, it&#8217;s late here, and I acknowledge I&#8217;m confused, but&#8230; what is it that you&#8217;re trying to do?</p>
<p>(I read about &#8220;XML to UI&#8221; which seemed to imply Flex, then I read &#8220;XUL&#8221; which seemed to imply Mozilla creating a UI, then I read &#8220;JSAPI&#8221; which seemed to imply automating the Macromedia Flash MX authoring tool&#8230; I&#8217;m not getting a clear picture yet, couldn&#8217;t restate the desired question for confirmation yet.)</p>
<p>tx,<br />
jd/mm</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Muzak		</title>
		<link>https://jessewarden.com/2004/04/xml-to-ui-examples.html/comment-page-1#comment-1619</link>

		<dc:creator><![CDATA[Muzak]]></dc:creator>
		<pubDate>Wed, 21 Apr 2004 06:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=504#comment-1619</guid>

					<description><![CDATA[Hi Jesse,

Thx for hosting the zip.
I&#039;ve been struggling with the same problem. Communication between a XUL dialog and JSFL.
There seems to be a difference between calling a XUL file from a JSFL file and the other way around regarding getting/setting values in the XUL dialog.
When you open a XUL dialog using JSAPI, as in:
var xui = fl.getDocumentDOM().xmlPanel(fl.configURI + &quot;Commands/xul-dialog.xml&quot;);
That&#039;s about all you can do (as far as I know). The rest has to be taken care of from inside the XUL dialog. Meaning, you then have to/can invoke functions inside a .jsfl file (and it doesn&#039;t have to have the .jsfl extension by the way).
The JSFL file that launched the XUL dialog only reacts to the closing of the dialog and passes a &#039;dismiss&#039; property with either an &#039;accept&#039; or &#039;cancel&#039; value.

if(xui.dismiss == &quot;accept&quot;){
 fl.trace(&quot;user clicked OK button&quot;);
}
if(xui.dismiss == &quot;cancel&quot;){
 fl.trace(&quot;user clicked CANCEL button&quot;);
}


And you can then retrieve property values from the XUL dialog using:
xui.propertyName

From within a XUL dialog you can invoke functions inside a JSFL file, which of course allows you to pass on arguments, using:

fl.runScript(filename, functionName, arg1, arg2);

Inside the function being invoked, you can then get/set property values from the XUL dialog using:

fl.xmlui.get(&quot;propName&quot;);
fl.xmlui.set(&quot;propName&quot;, &quot;value&quot;);

Hope this helps.

regards,
Muzak]]></description>
			<content:encoded><![CDATA[<p>Hi Jesse,</p>
<p>Thx for hosting the zip.<br />
I&#8217;ve been struggling with the same problem. Communication between a XUL dialog and JSFL.<br />
There seems to be a difference between calling a XUL file from a JSFL file and the other way around regarding getting/setting values in the XUL dialog.<br />
When you open a XUL dialog using JSAPI, as in:<br />
var xui = fl.getDocumentDOM().xmlPanel(fl.configURI + &#8220;Commands/xul-dialog.xml&#8221;);<br />
That&#8217;s about all you can do (as far as I know). The rest has to be taken care of from inside the XUL dialog. Meaning, you then have to/can invoke functions inside a .jsfl file (and it doesn&#8217;t have to have the .jsfl extension by the way).<br />
The JSFL file that launched the XUL dialog only reacts to the closing of the dialog and passes a &#8216;dismiss&#8217; property with either an &#8216;accept&#8217; or &#8216;cancel&#8217; value.</p>
<p>if(xui.dismiss == &#8220;accept&#8221;){<br />
 fl.trace(&#8220;user clicked OK button&#8221;);<br />
}<br />
if(xui.dismiss == &#8220;cancel&#8221;){<br />
 fl.trace(&#8220;user clicked CANCEL button&#8221;);<br />
}</p>
<p>And you can then retrieve property values from the XUL dialog using:<br />
xui.propertyName</p>
<p>From within a XUL dialog you can invoke functions inside a JSFL file, which of course allows you to pass on arguments, using:</p>
<p>fl.runScript(filename, functionName, arg1, arg2);</p>
<p>Inside the function being invoked, you can then get/set property values from the XUL dialog using:</p>
<p>fl.xmlui.get(&#8220;propName&#8221;);<br />
fl.xmlui.set(&#8220;propName&#8221;, &#8220;value&#8221;);</p>
<p>Hope this helps.</p>
<p>regards,<br />
Muzak</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
