I'm trying to access a script on a domain with åäö in the domain name. But flash consistently generates a security error no matter what I do.The setup is like this:
[URL]
is trying to access
[URL]
Even with a crossdomain file flash generates a security error, because it considers the script to be on a different domain or something.edit: Apparently it only appears in Firefox. I've tested the same page with identical flash player versions in several browsers and the bug only seems to appear in Firefox.
post the code for a working cross-domain securityfile that allows access only from the same domain as all the flashfiles and xml files are in?used to be easy in as2 but i think i dont know what i need to know about it in as3..
I have create a Flash EXE in AS3. At the time of launch the exe loads a XML from a web link to validate itself.
var urlRequest:URLRequest = new URLRequest("http://abc.com:8090/validate.xml"); var urlLoader:Loader = new Loader(); urlLoader.addEventListener(Event.COMPLETE, startLoad); urlLoader.load(urlRequest);
I have also place a crossdomain.xml at the root. When I launch the EXE, the debugger shows "SecurityError: Error #2000: No active security context."I just found a strange thing that when I'm writing the code on the timeline, its working (no security errors). But when I'm writing this code in the document class its not working.
I am trying to make a "mother" swf to hold all my functions, shortcuts, etc.. This "mother" swf will be stored on a "mother" server.I intend to make several websites on different servers that all access this "mother" swf for various tasks.I created two testing domains where I was able to have cross-domain swfs share functions & variables successfully.The problem occurs when one swf tries to write to a textfield in another swf. I can change properties like position and rotation, but I cannot access properties such as ".text", which is the most important property I need to use.
I need to load a swf in other domain and call its functions and access its variables, in the same domain I can load it and access its functions successfully, but in different domains no.
I need my swf to be able to see the domain of the page that it's loaded on. Normally to to this I would just look at window.location over ExternalInterface, but in this particular case the swf is going to be embedded with allowscriptaccess="never", so that's not going to work. Is there an actual api that will give me that or do I have to resort to ugly hacks?
Code:var appDom:ApplicationDomain = new pplicationDomain(ApplicationDomain.currentDomain);Now in Senocular's fantastic article on Application Domain, it states, "Child domain definitions, even if being overridden by the parent domain can still be accessed from the application domain directly through getDefinition which is covered 've read all through that article and any other information I could find on the application domain, and while I have been able to access the child domain's classes, I have not been able to access the overridden classes.Code:myLoader.contentLoaderInfo.applicationDomain.getDefinition("MyClassName");The above code does get the child classes, but for overridden classes it gets the parent domain's classes.
Is there or is there not possible to access _global variables between domains? On [URL] I have index.html and index.swf. Index.swf then loads main.swf from [URL]. In index.swf I have a _global variable that i want main to use. When calling for it all I get is undefined. The only way to access it is if I call for it using _parent or _root.
I have allowed the domains to communicate using System.security.allowDomain("[URL]"); System.security.allowDomain("[URL]"); I have also put a crossdomain policy file on both servers..
I have installed fms 4 in windows 7 in my computer, but i cant get it work with a flex application that i have in a server. I added the port in my router's settings
I have recently uploaded my flex applicaiton on server, it works fine on my system (localhost) but on the production server it tries to access[URL]..which is not available and end up showing "loading" eternally.
Flash cross-domain policy files only allow you to specify allow-domain-from tags.I'd like to know if there is a way to limit access as if the tag read allow-domain-to. In other words:[URL]...
Is it possible to achieve this without resorting to creating a special sub domain for flash callbacks?
I used [url].... to create access for any domain (for test) and copied it directly into file server and also test if [url].... is accessible. I checked flashlog.txt and found that [url].... is loaded but will be ignored because of its syntax error - its generated by crossdomainmaker website and also correct with specifications and examples over internet, so what can I do?
We are running FMS3 on Windows 2003 Server. Videos stream and play fine when inside our domain, but outside the domain the videos take anywhere from 20 or more seconds before playing.
After analizing the connections it was determined that the player is randomly trying to access ports until it gets to the one that works, but this is ONLY happening from people trying to view videos from outside our domain.
I have moved a web application from old domain to new domain. I cannot get Flash to engage. I have changed the domain in flash_images.php file to the new domain. I have a flash_box.swf file and I have a js file these are the only flash components that I see--old domain is e.g. www.example.com new domain is [URL]..I am not a flash developer, how do I get flash to work on the new domain?
I created some game and would like to let the users play it only on my domain, so to forbid to play it offline or put on some other site. Is there a way to do it? Somehow check domain or so?
My swf works fine when previewed locally but because of flash cross domain issues (link below) doesnt work live. [URL] Ive used a 'crossbrowser.php file to .load in xml but am not having success with the sendAndLoad command. [URL]
I have a .swf in a index.html, in a domain: [URL]My question is simple: Using Actionscript 3.. how I know the name of the domain where my .swf file is hosted?
I know how to get the URL of the page, but how can I extract simply the domain and the domain alone? It must return the same value with or without www, and it must also return the same value regardless of file, with or without trailing slash, etc.
So[url].... would return [url]...., and [url]......... would return the same as well.Is this possible?If so, is there a way to do it without calling ExternalInterface.call('window.location.href.toString')?
According to the documentation outlining the facebook sharer.php, in order to post flash inline I need to add my domain to the facebook whitelist. However, I can find no information detailing the procedure to accomplish this.
i've done just about everything i can think of to load an external .swf located on a different domain.i have the crossdomain.xml file that reads like this:[code]my .swf is working when i test it offline, but when i upload it to another server, it completely fails at loading any external swfs.
Maybe this a recurrent issue in almost every Flash forums,but theres something that continues to miss me. I'm confortablewith AS2 and programmed some access for xml feeds with it, but theAS3 is giving me a fight for it.I want to be able to read a RSS feed from a newspaperwebsite. Everything is going well if the movie is running insideFlash, but outside it's not (I know that this has to do with thesecuruty level, that is minimal at runtime).I've seen all kind of solutions, but none of them doesn'twork so far. Has a "not very familiar" with AS3 person,, with a example of crossdamin.xml and the"Security.allowDomain" command so that I can get that RSS with noproblems.1) do you think it's a good ideia to have a TimerEvent totrigger the reloading of such RSS?2)In what circumstances does the <img> works in a
I am building a flash AS3 movie for a client that uses a facebook-connect authentication then loads some dynamic xml and plays.At the last minute the client has informed me that they actually need the flash movie and assets to reside on an external server, so the flash and the xml are not going to live on the same domain.I have the added problem that the xml comes from a PHP file with a session that has been authenticated, so I don't really have the option to use a proxy PHP include to make this work (I believe the session would be broken)