A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Links from SWF files may not work in Flash9

  1. #1
    Join Date
    Mar 2006

    Links from SWF files may not work in Flash9

    I searched for this error for over 3 months until I got it. Nobody didn't know about it so I am posting it now for the help of others.

    Some of the links and its targets (_self, _top, _parent) may not work from now on if you have flash 9 player installed. So that's why some of the links in your sites didn't work.

    This issue may prevent some SWF files from changing a user's web browser location. It may also interfere with attempts by the SWF file to execute JavaScript style URLs within the context of the hosting page or other frames within that page.
    So now, this is an example of how you can bypass this:

    PHP Code:


    codebase=" http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" align="middle">

    param name="movie" value="http://otherdomain.com/exampleContent.swf">

    param name="allowScriptAccess" value="always">

    embed type="application/x-shockwave-flash"


    width="550" height="400" align="middle"



    The easiest fix is to specify AllowScriptAccess="always" in the HTML page

    I hope this helps all the guys who are looking for this question, and I hope others spread the word... because that's the point of all this.


  2. #2
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Even though this is a seriously good tip, I'm going to have to move this from Flashkit's News Forum to the more appropriate ActionScript Forum.

    I will say though, that navigateToURL still has a few problems in AS3.

    [ Hello ] | [ gerbick ] | [ Ω ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center