문제

i wrote a script in ActionScript2.0 to launch an external swf file, but it's giving me an error -

  var url:String = "play_button.swf";

  previous_btn.onRelease = function():Void {
       loadMovieNum (url, 0);
 }

On running this script, i get an error message saying - "Error opening URL 'file:///C|/Users/Chinyere/Desktop/Learning%20Center/Tuts/play_button.swf"

What could be the issue? Thanks.

도움이 되었습니까?

해결책

No error there in your script, just make sure your "play_button.swf" is sitting in the "Tuts" folder in the given path.

Good luck.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top