What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Oct 25, 2007 by beingthexemplary
AMFTypeConversions  

Flash 2 RubyAMF:

  • undefined -> nil
  • null -> nil
  • false -> false
  • true -> true
  • Number -> Fixnum
  • int -> Integer
  • String -> String
  • XML -> String (cast in your service)
  • Array -> Array
  • MixexArray -> Hash
  • Object -> Hash
  • Custom Class -> Ruby Class

RubyAMF 2 Flash:

  • nil -> null
  • false -> false
  • true -> true
  • Numeric -> Number
  • String -> String
  • BeautifulSoup -> XML
  • REXML::Doc -> xml
  • Array -> Array
  • Hash -> Object
  • Ruby Class -> Custom Class


Comment by dimatter, Feb 21, 2008

ROR : render :amf => Item.find(:first)

FLASH: function onHelloWorld(re:ResultEvent?):void {

trace(re.result.something);
}

How to get the value of "something" in an object that is returned from ROR ?


Sign in to add a comment