Having trouble linking to an html page in Flash.

Hello,
I have been using Flash for a short while and have just learned how to create a rotating banner. At this point my problem is adding a hotspot or a link from each image highlighted in the Flash movie. Can anyone take a look at my flash file and provide me with an example of actionscript that allows each image in the slideshow to link to a different page within my site. A dummy link is /Shop_DVDs.html or a full url could be www.bikepaparazzi.com. Any assistance would be greatly appreciated.
I've attached the Flash files.

It appears that I am still doing something wrong. I've attached the flash, but here is the code based on my understanding of how to update it:
import flash.net.URLRequest;
import flash.net.navigateToURL;
dvds.addEventListener(MouseEvent.CLICK,navigate1);
var nav1:String="http://bikepaparazzi.com"; navigate1(e:MouseEvent):void {
function
navigateToURL(new URLRequest(nav1),"_self");
proconvention.addEventListener(MouseEvent.CLICK,navigate2);
var nav2:String="http://proconvention.com"; navigate2(e:MouseEvent):void {
function
navigateToURL(new URLRequest(nav2),"_self");
advertise.addEventListener(MouseEvent.CLICK,navigate3);
var nav3:String="http://bikepaparazzi.com"; navigate3(e:MouseEvent):void {
function
navigateToURL(new URLRequest(nav3),"_self");
tee.addEventListener(MouseEvent.CLICK,navigate4);
var nav4:String="http://bikepaparazzi.com"; navigate4(e:MouseEvent):void {
function
navigateToURL(new URLRequest(nav4),"_self");
proconvention.addEventListener(MouseEvent.CLICK,navigate5);
var nav5:String="http://bikepaparazzi.com"; navigate5(e:MouseEvent):void {
function
navigateToURL(new URLRequest(nav5),"_self");

Similar Messages

  • Having trouble linking text boxes in Pages on iMac

    I can't seem to link text boxes so that text flows from one to another.  Has the process in Pages changed in the new update?  Any advice?  Thanks!

    All versions of Pages v5 have omitted the ability to link Text boxes.

  • How to open an Applet from a text link in a HTML Page

    Hi There
    How to open an Applet from a text link
    in a HTML page
    For example I have a HyperLink "Open Applet"
    When a user clicks that link i want to open a
    Applet in a AWT Window.
    How can i do this
    Will any one help me?
    -Ramya

    u can use javascript for that
    <SCRIPT language="javascript">
    function loadAppNow() {
    document.write("<APPLET ......></APPLET>")
    </SCRIPT>
    LoadApplet
    this will overwrite the applet on current window
    There are many good ways other than document.write to open in same window. I don't remember the syntax right now.
    Plz. refer to javascript tutorial for that.
    even you can insert the applet while retaining previous contents. its quite easy actually.
    regards....bhart

  • Having trouble linking dll file

    Hey guys,
    I'm having trouble linking a third part dll file in visual studio 2013.
    I'm using a third part library called "tinyXml2" to parse xml file in my plugin. Here's my folder structure"Adobe After Effects CS6 Win SDK\Examples\AEGP\ServerRender\Win\tinyXml",
    my project file is in the "Win" folder.
    In my "tinyXml" folder I have 3 files "tinyxml2.dll", "tinyxml2.h" and "tinyxml2.lib".
    I use "#pragma comment(lib,"tinyXml\tinyxml2.lib")" to link the lib file
    but it doesn't work, I still get "error LNK2019" and "error LNK2001" errors says the compiler can't find the methods I'm using.
    I have set the "Project Properties --> C/C++ --> Code Generation-->Runtime Library" to "/MT" too
    Do you ever running into such problem before?  Please help me !!!

    Never mind, newbie mistake. If I want to link a dll to my project, I need to make sure that my dll and lib file are compiled with the same settings as my plugin. Current my plugin is compiled in debug mode targeting x64, so I need to make sure my dll and lib are compiled with such settings too!

  • Can I display html pages in flash player

    Hi all,
    Can I display html pages in flash player, i mean swf. Plz
    help me if it can be done. Can I call html pages in flash (i mean
    in flash player no new window)
    Thanks

    hi,
    Actullay i want the site to be opened with in the flash
    player, just like iframe in dreamweaver calling the external site
    in the mail html page. Plz Help me accessing external site page
    with in flash player
    Thanks

  • External html page into flash

    how to load external html page into flash? (AS3)

    You cannot load an html page into Flash, though you can try to load the html code that it contains into a textfield.  Flash supports only a very limited number of html tags, so it is highly likely you won't get what you are after if you are reading an html file that hasn't been edited for Flash specifically.  Just look up the TextField.htmlText property in the AS3 help documents and it lists the html tags that are supported. 
    For AS3 you need to look into the URLLoader class as far as loadng an extrernal text file goes.

  • Embed external HTML page in Flash

    Does anybody know how to embed an external HTML page into Flash? I am envisioning something like an iFrame, but can't really figure how this would work. I've attempted using a scrollpane, but it didn't work at all.
    Any suggestions?

    you can display it in a popup window or in the same window or in an iframe in the same html page that displays your swf.
    When you say this, do you mean I can create an iFrame on the same html page that displays my swf, and have it be dynamically populated by what the user clicks on the swf?
    yes, exactly.
    use getULR() (as2) or navigateToURL() (as3) with the 1st parameter being the html page you want to display and the 2nd parameter being the iframe "name" property.

  • Anybody having trouble installing the newest version of adobe flash player in OS 10.5? I keep getting the "unexpectedly crashed" message.

    anybody having trouble installing the newest version of adobe flash player in OS 10.5? I keep getting the "unexpectedly crashed" message.

    It will not install your machine is close to 7 years old and the newest Flash Player will not install on that old of an Operating System.
    If you have flash on there already then thats probably the best your going to get.
    You can Google and see what is the latest version for your Operating System.

  • Having trouble with custom web auth page on 4404

    Hi all
    I am having trouble with a custom web auth page on my controller, we have edited the original file, but when we click login it goes to page cannot be displayed and it doesnt redirect to the page I want, however when I close the window and reopen it has already authenticated me.
    Has anyone got a copy of some working html code I can use ?
    cheers

    There is sample Web Authentication bundle avaiable for download from cisco.com. if you go to the software download page and go to Wireless->Standalone Controllers->4404 you should see a link for Wireless Lan Web Authentication Bundle.
    Its the same bundle whether you have a WiSM, 4404 or 2100

  • Having trouble in printing the scanned pages in Acrobat Pro

    I m using acrobat pro. I recently started having some trouble in printing the scanned pages in Acrobat. When i am printing a regular (non-scanned) page, it works just fine. If i m printing a scanned page, the print is completely distorted. I don't even know how to describe this condition, so I don't really know how to google it.
    If i remember correctly, I made some changes to the printing options. I can't exactly recall what was it, but it was something trivial (like printing all text to black or something)
    So i have attached the print of a scanned document. It's just the print quality that's different.
    Thanks for help.

    Moved to Acrobat forum.

  • Can I alter the properties of an individual link on a HTML page without changing the other links?

    Hi there,
    I have a contact page created in Dreamweaver and have created an email link to launch Outlook when clicked on. However, all the links in my design have been set a certain way, i.e. white text knocked out of darker background. My email link however, is on white background so you can't see it against the white. I want to go in and simply change the color property of the email link without changing the other link colours on the page. I've tried but without luck. Is this possible to do?
    Thanks in advance for any help!

    Hello and thank you for your answer. I'm still a little confuse though.
    My existing HTML looks like this:
    <p><a href="[email protected]">[email protected]</a><br />
    My link preferences are for the who page and are at the top and look like this:
    a:link {
        color: #FFFFFF;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #FFFFFF;
    a:hover {
        text-decoration: none;
        color: #CCCCCC;
    a:active {
        text-decoration: none;
        color: #CCCCCC;
    .style2 {font-size: 14.5px}
    .style3 {color: #FFFFFF}
    Where exactly should I insert the new link ID that you suggested <a id="special_colors" href="url...">link text</a>
    Also, where exactly should I place the following in relation to the CSS document
    a#special_colors:link {color: red;}
    > a#special_colors:hover {color: green;}
    Sorry but this is all quite new to me. Thank you for your patience and help.

  • How to go to anchor html link from external html page in JEditorPane

    Hi people,
    I've been trying to jump to an anchor link from an external html page in JEditorPane, and I cannot get it working, I'm sure it can be done somehow...
    The HTML page has a link like:
    Hello
    and this is loaded into JEditorPane ok.
    The HyperlinkListener implementation:
    public void hyperlinkUpdate( HyperlinkEvent e )
    try {
    if ( e.getEventType() == HyperlinkEvent.EventType.ACTIVATED )
    editorPane_.setPage( getClass().getResource(
    MyDialog.this.getBaseURL().concat( e.getURL().getFile().substring(
    e.getURL().getFile().lastIndexOf( "/" ) + 1 ) ) ) );
    if ( e.getURL().getRef() != null )
    editorPane_.scrollToReference( e.getURL().getRef() );
    else return;
    } catch ( IOException ioe ) { ioe.printStackTrace(); }
    This code loads the new html file ok, but it does not scroll to the anchor. The MyDialog.this.getBaseURL() just returns something like com.name.package, I construct the URL by using this base url and the name of the html file to open.
    ANy help, thanks

    he! I'm not alone in my desperation. Take a look at my problem:
    I've got a JEditorPane (not editable) inside a JFrame. The JEditorPane is loaded with the HTML text and all the links to anchors are working properly when I click on them.
    BUT
    If I try to go to an anchor from outside this JFrame I can see how the JEditorPane scrolls to the right anchor and suddenly it scrolls back to the place where the caret was located!!!
    The "funny thing" is that my code is working in jdk1.3.1 but this is happening in jdk1.4.2. Is it a bug?!?!?!
    How could I figure out what position I have to set the caret to for every anchor in order to get the scroll working correctly???
    My implementation of hyperlinkUpdate (working properly, here isn't the problem):
       jEditorPane.addHyperlinkListener(new HyperlinkListener() {
          public void hyperlinkUpdate(HyperlinkEvent e) {
            if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
              MiEditorPane src = (MiEditorPane)e.getSource();
              src.goToAnchor(e.getDescription().substring(1));
        });My object jEditorPane is an instance of this class:
      class MiEditorPane extends JEditorPane {
        MiEditorPane() {
          super();
        public void goToAnchor(String anchor) {
          super.scrollToReference(anchor);
      }And this is the method I call from outside the JFrame containing the JEditorPane:
      public void goToAnchor(String anchor) {
         jEditorPane.goToAnchor(anchor);
      }Any help greatly appreciated ...

  • Help with geturl as a link to another html page

    I am using a flash navbar I made, inside a html page created with DW, the action under each of the buttons is for example
    on (release) {
    getURL("links.html/", "_blank");
    it works but opens in a new window, I want it to remain in the same window ,I have tried self,blank,parent and top what do I need ?
    all the examples i see reffer to linking to another published site like "http:\\www.google.com" thats a different matter is it?
    thanks in advance

    this is the code now, nothing happens whaen i click (release)
    on (release) {
    getURL("index2.html/", "_self");

  • Just got my MacBook Pro....having trouble opening up certain web pages...just keeps scrolling and scrolling, my 7 year old desk top that is on the same wireless network for internet opened up the same web page right away, so I think the Internet is OK

    just got my MacBook Pro and I'm having trouble opening up certain websites, it just keeps scrolling and scrolling and never opens up the page....this is not the case with all websites, however my 7 year old desk top - which is connected to the same wireless Internet connection opened up the same page right away, so I don't think it's the Internet, any suggestions?

    Use Software Update to update your os and anything else that needs to be updated.   Repair permissions and restart your computer when done.
    Not sure if your new Mac came with 10.7.2 pre-installed as you make no mention of your os system.

  • I'm having trouble with auto-correct in Pages

    I am having trouble with auto-correct spelling in Pages.  I have read a past discussion of this in which I believe the last comment was made in 2012.  (I have the latest Macbook Pro purchased Dec 2012 and it is totally updated.)  The problem is just with one word, as far as I can tell.  It seems that perhaps the older problem of contractions has been resolved except for one word: "hasn't".  Auto correct insists that it should be "hans't".  I follwed the suggestions offered in the previous discussion about using SYMBOL AND TEXT SUBSTITUTION to correct the word but it hasn't worked.  Do I just have to live with this?  Surely there is a way to fix this problem?  I really like using the auto-correction and would hate to have to stop using it just for one word.  Thanks in advance for your help.

    It should work if you have a Symbol and Text Substitution set for hans't → hasn't. Are you sure you have this substitution checked, or Symbol and Text Substitution checked overall?

Maybe you are looking for

  • Tethering a Storm to a MacBook Pro

    Has any one successfully done this so you can use the Storm as a Modem for the Mac? Can you do it with Blue Tooth  How about the Sync cable? Thanks Dunc

  • Costomizing ScrollPane track

    I've tried to Costomizing ScrollPane track without changing the size of image area. Its a horizontal ScrollPane, that is covered on one side which doesn't allow you to see the left scroll button. I wanted to slide the button and track over but keep t

  • Removing the Save As option in all 3 apps in iWork has to be one of the worst ideas Apple has ever had! I'm NOT happy!

    I've read some comments from many of you but still don't understand the best way to save a document with a new name?

  • Bar chart with hyperlink values in X-Axis in XIR2

    Hi folks, I am trying to create a bar chart which shows values for 2 measures using one dimension in the X-axis. I want an hyperlink associated with the values in the X-axis because I want to implement the ability of drilling through to another repor

  • Exporting email addresses

    I have delved pretty deep but cannot find the answer to my question. Is there a way to export all the email addresses from your mail account? Not necessarily any address book, but all the email addresses that are saved/memorized in your account? Than