<?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>The paperCrane's view from the reverseFold &#187; FMS</title>
	<atom:link href="http://www.reversefold.com/blog/tag/fms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reversefold.com/blog</link>
	<description>Flex, PHP, and anything else I care to talk about</description>
	<lastBuildDate>Tue, 30 Aug 2011 08:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How do you catch remote FMS method calls with complex prefixes?</title>
		<link>http://www.reversefold.com/blog/2007/10/09/how-do-you-catch-remote-fms-method-calls-with-complex-prefixed/</link>
		<comments>http://www.reversefold.com/blog/2007/10/09/how-do-you-catch-remote-fms-method-calls-with-complex-prefixed/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 04:14:49 +0000</pubDate>
		<dc:creator>papercrane</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[FMS]]></category>
		<category><![CDATA[NetConnection]]></category>

		<guid isPermaLink="false">http://www.reversefold.com/wordpress/?p=7</guid>
		<description><![CDATA[Apparently there is no way. The way to catch server-side Flash Media Server client.call() calls with complex prefixes is not documented. The Flex2 NetConnection docs say that NetConnection.client can be used to catch server-side calls but a call with slashes (as used for the components shipped with FMS) is not documented. For instance, the cursor.asc [...]]]></description>
			<content:encoded><![CDATA[<p>Apparently there is no way.</p>
<p>The way to catch server-side Flash Media Server client.call() calls with complex prefixes is not documented. The Flex2 NetConnection docs say that NetConnection.client can be used to catch server-side calls but a call with slashes (as used for the components shipped with FMS) is not documented.</p>
<p>For instance, the cursor.asc server-side component calls:<br />
client.call( this.callPrefix + &#8220;attachYourself&#8221;, null, clocal.id, cglobal.username, this.layer, cglobal.usercolor);<br />
where this.callPrefix is by default &#8220;FCCursor/_DEFAULT_/&#8221; so the full call is &#8220;FCCursor/_DEFAULT_/attachYourself&#8221;.<br />
In AS2 this could be caught by the object in:<br />
netConnection["FCCursor"]["_DEFAULT_"]</p>
<p>The obvious place to catch it in AS3 would be:<br />
netConnection.client["FCCursor"]["_DEFAULT_"] but this does not seem to work.</p>
<p>The LiveDocs also have <a href="http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000668.html">a comment</a> which asks this same question but the answer is not sufficient.</p>
<p>The only way to work around this seems to make the prefix a parameter in the call instead of prefixing the function name. This takes changing server-side and client-side code and the server code is no longer backwards compatible&#8230;..but at least it works.</p>
<p>I have a bug open at Adobe for this one too: <a href="https://bugs.adobe.com/jira/browse/FLEXDOCS-94">FLEXDOCS-94</a>.</p>
<p>Update: The bug has been answered. Slash syntax is, indeed, not supported in AS3.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reversefold.com/blog/2007/10/09/how-do-you-catch-remote-fms-method-calls-with-complex-prefixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

