Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

Cannot execute Javascript from a SWF file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mikewb - 27 Jul 2008 09:00 GMT
Hi all,

I have a really baffling problem. I have two servers:

serverA: hosts Flash server for recording video/audio and serves SWF widgets
serverB: web/application server

I have included SWF widgets inside the pages that get served by serverB with
SWFobject Javascript.

Now, if I call try this:
getURL("javascript:alert("hello")");
from within the SWF served by serverA, it fails! But if I copy the SWF file to
the serverB (app server) it pops a message box. I cannot serve SWF files from
serverB because then I cannot record to serverA.

What a mess :( Can anyone help me and tell me what's going on, what am I doing
wrong and how to solve this?

Thank you!
mikewb - 28 Jul 2008 21:53 GMT
larry cat - 28 Jul 2008 23:56 GMT
Without knowing specifics on the servers, etc, it sounds like a cross-domain
security problem:


http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?con
text=LiveDocs_Parts&file=00001616.html

Sean
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.