Hi
I've come to the experts.
I created a Flash Catalyst Project that contains external URL links. I actual want them to be internal relative links.
I've followed the process of using to Flash Builder to edit the Main.mxml file to change to a relative path.
I hit the Project/Export Release Build...
I open the SWF file in Flash Player from with in the 'bin-release' folder and it all works great. However when I move the swf file to another folder that actually contains what would be the same relative path to the files I want to link it no longer works.
If I look at the content of the swf file in a third party editor/viewer app the relative path is correct.
I'm probably missing something very fundamental but just can't 'click' to it, pun intended.
Thanks for your assitance
David
Are you loading the swf in an html page? If so, is that html page in the same directory as your swf?
If the swf is in a different folder than whatever page is displaying it, you may need to tweak the base url for your swf. More details can be found here:
http://kb2.adobe.com/cps/127/tn_12701.html
You can catch a bit of an explanation for a similar problem at the very end of this article:
http://flashcats.net/2010/05/29/using-an-xml-driven-swf-in-catalyst/
-Bear
Hi Bear
Thanks for your help.
I've referred to both the references your below. Both were useful but still the issue remains.
When I relocate the swf file with all the associated src files it doesn't work
As a further test I pointed the 'Project Export Release Build' from Flash Builder to the actual folder I wanted the swf file in and again it didn't work
If however I point the 'Project Export Release Build' to //documents/Adobe Flash Builder 4/bin-release it does work
Any thoughts would be greatly appreciated.
After much mucking around and anxiety I seemed to have fixed it
The problem appears to be a global security setting. I added my desktop as a place to 'Always trust files' in this location and it works fine!
If I move the folder away from the desktop it no longer work
'Strange but True'
Thanks
David
North America
Europe, Middle East and Africa
Asia Pacific