opening a page in a browser when a choice is selected in the Menu

The element of choice is defined in MXML as

< label menuitem 'Help' = >
< label menuitem = "Documentation" data = "documentation.swf" / > "
< / menuitem >


Code on what to do when selected is

< mx:ApplicationControlBar id = 'bar access' x = "0" y = "0" dock = "false" visible = "false" width = "100%" >
"" < mx:MenuBar id = "appNavigation" dataProvider = "{appNavigation_dp}" labelField="@label" iconField="@icon" itemClick = "menuBarButtons (event); "/ >

< / mx:ApplicationControlBar >

Function called menuBarButtons is

private void menuBarButtons(event:MenuEvent):void {}
var pageName:String = event.item.@data;

{Switch (pagename)}

case "Documentation":
var url: URLRequest = new URLRequest ("http://www.mydocumentation.com'");  
navigateToURL (url, '_blank');


break;

}

I did imports required such as

import flash.net.navigateToURL;
import flash.net.URLRequest;
to import flash.net.URLVariables;

When I click on the Documentation option in the menu, no new URL opens
while I expect a page whose URL http://www.mydocumentation.com to be
Open

What Miss me?

Any suggestion would be appreciated.

Try

var pageName:String = event.item.@label;

Instead of

var pageName:String = event.item.@data;

Tags: Flex

