Re: [Flashcoders] Loading swf From External Server Issue

2006-02-10 Thread Shawn Dos Santos

Thanks for the response Tareq.
I am working with Flash player 6.

I have actually found this article which seems to address this issue  
(with a lot of the same issues):
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/ 
common/html/wwhelp.htm?context=Flash_MX_2004&file=1097.html


Has anyone else run into this?


On Feb 10, 2006, at 1:06 PM, Tareq AlJaber wrote:


If you are using Flash Player 8 it could be security issue.
Check this article:

http://www.macromedia.com/devnet/flash/articles/fplayer8_security.html

Tareq


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn
Dos Santos
Sent: Friday, February 10, 2006 9:48 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Loading swf From External Server Issue

Hello,
Am running into an issue here getting functions to work across servers.
Had the file working previously when it was calling the file locally,
however now that it has moved the functions are no longer working.

Previous code (that worked):

on(release)
{
if(!adIsLoaded)
{
ad.loadMovie("localFile.swf");
adIsLoaded = true;
}
else if(ad.isPaused)
{
ad.play();
ad.isPaused = false;
}
else
{
ad.stop();
ad.isPaused = true; 
}
}

Code that is not working on a server... it works locally.

on(release)
{
if(!adIsLoaded)
{
ad.loadMovie("http://url.com/localFile.swf";);
adIsLoaded = true;
}
else if(ad.isPaused)
{
ad.play();
ad.isPaused = false;
}
else
{
ad.stop();
ad.isPaused = true; 
}
}

Any help would be greatly appreciated.
Thanks.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




---
Shawn Dos Santos
Multimedia/Web & Print Designer
http://www.shawndossantos.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Loading swf From External Server Issue

2006-02-10 Thread Tareq AlJaber
If you are using Flash Player 8 it could be security issue.
Check this article:

http://www.macromedia.com/devnet/flash/articles/fplayer8_security.html

Tareq


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn
Dos Santos
Sent: Friday, February 10, 2006 9:48 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Loading swf From External Server Issue

Hello,
Am running into an issue here getting functions to work across servers.
Had the file working previously when it was calling the file locally, 
however now that it has moved the functions are no longer working.

Previous code (that worked):

on(release)
{
if(!adIsLoaded)
{
ad.loadMovie("localFile.swf");
adIsLoaded = true;
}
else if(ad.isPaused)
{
ad.play();
ad.isPaused = false;
}
else
{
ad.stop();
ad.isPaused = true; 
}
}

Code that is not working on a server... it works locally.

on(release)
{
if(!adIsLoaded)
{
ad.loadMovie("http://url.com/localFile.swf";);
adIsLoaded = true;
}
else if(ad.isPaused)
{
ad.play();
ad.isPaused = false;
}
else
{
ad.stop();
ad.isPaused = true; 
}
}

Any help would be greatly appreciated.
Thanks.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com