@Alex,

it was like that :

<RunCode code="ed4.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" /> <RunCode code="ed4.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" /> <WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" /> <RunCode code="ed4=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom/resMod_loadResourceModule_enUS_bundle1_004.swf')" /> <RunCode code="ed5.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" /> <RunCode code="ed5.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" /> <WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" /> <RunCode code="ed5=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom2/resMod_loadResourceModule_enUS_bundle1_005.swf')" /> <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().length" value="1" /> <AssertMethodValue method="value=ResourceManager.getInstance().getLocales()[0]" value="en_US" /> <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle1','SHUTDOWN')" value="Shut down" /> <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle1', 'SHUTDOWN2')" valueExpression="value=null" />

It was a sequence problem, I moved the resourceManager loadResourceModule before to add eventListeners to them , I did that before but it didn't work because it's was also a timing problem, it passed in the degugger but not in live, I just changed its timeout from 1000 to 2000

-----Message d'origine----- From: Om
Sent: Monday, December 10, 2012 7:44 AM
To: flex-dev@incubator.apache.org
Subject: Re: [Mustella] 90 tests failed

1. Create a new file under bin-debug/debug.html with nothing in it.
2.  Create a new debug configuration.  In the "URL or path to launch",
point it to bin-debug/html
2.  Run the debug configuration
3.  Flash Builder launches the bin-debug/debug.html file and waits to
connect to the running application.  But since there is no swf to connect
to,  in this mode, Flash Builder will debug any swf.
4.  Open the swf that you want to debug, right click and select 'Debugger'.
Select 'Localhost'

You should now be in Flash Builder debugger mode.  Obviously, you need to
source code for the swf somewhere in your project's source paths if you
want to have breakpoints.

Hope this helps!

Thanks,
Om

On Sun, Dec 9, 2012 at 10:08 PM, Alex Harui <aha...@adobe.com> wrote:



>
> I used it once only and it's a bit a pain but ok, yes, I'll do that.
>
Supposedly, there is a way to get FlashBuilder to connect to any SWF as
well.  I don't know it though.

--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



Reply via email to