Welcome to TalkGraphics.com
Results 1 to 5 of 5

Thread: Link problem

  1. #1
    Join Date
    Mar 2005
    Posts
    21

    Default

    Hi friends,
    I just registered today and so happy to find you. I am new in flash and my question is about the making the button a link to another page. I

    tried :
    getURL("http://www.google.com/search?num=50", "_blank", "GET");

    But it doesn't work could you please look at attachment to help me where I am wrong?

    Many thanks,
    Elahe
    Attached Files Attached Files
    IP

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,962

    Default

    Elahe
    Scripting isn't my strong point but I think the problem is highlighted below. Once I changed the action it worked fine:
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	!1a_background_attribute3.gif 
Views:	199 
Size:	42.5 KB 
ID:	8643  
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,962

    Default

    I think the following action might work more in keeping with your script:
    on (rollOver, dragOver) {
    gotoAndPlay(2);
    }
    on (rollOut, dragOut) {
    gotoAndPlay(8);
    }

    on (release) {
    getURL("http://www.talkgraphics.com/showthread.php?t=14170","_blank");
    gotoAndPlay(8);
    }
    Egg
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,962

    Default

    .
    Attached Files Attached Files
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  5. #5
    Join Date
    Mar 2005
    Posts
    21

    Default

    Thanks Egg. It works now
    Elahe
    IP

 

 

Bookmarks

Posting Permissions

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