I’m new to AS3 and have an issue, i’m sure you guys can probably spot the issue straight away but i’m still learning ;( !
Basically I have a 2 swf files. Within the main swf i have a button that I want to call in a second swf when it is clicked. The code I have for this looks as below…
var l = new Loader(); addChild(l); l.load(new URLRequest(“portfolio_interiors.swf”));
The problem I am having is that when I enter the code and “Check Syntax” no errors appear, however when I preview the published swf and click the button, i get the following message…
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
To me this would seem to say that the swf I am trying to call in is not in the appropriate folder, but both of the files are in the same folder. Its one of these problems where the longer I look at it the more annoyed I get so any help would be greatly appreciated!