Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 10 of 10
  1. #1

    Default Adding Web Link To flash Movie

    Hi all,

    I think I have a fairly easy question, but I've wasted half the day trying to figure it out...

    I have a flash movie as a nav bar, I'm trying to edit some of the sections as hyperlinks, but cannot figure it out.

    The site isn't up yet so I'll post some screenshots.

    Thanks for any help, I'm extremely frustrated!

    Here's what I have when I'm looking a the layers:

    [/img]
    JJandB.com

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    Hyper links are achieved with the getURL method. The method can be called from a keyframe, a movieclip, or a button. From a keyframe, it is simply the getURL method by itself passed a web address...

    getURL("http://somesite.com");


    ... from a button or movieclip...

    myButton.onRelease=function(){
    getURL("http://somesite.com");
    }

    Another option is using an HTML enabled textfield and using a link in the text with an HTML href command.

    hope it helps
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

  4. #3

    Default

    Hi,

    Well I'm obviously new to Flash, but based off of that screen shot, what are you recommendations, or what is the best way to achieve links?

    Thanks for the reply.
    JJandB.com

  5. #4
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    If you just want to add the link to the static text, insert a web address into the textfield with a chain link next to it in the properties panel. In the target field, choose how you want the link to open.
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

  6. #5

    Default

    I did try that, and A) the link didn't work, B) for some real reason it messed up the next, for example Service turned into SS.
    JJandB.com

  7. #6
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    Just did a quick test and it worked fine. Try opening a new test movie and see it works for you there. Using test movies allows you to test methods without messing up your main project file. Could you possibly have resized the textfield manually by accident?
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

  8. #7

    Default

    That's what I thought too, but no, I didn't resize it.

    This won't make sense, but for some reason after I enter a link, in that chain text box, and it messed up the original text, in this example Service, the only way I can get it back is to play with the 'timeline' for the second layer, you'll see it in my original screenshot.
    JJandB.com

  9. #8
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    Notice in your screen shot that layer 2 has 2 keyframes. Editing the textfield on the last keyframe does not alter the textfield on the first keyframe. The solution is to erase the entire layer, insert a new keyframe and get the textfield set the way you want. Add another keyframe down the timeline and it will duplicate the created textfield in the first keyframe. If you modify the second keyframe, the first will not be modified. Another option is to copy and paste the second keyframe over the first. This will also work as above for keeping the textfield the same.
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

  10. #9

    Default

    I really ought to have studied up on Flash before taking this on!!

    Thanks for the reply though, I'll definitely try what you said.

    Thanks again.
    JJandB.com

  11. Default did you make the ovboius mistake

    did you add " http://www.thenyoursite.com "

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. super newb Adding html links to flash
    By mrREALITI in forum Newbies
    Replies: 1
    Last Post: 03-19-2006, 04:39 PM
  2. adding info on site to show up in flash
    By DRGSTR in forum Advanced Flash
    Replies: 1
    Last Post: 05-14-2005, 12:57 PM
  3. Create link for the flash
    By Yzh in forum Flash Scripting
    Replies: 1
    Last Post: 03-26-2004, 06:58 AM
  4. Adding a preloader movie to an existing movie
    By flash_rookie in forum Newbies
    Replies: 5
    Last Post: 08-24-2003, 05:56 AM
  5. URL Link from flash movie on web page.
    By johanvh in forum Newbies
    Replies: 1
    Last Post: 08-17-2003, 07:27 AM

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
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial