Flash Navigation bar question

Software used

I make a Flash Navigation bar and placing it into my .html file in Dreamweaver.

I'm also using Action Script 2.0

The problem

The problem that I am running is that when you press a button to navigate to another page it opens a new window or tab in the browser.

I would like it so that when you press a button on the new page is loaded in the current window of the browser and not a new.


Action Script used


This is the script that I placed on the buttons.

Each different script performs the same action, it opens the page in a new browser window.

I would just load in the current browser window.

  • {We (Release)}
    getURL ("file:///xweb1/c$/websites/Xweb11/Inbound.html",_parent);
    }

  • {We (Release)}
    getURL ("file:///xweb1/c$/websites/Xweb11/Inbound.html",_self);
    }

  • {We (Release)}
    getURL ("file:///xweb1/c$/websites/Xweb11/Inbound.html",_blank);
    }

  • {We (Release)}

getURL ("file:///xweb1/c$/websites/Xweb11/Inbound.html",_top);
}

Thank you

Travis

You must use quotes on the argument of the window... it's a chain.

{We (Release)}
getURL ("file:///xweb1/c$/websites/Xweb11/Inbound.html","'_self");
}

In addition, you may need to test the browser online work properly, in which case your local file calls should be changed.

Tags: Adobe Animate

Similar Questions

  • navigation bar question elementary

    Hello! If I create a Web site in DW, what the navigation bar...? If I got 30 pages or more for example... what should I do to return to the navigation menu bar!  What is the best way to reproduce the navigation menu on every page of my Web site? Can u redirect me to some good tutorials or give me some instructions for this elementary question! Thks!

    Server-side includes work just fine for info repeated on each page:

    If your server has PHP: http://www.stevedawson.com/tutorials/php-includes.php

    If the server has ISS: How to include HTML in many Documents using SSI

    Or, if you do not want to go down the road of include and your site isn't supposed to be bigger than those 30 pages, look in templates Dreamweaver here:

    https://helpx.Adobe.com/Dreamweaver/topics.html

  • Help adding a Flash Navigation bar heading

    So I started to do a flash for a Web site navigation bar, I do and it seemed pretty cool , I wanted to see if it has worked so far so I clicked and dragged to where I wanted it in dreamweaver, after publishing the swf, of course. Now I just see a giant white area where the swf file should be. What's wrong?

    See my problem here: http://mcserver.web44.net/

    Here is the code for the page that I inserted the swf file in (note this is just the stuff in the header.php file I include in the index.php):

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "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 > server < /title > MCraft

    "< link href="/css/main.css "rel ="stylesheet"type =" text/css"/ >

    "< script src="/mcraftserver/Scripts/swfobject_modified.js "type =" text/javascript"> < / script >

    < / head >

    < body >

    < div id = 'background' >

    "< img src="/graphics/background.png "class ="background"/ >

    < / div >

    < div id = "page" >

    < div id = "header" >

    < object id = 'FlashID' classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width = "1000" height = "40" > "

    "< param name ="movie"value="/mcraftserver/navbar.swf "/ >

    < param name = "quality" value = "high" / >

    < param name = "wmode" value = "opaque" / >

    < param name = "swfversion' value ="11.0.0.0"/ >

    <!-this param tag prompts users with Flash Player 6.0 r65 or later to download the latest version of Flash Player. Delete it if you do not want users to display the prompt. ->

    "< param name ="expressinstall"value="/mcraftserver/Scripts/expressInstall.swf "/ >

    <!-next object tag is for non - IE browsers. Then he hide from IE using IECC. ->

    <!-[if! IE] >->

    "< object type =" application/x-shockwave-flash"data="/mcraftserver/navbar.swf "width ="1000"height ="40">

    <!-<! [endif]-->

    < param name = "quality" value = "high" / >

    < param name = "wmode" value = "opaque" / >

    < param name = "swfversion' value ="11.0.0.0"/ >

    "< param name ="expressinstall"value="/mcraftserver/Scripts/expressInstall.swf "/ >

    <!-the browser displays the following alternative content for users of Flash Player 6.0 and higher. ->

    < div >

    < h4 > the content of this page requires a newer version of Adobe Flash Player. < / h4 >

    " < p > < a href =" http://www.Adobe.com/go/getflashplayer_fr "> < img src = ' http://www.Adobe.com/images/shared/download_buttons/get_flash_player.gif "alt = 'Get Adobe Flash player' width = '112' height ="33"/ > < /a > < /p > "

    < / div >

    <!-[if! IE] >->

    < / object >

    <!-<! [endif]-->

    < / object >

    < / div >

    < script type = "text/javascript" >

    swfobject.registerObject ("FlashID");

    < /script >

    Not sure that the Flash is a poor choice for web browsing?

    It is difficult to maintain (you must edit and re - export Flash animation for each small tweak), it is unusable on iDevices (iPhone, iPad etc.) and can present problems of accessibility if not implemented correctly.

    Navigation of CSS text style is in fashion these days. Beautiful navbars with none of the drawbacks of Flash.

    That said, the code indicates

    who is

    http://mcserver.web44.net/mcrafterserver/navbar.swf/ who is not on the server

  • CSS IE problem and navigation bar question

    Hello

    I have 2 questions:

    Is there a way to make all the elements of a horizontal navigation bar the same size, no matter the size of the word? I think I can use a background image, but perhaps someoneknows otherwise...

    and the problem with IE is that im setting the style of bottom border of a thing as dotted and thin but looks like "BOLD" or something on IE and normal in firefox, anyone knows how to fix this?

    Thank you

    Yes - you are missing the float: left... 8)

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "mfv84" wrote in message
    News:ee1vtp$EUD$1@forums. Macromedia.com...
    > I solved the problem of IE by setting the width of the border to "1px" instead of
    > 'thin' and I tried the "display: block;" thing, but he ordered the
    > navigation bar vertically! Maybe I'm missing something...
    >
    >

  • The navigation bar question

    Hello

    I'm going to build a website using Dreamweaver. I have built a navigation bar, but have used JPEG images for each button. Please see here -http://www.seemaidstone.co.uk

    What I really want to know is how to make a navigation bar like the blue on the Telegraph website (http://www.telegraph.co.uk) while Google can revisit the text and links.

    If any body could point me to a tutorial or simply explain how, it would be much appreciated!

    Thank you

    Mark

    MarkV84 wrote:

    IM using tables in dreamweaver, so just copy this code into the correct cell where goes my navigation bar?

    Thanks again

    Yes, simply insert the

      code in the table cell where you want the menu to appear and the css can be added to your css stylesheet.

      A word of warning if horizontal navigation build in this way are virtually a law unto themselves. If the end user is using a font setting expanded in their browser, it will destroy the look of the menu bar, because these links that do not fit in a single line will get pushed down to a second line. Ease of use is not altered, but the design is.

      If I ever cause to use a horizontal navigation bar ensure that links have enough space to grow, at least a couple of zooms browsers, which means that you can not links spanning the entire width of the design.

      I need links to span the entire width of the page, then I would most likely use images for buttons or investigate an elastic layout construction.

    • Target URL in flash navigation

      Hello! I am * a little * new to Flash but really inexperienced

      with the coding. I have a HTML Web site we have a FLASH navigation bar in and I coded buttons to go to their respective pages. Yay! Now I need to focus on these links where they remain in the same browser window. Here is the code I have so far: any suggestions would be amazing! Thank you guys.

      Stop();
      import flash.events.MouseEvent;

      var gethowitworks:URLRequest = new URLRequest ("how.html");
      var getdemo:URLRequest = new URLRequest ("demo.html");
      var getaboutus:URLRequest = new URLRequest ("about.html");
      var getcontactus:URLRequest = new URLRequest ("contact.html");

      howitworks.addEventListener (MouseEvent.CLICK, howClick);
      demo.addEventListener (MouseEvent.CLICK, howClicka);
      aboutus.addEventListener (MouseEvent.CLICK, howClickb);
      contactus.addEventListener (MouseEvent.CLICK, howClickc);

      function howClick(event:MouseEvent):void {}
      navigateToURL (gethowitworks);
      }
      function howClicka(event:MouseEvent):void {}
      navigateToURL (getdemo);
      }
      function howClickb(event:MouseEvent):void {}
      navigateToURL (getaboutus);
      }
      function howClickc(event:MouseEvent):void {}
      navigateToURL (getcontactus);
      }

      I'm sorta new too, so I don't know if this will fix it or not (waiting for someone to answer to answer my question too)

      instead of your navigateToURL (gethowitworks) original;

      Have you tried to use

      navigateToURL (gethowitworks, "_self");

    • How do I import my Navigation bar and the FLA/SWF slideshow on my flash site

      Hello people. Currently I am woundering hwo to import my files swf and fla navigation and a slideshow on my flash site in flash itself

      so im start with open adobe and my flash page let me do my background images. pages etc and now I need to import my navigation bars and a slide show but when I try to import their they are screwed up and am in the library, but not all the files that I created. so im confused how will import them because they are just? Therefore, there is no mess. I just need to know how to send them there so that they work properly? Anyone know?

      I doubt there is a video for anything this basic, but you can try the search.  I recommend you to practice in a copy of the file that you intend to place them so that you do not lose this file because of a learning curve.

      If you open the fla in your navigation bar, etc., you want to copy the timeline.  If you select all layers and images of the main timeline, right-click the selection and choose copy image.  Then, in the destination file, you must create a new movieclip symbol.  Select the first frame of the new symbol, right-click and select Paste images.  All the layers and images that you copied should appear in the timeline panel.

      If you happen to have symbols from the library of the same name in the different files that you will be combining, which could cause a problem as it prompts you about whether you want to replace one with the other.  Also is it better to rename all of these symbols before you copy them.

    • Flash Nav file will not 'sit' on the navigation bar Image loaded in DWCS3

      Since I am not fully qualified (or hardly) on correct terminology, I included the site evidence at the beginning of this discussion.

      http://www.fairwoodcommunitynews.com/Alphatest/HomeTest2.html

      I created a floating boom in Flash CS3; It follows the mouse flies above the Nav links.  I want the arrow to sit directly on the bar, which is a jpeg loaded in my page DWCS3.

      Currently, the flash file seems to be sitting directly on the nav bar graph.  For the flash file, I chose to align "Low absolute" and for navigation bar Image, I chose align them 'Top', but these two choices does not work.

      Can someone help me with this?  THANKS in advance.

      I want to be sure that the base of the arrow key actually the bar, giving the impression that it slides along the horizontal bar not hovering over the bar.

      If you leave detail like this control you, he'll go crazy and eat up to 100% of your time. Move on to more important things.  Or otherwise, to build the navigation bar all in Flash.

      Nancy O.
      ALT-Web Design & Publishing
      Web | Graphics | Print | Media specialists
      www.Alt-Web.com/
      www.Twitter.com/ALTWEB
      www.Alt-Web.com/blogspot.com

    • Question of bootstrap Collapsing Navigation bar

      I have reflected on the Bootstrap to W3Schools tutorials and may not know what part of the code. Here is the code:

      < NAV class = "navbar, navbar-reverse" >
      < div class =' container-fluid '>
      < > div class ="navbar head"
      < button type = 'button' class = 'toggle navigation bar' data-toggle = 'collapse' data-target = "#myNavbar" >
      < span class =' icon-bar '></ span>
      < span class = ' icon-bar ' > < / span >
      < span class = ' icon-bar ' > < / span >
      < Big >
      < un class = "navbar-brand" href = « # » > WebSiteName</a>
      < /div >
      < > div class ='navbar-collapse collapse' id ='myNavbar'
      < ul class = 'nav, navbar-nav' >
      < li class="active"><a href="#">Home</a></li>
      < li > < a href="#">Page 1</a></li>
      < li > < a href="#">Page 2</a></li>
      < li > < a href="#">Page 3</a></li>
      < /ul >
      < ul class = 'nav, navbar-right navigation-nav bar' >
      < li > < a href =' # '><span class ='glyphicon glyphicon-user'></ span> Sign Up</a></li>
      < li > < a href =' # '><span class ='glyphicon-log-in glyphicon'></ span> connection</a></li>
      < /ul >
      < /div >
      < /div >
      < /nav >

      1. What are the < span class = 'bar icons' > < / span > control?

      2. is there a reference to one of these classes, or was it just a name they gave him?


      I tried to research the info on their site, but has not been any progress. Any help would be greatly appreciated.


      Thank you

      John

      When you resize the mobile site size or display on a mobile device, the menu will collapse and you will see what looks like an icon with three bars piled on top, sometimes referred to as a menu Burger. This code creates the three icon bar.

    • Conditional statement to improve the functions of navigation bar

      Question of AS2:

      I have created a navigation bar of four buttons with the normal state in box 1 and place the cursor in the frame of 10, 20, 30 and 40, States.

      Hover States are made by adding a mask on each button to reveal a layer of color differetly on frame 10, 20, 30 and 40

      I have scripted buttons like this:

      on (rollover) {gotoAndPlay (10);}

      }

      (deployment) {gotoAndStop (1);}

      }

      (press) {gotoAndPlay (1);}

      }

      on (release) {gotoAndPlay (9)}

      }

      On the four frameworks there is also an action that says:

      Stop();

      to import flash.external.ExternalInterface;

      {btn1.onRelease = Function ()}

      ExternalInterface.call("saveglobalscore",score) ("f1");

      }

      It all works well. The button triggers a javascript function on the page.

      Request:

      Can I do the buttons stay in addition to their States when a button is clicked, so it serves as a clear marker that the viewer of the page selected and seeks to?

      Page loading on the release, but as soon as the pointer leaves the button, the command deployment on-site the playhead to frame 1 (with the normal state)

      (1) is the following:

      Put a conditional statement to say frame 1:

      If the read head came to frame 10 then go to section 10 and stop.

      If the read head came to frame 20, then go to section 20 and stop.

      If the read head came to frame 30 then go to frame 30 and stop.

      If the read head came to frame 40 then go to the frame of 40 and stop.

      Another thing: stay on the frame 1.

      ?

      (2) or is there another solution that I have not thought?

      Often, it would be useful to be able to follow where the read head just left for example with scroll on the side and other advanced layouts.

      Is this possible and if so, how?

      Thank you in advance.

      ggaarde

      var mcA:Array = [mc1, mc2, mc3,...];

      for (var i: int = 0; i<>

      .Ivar mcA [i] = i;

      mcA [i] .buttonMode = true;

      mcA [i] .addEventListener (MouseEvent.MOUSE_OVER, overF);

      mcA [i] .addEventListener (MouseEvent.MOUSE_OUT, outF);

      mcA [i] .addEventListener (MouseEvent.CLICK, clickF);

      }

      function overF(e:MouseEvent):void {}

      MovieClip (e.currentTarget) .gotoAndStop ("over");

      }

      function outF(e:MouseEvent):void {}

      {if (MovieClip (e.currentTarget) .lastClicked)}

      MovieClip (e.currentTarget) .gotoAndStop ("clicked");

      } else {}

      MovieClip (e.currentTarget) .gotoAndStop ("up");

      }

      }

      function clickF(e:MouseEvent):void {}
      for (var i: int = 0; i<>

      {if (mcA [i]. Clicked)}

      mcA [i] .gotoAndStop ("up");

      }

      }

      MovieClip (e.currentTarget) .gotoAndStop ("clicked");

      do something else. has clicked the button movieclip MovieClip (e.currentTarget) .ivar th

      }

    • Flash navigation

      Maybe there's something I need to do in Dreamweaver, but here's the problem:

      I created a drop down menu in the navigation bar to use on my company web site. The rest of the site was built in dreamweaver, with the exception of our Flash photo slide shows.

      The question that we met is an html page in a directory. For example (jazz/index.html)
      Once inside this page, navigation Flash think that all other links will be in this directory, which they are not! All the other links have no directory, they are simply index.html, shops.html, contact.html... and so on. Action script I used for the buttons are as follows:

      on (release) {}
      getURL ("employment.html");
      }

      Works great until you click a button with this code:

      on (release) {}
      getURL("jazz/index.html");
      }

      I don't know about action script, I'm more of a graphics person. Is there a specific code I should use in order to avoid any navigation stuck in a directory?

      I hope that makes sense! Thank you!

      We got it works! Thanks for your help! Add "/" before the links ends up being the answer once we have uploaded to the server. Thanks again for your help

    • Bookmarks appear on the Navigation bar

      I had everything set up so that from the top down, I got the menu bar, then the navigation bar, then my favorites and the stumbleupon toolbar. Since Firefox itself randomly updated this morning, the navigation bar traded places with my bookmarks and bars to stumble and the Customize menu refuses to save my changes and essentially forcing me to put everything back where it belongs to every time I open Firefox.

      I have not downloaded or installed everything recently and start in safe mode puts them in the right order, but then I've got tabs on top again and generally more problems than it fixed.

      Try the userChrome.css I posted in this thread:

    • How can I customize the navigation bar in Firefox 29? I wish I had the back refresh/stop button in front of the navigation bar!

      How can I customize the navigation bar in Firefox 29? I wish I had the back refresh/stop button in front of the navigation bar!

      One of the developers has been around the forum recently try to answer some of these questions then I quote the developer

      For the entire quote and useful links for corrections and explanations please see

      Each setting you see in a computer program you use requires work; when a developer wants to build something new or improve something, he or she has to go through each related (hidden) setting and test if it still works like before and do that on each platform Firefox runs on. That's Apple's Mac OSX, various flavours of Linux and various flavours of Windows, including Windows XP. This costs time, lots of it, and that amount grows exponentially with each setting that's added. This comes on top of our work to continuously fix, improve and innovate Firefox.
      
    • How to remove the navigation bar?

      I used to be able to remove the navigation bar before update of today. But now he is no longer an apparent option to remove the navigation bar. I like to see several portrait pictures side by side, so have more vertical space in my window is important to me. The navigation bar is quite large, as well as the blue space around the tabs, and I wish to remove or reduce. I know how to disable the menu bar already.

      Yes I know pressing f11 fullscreens an image. I use multiple monitors and want some pictures of great portrait orientation on one while I tap on the other. Is there a way to delete the temporarily navigation bar? This was one of my favorite features.

      See:

      See also:

    • Why I can't delete Yahoo search suggestions in the navigation bar? How can I remove the DNS of Yahoo error page?

      Maybe that's two questions. Both pooped upward with a recent update. I do not have yahoo extensions or add-ons installed.

      (a) I type a URL in the navigation bar (NOT the search box), and all of these 'useful' pop-up suggestions. Do stop.

      (b) I type wrong address in the navigation bar (NOT the search box) and I get a Yahoo to "links" page Do stop.

      Thank you. I have the screenshots I can post too.

      Found the solution. It's an add-on: uTorrentControl3 by conduit. I've disabled to check and uninstalled then when I saw it was the question.

    Maybe you are looking for

    • HP question first calculator spreadsheet App

      On the first HP Calculator spreadsheet application, is it possible to use the logic = IF() as you can with a typical spreadsheet? All I want to do is simply check if a cell is a 1 or 2, then convert them accordingly. Simply if 1, add these two cells,

    • How can I pay for my subscription to apple's music?

      Specifically, I received a gift card and I wonder if I can use this to pay for my subscription to apple's music.

    • Output digital USB-6343 3.3V

      I inherited a data USB-6343 acquisition unit and tests a few pieces I designed. The latest version of the chip has 3.3V / s and it appears that the 6343 only supports digital i/o to 5V. Is there a quick way to convert the output data acquisition in 3

    • problem with the latest video games and hardware acceleration card driver is enabled

      When I try to pay games (spieder solitare and othere games who settled on the computer}, I get the message hardwareaccleration is not supported by your video card driver, which could slow down the performance of the game, make sure you have the lates

    • Two questions on MapField (GPS permissions) and the map display

      Hello world I have two questions about the use of the Mapfield (for OS 5.0): First of all, it is possible to invoke the Permission of GPS is fast at the start of the application rather than the first time, you open the card and use the GPS? Second, I