Forum Discussion

mp's avatar
mp
Occasional Contributor
13 years ago

Flash Objects only visible when opening the swf from RuntimeLoader.swf directly

hello,



i have now tried the runtime loader method (with normal flash player) and the Flashinjector method (with the debug version of the Adobe Flash Player web browser plug-in), but i've never managed to actually see any of the Fx objects in Object Browser or Object Spy.



the only way i was able to see all the flash objects in my swf was by opening the RuntimeLoader.swf page directly with IE8 and then selecting the swf file from there. but using http://webservername/RuntimeLoader.html?url=file.swf&useNetwork=true" never allowed me to see objects. i've reduced IE security settings to minimum, read & implemented all prerequisites that i found in your manual (used the loader with local & network mode, tried to ), but still no luck.



and yes, the runtimeloader html & swf were always in the same directory as the swf files themselves.

also, i've tried this from local filesystem and with all files put on my remote webserver. no difference.



firefox 3.6.18 simply crashed when i opened runtimeloader.html



is there anything special to configure in browser settings apart from the security settings, or should i try another IE version ? IE8 should be supported according to your manual.



what can be the reason that it works directly with runtimeloader.swf but not with runtimeloader.html ?



i've also stumbled across this page: http://smartbear.com/support/viewarticle/19977/



question: where would the errors appear that are listed there ? in the error log ? when i run the swf file from runtimeloader.html from a test ("run tested app") there is no log output, even if it does open the requested swf file with runtimeloader.html.



thank you for any input on this.



best regards

martin

1 Reply

  • Hi Martin,



    To reproduce the issue and to solve it, our development team would like to get access to your SWF file. Could you please send us the file? If it is possible, please use the form (http://smartbear.com/support/message/?prod=TestComplete) on our web site to directly contact our Support Team and to send your SWF file (you can attach it to the support request). Please refer to this forum thread in your message to the Support Team.



    Furthermore, we have some updated modules of TestComplete that could probably solve the issue. We can send them to you if you contact the Support Team via the above-mentioned form on the web site.



    Also, please try to update your Flash Player browser plug-in to the latest version (http://www.adobe.com/go/getflashplayer) if the version which you are using is not the latest one.



    One question to clarify the situation: have you reproduced the issue with Runtime Loader when loading other SWF files or did the issue occur only when loading the exact SWF file?



    In addition, if you use FlashInjector.swf with the debug version of Flash Player, make sure that the following requirements are met:



       * You have the mm.cfg file in your user account's home directory, and this configuration file contains the PreloadSwf parameter with the correct fully-qualified name of FlashInjector.swf specified in it. You can learn the name of the directory in which mm.cfg should be located on you hard drive if you execute the "echo %HOMEDRIVE%%HOMEPATH%" command from the Windows command prompt. Also, keep in mind that the path to the FlashInjector.swf module is different on the 32- and 64-bit versions of Windows.



       * The fully-qualified name of the directory with FlashInjector.swf is added to the list of trusted locations in Flash Player’s Global Security Settings.



    For more information on these settings, please see the "Configuring Adobe Flash Player for Using FlashInjector" section in the Testing Flash and Flex Applications with FlashInjector - Overview help topic.



    i've also stumbled across this page: http://smartbear.com/support/viewarticle/19977/



    question: where would the errors appear that are listed there ? in the error log ? when i run the swf file from runtimeloader.html from a test ("run tested app") there is no log output, even if it does open the requested swf file with runtimeloader.html.




    If one of the errors listed in the Troubleshooting Runtime Loader help topic occurs when using Runtime Loader, an appropriate error message is displayed as a message box right in the web browser where Runtime Loader is running.