Skip navigation
DKR57
Currently Being Moderated

Moving a SWF containing relative Links no longer work

Nov 30, 2010 4:50 PM

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

 
Replies
  • Currently Being Moderated
    Dec 1, 2010 9:48 AM   in reply to DKR57

    Hum. The only advice I can give to triple check the urls. Spaces? Capitalization? Missing Directory?

     

    Good luck,

     

    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 1, 2010 12:31 PM   in reply to Chris W. Griffith

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points