Building a Flash Application Using WebOrb Ruby / Rails

Ok, this may seem like a silly question (for Flash developers), but I really can't figure it out. So I want to create somekind API for Flash / Flex applications so that the user can use my lib to connect to my WebOrb Rails server.

I have no problem with the rails part, but things get a little more complicated with the Flash function.

So, I saw from the example that Flex uses RemoteObject to connect / receive data. The question is, how can I create a Flash file that connects / fetches data from WebOrb (I couldn't find RemoteObject - is this an include that I have to do?).

If this is not possible, can I create some library in Flex that can be linked in Flash to achieve the same result?

thank

+1


source to share


1 answer


What you are looking for is most likely the NetConnection

Actionscript class . However, it depends on the format of your API. If it's just XML over HTTP, you can just simply use the class URLLoader

.

NetConnection link text



URLLoader link text

+1


source







All Articles