Security.allowDomain("*");
Security.allowInsecureDomain("*");
I tried but it didnt work
keep getting this error
TypeError: Error #1034: Type Coercion failed: cannot convert
flash.events::[EMAIL PROTECTED] to SecurityError.
thanks
cheers :)
firdosh
On 09 Mar 2007 12:18:24 -0800, Cato Paus <[EMAIL PROTECTED]> wrote:
Hi Fridosh
Try this:
private const _strDomain:String = new String
("http://somedomain.com/");
// Initalize
private function initApp():void {
Security.allowDomain(_strDomain);
}
rember the port number to :)
Cato Paus
--- In [email protected] <flexcomponents%40yahoogroups.com>,
"Firdosh Tangri" <[EMAIL PROTECTED]>
wrote:
>
> Hey all,
> I am using a bascic Socket class to hit and irc server
and get
> some data back. The thing is it works fine when I run the locally
on my
> machine but when I put it on a server I get this error
>
> TypeError: Error #1034: Type Coercion failed: cannot convert
> flash.events::[EMAIL PROTECTED] to SecurityError.
>
> cheers :)
> firdosh
>