That's not an officially supported configuration. Some folks get it to work, but no guarantees. Try moving the data objects used by RO into the Flash SWF. Also, don't use Flex 3.2. It has bugs related to this configuration. Use 3.3 or 3.1
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of carloscarvalhar Sent: Tuesday, March 24, 2009 4:47 AM To: [email protected] Subject: [flexcoders] bug with remoteObject and ToolTip with loaded flex application Hi, I have a flex application working fine, but i need to load it into a flash swf and it is giving me a lot of trouble. I get a really strange behavior: my mouse doesn't shows anymore (although i'm not changing cursors), remote object's calls doesn't load anymore and tooltips don't show. I think it is happening because, once my flex app is loaded in flash, the "root" isn't anymore Application.application. But i don't have any idea of how to fix it, actually, i wonder if the fix would it be in flash or flex...i tried to fix in both, but so far i couldn't reach a solution. Is there a solution for it? Can you point me where to try? You can check the "normal call" to flex app here: http://carvalhar.com [working fine] And here is the problem, where i try to load in flash swf:: http://carvalhar.com/swf/preloader.swf PS: my flash loader is pretty simple: import flash.events.Event; stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; var loader:Loader = new Loader(); loader.load(new URLRequest(Stage.path ? Stage.path : '/swf/meusite.swf')); this.addChild(loader); stop(); And this is one of the errors (in flex, after loaded): TypeError: Error #1009: Não é possível acessar uma propriedade ou um método de uma referência de objeto nula. at mx.managers::CursorManagerImpl/showCurrentCursor()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\CursorManagerImpl.as:627] at mx.managers::CursorManagerImpl/setCursor()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\CursorManagerImpl.as:422] at mx.managers::CursorManagerImpl/setBusyCursor()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\CursorManagerImpl.as:526] at mx.managers::CursorManager$/setBusyCursor()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\CursorManager.as:303] at mx.rpc.remoting.mxml::Operation/http://www.adobe.com/2006/flex/mx/internal::invoke()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\remoting\mxml\Operation.as:194] at mx.rpc.remoting::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\remoting\Operation.as:113] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.rpc.remoting.mxml::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\remoting\mxml\Operation.as:170] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractService.as:285] at modules::home/init()[C:\Documents and Settings\User\Meus documentos\Design\flex\meusite\src\modules\home.mxml:76] at modules::home/___home_Module1_creationComplete()[C:\Documents and Settings\User\Meus documentos\Design\flex\meusite\src\modules\home.mxml:6] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298] at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]

