How do I change "link =" code to "href=" on my flash navigation?

I was given the following recommendation for my website:
Your flash menu links to home.html.  However, since home.html is the default document, you're encouraging people to link to http://www.victorylcms.org/home.html or bookmark it.  If you ever change the name of the default document  (home page), those links will break. I  would change the link to be <a href="/">home</a> so it  loads whatever default page you are currently using.
I looked at my code and it says this:
onClipEvent (load) {
    num = 1;
    this.hitArea = this.area;
    link = "home.html";
on (rollOver) {
    if (_root.link<>num) {
        _root.icon1.gotoAndPlay("s1");
        _root.item1.gotoAndPlay("s1");
on (releaseOutside, rollOut) {
    if (_root.link<>num) {
        _root.icon1.gotoAndPlay("s2");
        _root.item1.gotoAndPlay("s2");
on (release) {
    if (_root.link<>num) {
        _parent["item"+_root.link].gotoAndPlay("s2");
        _root.link = num;
        getURL(link);
When I changed the first section to this, I got an error and the home button kept rotating. Any ideas on how to make this recommendation? Thanks!
onClipEvent (load) {
     num = 1;
     this.hitArea = this.area;
     link = <a href="/">home</a>;

You're still trying to use an html tag for a link and I just said that will fail...  Use:
onClipEvent (load) {
    num = 1;
    this.hitArea = this.area;
    link = "http://www.victorylcms.org";
The error with the code you tried, aside from just being wrong programmatically, is that you had two = signs in that line and not enough quotes to make the second one part of a string.  The correct way to have written that line would have been
  link = "<a href=\"http://www.victorylcms.org\">Home</a>"; 
But do not use that, it is wrong to use it.

Similar Messages

  • How do we change the code of incoming emails?

    Prior to downloading the latest version of Firefox, we were able to access the code-changing service via the orange button in the top left corner of the screen.
    The latest version has done away with that orange button and its associated drop-down menu, wherein we used to be able to change the transmission code of incoming emails to Unicode.
    How can we change the codes now?
    It is very disappointing that you make stupid changes without any notification.
    What was wrong with the old orange button, that it HAD to be changed?
    It appears that some ignorant newbie, who is unaware of what is really going on decides to make a name for himself, making cosmetic changes – simply for the sake of making changes!!!
    Whenever changes are made, they firstly should be absolutely necessary; and secondly your users should be notified of the implications of any changes.
    The current disregard of customers is just not good enough!!!
    Since the loss of the orange button, we have been forced to perform the tedious, time-consuming task of editing each email which is to be stored, removing all the ASCI-type codes from the text. Previously, Firefox altered the transmission code on request – MUCH simpler & MUCH quicker & MUCH more convenient!!!
    How are we supposed to get Firefox to do the change?? Pray tell.

    Hi, I am sorry that you do not like the changes in Firefox 29. I would be happy to help you with the problem that you have.
    Mozilla did not completely remove the menu function that you are talking about. If you look at the top left side of the browser you will see an icon with three horizontal lines. This has the same function as the Firefox button that you talked about. It is customizable and takes up less space when configured this way. That was the rational behind the change. From this point you click on options. After that it is all the same. I hope this helps. If you are really unhappy with the changes to Firefox 29 I wold recommend that you let Mozilla know. Everyone here is a volunteer that is passionate about helping users. Here is the link [https://input.mozilla.org/en-US/feedback Mozilla feedback]

  • HT5012 How do i change a code to make a game better like  " metal storm "?

    How do I change a code to make a game faster and better like. "Metal storm "

    What code?

  • HT201263 If yor phone is lost how do you change lock code from computer?

    If your phone is lost how do you change lock code from computer?

    You cannot remotely change the lock code

  • Some websites show my location wrong zip code, how do I change zip code?

    At some websites firefox shows me as located at a wrong zip code. Where does it get this information and how do I change it so it comes up with the correct zip code?
    Checked these:
    http://whatismyipaddress.com/
    http://browserspy.dk/geolocation.php
    First one is correct & the the 2nd one is NOT....

    Which of the locations is wrong on the second (browserspy) link?
    The IP based map should show that same location as whatismyipaddress.<br />
    The Geolocation Based Map is empty for me (Latitude is undefined; Longitude is undefined) and may only work properly if you use a wireless connection to a known hotspot.

  • How can client change link to external file in in-browser editing

    Hi, I made a website for a client. It has links to pdf files. Obviously they can change the text, but how can they change the link to another pdf file. Thank you.

    Sorry, this is not supported currently. Please vote for this idea: http://forums.adobe.com/message/5552091#5552091
    This helps the product team prioritize.
    Thanks,
    Abhishek

  • WRT300, how do I change security codes?

    Installed the router, lost the instructions and today I think someone was connecting through my wireless.
    How do I change the security settings on the router and the adapters (I have wireless N and Wireless G adapters.)
    Thanks

    a) you can configure a wireless cards usually either using the Windows Zero Configuration Service (WZC) or some software that came with the card (e.g. some Linksys software or some laptop specific software). I would recommend to use Windows but it is up to you.
    b) A wireless card can scan for SSID broadcasts. It is fairly easy to join those networks whatever software you use for the configuration of the wireless card. In windows you basically press a button in the list of SSIDs which the card found.
    c) To join a network with no SSID broadcast you cannot go that way. You have to manually configure the wireless connection, i.e. configure the SSID, wireless encryption settings, passphrase. Once you have configured the card with the correct settings it is able to join the network.
    d) WZC and most other software, too, allow you to define a list of preferred networks. Those networks will automatically be joined if in reach. It depends on the implementation how this is done exactly. I think usually they will simply try the list of preferred networks in the order given, i.e. try to join the network and if it fails try the next. It should not make a difference whether the SSID is broadcast or not. But other implementations could prefer broadcast SSIDs to non-broadcast or similar...
    e) If you use WZC the configuration of Linksys and non Linksys cards is the same. If you use some other software you'll have to find out. Any wireless card which is compatible with the access point should be able to connect.
    f) MAC address filtering is a very weak security mechanism to prevent unauthorized access to a wireless network. Any network card has a unique MAC address from the manufacturer. You can create a list of addresses which may connect to an access point. The problem with this is you have to maintain it and keep it up to date. Also the MAC address is part of any wireless transmission and it is very easy to modify the MAC address in the driver of the wireless card. Thus, you should never rely on MAC address filtering as only security mechanism in an wireless network. In an unencrypted wireless network it is very easy to pick up and fake. Then someone has full access. Protect your wireless network with WPA2 or WPA with a strong pre-shared key. This will really protect the wireless network. I personally would not bother with the MAC filter if I can use WPA.

  • How do i change the code on my MacBook Air without knowing code ?

    Managed to change the code out knowing it.
    Pressed on a key where you change the code , so that code suggestions are coming up.
    Help! I logged on the PC now.
    Thanks

    Can you give us some more details please?

  • How to dynamically change link in Page Viewer Web Part SharePoint 2010?

    Newbie Question:
    Situation:
    a) Created: Two Site Pages page 1 & page 2
    b) Page 1: Includes simple hyperlink text Example - Home | About Us | Contact etc
    c) Page 2: Includes Page Viewer Web Part that includes link to an existing web site (this site has all of the pages) and the olde site is shown in SharePoint site
    Complication:
    a) I want the users to click on Page 1 - About Us etc
    b) The View on Page 2 - page viewer link should be dynamically updated to About Us . If user clicks on contact us on Page 1..the page 2 view should change dynamically to Contact US
    ASK:
    a) How do I dynamically update the links in Page Viewer web part using minimal coding (if possible)
    Any Guidance will be greatly appreciated.

    Hello,
    You can also used the another appoch,
    Create your custom webpart , then add the PageViewer Webpart at run time,Create webpart property for the custom webpart to change the url and add the PageViewer webpart runtime,
    I have created the custom webpart property to specified the url at the tine of edit the webpart
    Here is the code
    using System;
    using System.ComponentModel;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    using System.Collections;
    using Microsoft.SharePoint.Publishing.WebControls;
    using Microsoft.SharePoint.WebPartPages;
    namespace MyNameSpace.MyPageViewer
    [ToolboxItemAttribute(false)]
    public class MyPageViewer : System.Web.UI.WebControls.WebParts.WebPart
    private string _customUrl = "http://yourdefaulturl";//Specified default url
    [WebBrowsable(true)
    , Personalizable(true)
    , Bindable(true)
    , Browsable(false)
    , DefaultValue("")
    , Category("Custom Page Viewer Properties")
    , WebPartStorage(Storage.Shared)
    , FriendlyName("PageViewer URL")
    , Description("PageViewer URL")]
    public string CustomUrl
    get { return _customUrl; }
    set {if (string.IsNullOrEmpty(value) == false) { _customUrl = value; } }
    #endregion
    public MyPageViewer()
    this.ChromeType = PartChromeType.None;
    protected override void OnInit(EventArgs e)
    EnsureChildControls();
    base.OnInit(e);
    protected override void CreateChildControls()
    string pageViewerUrl = CustomUrl;
    Microsoft.SharePoint.WebPartPages.PageViewerWebPart pageViewerWebPart = new Microsoft.SharePoint.WebPartPages.PageViewerWebPart();
    if (!string.IsNullOrEmpty(pageViewerUrl))
    pageViewerWebPart.ContentLink = pageViewerUrl;
    pageViewerWebPart.ChromeType = PartChromeType.None;
    pageViewerWebPart.Height = "382";
    pageViewerWebPart.Width = "682";
    this.Controls.Add(pageViewerWebPart);
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    protected override void OnPreRender(EventArgs e)
    base.OnPreRender(e);
    Hope this will help you
    Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How can i change the code in when new form instance trigger using JDAPI

    Hi all,
    Can anyone tell me how can i use JDAPI to modify the when-new-form-instance trigger in all my forms,coz we have around 500 FMB's ,if this is possible by using jdapi it will be better for us..
    Thanks in advance..
    Najeeb

    Hi Najeeb,
    The code I've given you should cover the basic steps - you will need to have a basic knowledge of Java if you want to use the JDAPI, there's no way around that unless you go and buy one of the off-the-shelf products for this kind of thing (I think there's one called orcltoolbox..?)
    I've written an application that does all kinds of things to Forms specific to our needs, so it's a bit tricky to just pull out the code you need, but again, the basics will be:
    String formName="C:\some_dir\some_form.fmb";
    FormModule mForm=FormModule.open(formName);
    Trigger myWNFITrig=Trigger.find(mForm,"WHEN-NEW-FORM-INSTANCE");
    String myText=myWNFITrig.getTriggerText();
    And there you have your trigger text, to do with what you please. You could put this code in the main() method of one class if you want to keep things really simple - but see how you get on, if you have any more specific questions, do come back.
    Eric - that's a very good point about using Regular Expressions. I haven't used them in my JDAPI app because I wanted to keep all my .fmbs 6i-compatible for the short-term, and a posting I saw somewhere recommended sticking to Java 1.3. Which rules out the regex facility, which only appeared in Java 1.4. Now, though, I think I needn't have worried - it surely shouldn't matter which version of Java I use to make the changes to the .fmbs. My stupid!
    James

  • How can i change country code for a 3310 all in one? we have moved from Japan to Germany

    We have moved from Asia/Japan to Germany. I bought a set of new cartridges, which unfortunately are not accepted by the printer. Need help..... In the internet I found that I am not the only one to have this problem. As the printer is older than a year I either _ throw away.....or.....move back to Japan.   Both are not alternative. Can someone help. Need guidance on how to change the country code of the printer

    enno,
    Check out this post. It has some real good information about ink after moving to another country.
    http://h30434.www3.hp.com/t5/Ink-Toner-Cartridge-Printhead/Finding-and-installing-cartridges-after-m...
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • How can I change Cost Code (WBS Code) separator?

    Hi,
    I was thinking that cost code separator is always dash "-".
    But in our Demo database I saw that code separator is slash "/"
    Where can I set the separator for cost codes?

    There is a data definition called Cost Code Separator. You can change the default value to what you want the separator to be.

  • How can I change link information on an existing hyperlink

    Hi.
    If I decide a certain lin in my page is to point to somewhere else i am finding it necessary to delete the entire text and re-do it. Is that the only way? Or can the link alone be changed / updated?
    Thanks.
    Farzad

    Make sure you select only the exact text that is currently linked.
    You can also change the link by putting your cursor anywhere in the linked text - there will be a bluish box that appears around the linked text. Then you can change the link in Inspector without having to worry about what letters or words are selected. It will change the exact text you had selected previously to a new link.

  • HOW CAN I CHANGE THE CODE IN MY DECODE?

    Is it possible to do a DECODE where a number or phrase could be returned
    depending upon the condition?
    Currently I have this DECODE in my SELECT STATEMENT
    select
    DECODE(
    GREATEST( MONTHS_BETWEEN(n.lcl_er_recv_dt,
    ADD_MONTHS(n.ind_er_per_end_dt,3)) , 0
    ,0,NULL,
    DECODE(
    LEAST( MONTHS_BETWEEN(n.lcl_er_recv_dt,
    ADD_MONTHS(n.ind_er_per_end_dt,3)) , 3
    ,3, 'OVER 3',
    TO_CHAR(ROUND(MONTHS_BETWEEN(n.lcl_er_recv_dt,
    ADD_MONTHS(n.ind_er_per_end_dt,3)))
    ) late
    from ncoer n,
    all_cmd_view acv
    where lcl_er_form_cd = '4'
    and n.psc_cd not in ('SC01')
    and n.PSC_CD = 'UA72'
    and n.lcl_er_recv_dt >= '01-MAR-2007'
    and n.lcl_er_recv_dt <= '31-MAR-2007'
    and n.lcl_er_recv_dt > ADD_MONTHS(ind_er_per_end_dt,3)
    and nvl(N.lcl_omit_from_stats_ind,'N') <> 'Y'
    and not exists ( select 1
    from ncoer_in_error
    where ind_ssn = n.ind_ssn
    and ind_er_per_end_dt = n.ind_er_per_end_dt
    and lcl_er_recv_dt = n.lcl_er_recv_dt)
    and acv.cmd_cd = n.mil_cmd_asgn_cd
    and NVL(acv.lcl_code_stat,'N') = 'Y'
    I have to use the GREATEST FUNCTION to return a value of null if I get a number
    less than 0. I have to use the LEAST FUNCTION to return the value 'OVER 3'
    when the calculated value is greater than 3.
    Could I change it so if the result of the DECODE equals '0' months the phrase
    '90 +DAYs'  is returned
    or if the result of the DECODE equals '1' month then a '1' is returned
    or if the result of the DECODE equals '2' months then a '2' is returned
    or if the result of the DECODE equals '3' months then a '3' is returned
    or if the result of the DECODE > '3' then a 'OVER 3' is returned.

    It never hurts to try it out.
    WITH t AS
    SELECT 0 col1 FROM DUAL UNION ALL
    SELECT 1 FROM DUAL UNION ALL
    SELECT 2 FROM DUAL UNION ALL
    SELECT 3 FROM DUAL UNION ALL
    SELECT 4 FROM DUAL)
    SELECT
      col1                    col1
      ,DECODE(col1
              ,0, '90 +DAYs'
              ,1, '1'
              ,2, '2'
              ,3, '3'
              ,'OVER 3')      test_decode
    FROM
      t;
    COL1                   TEST_DECODE
    0                      90 +DAYs   
    1                      1          
    2                      2          
    3                      3          
    4                      OVER 3     
    5 rows selected

  • HT4623 new phone how do you change pass code

    cant change passcode on new phone

    Ask whoever put it on the iPhone or put your iPhone in recovery mode and Restore it in iTunes.

Maybe you are looking for