Cannot export into .swf file
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
My current project refuses to export my .fla into a .swf. It plays out frame 1 well which contains the NG Preloader. After hitting that Play button, it goes to Frame 2 automatically which is the Main Menu. But only the Title shows up and not the buttons. A pop-up box in the lower right-hand corner comes saying:
Error opening URL "file:///D|/Documents%20and%20Settings/S ara%20Doherty/My%20Documents/Fla%20and%2 0swf%20files/http/:"
Any idea on what's wrong? The picture below illustrates what it looks like. Note that this is a PrtScn picture from my computer, which explains all the white in place of everything except the Stage and exported .swf.
Please help.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Mattster
-
Mattster
- Member since: Nov. 21, 2007
- Offline.
-
- Forum Stats
- Member
- Level 20
- Game Developer
Try hitting File > Export Movie...
See what happens when it does that, I've never seen that happen before :S Did you alter the preloader at all?
-Matt
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
At 3/8/09 09:47 PM, Mattster092 wrote: Try hitting File > Export Movie...
I always do ctrl+enter instead, is it different this way?
Did you alter the preloader at all?
Only what some of it looks like. I didn't touch any of the programming.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
Bump
Just to help out, the error message is possibly saying that it won't find the .fla file, even thought the file is out right in front of it, does that help?
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Denvish
-
Denvish
- Member since: Apr. 25, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (15,977)
- Block
-
- Forum Stats
- Member
- Level 46
- Blank Slate
At 3/8/09 09:43 PM, Gustavos wrote:
Error opening URL "file:///
http/:"
Looks like it's trying to call a http path (which is not correct - use http://), although since you're a local load anyway (file:///), the http is irrelevant. If it's part of your fla name, rename the fla
What is the fla name, and what are your actions on the button(s)?
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
At 3/10/09 05:38 AM, Denvish wrote:At 3/8/09 09:43 PM, Gustavos wrote:Error opening URL "file:///Looks like it's trying to call a http path (which is not correct - use http://), although since you're a local load anyway (file:///), the http is irrelevant. If it's part of your fla name, rename the fla
http/:"
I can try.
What is the fla name, and what are your actions on the button(s)?
The fla name is Nintendo Story 4, I'll check if the swf file goes by the same name. The actions are just simple GotoandPlay/stop AS codes going towards different frames.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
This is a very interesting problem.
I realised that the frame where the swf stops didn't have the "stop;()" action on it. So I put that in, and an error message comes up saying that the code having ")" in it makes it incorrect. Well that can't be right, so I took that away in the code, and it said that is a syntax error. Finally, when I put in "stop;" it says no errors.
However, none of this gets me closer to fixing the problem, but I think Flash is shitting out on me right now. What do you guys think?
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Denvish
-
Denvish
- Member since: Apr. 25, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (15,977)
- Block
-
- Forum Stats
- Member
- Level 46
- Blank Slate
At 3/11/09 12:24 AM, Gustavos wrote: I realised that the frame where the swf stops didn't have the "stop;()"
Correct syntax is stop();
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
At 3/11/09 04:25 AM, Denvish wrote:At 3/11/09 12:24 AM, Gustavos wrote: I realised that the frame where the swf stops didn't have the "stop;()"Correct syntax is stop();
Oh yeah, it is.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Cryoma
-
Cryoma
- Member since: Dec. 18, 2007
- Offline.
-
- Forum Stats
- Member
- Level 15
- Musician
File> Save as.
Name it something else.
Then ctrl+enter.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
At 3/22/09 11:52 PM, Cryoma wrote: File> Save as.
Name it something else.
Then ctrl+enter.
Tried it actually.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- TheSongSalad
-
TheSongSalad
- Member since: Jan. 17, 2009
- Offline.
-
- Forum Stats
- Member
- Level 19
- Audiophile
did you name it something that has a '.' in it? i didn't have this exact problem, but something a little like it and that was the problem.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
At 3/23/09 12:16 AM, TheSongSalad wrote: did you name it something that has a '.' in it? i didn't have this exact problem, but something a little like it and that was the problem.
No, but I'm having a theory about something else. Give me a minute.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
At 3/23/09 12:24 AM, Gustavos wrote:
No, but I'm having a theory about something else. Give me a minute.
Shit, I was thinking that the "Can't find URL" part had something to do with the NG preloader, which brings you to the Newgrounds home page when you click on the image. So I redownloaded the preloader, but that didn't help.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
Part of this mystery is being solved. Before, I tried to copy and paste all the frames into a new .fla. Now, I copied and pasted everything but the first three frames, which is the full animation. Finally I can see what it looks like exported. But the sound quality of the sounds seems disturbingly off. I re-imported them to see if that would help, but now they won't play at the right times.
What the hell is going on? I put the correct FPS, and streamed the sounds.
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.
- TheSongSalad
-
TheSongSalad
- Member since: Jan. 17, 2009
- Offline.
-
- Forum Stats
- Member
- Level 19
- Audiophile
try taking the sounds out of the original file, then copy and pasting the frames into another new .fla, then add your sounds in.
- ZadeFireLance
-
ZadeFireLance
- Member since: Oct. 10, 2008
- Offline.
-
- Forum Stats
- Member
- Level 12
- Programmer
look's like the directory is bugging.
Try Making a New Folder on your desktop, saving the fla. inside of it, then open the fla.
then Click "Control, Test Movie. or Ctrl + Enter."
and it will automaticly Export the swf. to where the fla. is inside the new folder.
then run the swf. :D
- SK8ninja
-
SK8ninja
- Member since: Aug. 8, 2008
- Offline.
-
- Forum Stats
- Member
- Level 08
- Blank Slate
Ctrl + enter only tests the movie, exporting it compiles it properly and compresses it too, plus you can then apply import passwords and other shit.
I DUNNO WHAT YOUR PROBLEM IS THOUGH!!!
Things always go wrong for me , but weirdly, this has never happened.
Suck it.
- Gustavos
-
Gustavos
- Member since: Jun. 28, 2007
- Offline.
-
- Forum Stats
- Member
- Level 21
- Blank Slate
At 3/23/09 01:46 AM, TheSongSalad wrote: try taking the sounds out of the original file, then copy and pasting the frames into another new .fla, then add your sounds in.
Hmm, I put in the frames of each layer into new layers in the new fla. including the sound layers. Then, I noticed the problem and deleted the sounds so I could re-import them. It didn't seem to help. Is my only option to rerecord everything?
I usually frequent the VG and collaboration Forums. If you find me anywhere else, I'm lost and can't find my way back.



