1 person found this helpful
Sorry, right now Flash Catalyst only supports "http" URLs. If local file links were allowed you would also have to deal with Flash Player's security model. I am not an expert in Flash Player security, but my high level understanding is that a swf file can be built so that it can either access the network or local files, but not both.
More detail on this is available here:
This control is only available in Flex Builder.
I recommend importing your fxp to Flash Builder to try and implement this type of functionality. Here are the docs on the subjec for Flash Builder
Okay, So I'm in Flash Builder, and I've set the compiler settings to "Generate accessible SWF file".
protected function button_clickHandler():void
navigateToURL( new URLRequest("http://blah.html"), "_self");
how do I make it so that it just finds a file called blah.html in the directory it's in, rather than file://C:/Blah/blah.html
Also, am I missing anything to make this work?
I think you can make a path reference that is relative to the swf file
Try "file://blah.html" or just "blah.html"
I've got another problem, when I set it to local, not network mode, it gives me this error
SecurityError: Error #2028: Local-with-filesystem SWF file file:///C|/Users/Administrator/Desktop/FB/Main.swf cannot access Internet URL http://fpdownload.adobe.com/pub/swz/flex/220.127.116.1185/textLayout_18.104.22.16885.swz.
I assume it is because Flash can only have local, or internet, not both (Trusted is not an option here)
and when I set it to network mode I can't access the files it needs to link to. Perhaps I could make it link to textLayout_22.214.171.12485.swz that I've got locally or something, but I don't know how I could do that. Any help?
Please help me! I really need to get this done!
I am sorry to hear that getting this to work has been so challenging. This area is outside my expertise, so let me refer to a forum that should be able to answer your coding question.
I recommending posting your question to the Flash Builder and SDK forum