ActionScript 2.0 :: LoadMovie Command - Error Opening URL
May 20, 2005
My site has a picture gallery. It works with a movieholder and the loadMovie command. It has 9 buttons, one for each picture, and they work. There's also a previous and next button to navigate through the pictures, there the loadMovie command gives problems.
Here are 2 lines that are used in the previous button:
Code:
_root.site.alles.movieHolder.loadMovie("images/1.swf");
Code:
_root.site.alles.movieHolder.loadMovie("images/"+(fotovariabele1-1)+".swf");
I get the following error with that button:
Error opening URL "file:///C|/school/multimedia/VOLLEDIG%20NIEUWE%20SITE/images/NaN.swf"
I know nothing about a Nan.swf. I don't understand why these lines don't work in the previous button, because the 1 button (the button that loads image 1) also uses the first line, and that works. I know only very basic actionscript, but the code of the previous and next buttons are supposed to be correct except for those lines with loadMovie. In publish settings is actionscript 2.0 set.
View 3 Replies
Similar Posts:
Aug 24, 2009
As shown in the example... I have entered an action to load a movie when I press a button.It works fine but the original swf was made at 800 by 600 when I need it to be 400 by 200.Is there a way to have the video loaded smaller using some kind of width and height line to the command above?I don't want to have to go redue the swf I am loading in...In the swf, I am working on this for class, so It is not finished or have any real sense to it, other than what is required by the teacher
View 5 Replies
Nov 19, 2003
ok here is my problem (i will explain it to the best of my abilites)i have 3 buttons which each load 1 seperate SWF into an empty movie clipg. servicesbutton loads services.swf into contentsMCthat is fine that is working fine my problem occurs when the loaded movie button is clicked on again... it resets the loaded SWF back to frame 1... how can i make the loadmove command abit more cleverer? like dont load the movie if its already loaded?
View 5 Replies
Jun 2, 2009
i am trying to write an image gallery using the loadMovie comand, loading jpegs into a blank movie clip the thing is, all the tutorials seem based around issuing the loadMovie command as you press a button to actually view that particular picture what I am trying to achieve is to have maybe the 1st and 2nd image of the gallery included in the flash movie and these load up and show instantly but whilst the viewer is looking at these the swf is busy preloading all the other images in the background. The idea being that images are loaded faster than the navigation that takes place so when the user clicks on the 3rd image it is already loaded and displays instantly and so on and so forth question is, how do i achieve this ? Do i still use loadMovie but have one script at the 1st frame that loads say all 20 images each into a different empty movie clip ?
View 7 Replies
Jun 23, 2009
My question is in bold and underlined in the AS below. How can I have a loadMovie command that loads the swf depending on the label name?
AS:
Code:
var menuArray:Array = [{mc:p1, name:"Hardin & Luckett (Marana)", label:"HardinLuckett" },
{mc:p2, name:"Dove Valley", label:"DoveValley" },
{mc:p3, name:"RESUME", label:"resume" },
[code]....
View 0 Replies
Oct 19, 2002
Is is possible to load a movie ising the loadmovie command into a different swf???
View 14 Replies
Oct 28, 2002
I have the following which works fine just out side of the loop statement:
loadMovie("icons/test.jpg", "pIcon0.Icon");
But inside the loop statement no image shows up.
I need it in the loop statement because eventually the code will call the jpgs out of an array based on the loop variable. And put them in a movieclip number by the variable also.
View 1 Replies
Apr 1, 2009
I have created an interface that uses a lot of the loadMovie command using levels. Once I have loaded a movie on say level 3...in that level 3 movieclip I will have another navigation that will load and then use the loadMovie command to load movie on level 3 as well. It loads it correctly but the back button that would contain the unloadMovie(3) command isn't unloading, say if the user wants to go back.
View 2 Replies
Feb 13, 2006
I have a photographer's portfolio site in the works. I'm using loadMovie connected to thumbail buttons of each photo to show a larger version of the photo. Here is the script[code]...
Now the photographer would also like to have a next/previous arrow buttons so the user can click through like a slide show. Is there a way to have Flash know what movie is currently loaded and based on that information go to the next or previous?
View 1 Replies
Nov 19, 2003
I have this movie [URL] its for a mates building company ok here is my problem (i will explain it to the best of my abilites) i have 3 buttons which each load 1 seperate SWF into an empty movie clip eg. servicesbutton loads services.swf into contentsMC that is fine that is working fine my problem occurs when the loaded movie button is clicked on again... it resets the loaded SWF back to frame 1... how can i make the loadmove command abit more cleverer? like dont load the movie if its already loaded?
View 5 Replies
Apr 21, 2003
My problem is that if i do an drop-menu-animation and i put it in my button, i can't manage the command LoadMovie, in the primary stage of the site...
What should i do?
View 1 Replies
Jan 14, 2009
I have a HTML stageholder, this calls a "mainMenu.swf" which essentially controls my site. This "mainMenu.swf" has three buttons: intro, portfolio and contact which are all individual movies. So far, all good... When I have clicked into the portfolio section a 3x3 grid loads with nine buttons, one of these buttons loads a preview page for four movies, when I load one of these movies it plays fine. What is the path to get the loadMovie command to jump back to the 3x3 grid page from this movie? Basically, what is the command to jump up a directory when using loadMovie?
[Code]....
View 1 Replies
Jul 9, 2002
I want to load a movie loadMovie ("target", _root....) and so on. My question is can you target a specific scene in the load movie command?? I have a movie with a button that loads a new movie into level 0 so it replaces the first movie. Now in the new movie I have a button that unloads the new movie and loads the previous one. But it starts it off at the veru beginning of the movie. I want it to pick up where the first button click took place.
View 2 Replies
Jan 9, 2006
I'm new to Flash and am looking to use the following tutorial to create an advanced button. I know it is probably a very simple fix, I just cannot figure it out. [URL] In the tutorial the rollover and onrelease has the following script this.onRollOut = function(){ rewind = true;} this.onRelease = function(){getURL [URL]); } I have tried to change the on.Release command to go to and play another frame in to movie instead of opening a new url. But I'm not getting it to work correctly.
View 4 Replies
Jul 27, 2006
ok now i have a variable "URL" [URL] (or something like that - it works anyway) and a search box replaces the url and places it in the url as appropriate Error opening URL "[URL]" now if someone types "hello" and submit, it looks for "[URL]" but if the image isnt in the folder it will come up as Error opening URL "[URL] in the OUTPUT box now is their any way at all to say in the actionscript (the image searched wasnt in our database please try again) i know its a default message flash comes up with but is their a quick way to use this default error to make an "error movieclip" visible?
View 1 Replies
Sep 6, 2007
I was recently able to get AS3.0 to connect to a MySQL database using PHP. However, my employer decided that he wants me to use a Java Servlet for the communications rather than PHP. I have written the servlets and they are all working properly, however, I can't get flash to run them properly in the application. When running the servlet I get an error stating "Error opening URL" Are there any specific changes that I need to change in my code so that I am able to communicate with a servlet?
View 9 Replies
Jul 31, 2010
I am trying to create a function that sets my scaling tool on my stage to set itself. The instance name is slide_mc. Its a movie clip. I am getting the following error:Expected a field name after '.' operator.
Code:
scalelot = function(){
slide_mc.onClipEvent(load){
[code].....
View 1 Replies
Mar 27, 2009
I really don't know actionscript but i downloaded an fla for a calendar and but it can't find the xml file it needs.. i have the xml file in the root folder but it still cant find itthats the code thats looking for the xml
Code:
xmlpath = _root.locationuri + "calendar_xml.asp?" + cb;
i named the file calendar_xml.asp
[code]......
View 1 Replies
Jun 3, 2009
I use flash 8 to edit my projects, recently I got a website related to music downloads and it was built in flash, now when I try to edit the fla file it opens up in flash 8 but I cannot see the library and when I edit it and make some changes in it it saves but it doesnt work like the original one.
View 1 Replies
Feb 9, 2010
When I click the Edit button next to AIR Settings in the properties panel in Flash CS4 Version 10.0.2 I get the following error: The following JavaScript error(s) occured:
At line 984 of file "Apollo_OpenSettingDialog.jsfl":
exportSWF: Argument number 1 is invalid.
I've installed the new AIR2 (beta2) I found here: http:[url].....but I don't think this error has anything to do with it.I'm currently running Mac OS X 10.5.8.
View 3 Replies
Jun 8, 2010
I'm using a var and an Array code on an empty move clip. The code is set on an "Actions" layer. The code checks good. All files are on my desktop.When I test movie I get 'Error opening [url]...I'm on Mac running CS3. Flash setting is set to "Access local files only" I searched hours for a solution to this problem.[code]...
View 4 Replies
Aug 7, 2010
I have an .fla file that I've been working on for hours and hours. Everything seemed to be fine when I went to bed last night, but I woke up this morniong to find I can't open the file, I get the message "An eror occurred openning file 'C:users....'
View 3 Replies
Feb 9, 2011
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.
View 2 Replies
Feb 9, 2011
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.
View 0 Replies
Jul 20, 2009
I'm using the contact form. It used to work great but now when I test the swf I keep getting the errorError opening [URL].
View 1 Replies
Jul 24, 2006
this function should open me a pop-up window with a set of strings passed in the location var.With firefox have no problem, but IE gives me an error on the bottom bar without opening anything.Here belowe the code wich is on the button:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
[code]...
View 4 Replies
Nov 13, 2004
I'm doing a loadVariables (http://www..etc....); When I run my movie I get - Error opening URL, I understand the error etc... but what I wanna know is does a variable get set? So I can do a check
if x = Error opening URL gotoAndPlay(etc);
View 3 Replies
Feb 8, 2010
I have Flash CS3 on OSX. Everytime I open a specific FLA file, I immediately get the following error message:
"Error creating Flash Movie. Be sure the destination file is not locked or on a locked drive. Also, check to make sure the name is not too long."
Dismissing the alert box results in the same alert box instantaneously popping back, completely blocking any attempt to act upon the file. The file name is 7 characters long (extension included) and is located in a folder which contains other FLAs I have no problem publishing.
I have sent back the file in question to its creator and she had no problem opening it in CS3. She has done a "Save as..." and sent me the result, but it did not work. A collegue of mine opened it successfully in CS4. I have taken the opportunity to verify the Publish settings there (not that it should matter as I can't do anything with the file, let alone publishing it) and it is set to publish only a SWF file next to its FLA. Saving it as a CS4 file then back to CS3 has not produced a file which I can use with any success. It seems very unlikely that the file is corrupt. So is my Flash CS3 installation corrupt?
View 13 Replies
Sep 5, 2011
I am brand new to Flash and I am completely unsure on how to diagnose and resolve the problems I am having.I am in an online program through the Art Institute and I am currently taking a course to learn the basics of Flash.I am running Flash from CS4 on my MacBook Pro running OS X 10.6.8 and I am having problems opening some of the .fla files that people post. One of two things happens, either:
(1) when I try to open the .fla file I get an pop-up alert (below) and if I click OK the file doesn't open (and clicking OK is my only option, as you see);
(2) I go to open the .fla file and it appears to be opening but then the screen is blank and I get two error reports in the Output pane which says:"VerifyError: Error #1053: Illegal override of isRelatedObjectInaccessible in .RemappedMouseEvent.ReferenceError: Error #1065: Variable_ e9a7 52f233536079fc4486d6ac92a1b05a633a5657d5b83ad7fac2246298 b191_flash_ display_ Sprite is not defined."I tried installing all available updates for Flash and that did not solve it. I also tried opening the same .fla files on my husbands MacBook Pro OS X 10.6.8 running CS4 and got the same problems.
View 2 Replies
Nov 15, 2009
I download a free photo gallery from [url]... and works fine. But when I put this gallery in a frame in my flash site justs appears but doesn't work. It's says Error opening URL 'file:undefined'
Should I change all the paths in the actionscript?
View 5 Replies