How do I add Hyperlinks to Flash Images?

I've just begun to dabble in Flash and created a neat little project first up as an experiment, but now want to learn how to take it to the next level.
I watched this tutorial...
http://youtu.be/5yjvBDgB0NA
and am now wondering how I can hyperlink the main images?
Here's the code I have:
stop();
button1.addEventListener(MouseEvent.MOUSE_OVER,showpic1);
button2.addEventListener(MouseEvent.MOUSE_OVER,showpic2);
button3.addEventListener(MouseEvent.MOUSE_OVER,showpic3);
button4.addEventListener(MouseEvent.MOUSE_OVER,showpic4);
button5.addEventListener(MouseEvent.MOUSE_OVER,showpic5);
function showpic1(Event:MouseEvent):void{
    gotoAndStop("pic1")
function showpic2(Event:MouseEvent):void{
    gotoAndStop("pic2")
function showpic3(Event:MouseEvent):void{
    gotoAndStop("pic3")
function showpic4(Event:MouseEvent):void{
    gotoAndStop("pic4")
function showpic5(Event:MouseEvent):void{
    gotoAndStop("pic5")
I tried adding this:
On (Release)
Get URL ("http://www.google.com", window="_blank")
End On
...but it makes the images rotate through in a crazy way and breaks the mouse over function.
Can anyone teach me how to create hyperlinks for each "pic"?
Thank you

OK.
Prematurely said everything was wonderful...have had a little stumble though.
The first pic ("pic1") is linking through nicely.
BUT...
"pic2" to "pic5" is giving off an error #1009
Here's the code:
stop();
button1.addEventListener(MouseEvent.MOUSE_OVER,showpic1);
button2.addEventListener(MouseEvent.MOUSE_OVER,showpic2);
button3.addEventListener(MouseEvent.MOUSE_OVER,showpic3);
button4.addEventListener(MouseEvent.MOUSE_OVER,showpic4);
button5.addEventListener(MouseEvent.MOUSE_OVER,showpic5);
facebook.addEventListener(MouseEvent.CLICK, gotoFacebook);
linkedin.addEventListener(MouseEvent.CLICK, gotoLinkedIn);
youtube.addEventListener(MouseEvent.CLICK, gotoYouTube);
twitter.addEventListener(MouseEvent.CLICK, gotoTwitter);
flickr.addEventListener(MouseEvent.CLICK, gotoFlickr);
function showpic1(Event:MouseEvent):void{
gotoAndStop("pic1")
function showpic2(Event:MouseEvent):void{
gotoAndStop("pic2")
function showpic3(Event:MouseEvent):void{
gotoAndStop("pic3")
function showpic4(Event:MouseEvent):void{
gotoAndStop("pic4")
function showpic5(Event:MouseEvent):void{
gotoAndStop("pic5")
function gotoFacebook(event:MouseEvent):void {
     var FB:URLRequest = new URLRequest("http://facebook.com/");
     navigateToURL(FB);
function gotoLinkedIn(event:MouseEvent):void {
     var LI:URLRequest = new URLRequest("http://linkedin.com/");
     navigateToURL(LI);
function gotoYouTube(event:MouseEvent):void {
     var YT:URLRequest = new URLRequest("http://youtube.com/");
     navigateToURL(YT);
function gotoTwitter(event:MouseEvent):void {
     var Tw:URLRequest = new URLRequest("http://twitter.com/");
     navigateToURL(Tw);
function gotoFlickr(event:MouseEvent):void {
     var FL:URLRequest = new URLRequest("http://flickr.com/");
     navigateToURL(FL);
I don't understand why the first linked picture works but the others dont?
Thank you for your help

Similar Messages

  • How does one add hyperlinks to images in Mail signatures?

    Greetings esteemed Mac boffins,
    How do I add hyperlinks to images that I have added to signatures in Mac Mail?
    There seems to be no option for it.
    Regards,
    Ryan

    It's just not working for me.  I can't figure it out.
    As you can see in the screenshot, I have the icon selection and when I go to the "add link" menu item, it's greyed out.
    I have provided 2 screenshots for reference.

  • Can you add hyperlinks to the images created in the slideshow on the command menu?

    can you add hyperlinks to the images in the slideshow created
    from the command menu? thanks

    On 30 Aug 2008 in macromedia.fireworks, mediastream13 wrote:
    > can you add hyperlinks to the images in the slideshow
    created from
    > the command menu?
    Unfortunately, those slideshows aren't all that flexible. I
    don't think
    that Adobe supplies the source for the Flash slideshows. But
    if you use
    the spry slideshow, you should be able to edit the HTML in
    Dreamweaver to
    add links.
    Have a look at one of Project Seven's graphics presentation
    products -
    Lightshow Magic, Slide Show Magic or Image Gallery Magic.
    They're $95
    each, and extremely flexible in what you can do with them.
    http://projectseven.com/
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • How do I add text to an image?

    I have purchased a template and imported it to Photoshop. I then sliced the template into sections, saved it for web and opened the index file in dreamweaver. My questions is, how do I add text to the images? I want to add the text content, within the boxes on the template, but because they are exported as images from Photshop I can't seem to do it...So let's say there is a box in the middle of the template and I want it to say, Services at the top and below that have a little information about the services offered with a "read more" button at the bottom. I have exported the template out of photoshop with text added and with the boxes empty. I tried to add the text in dreamweaver but couldn't. When I export the sliced template out of photoshop with the text already included, it does show up in Dreamweaver, however it is not in html and I would like it to be for SEO purposes. Forgive me if this question is silly or already answered, I have looked everywhere and couldn't find the answer.
    Thanks in advance to anyone that can help.

    Hi,
    I prefer to use tables for that. For example (First of all you have to store this new file):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>AddedText</title>
    </head>
    <body>
    <table width="40%" border="4">
      <tr>
        <td>Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text </td>
      </tr>
      <tr>
        <td align="center" valign="top"><div align="center"><img src="yourPicture.jpg" alt="image 01" width="127" height="33" /></div></td>
      </tr>
      <tr>
        <td>Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text </td>
      </tr>
    </table>
    </body>
    </html>
    Here I took a table with only one column, you can modify my choice.
    There is so too a possibility to use a complete flow text around a picture. If you like that, please give me a shout.
    About the story "hotspots" look here where I tried to give an answer a short while ago: http://forums.adobe.com/message/2700306#2700306
    Hans-G.

  • HT1473 How may one add cover art in iTunes 11, for a CD imported to the library? How may one add more than one images?

    How may one add cover art in iTunes 11, for a CD imported to the library?
    How may one add more than one images?

    I understand what you mean - I too, would like to see some variability in the 'default'. Besides having a single default, I would step that up to a default that changes with genre and media: ie. I could see using a sax for Jazz; a microphone for a Podcast, etc.
    I don't have the answer to your question yet, but I think I'm going to crack open the iTunes package to see what default images there are embedded in there.

  • How do I add keywords to my images using DW?

    How do I add keywords to my images using DW?

    Well, there's <meta> keywords, then there are "keywords", here's an example...
    <meta name="keywords" content="everything, you, can, pack, into, this, tag, doesn't, matter, what, or, if, it, makes, sense">
    ...is totally obsolete for the reason I hint at in that tag example itself. There was a time, long ago in the dark ages of web design, where the keywords meta was actually used to determine page content to some degree. Developers immediately took advantage of it and started cramming everything they could think of into the <meta>, even totally unrelated but popular search terms, in the hopes that it would affect their rankings. It did, for a time, until the search engines got smarter and started totally ignoring the tag all together.
    "Keywords" changed meaning after that. Now search engines actually look at your page content and determine what your page is about. Making keyword rich, relevant html text (not odd blocks of random coma separated text anymore) is one of the things (there are many pieces to Search Engine Optimization or SEO) that determines if someone finds you using a particular word or phrase.

  • How can I add hyperlink to the object in iCloud pages ?

    Hi, there
    I want to add hyperlink to the object(image) in icloud pages.
    But it looks no such function on  icloud(any "add link" botton)
    I know that how to add hyperlint to the object in pages v5.2.
    1. place object
    2. prepare text box and add hyperlink to the text(invisible color)
    3. overlay object and textbox
    But, in icloud pages, I coundln't do above method.
    Pls give me some advice.
    Thanks.

    The feature to add images in tables is gone, ike about another 90 features that exists in Pages 09.

  • How do I add hyperlinks to my video?

    I'm creating a video for a client in which they want hyperlinks to their website and email at the conclusion of the video playback. How do I add these to the final screen?

    This is also not possible with Premiere Pro and Encore... computer links are not part of the DVD specification
    I have never done so, but I think PPro will let you put links in your video IF you are creating for Flash output... which runs on a website, not on a DVD
    The PPro tutorial list in message #3 http://forums.adobe.com/message/2276578 has a link to the user guide PDF which you could download and search to find out about Flash output and computer links

  • How do I add hyperlinks to a photo

    I would like to have a page of photos that when you click on the photo it take you to another page. How can I add a hyperlink to a photo?

    I know of two ways to do this.
    If you use a photo page template to drop your photos into it allows you to use the slide show option but doesn't let you select a photo as a hyperlink.
    In this case put a box over the photo set to 1% opacity (you can't see it) then enable the box as the hyperlink. The down side to this is that if you add photos to the page the photo under the box might move but the box doesn't. so you need to pay attention and move the hyperlinks manually if needed.
    If you don't want to use slide show it's easier, just add your photos to a non photo page template, then you can enable the photo as a hyperlink.
    I've done this with two photos on this page:
    http://web.mac.com/phelpssculpture/iWeb/Site/exhibition.html
    Look at this page for another method of linking on a photo page:
    http://web.mac.com/phelpssculpture/iWeb/Site/available.html
    Good luck, David Phelps
    I may receive some form of compensation, financial or otherwise, from my recommendation or link
    ibook & imac   Mac OS X (10.4.9)  

  • How do you add a device to Image Capture?

    Does anyone know how to add a device to IMAGE CAPTURE?

    You don't need to add a device just connect your camera and it will find it, if the camera is comparable. 

  • How do I add alt text to images set as background in my asset list?

    I have designed a site in Muse but for some reason all the images are set as background images in the asset list and I can't optimise them for seo as I can't add alt text.
    How can I change this??
    Thanks

    I know I can't add alt tags to background images hence my question - how do I change them from background images - I was unaware you could assign an image as a background in the first place!
    To my knowledge I haven't intentionally set any of the images as background images.
    I need to change them from background images to 'normal' images.
    Thanks

  • How do I add hyperlinks?

    I'm creating a pretty basic diagram and want to add hyperlinks to some text and shapes. How do I do this? I'm using Illustrator CS6. Thanks so much for your help.

    This thread might help:
    Re: I want to add hyperlink in the illustrator file and want the output in the PDF

  • How do you add text to an image in dreamweaver cs3?

    does anyone know how to add text to an image in dreamweaver cs3? someone help me im stuck

    Hello,
    pardon, your question is still formulated in too general manner, for me at least, because there are several possibilities for these things. Please take a look on Nancy O.'s templates and tutorials, for example here:
    http://alt-web.com/TEMPLATES/CSS-Semi-liq-photo-sheet.shtml
    http://alt-web.com/TEMPLATES/Dark-Grid-II.shtml
    http://alt-web.com/DEMOS/CSS-Clickable-Table-Cells.shtml and not to forget:
    http://alt-web.com/DEMOS/CSS-Sold-Out-Text-over-image.shtml
    you will come away with many ideas and suggestions about adding text to an image.
    Wish you a joyful "poking around"!
    Hans-Günter

  • Add Link to Flash Image

    Hi,
    I'm a bit of a newby to dreamweaver and flash. I've made some
    nice buttons in flash so when you rollover and click they change
    colour, make sound etc. Thing is, I thought when I imported these
    into dreamweaver I'd be able to just add a link and target like
    most other things. WRONG. cant see anywhere where I can add a link.
    Is this possible? I want to be able to click the flash image (in
    the top frame) so it opens the relevant page in the main frame.
    Any help would be appreciated.
    Regards
    Peter

    Frames? EGAD!
    The decision to use or not use frames should be based on a)
    your site's
    needs, and b) your willingness to accept the potential
    problems that frames
    can create for you as developer and maintainer of the site
    and for your
    visitors as casual users of the site.
    I am down on frames because I believe that they create many
    more problems
    than they solve.
    Judging from the posts here, and the kinds of problems that
    are described,
    the kind of person most likely to elect to use frames is also
    the kind of
    person most likely ill-prepared fo solve the ensuing problems
    when they
    arise. If you feel a) that you understand the problems and b)
    that you are
    prepared to handle them when they occur, and c) that you have
    a need to use
    frames, then by all means use them.
    As far as I know, the most comprehensive discussions of
    frames and their
    potential problems can be found on these two links -
    http://apptools.com/rants/framesevil.php
    http://www.tjkdesign.com/articles/frames/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Walt F. Schaefer" <[email protected]> wrote in
    message
    news:[email protected]...
    > You're using Flash navigation with sound effects to
    control content in
    > Frames? You may want to step back and reconsider the
    entire project. You
    > are about to create a usability nightmare. Perhaps some
    study and research
    > is in order.
    >
    > --
    >
    > Walt
    >
    >
    > "Cpt_C" <[email protected]> wrote in
    message
    > news:[email protected]...
    >> Hi,
    >>
    >> I'm a bit of a newby to dreamweaver and flash. I've
    made some nice
    >> buttons in
    >> flash so when you rollover and click they change
    colour, make sound etc.
    >> Thing
    >> is, I thought when I imported these into dreamweaver
    I'd be able to just
    >> add a
    >> link and target like most other things. WRONG. cant
    see anywhere where I
    >> can
    >> add a link. Is this possible? I want to be able to
    click the flash image
    >> (in
    >> the top frame) so it opens the relevant page in the
    main frame.
    >>
    >> Any help would be appreciated.
    >>
    >> Regards
    >>
    >> Peter
    >>
    >
    >

  • How do you add signature block to images

    I am switching from a PC platform to Mac and from Adobe to Aperture 3.   In Adobe is it easy to add a Signature to a image file for (c) however I cannot seem to find the magic in Aperture to do this.   I have found that a lot of things are so simple on the Mac platform that I may be missing something simple.  Thanks

    Vern, I'm guessing your desire to add a signature to a photo is actually a watermark? If so that is definately possibly. Unfortunately this is not as easy as it could be and I'm hopeful that Apple gets this feature updated at some point. Sooner rather than later would be nice. However, you can find out how you can accomplish this by going to the help tab in Aperture and type in Watermark. The toughest part of making this happen is that you have to have access to Photoshop or possible other programs that you can create a PNG file in. The PNG file is a graphic file that you make to add to each photo on export. This graphic file can be text or something graphic like a logo. The one I use is text based and looks like this: © 2011 Daniel J. Cox/NaturalExposures.com. This text was created in Photoshop and saved as a PNG file with a transparent background. All of this sounds fairly complicated which it is but it can be done. If you don't have Photoshop maybe someone else can offer advise on how to create a PNG without Photoshop. Once you get a PNG created then there is an option in the export window that lets you add the watermark. The tough p[art is getting the PNG.
    I moved to Aperture from Lightroom myself and I've been mostly happy but creating watermarks in Aperture is not nearly as easy as it is in Lightroom. Hope this helps. You can see samples of the watermark on images in an Aperture web page at http://www.naturalexposures.com/private/gallery/resplendentquetzal/large-4.html

Maybe you are looking for