A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Force a banner to open to _blank

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Posts
    306

    Force a banner to open to _blank

    Ok, so we have this banner ad system and we plug peoples banners into it. Some people give us .swf files that open to _self or the current window the banner is sitting in.

    I was wondering if there is a way to force the .swf to open to a _blank window.

    Thanks folks, any help is appreciated!

  2. #2
    It's a long way to the middle launchpad67's Avatar
    Join Date
    Oct 2004
    Location
    Prescott, Arizona
    Posts
    1,387
    Well there are two ways I can think of.
    1) Create an invisible button over the top of each banner that opens their url in a _blank (new) window. This is the easiest way!
    2) Decompile their swf's and change the code on their button. This is not recommended but what can you do....

  3. #3
    Senior Member
    Join Date
    Apr 2001
    Posts
    306
    Thanks a buch Launchpad!

    I was given a couple solutions (including the ones you mentioned).
    http://www.kirupa.com/forum/showthread.php?t=211794
    http://www.swiftdev.com/board/viewtopic.php?p=31647

    Thanks for the suggestions man!

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