Home > flash as2 > flash as2 error opening url

flash as2 error opening url

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 ActionScript 2 (and Earlier) [cs4 | as2] "error opening URL" when using an xml file Results 1 to 4 of 4 Thread: [cs4 | as2] "error opening URL" when using an xml file 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 16th, 2009,09:49 PM #1 hmilk View Profile View Forum Posts 9 posts Registered User [cs4 | as2] "error opening URL" when using an xml file hi, i'm following lee brimelow's tutorial for building an mp3 player with an xml file. i made the xml file off of textedit on my mac; however, after i followed his code through and through I'm getting this error: "Error opening URL file:///Macintosh%20HD/Users/Watson/Desktop/untitled%20folder/undefined'" Any suggestions. The as code is: // setup sound object var s:Sound = new Sound(); s.onSoundComplete = playSong; s.setVolume(75); // array of songs var sa:Array = new Array(); // currently playing song var cps:Number = -1; // load the songs xml var xml:XML = new XML(); xml.ignoreWhite = true; xml.onLoad = function() { var nodes:Array = this.firstChild.childNodes; for(var i=0;i Reply With Quote April 17th, 2009,04:33 AM #2 cjke.7777 View Profile View Forum Posts 163 posts Registered User that looks pretty much correct, just some simply checks though, are the published swf in the same folder as the xml? you have extensions turned on, i.e. it is songs.xml not songs.xml.xml Reply With Quote April 17th, 2009,04:54 AM #3 Swooter View Profile View Forum Posts Visit Homepage 1,007 posts Swooter - AS/JS/HTML/CSS Yes, I think it's saved as a .xml.txt file Windows: Start -> run -> control folders -> uncheck 'hide extensions for known filetypes' AS2 / AS3 / JS / JQUERY / (X)HTML / HTML5 / CSS / CSS3 / PHP Reply With Quote April 17th, 2009,05:03 AM #4 Ric373 View Profile View Forum Posts 138 posts Registered User hello hmilk, I've copied your code and I did not find any problem (other than the script

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 https://www.kirupa.com/forum/showthread.php?324697-cs4-as2-quot-error-opening-URL-quot-when-using-an-xml-file them; it only takes a minute: Sign up Adobe Flash CC: Error opening URL…swf up vote 1 down vote favorite 2 I have been creating a simple AS3 file within Flash to create a mockup. However today, I have got the following error when trying to test the file in the output: **Error opening URL '/:Users:Name:Documents:Work:Projects:Graduate Project:Design:Tablet/Mobile:New Mockup:baby.swf'** Now http://stackoverflow.com/questions/22937079/adobe-flash-cc-error-opening-url-swf when the file is moved to a slightly different location within Documents (/:Users:Name:Documents) the file loads fine. Anyone know of a reason this might be happening? There has been a recent update, maybe this could have affected it? actionscript-3 flash runtime-error flash-cc share|improve this question edited Jul 25 '14 at 17:28 BadFeelingAboutThis 12k12037 asked Apr 8 '14 at 12:30 lg365 320411 What is the URL of the path when it works? How are you referencing this file in your code? Are you using hard-coded URLs? –walkietokyo Apr 8 '14 at 13:28 Are you testing using different login accounts? Also try hard-coding the user name in the path... –VC.One Apr 8 '14 at 14:02 It's fine with other login accounts, but with this one hard coding the path makes no difference. The working URL is '/:Users:Name:Documents' which is referenced using hand-coded URLs in the code. –lg365 Apr 8 '14 at 14:13 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted Im using a Mac version

In the project I'm working on, I use the loadMovie command to replace one of my MCs with a .swf. When I test this however, the Output window tells me that there was an error opening the URL. Error opening http://www.justskins.com/forums/loadmovie-url-problem-5320.html URL "file:///C|/WINDOWS/Desktop/Flash/shooter%5Ffiles/explode.swf" The code for opening this URL is as follows. this.loadMovie("explode.swf"); A second parimeter is not needed in the brackets because the target is specified with "this.". The file is named correctly, and in the right folder as well, but for some reason the file will not load. Anybody have some suggestions of what could be going wrong? ... Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… flash as2 Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode January 13th,12:49 AM #1 loadMovie URL problem. Hi. In the project I'm working on, I use the loadMovie command to replace one of my MCs with a .swf. When I test this however, the Output window tells me that there was an error opening the URL. Error opening URL "file:///C|/WINDOWS/Desktop/Flash/shooter%5Ffiles/explode.swf" The code for opening this URL is as follows. this.loadMovie("explode.swf"); A second flash as2 error parimeter is not needed in the brackets because the target is specified with "this.". The file is named correctly, and in the right folder as well, but for some reason the file will not load. Anybody have some suggestions of what could be going wrong? Thankyou for your input. --------------------------------------------- Always remember: Before there was now... There was then... this_name_is_taken webforumsuser@macromedia.com Guest January 13th,01:49 AM #2 Re:loadMovie URL problem. that doesn't look like the correct directory, but it may be. search for explode.swf and find its directory and double check that directory is the same as the directory where your flash movie (that contains the loadMovie statement) is stored. kglad webforumsuser@macromedia.com Guest « loading external movies ramdomly | Email? » Similar Threads FP8 security and loadMovie problem By FranceyM in forum Macromedia Flash Player Replies: 1 Last Post: September 20th, 12:50 PM Problem with loadMovie By ---Olives--- webforumsuser@macromedia.com in forum Macromedia Flash Actionscript Replies: 5 Last Post: March 7th, 09:02 AM loadMovie Problem urgent!!! By forums.macromedia.com in forum Macromedia Flash Sitedesign Replies: 1 Last Post: March 3rd, 03:07 PM PLEASE HELP - loadMovie and registerClass problem By RaminDeja in forum Macromedia Flash Actionscript Replies: 0 Last Post: February 24th, 09:21 PM LoadMovie problem By fullbleed in forum Macromedia Flash Actionscript Replies: 5 Last Post: F

 

Related content

error opening url flash as2

error opening url flash as p 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 flash as tutorial Forums Read Quick Links View Forum Leaders What's New Advanced Search a flash as setinterval Forum Flash ActionScript and Earlier cs as error opening URL when using an xml file Results flash as preloader to of Thread cs as error opening URL when using an xml file Thread Tools Show Printable Version Subscribe to this Thread hellip Search Thread Advanced Search Flash As Tween Class Display Linear