all groups > macromedia flash flash remoting > september 2006 >
You're in the

macromedia flash flash remoting

group:

Remoting is not working when i put it into HTML


Remoting is not working when i put it into HTML Gnomo Ario
9/20/2006 6:22:05 PM
macromedia flash flash remoting:
Hi,

My problem is the folowing; I have a SWF file with a Remoting connection, but
when I put it into a HTML it is not working.

1. Do I have to give it something security parameters at HTML?

2. I read some about APIs to disable ActiveX, how I use these parameters?

ActiveX (IDispatch APIs):
HRESULT IShockWaveFlash::EnforceLocalSecurity()
HRESULT IShockWaveFlash::DisableLocalSecurity()

Plugins (DLL exports):
NPError Flash_EnforceLocalSecurity()
NPError Flash_DisableLocalSecurity()

3.The problem exists in Internet Eplorer and FireFox, Do I need a different
configuration for both?

Thank You.
Re: Remoting is not working when i put it into HTML ANK...
9/21/2006 12:00:00 AM
Hi,


it works.. but if you want to call the for that u have to write 1 line of code.

=>System.security.allowDomain("domain name")



But if you are accessing data from "https" then you have to use

=>System.security.allowInsecureDomain("domain name")


Thanks,
Ankur Patel.
AddThis Social Bookmark Button