Skip navigation
dkpie
Currently Being Moderated

Links in .swf blocked?

May 5, 2012 9:39 PM

Tags: #cs3 #error #flash #as3 #3.0 #swf #links #actionscript

Hi!
I am designing a website in dreamweaver. I designed a banner and navigation bar in flash. (CS3)
My problem is that while the banner and nav bar work fine when previewed in flash, once I put them into dreamweaver and preview the site in my broswer the links do not work and I get this message:

 

 

For the time being the links go to google dot com. It doesnt seem to be a browser issue or an issue with my flash player settings.
Googling the problem gave me this: http://helpx.adobe.com/flash-player/kb/links-swf-files-dont-function.h tml
Basically, it is telling me I need to "allowscriptaccess = always" or tell the "navigateToURL to use "_blank" as the target" in the .swf. However, I would like the link to open on the same window/tab in the browser so I would prefer not doing it the "_blank" way.

 

I am more of a designer and new to coding in html and actionscript.
I have tried the method described in the Adobe help site but I must be doing it wrong.

 

 

Any help is appreciated!

 
Replies
  • Currently Being Moderated
    May 6, 2012 4:48 AM   in reply to dkpie

    Did you try following thru with clicking the settings button in that error message panel and adjust the settings to allow access for local content in the folder identified?

     

    If you want to open the linked content in the same window, then you need to use "_self" instead of "_blank"

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2012 12:13 AM   in reply to dkpie

    http://www.macromedia.com/support/documentation/en/flashplayer/help/se ttings_manager04.html

     

    i) Click Always allow

    ii) Click "Add location" in the drop down list

    iii) add your location of your swf

    iv) refresh the window to confirm your path is added below list box

     

    restart the browser and run the file.

     
    |
    Mark as:
  • Currently Being Moderated
    May 9, 2012 10:11 PM   in reply to dkpie

    Hi,

     

    This is the Flash Player Security Warning that gets thrown when a local content is trying to communicate with the Internet. This is being done to protect you from potentially harmful content that could be used to send sensitive information stored on your computer or local network to locations on the Internet. However you can allow such contents to communicate with the Internet by trusting your local file/application and add the local file(s)/file location(s) to the Flash Player Settings Manager trusted list.

     

    Please follow the detailed instructions posted at http://helpx.adobe.com/flash-player/kb/communicate-internet-flash-cont ent.html to add your local content(s) to the list of trusted files and you may also want to set to 'Always allow' to avoid the warning once for all.

     

    Let us know if this is of any help to you.


    Thanks!
    Mohan

     
    |
    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