# Win32Ole, ExternalInterface (Flex), return objects

**URL:** <https://www.ruby-forum.com/t/win32ole-externalinterface-flex-return-objects/89566>\
**Category:** Ruby\
**Created:** [March 21, 2007, 11:15am UTC](https://www.ruby-forum.com/t/win32ole-externalinterface-flex-return-objects/89566 "2007-03-21T11:15:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dracos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ea666f/32.png) [@dracos](https://www.ruby-forum.com/u/dracos)\
**Post date:** [March 21, 2007, 11:15am UTC](https://www.ruby-forum.com/t/win32ole-externalinterface-flex-return-objects/89566/1 "2007-03-21T11:15:46Z")

</div>

Hi

I am not sure if it is possible.

I have a Flex application and a Ruby application, and I use  
ExternalInterface and Win32Ole as a media so the applications are able  
to talk to eachother.

Everything works perfect with strings, but when I return any other  
object than string from the Flex application, I only get a WIN32OLE  
object.

Is it possible to return for example boolean values, and pick the value  
out of the WIN32OLE object?

Or is it only strings that are allowed?

Thanks for any pointers

-Peter