Similar Questions

  • Unable to open web pages in any browser, but, Yes, I am connected to the internet

    Problems with my husbands laptop. So, I would like to re - format except Windows came pre-installed, and I do not have the disks.

    Network Diagnostics show a connection to internet (in fact, I can see data sent/received). But, browsers will not open.

    When I troubleshoot network connections it shows no error.

    I ran anti-virus and anti-malware (since his account to Windows live mail maintains have hacked as well) and no program found no errors.
    Windows update set to automatic and has downloaded Security patches (another reason, I know that the internet connection is fine). The important updates are installed as I write this.

    We are in an office - all computers use the same router to access the internet and other computers do not have a problem. To check if it was a wireless issue (since my office has a wired connection), I turned my phone to a WiFi only, and it can still load pages.

    What version of IE are you using? You should take a look at your Tools/Internet Options/connections/Lan Settings and see if there is a false Proxy Server configuration it. You can also take a look at your HOSTS file so that for the same sort of thing (as you have a PC in the Office working, you can compare the settings)

    I hope this helps!

  • Why you put "Open a new tab" on the right side of the browser, when you close a tab on the left and you type a new URL in the browser on the left?

    I changed my computer from XP to Windows 7 and migrated my FF browsers. But... now the tabs at the top of the page are all right (they were upper-front left - where I loved her)

    The most important is the "open a new tab" + - is on the right. But that is not sensible. Why you put "Open a new tab" on the extreme right of the browser, when you close a tab on the left and you type a new URL in the browser on the left?

    How can I put my "open a new tab" immediately to the right of 'Close tab' - as if it was before?

    Please advise?

    Try clicking on "Restore default settings" in the palette to customize to reset the toolbar customization.

    • Firefox '3-bar' menu button > customize
    • View > toolbars > customize

    You can attach a screenshot?

    • Use a type of compressed as PNG or JPG image to save the screenshot
    • Make sure you do not exceed the maximum size of 1 MB
  • When a program is selected in the section programs of all, and the word "Uninstall" is clicked, nothing happens.

    Impossible to 'Uninstall' any program.  When a program is selected in the section programs of all, and the word "Uninstall" is clicked, nothing happens.   When the dialog box "Turn Windows features on or off" is selected, no buttons appear.   Having run "System Restore" to solve the problem without success.

    Hello

    1. don't you make changes to the computer until the problem occurred?

    Method 1: Try scanner SFC [SFC system] on the computer that would be a system file corrupt on the computer search and replace.

    http://support.Microsoft.com/kb/929833

    Method 2: If the problem persists then I suggest you to set up your computer in a clean boot state, and check to see if the same problem happens.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Hope this information is useful.

  • When I make a selection using the lasso and try to copy the selection, nothing is copied.  Why?

    I have PhotoShop CS6 for Mac, version 13.0.6.  When I make a selection using the lasso (or any other selection tool) and select 'Copy' and try to move the selection copied, nothing is copied.  What is going on?  I can't find an answer in my search for Abobe PS or the Web site, in general.

    If you still use the selection tools when you try to move the contents of a selection, it will simply move the selection. If you want to move the content, use the tool move (but be aware that the default action is to cut; use Opt (Alt on Windows) to copy the selection by dragging).

  • My panels are not displayed when I click on it in the menu drop-down windows. The box appears but not the Panel. Can anyone help?

    My panels are not displayed when I click on it in the menu drop-down windows. The box appears but not the Panel. Can anyone help?

    Try to reset your preferences using Cmd (LTRC) - Opt (Alt) - move when restart you the version of AI. Did you once two monitors?

  • When I turn 26 FF on my laptop, I'm more able to open web pages on any browser. Help

    Whenever I update to 26 FF on my laptop I'm more able to open web pages on my laptop in any browser. If I handed my system to an earlier date, I'm good to go. Any ideas on what may happen or how to solve it? I'm not a technical person - btw

    My connection to the poster still internet connected, but I can't open web pages.

    Thank you

    Bill

    This is happening on a computer running Windows (will keep you with Mac)?

    If there is a problem on a Windows computer:

    It is possible that security (firewall, antivirus) software blocks or limit Firefox or the process of plugin-container without you inform, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Windows Mail cannot send a Web page or a link to an email address. They are not selectable in the menu dropdown.

    original title: WINDOWS MAIL

    I USE WINDOWS MAIL.  I CAN RECEIVE AND SEND email, BUT WHEN I TRY to SEND a PAGE OR a LINK TO ANOTHER email this ADDRESS ARE NOT highlighted in THE MENU DEROULANT, SO I CAN'T SEND THEM.

    See if this can help, its OE but the problem is the same: Microsoft Knowledge Base. Q306098

    See the section on changing the Windows registry and replace Windows Mail in paths where it says Outlook Express as follows:

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/) how to back up and restore the registry in Windows

    To add the data string to the default mail client key:

    1. Start the registry editor; Click Start, click run, and type regedit.
    2. Look for the following key in the registry:
      Mail HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Windows
    3. In the left pane, click Windows Mail. Both values should be displayed in the right pane: one is by default, which has a value of Windows Mail, and the other DLLPath, that contains the path to Msoe.dll on your computer.
    4. If the DLLPath value is not present, click Edit, point to newand then click string value.
    5. New value #1 appears, with the selected text. Type DllPath, and then press the ENTER key.
    6. Double-click the new value of DLLPath to open it. In the value data box, type the path to the Msoe.dll file on your computer, for example:
      : \PROGRAM FILES\Windows Mail\MSOE. DLL
    7. Click OK, and then quit the registry editor.
    8. Try to send a mail to a link or another program

    Also make sure WinMail is default under control panel | Default programs.

    Steve

  • What happened to 'bookmark this page' selection in the menu "Show bookmarks" on the right?

    Now, I have to:
    1) click the Blue Star stupid to get the menu to place my new bookmark where I choose to do instead of going to unsorted bookmarks again...
    OR
    (2) raise or having the menu bar and click on the menu choice "Bookmarks" to "bookmark this page", which shows what I would call the menu choice or sorting which allows me to access my bookmarks menu...

    .. where I wanted to go to a bookmark, AND I get to select 'choose', which is what I used to do when you add a bookmark.

    I want the selection 'bookmark this page' return on the "Show bookmarks" list on the right... where it belongs. Why everyone wants to keep hide useful tools?

    29 Firefox STINKS and I got in trouble from the beginning... and since the mistake of reset.
    I now have a record of things that I have no idea what to do what while resetting, I got "Oooops it's embarrassing, we have a problem" or something. Clues about what to do with all these 'junk' (now to me) might also be useful.

    You can press Ctrl + D if you still want to see the popup Page Bookmarked.

    The following add-on makes bookmarking easier in different ways. Among other things, he is able to remember the last folder.

  • I get about one second from the previous movie when the scene selection in the menu of the DVD

    I have PE 12 for mac and have a 21.5 "iMac with 4 GB RAM and 1 TB hard drive.  I asked questions on here before all of a DV footage.

    I have a delay of 1 hour, 20 minutes and used markers to scene to go to the cinema in the timeline panel.  There are 11 movies in the video.  Markers are at the beginning of the scene in question.  On some of the later scenes, I get about one second from the previous movie before the start of the current movie.  I did thorough tests 12 EP in order get my imported correctly DV film.  I finally decided to use LifeFlix to get the imported records.  When I was testing the creation of DVD, I have not found this second of the previous film in the current issue of the film.  The problem seems to be that less pronounced during playback on my DVD than VLC Player or Apple's DVD player.  I use DVD Widescreen Dolby Preset for the DVD.  I did a DVD earlier using brands of menu with the result being 11 main menus.  I decided to abandon this approach.  Two DVDs have the same second or so of the previous clip before the current movie.

    I tried to stop markers in the DVD to recreate what I had with Pinnacle Studio, but this resulted in a DVD with a 'mistake' at the stage of decision-making case and record a DVD with menus blacks half but for the buttons.  I had added some empty frames between scenes when adding the judgment of brands, such as advised by ATR, but this failed.

    I would like to use markers to stop it again, but the problem of the second or last if a clip is more pressing.  The previous screen is sometimes less than a second and has no picture, just sound.

    Never had this problem with my old program.

    I also had "Unknown error 2131042562" when writing a normal DVD with the project and the checkbox "adjust to the content of the available space." checked.  I also got this when trying to write on a normal DVD - RW disc, to test the DVD for 'Previous film' problem as stated above.

    My burner is a USB 3 Litton Blu - ray burner.  It worked without a problem since I bought it.  I also used TDK DVD that I used for a number of years without any problems at all.  Today I wrote a data DVD without any problem.  I also wrote the content of a DVD folder on the disc, after generating an image using disk utility and it worked successfully, I realized the same DVD using the software 'Burn' successfully.

    Again, I have never had such problems in the display of the videos on DVD before.

    Your help is very appreciated.

    I managed to get a DVD with 5 images of black video between the scenes I wanted.  Video of Black made sure the brands menu worked!  Started it at the beginning of the relevant scenes.  I've never had to do this before in any program.

    Add stop markers did not.  Brands menu would go up to a point half a second or a second before the required stage, as have no black video.  I tried all sorts of things to resolve this, even to copy the project using the project archiver and the opening of the copy, but nothing helped.  I don't really know how ATR has managed to get markers to stop working.  I even added 12 frames of black video between frames with markers of the judgment at the beginning of the black video and the marker of the scene at the end.  It did not work.  I have nothing out.  The program seems to create a folder, but there is no error message and no file at the end.  He writes date folder much faster than normal when using markers of the judgment.  Also do not work 12 images of the video I think.

    I gave up at stop markers.  The normal use of the menus seems OK.  Other programs like Apple Compressor have this type of menu structure.

    Note the use of 5 images of the black video locks marks menu successfully.

  • [ADF, JDev12.1.3] How to create a page that is read-only or allowing changes according to the menu by which item it is accessible?

    Hallo,

    I'd like to go to the page that contains an af:table of 2 different menus: "Edit/insert data" and "read data".

    Is it possible to make a page that is read-only when the user accesses by "Read data" and that allows for changes when you access it through 'edit/insert data?

    Or do I have to create 2 different pages?

    Thank you

    Federico

    If the menu is outside the region, you must pass a parameter in the area and read this parameter passed within the region. You cannot directly access the bean of expanded view of inside the workflow.

    You can check out my blog 11.1.1.5.0 JDeveloper: router to use to create new or modify existing line | JDev & ADF Goodies

    That uses a router within a workflow to decide which page to display based on the parameter. Using this solution you can easily implement your use case using two different pages to show the table, a read-only, and the other to change.

    Timo

  • In first items 14 scene selection from the Menu movie (Motion, holiday, Christmas frame) does not bind the scene 6 main Menu page. It places the scene 6 2 Menu scenes, but unrelated to the other, the main or scene selection Menu. What it

    How can I edit a movie Menu template? I use a Motion - celebrations and events - model of menu for Christmas related to 6 scene markers. Five scenes are represented by a thumbnail and name on 1 Menu scenes that appears when the button on the main menu page scene selection is reached. However, the scene 6, which has also a sticker and marker corresponding scene, is on another page (Menu 2 scenes) that does not link to the home page (does not appear in the scene selection Menu that has just 5 thumbnails and an arrow to return to the main Menu). In the area of work under the clip monitor Main Menu 1, Menu 1 and Menu 2 of scene scene appear together and by clicking on the thumbnail in the scene 2 menu the link to the clip 6 works except when Preview Disc is played, in which case the Menu 2 scene disappears. The scene marker is correctly linked, it just does not appear in the menus of the finish. The first five items of the Assembly (related to the scene selection menu) are all the video clips, but the 6th clip is a slide show. I read several threads on menus but found no mention that a slide show scene marker is treated differently by a menu template. Is it? The 5 first clips are all in the format AVI - DV with imported project files previously saved in this format, so that they could be related and engraved on a DVD. The slideshow is imported from PSE14 and 6 attached clips have already been burned successfully on disk (without menu) as a try-out. However, I was not satisfied with the resolution, then saved individually at the only other resolution DVD - SD576. Now I'm stuck at getting this sort menu. I operate 10 WIN. Any help will be accepted with gratitude.

    Hi, thanks for your response. I can rephrase the question very easily: why I've been so stupid? My problem was that I couldn't see a link in the menu between the Menu scenes 2 template and the main Menu. It turns out that the link was there all the time (a sideway arrow just above the main Menu link) but I thought he was part of the link from the main Menu and never clicked on it. When I burned my project to a disc and played on television, the sideway arrow was a different color and, of course, another link... the link I was looking for. Then, my apologies, problem solved, lesson learned - click on everything you see. Thank you. And I was very happy since the upgrade to 14 before except when it makes me feel stupid, which is frequently.

  • I need to print from firefox icon as I used, because some pages that I need to print do not load with the menu.

    Since a recent automatic update, I was not able to print by clicking on the firefox tab icon. I have pages that I need to print, that do not load with the toolbar complete with the key of menu etc. I could always print by clicking on the icon, but no more. Help please.

    you could try pressing and use 'ctrl' then 'P' on your keyboard
    We also write 'ctrl + P', it's the printing system wide combination of shortcut keys.

    Alternatively, you can try, right-click in the title bar (where your loading tabs) and selecting 'Menu Bar', which will show the menu bar (with file, editing, display, etc.) on the tabs allowing you to print from the submenu file

    hope that helps!

    See you soon

  • When I right click instead of the menu, I get a picture of a Web site I visit. The same list of links sugested (sharpen by typing an address).

    Right click and I get a picture of the entire window (tabs above, the entire site). In the upper right corner of this photo (photo is inside this menu after right-clicking straight or suggestions) I have my standard menu. When I try to point sth (on the menu) it starts flashing (picture, menu, picture...). It drives me crazy. I even tried system reinstall and it happens again.

    I'm working on laptop. It is not a beast but not some junk too.

    Any ideas?

    P.S, English is not my first language so I tried to make everything as clear as possible. If sth does not know just let me know.

    P.s2 I could use some of the built in dictionary to avoid misspellings, but I can't.

    Hello montone, maybe it's a problem with hardware acceleration - try updating your graphic driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in firefox > options > advanced > General.

  • In "Add/Remove Programs" he has no option to remove when a program is selected in the populated list?

    I can see all of the programs listed in Add/Remove Programs option in the control panel.  When I select a program in the list, there is no option to remove / uninstall the program.  I tried a lot of programs and none give me the option?

    Hello
     
     
    Method 1.
    Reregister the install and check engine.
    a. Click Start, click Accessories and then click command prompt.
    b. at the command prompt, type the following and press ENTER after each line:
     
    MSIExec /Unregister
     
    MSIExec/regserver
     
     
    Method 2.
    Check if you can in safe mode. Note: you will not be able to uninstall programs in safe mode. It's just to check if you can.
    a. refer to the article below for the procedure safe mode in Windows XP
    A description of the options to start in Windows XP Mode
    http://support.Microsoft.com/kb/315222

    Method 3.
    It seems that there is a background app that launches the installer of Windows. We can perform a boot minimum troubleshooting to find the same thing. You need to perform a clean boot to find the program that is causing and then disable or remove.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353/en-us
    Note: When you are finished troubleshooting, follow the steps as explained in the article to reset the computer to start as usual.

    Method 4.
    See also the steps listed in the article below.
    How to troubleshoot issues that may occur when you install, uninstall, or upgrade one program on a Windows computer
    http://support.Microsoft.com/kb/2438651/en-us
     
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • Hide unused lines in figures

    I have a fully customized Numbers spreadsheet (which is a budget) and each row has a formula. I need to present the budget with only the lines that are used for an overview of the customer. How can I quickly select all unused lines and save only the

  • I want to customize my shortcut keys, especially "backspace = back.

    I do a lot of typing in the browser, and I'm really sick of the shortcut for the back button, because if I inadvertently click on a text box or shape, it pulls me back a page or more and I lose my progress. I tried to find settings shortcut on the To

  • IPF in nonpaged area

    I installed the windows updates on my computer hp laptop a few days ago and after reboot I got a BSOD indicating there is an IPF in a non paged area. I can't start in safe mode, USB drive, CD/DVD drive without this screen limiting access to my hard d

  • Windows 7 does not see some games or DVD discs in my DVD - RW drive

    I'm using Windows 7 Home Edition premium for my office, and all of a sudden she refuses to see my game or DVD discs when I put them in the drive. He will see my DVD - RW discs, but nothing else. The games I ran before with no problem at all, and driv

  • After that upgrade to 8.1 Windows printer driver will not be installed

    I upgraded my Windows 8 to 8.1 Windows System. Subsequently, I received a message saying that I had to reinstall my printer driver, I went on HP website and downloaded the driver for Windows 8.1. First of all, I uninstalled all the software and the d