How To Fix Error Opening Url In Flash
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up URL opening error in Flash CS4 up vote 0 down vote favorite I have a script that loads a php page for variables. There are no problems when the swf is uploaded to the site but when I run it locally, I keep getting "Error opening URL" messages. I'm using absolute pathing and if I paste the URL my script is using in a browser, the correct page opens. This only started happening after the site changed servers. Any ideas what the problem could be? Thanks. actionscript-3 flash-cs4 share|improve this question asked Feb 9 '11 at 2:58 jsalita 2710 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote The "Error opening URL" seems to be caused by a number of issues. I have tried to keep track of all the different solutions I have used in the past to fix the problem. Ever time I encounter the "Error opening URL" the solution is different. Hopefully one of these solutions helps you. I usually find the following solutions on google. - Make sure crossdomain policy is setup correctly. - Set a bunch of variables like Security.allowDomain(domainHERE) - Change publishing setting for your flash file. - Make sure your connecting to the right url. Here is what works for me... usually. 1) Make sure you are connecting to the right URL. Use the full path, don't use relative links. Also, copy and paste the url in your web browser to see if it connects. You can also use flash.events.HTTPStatusEvent.HTTP_STATUS to view the HTTP headers but I would recommend you check out solution 5 first. Its a much easier way with more details. Source: http://www.judahfrangipane.c
using your existing account on the new forums, check out this thread. Register Help Remember Me? Forum Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? Advanced Search Forum Flash Flash IDE Error opening URL Results 1 to 3 of 3 Thread: Error opening URL Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode April 29th, 2005,11:23 AM #1 aya View Profile View Forum Posts 4 posts Registered User Error opening URL I'm new to flash and trying to figure out some actionscript. I http://stackoverflow.com/questions/4940880/url-opening-error-in-flash-cs4 keep getting an error when i try to preview my movie "Error opening URL "file:///C|/DOCUME%7E1/bear/LOCALS%7E1/Temp/Rar%24DI01.136/locations.swf" any ideas on what to do?? Thanks Aya Reply With Quote April 29th, 2005,11:28 AM #2 Cello View Profile View Forum Posts 1,017 posts Music IS the food of love Welcome to the forum aya Your Flash document is trying to open location.swf which it has been told to find. I'm no expert but it looks like to https://www.kirupa.com/forum/showthread.php?94953-Error-opening-URL me that locations.swf is in a rar archive (ie a temporary archive) which will prevent the file from opening by Flash. All your working documents should be in an unarchived format in the same directory and then you check that your flash file has the correct path to find locations.swf. Give that a go - if it doesn't work then post up your .fla and we'll try and sort it out for you. Reply With Quote April 29th, 2005,06:30 PM #3 aya View Profile View Forum Posts 4 posts Registered User AH YOU WERE RIGHT Thanks! It worked- Reply With Quote « Previous Thread | Next Thread » Thread Information Users Browsing this Thread There are currently 1 users browsing this thread. (0 members and 1 guests) Posting Permissions You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On [VIDEO] code is On HTML code is Off Forum Rules kirupa.com Archive Top Home About kirupa.com Meet the Moderators Advertise Link to Us Credits Copyright 1999 - 2012 All times are GMT -4. The time now is 12:48 PM. Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.