Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flash 闪存错误(错误2044:未处理的IOErrorEvent:.text=error 2124:加载的文件类型未知。)_Flash_Adobe - Fatal编程技术网

Flash 闪存错误(错误2044:未处理的IOErrorEvent:.text=error 2124:加载的文件类型未知。)

Flash 闪存错误(错误2044:未处理的IOErrorEvent:.text=error 2124:加载的文件类型未知。),flash,adobe,Flash,Adobe,试图创建一个包含不同电影导航的菜单,但每次单击都会出现此错误 错误2044:未处理的IOErrorEvent:。text=错误2124:加载的文件是未知类型 单击后,它将进入一个空白屏幕 mama_btn.addEventListener(MouseEvent.CLICK, NavigateMama); function NavigateMama(event:MouseEvent):void { //Optional but often needed. Stop the sounds for

试图创建一个包含不同电影导航的菜单,但每次单击都会出现此错误

错误2044:未处理的IOErrorEvent:。text=错误2124:加载的文件是未知类型

单击后,它将进入一个空白屏幕

mama_btn.addEventListener(MouseEvent.CLICK, NavigateMama);

function NavigateMama(event:MouseEvent):void
{
//Optional but often needed. Stop the sounds for this page 
//before going to another page
SoundMixer.stopAll();

//To do navigation we need to call upon 2 Flash function libraries
var newdoc:URLRequest = new URLRequest("Mama.swf");
var loader:Loader = new Loader();
//This line loads the new page but it is invisible
loader.load(newdoc);
//We add the new page to the stage and now we have 
//both old and new pages mixed up on the stage - UGLY!
stage.addChild(loader);
//Clear out the old page to make way for the new.
stage.removeChildAt(0);
}

我不知所措,我从adobe网站上下载了这个。有人有办法解决这个问题吗?

我很快就找到了答案。。有什么提示可以解决这个问题吗?对于任何感兴趣的人来说,发生的事情是,URLRequest正在寻找Mama.swf文件,但即使是你,我也将文件保存为Mama.fla,而将.swf保存为Mama_Scene 1.swf。。我刚换成正确的。