<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - flashremoting - mx - Using_Flash_Remoting_MX - UseASData5.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T12:45:35</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#28276" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#23985" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#1623" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#806" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#28276">
		<title>flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm</title>
		<link>http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#28276</link>
		<description>we would like to create a thin client application that gets images from server. Preferable image format is GIF. (so server creates GIF images and sends it to Flash component on client side upon a request from Flash component). Can we create such functionality? WE don't like JPGs because their compression is bad for transferring images with text &amp; lines - they start to look blurry. Is there a standard image type of flash remouting that we can use and specify image compression type or something like that.&lt;br /&gt;&lt;br /&gt;Thank you, Pavel.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-02-21T03:04:30</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#23985">
		<title>flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm</title>
		<link>http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#23985</link>
		<description>It's really annoying that the serializable Java object conversion uses the actual fields of the object, not its get methods. We have several value beans that expose getters that actually point to fields of a referenced object, or that return a calculated value, which this won't handle. Here's a workaround we came up with to solve this problem, using the BeanUtils class from the Jakarta project:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    public static ASObject convertBean(Object bean) {&lt;br /&gt;        ASObject newBean = new ASObject();&lt;br /&gt;        Map props = null;&lt;br /&gt;        try {&lt;br /&gt;            props = BeanUtils.describe(bean);&lt;br /&gt;        } catch (IllegalAccessException e) {&lt;br /&gt;            if (log.isErrorEnabled()) {&lt;br /&gt;                log.error(e);&lt;br /&gt;            }&lt;br /&gt;        } catch (InvocationTargetException e) {&lt;br /&gt;            if (log.isErrorEnabled()) {&lt;br /&gt;                log.error(e);&lt;br /&gt;            }&lt;br /&gt;        } catch (NoSuchMethodException e) {&lt;br /&gt;            if (log.isErrorEnabled()) {&lt;br /&gt;                log.error(e);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        newBean.putAll(props);&lt;br /&gt;        return newBean;&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-15T17:22:46</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#1623">
		<title>flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm</title>
		<link>http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#1623</link>
		<description>The Java class example above only uses strings, which is a simple case since ASObject.put expects two Object types.&lt;br /&gt;&lt;br /&gt;Adding values of other types is possible too:&lt;br /&gt;&lt;br /&gt;    aso.put(&quot;third&quot;, new Integer(someNumber));&lt;br /&gt;    aso.put(&quot;fourth&quot;, new Boolean(isActive));</description>
		<dc:creator>jaronlambert</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-09-03T08:12:53</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#806">
		<title>flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm</title>
		<link>http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/UseASData5.htm#806</link>
		<description>The object reference in the above code example is only a reference to the class: you can call methods of the class but there is no instance created until you call the init() method of the object. This code will work:&lt;br&gt; &lt;br&gt;&lt;cffunction access=&quot;remote&quot; name=&quot;getFlashObject&quot;&gt;&lt;br&gt;  &lt;cfobject type=&quot;JAVA&quot; class=&quot;flashgateway.io.ASObject&quot;   &lt;br&gt;   name=&quot;MYCLASS&quot; action=&quot;CREATE&quot;  &gt;  &lt;br&gt;  &lt;cfset myobj = MYCLASS.init()&gt;&lt;br&gt;  &lt;cfset myobj.setType(&quot;MyFlashObject&quot;)&gt;&lt;br&gt;  &lt;cfset myobj.put(&quot;first&quot;, &quot;apple&quot;)&gt;&lt;br&gt;  &lt;cfset myobj.put(&quot;second&quot;, &quot;banana&quot;)&gt;&lt;br&gt;  &lt;cfreturn myobj&gt;&lt;br&gt;&lt;/cffunction&gt;&lt;br&gt;&lt;br&gt;Only after calling init() can you use Object.registerClass(&quot;MyFlashObject&quot;,MyFlashObject) in the ActionScript to keep the class of the return object. &lt;br&gt;</description>
		<dc:creator>sgilson102</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-12-09T20:37:00</dc:date>
	</item>
	</rdf:RDF>

