A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: External SWF Button Issue

  1. #1
    Art-by-Andy amorari's Avatar
    Join Date
    Dec 2004
    Location
    Orlando, Florida
    Posts
    151

    External SWF Button Issue

    I'm using Flash CS5 and Action Script 2.0

    My site is in 100% Flash. I have a main swf file that is the base of my site. The content of the site is loaded externally. The content is also a swf file. The content swf file has a button in it that on release will get a URL.

    The issue is, I can't get it to open in the same browser. The only way I can get it to work is if I have it open in a new browser. Not what I want.

    This is the code I am using.

    on(release){
    getURL("http://www.site.com", "_self");
    }

    But it won't go anywhere when released. The only way it works is if I change _self to _blank. Again, I don't want a new browser to open.

    Thanks!

  2. #2
    Art-by-Andy amorari's Avatar
    Join Date
    Dec 2004
    Location
    Orlando, Florida
    Posts
    151

    resolved

    Resolved: I took the code of the button itself and created the button action as a function on the main timeline.

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