I got the flash.sampler examples to run using Andre's method of setting up a secure folder through that flash player management control panel.
+ I have a folder /Users/hqm/openlaszlo/trunk5/test/sampler which I added as
a secure location
+ I compiled a standalone flash test app from the adobe docs page using
the mxmlc command line compiler
mxmlc -debug=true sampleTypes.as
(also worked to compile for swf10, but didn't seem necessary, it runs
either way)
mxmlc -debug=true -target-player=10.0.0 sampleTypes.as
+ and ran it with fdb
fdb "file:///Users/hqm/openlaszlo/trunk5/test/sampler/sampleTypes.swf"
Adobe fdb (Flash Player Debugger) [build 0]
Copyright (c) 2004-2007 Adobe, Inc. All rights reserved.
Attempting to launch and connect to Player using URL
file:///Users/hqm/openlaszlo/trunk5/test/sampler/sampleTypes.swf
Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
[SWF] Users:hqm:openlaszlo:trunk5:test:sampler:sampleTypes.swf - 2,515 bytes
after decompression
(fdb) c
[trace] true
[trace] true
[trace] true
[trace] true
(also had to fix one or two compilation errors in their test case that
caused it not to compile)
On Fri, Jul 10, 2009 at 9:40 AM, André Bargull <[email protected]>wrote:
>
>> 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](
>> http://bit.ly/frUBL) says "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)."
>>
>> I tried creating a standalone app that calls getMemberNames, and I
>> invoked it from the local file using the standalone Flash debug player
>> from
>> http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.app.zip
>> but it just returns undefined.
>>
>> Any ideas on how to get it to work?
>>
>>
>
>
> This is what I've done in the past:
> - wrote my lzx-application and deployed it as swf9-SOLO
> - then I've placed the swf-file in my local trusted file path [1]
> - finally started the application over the browser (e.g.
> "file:///E:/development/.../security_save/test.lzx.swf9.swf")
>
>
> [1] Using the web-interface at "
> http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html",
> you can define a local trusted file path. In my case it is set to
> "E:\development\...\security_save".
>
--
Henry Minsky
Software Architect
[email protected]
getInvocationCountTest.as
Description: Binary data
sampleTypes.as
Description: Binary data
