6 Replies Latest reply on Jul 17, 2006 5:33 PM by Newsgroup_User

    flash menu in IE

    phyrron
      i have designed flash menu which directs main frame to related page. flash menu stays at the top frame and have buttons to redirect the main frame to related pages(ex: geturl("news.htm", "main") .) it works in firefox but doesnt work in IE, i have updated for ActionScript due to MS update, however still it does not works.

      when i opened the top frame in the browser(IE) it opens the pages in new window, in addition if the site is opened in another window when i push a button it changes the main frame of the site at the other window.

      thanks
        • 1. Re: flash menu in IE
          Level 7
          You need to review the syntax for getURL.
          http://livedocs.macromedia.com/flash/8/main/00001730.html
          As you posted: geturl("news.htm", "main")
          The second argument which is optional only has four possible values:
          a.. _self specifies the current frame in the current window.
          b.. _blank specifies a new window.
          c.. _parent specifies the parent of the current frame.
          d.. _top specifies the top-level frame in the current window.
          If you do not use the second argument, I believe it defaults to _self, but
          you may need to try it to be sure.
          --
          Lon Hosford
          www.lonhosford.com
          Flash, Actionscript and Flash Media Server examples:
          http://flashexamples.hosfordusa.com
          May many happy bits flow your way!
          "phyrron" <webforumsuser@macromedia.com> wrote in message
          news:e9blhs$n7s$1@forums.macromedia.com...
          >i have designed flash menu which directs main frame to related page. flash
          >menu
          > stays at the top frame and have buttons to redirect the main frame to
          > related
          > pages(ex: geturl("news.htm", "main") .) it works in firefox but doesnt
          > work in
          > IE, i have updated for ActionScript due to MS update, however still it
          > does not
          > works.
          >
          > when i opened the top frame in the browser(IE) it opens the pages in new
          > window, in addition if the site is opened in another window when i push a
          > button it changes the main frame of the site at the other window.
          >
          > thanks
          >


          • 2. Re: flash menu in IE
            Level 7
            > You need to review the syntax for getURL.

            No, *you* need to review it :)

            "window:String [optional] - Specifies the window or HTML frame into which
            the document should load. You can enter the name of a specific window or
            select from the following reserved target names:"

            Note: You can enter the name of a specific window...

            Sorry, can't help you phyrron...

            --
            -------------------------------
            Remove '_spamkiller_' to mail
            -------------------------------


            • 3. Re: flash menu in IE
              Level 7
              Thanks Peter. I missed that detail.

              I would then recommend that the html be validated for proper form and be
              sure that there are no potential cross browser issues.


              --
              Lon Hosford
              www.lonhosford.com
              Flash, Actionscript and Flash Media Server examples:
              http://flashexamples.hosfordusa.com
              May many happy bits flow your way!
              "Peter Blumenthal" <mmgroups@_spamkiller_PhageInteractive.com> wrote in
              message news:e9fmqj$eoh$1@forums.macromedia.com...
              >> You need to review the syntax for getURL.
              >
              > No, *you* need to review it :)
              >
              > "window:String [optional] - Specifies the window or HTML frame into which
              > the document should load. You can enter the name of a specific window or
              > select from the following reserved target names:"
              >
              > Note: You can enter the name of a specific window...
              >
              > Sorry, can't help you phyrron...
              >
              > --
              > -------------------------------
              > Remove '_spamkiller_' to mail
              > -------------------------------
              >
              >


              • 4. Re: flash menu in IE
                phyrron Level 1
                i try to validate the html but even if the code was dreamweaver's frameset code it gives doc type errors. i think it was not about that. a smilar page was: http://ae.metu.edu.tr/ this page have the same style with my site but the html code was too crowded. but this page works both in IE and Firefox.
                • 5. Re: flash menu in IE
                  phyrron Level 1
                  thanks for all comments, i modified the code at http://ae.metu.edu.tr/ and it is worked, i dont understand javascript much but it seem as same things are written there(no netscape assumed).
                  • 6. Re: flash menu in IE
                    Level 7
                    Great! It is amazing how a Javascript runtime error or malformed html can
                    foil your efforts. I usually turn on the error reporting in both FireFox and
                    IE when it seems that Javascript is the last possible place to look. With
                    those on you will see if you have any Javascript errors. With those off, you
                    will not see the errors, but they are occurring.

                    --
                    Lon Hosford
                    www.lonhosford.com
                    Flash, Actionscript and Flash Media Server examples:
                    http://flashexamples.hosfordusa.com
                    May many happy bits flow your way!
                    "phyrron" <webforumsuser@macromedia.com> wrote in message
                    news:e9gtri$3oo$1@forums.macromedia.com...
                    > thanks for all comments, i modified the code at http://ae.metu.edu.tr/ and
                    > it is worked, i dont understand javascript much but it seem as same things
                    > are written there(no netscape assumed).