I got the flash.sampler examples to run using Andre&#39;s method of setting up a secure folder through<br>that flash player management control panel.<br><br>+ I have a folder /Users/hqm/openlaszlo/trunk5/test/sampler which I added as a secure location<br>

<br><br>+ I compiled a  standalone flash test app from the adobe docs  page using the mxmlc command line compiler<br><br>    mxmlc -debug=true  sampleTypes.as <br><br> (also worked to compile for swf10, but didn&#39;t seem necessary, it runs either way)<br>

    mxmlc -debug=true -target-player=10.0.0 sampleTypes.as <br><br><br>+ and ran it with fdb<br><br>fdb &quot;file:///Users/hqm/openlaszlo/trunk5/test/sampler/sampleTypes.swf&quot;<br><br>Adobe fdb (Flash Player Debugger) [build 0]<br>

Copyright (c) 2004-2007 Adobe, Inc. All rights reserved.<br>Attempting to launch and connect to Player using URL<br>file:///Users/hqm/openlaszlo/trunk5/test/sampler/sampleTypes.swf<br>Player connected; session starting.<br>

Set breakpoints and then type &#39;continue&#39; to resume the session.<br>[SWF] Users:hqm:openlaszlo:trunk5:test:sampler:sampleTypes.swf - 2,515 bytes after decompression<br>(fdb) c<br>[trace] true<br>[trace] true<br>[trace] true<br>

[trace] true<br><br>(also had to fix one or two compilation errors in their test case that caused it not to compile)<br><br><br><br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 9:40 AM, André Bargull <span dir="ltr">&lt;<a href="mailto:andre.bargull@udo.edu">andre.bargull@udo.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<br>
Have you had any luck trying to use this class?  It looks like it  would be really useful to hook into our debugger, but the  [documentation](<a href="http://bit.ly/frUBL" target="_blank">http://bit.ly/frUBL</a>) says &quot;To run the methods of the  flash.sampler package, the agent SWF file must be in a localTrusted  file path (see the Flash Player 9 Security white paper).&quot;<br>


<br>
I tried creating a standalone app that calls getMemberNames, and I  invoked it from the local file using the standalone Flash debug player  from <a href="http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.app.zip" target="_blank">http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.app.zip</a>   but it just returns undefined.<br>


<br>
Any ideas on how to get it to work?<br>
  <br>
</blockquote>
<br>
<br></div>
This is what I&#39;ve done in the past:<br>
- wrote my lzx-application and deployed it as swf9-SOLO<br>
- then I&#39;ve placed the swf-file in my local trusted file path [1]<br>
- finally started the application over the browser (e.g. &quot;file:///E:/development/.../security_save/test.lzx.swf9.swf&quot;)<br>
<br>
<br>
[1] Using the web-interface at &quot;<a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html" target="_blank">http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html</a>&quot;, you can define a local trusted file path. In my case it is set to &quot;E:\development\...\security_save&quot;.<br>


</blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br><br>