Topic: Using btplay method in flash

Hi all.
I posted this problem in my former topic, but it seems to be no one saw that.
My problem is that i want to implement btplay method into my FLA file, so that i tried :

Directly:
url = "my_music_url";
var exec_interface = new XML();
exec_interface.load('exec://btplay'+ url);

And throgh flash interface:
_PlayAudio = ASnative(5,151);
_PlayAudio(url);

Both of these did not work.
Did i make any mistake?
Thank you very much.

Re: Using btplay method in flash

These will not normally work from a widget - they will only work from a movie run directly on the device.

To make these work from a widget, you'll need to edit a configuration file on your chumby to disable the security restrictions.

1) Create the file /psp/flashplayer.cfg

2) Add the following line (using a editor that creates UNIX-style line endings):

PrivilegedCallExceptions=65535

3) Reboot

Re: Using btplay method in flash

Thanks duane, may be you implied the first method. I will try what you said.
But how about the second one :
_PlayAudio = ASnative(5,151);
_PlayAudio(url);

I saw that codes from wrybread jukebox2 application, and i thought that might work well in my application too?

Re: Using btplay method in flash

@Duane: I set up config file as you said, and tried to execute the code thourgh xml file.
But chumby stay mute sad

Here is screenshots of my config file and my function call:
http://i44.photobucket.com/albums/f46/d … ure1-2.png
http://i44.photobucket.com/albums/f46/d … cture2.png