Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Adobe Flash CS3 - Error creating flash movie file. Destination directory does not exist. Change your publish settings.

Posted on 2009-12-22
Medium Priority
Last Modified: 2013-11-11
I am working through an audio player demonstration in the book "Foundation Actionscript 3.0".  When I try to publish my AudioDemo_final.FLA file I get the following error, "Adobe Flash CS3 - Error creating flash movie file. Destination directory does not exist. Change your publish settings."  

The following is displayed in my output panel >> Error opening URL 'file:///C|/Sites/flashcoder.net/FAS3/Audio/AudioDemo%5Ffinal.swf'

My file directory is set up like this:
com.fas3.smc (folder)
package com.fas3.smc {
	import flash.display.MovieClip;
	import com.fas3.smc.Sounds;
	import com.fas3.smc.ButtonManager;
	import flash.text.TextField;
	import flash.display.SimpleButton;
	public class Main extends MovieClip {
		private var soundManager:Sounds;
		private var buts:ButtonManager;
		public function Main() {
			soundManager=new Sounds(movScrubber, txtStatus, txtHeadPosition, txtTrackLength, txtArtist, txtTitle, volumeSlider, panSlider);

package com.fas3.smc {
	import flash.media.Sound;
	import flash.media.SoundChannel;
	import flash.media.SoundLoaderContext;
	import flash.media.SoundTransform;
	import flash.media.ID3Info;
	import flash.events.Event;
	import flash.display.MovieClip;
	import flash.net.URLRequest;
	import flash.text.TextField;
	import flash.utils.Timer;
	import flash.events.TimerEvent;
	import fl.controls.Slider;
	import fl.events.SliderEvent;
	public class Sounds extends MovieClip {
		private var snd1:Sound;
		private var sc:SoundChannel;
		private var buffer:SoundLoaderContext;
		private var timerLoading:Timer;
		private var timerPlayHead:Timer;
		private var timerFF:Timer;
		private var timerRW:Timer;
		private var timerSpectrum:Timer;
		private var barWid:int = 200;
		private var barHi:int = 5;
		private var bytLoaded:int;
		private var bytTotal:int;
		private var pctLoaded:int;
		private var trueChronoLength:Number;
		private var txtStatus:TextField;
		private var txtTrackLength:TextField;
		private var txtHeadPosition:TextField;
		private var txtArtist:TextField;
		private var txtTitle:TextField;
		private var movScreen:MovieClip;
		private var movScrubber:MovieClip;
		private var multiplier:Number;
		private var nsMinutes:Number;
		private var nsSeconds:Number;
		private var pauseStatus:Boolean;
		private var playHeadPosition:Number;
		private var volumeSlider:Slider;
		private var panSlider:Slider;
		private var stVolume:SoundTransform;
		private var tempVol:Number=0.5;
		private var tempPan:Number=0;
		private var trackEnd:Boolean;
		private var trackStart:Boolean;
		public function Sounds(movScrubber:MovieClip, txtStatus:TextField, txtHeadPosition:TextField, txtTrackLength:TextField, txtArtist:TextField, txtTitle:TextField, volumeSlider:Slider, panSlider:Slider) {
			//Set movies and text fields to local references and to start positions and contents
			timerLoading=new Timer(100, 0);
			timerLoading.addEventListener(TimerEvent.TIMER, onLoading);
		public function loadSong(song:String):void {
			snd1=new Sound(new URLRequest(song))
			snd1.addEventListener(Event.ID3, id3Handler)
		public function onLoading(event.TimerEvent):void {
			bytLoaded = snd1.bytesLoaded;
			bytTotal = snd1.bytesTotal;
			if((bytTotal >= bytLoaded)&&(bytLoaded > 0)) {
				if(txtStatus.text!="Playing") {
				movScrubber.movLoaderBar.width=((bytLoaded/bytTotal) * 400);
				if(bytLoaded == bytTotal) {
					if(txtStatus.text="Loading") {
						txtStatus.text="Load Complete";

Open in new window

Question by:tprofits
LVL 19

Accepted Solution

moagrius earned 2000 total points
ID: 26108273
file > publish settings
under the "formats" tab, click the button at the bottom labelled "use default names"

Author Closing Comment

ID: 31669141
Perfect.  Thanks.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question