How to make a hyper link in AS3

Hello

I'm just new to Flash (AS) and I want to make a hyperlink of http://www.fruitdieet.net...

I don't want to paste the whole but just like this fruitdieet and clickable URL on my scene...

Can someone help me?

Thank you very much!

You can use a button:

yourbutton.addEventListener (MouseEvent.CLICK, f);

or a textfield

yourtextfield.htmlText = "your link";

yourtextfield.addEventListener (TextEvent.LINK, f);

function f(e:Event):void {}
navigateToURL ("http://www.fruitdieet.net");

}

Tags: Adobe Animate

Similar Questions

  • How to make a clickable link?

    How to make a clickable link?

    Hi kolar123,

    To make a shortcut, all you need to know is that you make a shortcut to. If it's a file you want to link to, then just browse the file, right-click on it and choose Create shortcut. Then just move to the office or wherever you want to.
    A link to a web page, go to the web page you want and copy the contents of the address bar. employment insurance. www.Google.com. right-click on your desktop, place the cursor over "new" and choose the shortcut. In the box that appears, paste the address of the web page in the location field and click Next. Name the shortcut, and then click Finish. Now you have a link that will take you directly to any site you want to go.
    I hope this helps.
  • How to make a pdf link to open it in a new window?

    How to make a pdf link to open it in a new window?

    When you create your link, select "Custom link" and the tab Actions Add a "Run a JavaScript" command with the code.

  • How to make an anchor link also refresh the page?

    I'm trying new things with some widgets (compositions) and I would like to make some anchor links also refresh my page (on the mobile version of my site). I tried to put the link in full instead of simply select my anchor (#myanchor .com/mypage) but who works as the first (perhaps because the user is already on .com / my page #myanchor?)

    A bit of googling found me a way to do this:

    window.location.href = 'mypagetoreload.htm#jumptosection1';
    window.location.reload(true);

    but I don't know how to use it in Muse...

    Thanks in advance!

    OK, I think I understand what you're trying to do. You can use the scroll for this movement options as then your page reload. Feel free to post a link or send me a link in private message so I can see if I'm wrong in what I believe you are trying to do. But I'm sure if I understand that by using the movement of scrolling options should stop for you.

  • How to make an image link to a specific slide in a slideshow cycle2?

    Hello.  I would like to make my thumbnail images become links to larger images on another page.  Larger images will be in a slide show, which will be manual or interactive with buttons front and rear. But I would like the visitor to be able to go directly to the enlarged image, rather than to the beginning of the slide show.   I practiced by applying the following information on my existing cycle2 slideshow that goes automatically to the next slide.

    Page slideshow cycle2

    "< a name ="large"id ="large"> < /a > < img src="images/home_page/foodscale_web.jpg ">

    Page of thumbnails

    < digital_page_thumbnail li >

    "< a href ="#big index.html"> < img src="images/digital_page/foodscale_thumbnail.jpg "> < / a >

    < / digital_page_thumbnail li >

    But it was not effective.  So, I tried the following...

    "< a name ="large"id ="large"> < img src="images/home_page/foodscale_web.jpg "> < / a >

    Placing the < /a > tag at the end took the image in the slideshow and makes visible under it.  If using the symbol # is correct, I would be happy to know how to use it for this purpose to allow the visitor to directly access a specific location in a slide show.  Thank you very much.

    Page slideshow cycle2

    data-cycle-hash 'big' =>

    Page of thumbnails

    #big">

  • How to make a text link open a lightbox?

    I don't want the light therapy device to be on the page, but only to open if you click on a link?  How do I do that in Muse?

    You can adjust the opacity of your thumbnail image to 0. Make the text behind it. In this way, it seems that you click on the text, but in reality you still click on the image. If the thumbnail with a 0 opacity does not work. You can drag the image borders. In this way, you don't see the image either.

  • How to make my movieclip link button to a URL?

    I have a movieclip and actionscript on a separate layer that controls the clip. However, I would like to be able to make a link to a URL when I click on the button. Based on what I have anyone know how teck my code? Allows to pretend is the site I want to make a link to "http://www.google.com/ig?hl=en'. '"

    Here is the code:

    ProductMarketingIcon_mc.onRollOver = function() {}

    ProductMarketingIcon_mc.gotoAndPlay ("normal");

    }

    ProductMarketingIcon_mc.onRollOut = function() {}

    ProductMarketingIcon_mc.gotoAndStop ("normal");

    }

    ProductMarketingIcon_mc.onPress = function() {}

    ProductMarketingIcon_mc.gotoAndPlay ("over");

    }

    Thanks for your help!

    It's as2:

    ProductMarketingIcon_mc.onRollOver = function() {}

    ProductMarketingIcon_mc.gotoAndPlay ("normal");

    }

    ProductMarketingIcon_mc.onRollOut = function() {}

    ProductMarketingIcon_mc.gotoAndStop ("normal");

    }

    ProductMarketingIcon_mc.onPress = function() {}

    getURL ("http://www.google.com/ig?hl=en");

    ProductMarketingIcon_mc.gotoAndPlay ("over");

    }

  • Web links open in a new tab or a new window, how to make the web link open in my current tab?

    I could find ways to do the reverse of this and make the links to open in new tabs, but none that answered this question

    It is difficult because the links in a page can work in several ways:

    • no attribute "target" - open in the same tab
    • the value of attribute 'target ':

      • "_blank" - open in a new tab
      • 'name1' (used before and currently open)-replace the page on the tab 'name1 '.
      • 'name2' (not used before or already closed) - open in a new tab
    • script attached to the link to override her normal behavior - a variety of outcomes are possible, including a whole new window

    You can try the settings of parameters in this old thread: https://support.mozilla.org/questions/985943

    Who do you want?

  • How to make a button link e-mail 0.9 to open outlook instead of my gmail account

    I have windows 7 on a new computer and when I try to send a link, it goes to my account gmail rather than with outlook. This is a new computer. On my old computer with the same operating system the email link button opens my outlook account so that I can send the link. Does not include why it works on the old computer but not new.

    Try to go into the Firefox Options > Applications tab, then find "mailto" as a type of content and make sure that it is set to Outlook instead of Gmail.

  • How to make a permanent link?

    I'm designing a brochure containing text and jpeg images.  in its current form images must be sent separately to my printer - they don't "live" in the file and automatically become a part of it, as they do in photoshop. they are simply related.  is there a way to make a permanent file part JPEG files so that even if the original jpeg format is lost or is not available, the file will look and print as well?

    Thank you!

    http://help.Adobe.com/en_US/InDesign/CS/using/index.html

    Reach

    Graphics > managing graphics links >

    And have a good read of this

  • How to make hover/Rollover links work in IE7?

    That is the problem.  I did some CSS coding for the color of my links.  It looks like this:

    a: link {}
    color: #F0F0F0;
    text-decoration: none;
    }
    a: visited {}
    color: #F0F0F0;
    text-decoration: none;
    }
    a: hover {}
    color: #9F9F9F;
    text-decoration: none;
    }
    a: active {}
    color: #9F9F9F;
    text-decoration: none;
    }

    The code works fine in Firefox.  However, IE does not understand CSS coding for this.  (When I tested it in IE7, showed all of the default colors).

    So, I then added in some HTML codes, which looks like this:

    < body link = "#F0F0F0" vlink = "#F0F0F0" alink = "#9F9F9F" >

    Now, this changes the default link colors in IE7, but my hover/rollover color still does not work.  I guess that's because HTML encoding, there is no score/Environnement rollover code (only link vlink and alink).

    Someone knows how to solve this problem for my flight hover/rollover to display in IE7?

    Thank you.

    I know all concerned is not supposed to be using spaces.  For everyone told me that.  Just like everyone told me to always use div tags, but I've never found an instance where either actually caused me no problem.

    Continue the search. You want.  They do it.

    In order to better explain it well, there isn't any text.  Small images are links.  And, when you do an image, a link, it puts a border around it.

    Any other suggestions?

    Yes, certainly.  We told you this in your first post, the thread would have been two posts for a long time.

    Use this CSS for your images-

    an img {}

    border: 2px solid;

    border-color: #F0F0F0;

    }

    a: hover {img

    border-color: #F00;

    }

    Some browsers put on border-related images.  Others do not.  To cover in full, you must explicitly declare the borders.

  • How to make the words link to a site?

    I want to have something like this on my site www.webpage.com and I want it so people can click on it and it will direct them to this page, but when I put it in the URL just brignms me page cannont be displayed. How can I do?
    Thank you
    -Bryan

    > I want to have something like this on my site www.webpage.com

    Something like what, kingeshop.com? A link to this page? Features on this page? Be more specific.

    > I want to so people can click on it and it will direct them to this page, but when I put it in the URL only
    > brignms I cannont page is displayed. How can I do?

    You mean you want to create a hyperlink? Bryan, at some point you are going to have to break down and read the HelpFile provided with DW and now is probably a good time. Just press F1 and read on the creation of links.

  • How to make the column link open in a new tab

    Hello

    I have an interactive report, and I write this in the resource of the region:

    Select 'ASSP '. "" ID "as the"ID"

    "ASSP". "' SERVICE ' as 'SERVICE."

                  '<a href=" http:// '||" ASSP. ' LINK ' |. ' » » > "|| » ASSP. "' LINK ' | "< /a > ' 'Link', "

    of 'ASSP' 'ASSP '.

    I want to open a new tab when I click the link, what do I do with my code?

    Thank you!

    Lila

    Hi Lila,

    To open the link in a new tab column, add target ="_blank" attribute in your anchor tag.

    for example

    Select 'ASSP '. "" ID "as the"ID"

    "ASSP". "' SERVICE ' as 'SERVICE."

    'http://'||" ASSP. "' LINK ' | "" target = "_blank" ' > ' | "" ASSP. "LINK": "like"LINK. "

    of 'ASSP' 'ASSP '.

    Hope this helps ypu

    Kind regards

    Jitendra

  • How to make a button link important for mobile?

    I have a very simple static site with only html and css files; I wish I had a few buttons for the menu big active link, so that it can be used easily on mobile devices. I can't find anything on the web for this purpose; Although I suppose there is some css that would do this, because most of the rich recent website this kind of link button.

    Thank you very much for your help!

    There are also several ways to do so since web designers.

    Personally, I use an unordered list and set the styles for tags in the

  • Tags from the list using css to be what I want.

    Can I use the: css selector update to set the 'active' css that changes the menu item when you clicked on it.

    For persistent active links (change the menu to show you what page you're on) I use something similar to the station of Nancy here: persistent indicator Page in Menus - http://alt-web.com/

  • How to make a fecebook link content with the content of the site muse?

    How should automatically (dynamically) change facebook content by changing the content of web site?

    Take a www.musewidgets.com and Facebook's search to see if there is any widgets it that do what you need. If this is not the case, can you give more details on what you are trying to do exactly?

Maybe you are looking for

  • Yahoo home page

    All of a sudden my preferred homepage Yahoo format changed on Firefox but not on my other browsers. Reseaching a so0lution told me it was a Firefox problem, but now I don't know how to solve.

  • where are the other address books I've had? Now, staff only

    The original PAB was unused, and I had a different address book Yahoo Griffith. I downloaded a lot of data to that. She and one other historical address book disappeared with the last update. I'm totally clogged upward with the lost addresses. Help t

  • READ THIS | If your model 7200.11 Seagate Barracuda drive ST3500620AS has stopped working.

    HP finally released a firmware update for Seagate Barracuda 7200.11 drive (model affected ST3500620AS). If your computer has been freezing, or if your hard drive is stopped suddenly appears in the BIOS (error BIOSHD-2), this update of the firmware co

  • Re: Issue Toshiba Web Cam on the Satellite L855 - 10 p

    I have a toshiba Satellite L855 - 10 p and my webcam was working fine until today when a Skype video conference, he started showing the black lines slightly as static and the quality has declined significantly. I used the webcam app to check if it wa

  • 'Something wrong with the credentials' sign in error

    When I try to recover my gamertag, it says "sorry, but there is something wrong with the credentials you use to connect." How can I fix it?