7 Replies Latest reply on Jun 1, 2011 4:19 PM by RankinImagery

    Website opens in I.E. on the wrong page

    RankinImagery Level 1

      When I run project, the website opens up on the "Contact Us" page instead of the "Welcome" page.  How can I change that to the correct opening page???

        • 1. Re: Website opens in I.E. on the wrong page
          Chris W. Griffith Adobe Community Professional

          Did you accidently change the default state? To reset the default state, right-click on the state you wish to be the starting state and select "Set As Default State".

           

          You can also inspect the code by changing the view mode, but clicking the Design menu in the upper right of the program. Within the application tag you will see an attribute currentState, check that the value matches the state you want to start in.

           

          <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

             xmlns:s="library://ns.adobe.com/flex/spark"

             xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"

             width="100%" height="100%" backgroundColor="#FFFFFF" currentState="State2"

           

          If Flash Catalyst is being wonky, could open the project in Flash Builder, and manually set that value, then republish the project.

           

          Chris

          • 2. Re: Website opens in I.E. on the wrong page
            RankinImagery Level 1

            Thanks Chris...the code you describe is in my code for the most part.  There is some additonal code and nothing says "currentstate="State2" or current state anything.  Unfortunately, I do not have FlashBuilder, so I'll have to delete half the states and try something different when duplicating states.

             

             

            Bill Rankin

             

            Rankin Imagery Productions, Inc.

            Corporate ~ Weddings ~ Events 

            www.rankinimagery.com

            713-621-3384

             

            Click on the image below.

            • 3. Re: Website opens in I.E. on the wrong page
              RankinImagery Level 1

              Also, the 'set to default' is not available on the page that is the homepage, and IS available on the page that is appearing first.

               

               

              Bill Rankin

               

              Rankin Imagery Productions, Inc.

              Corporate ~ Weddings ~ Events 

              www.rankinimagery.com

              713-621-3384

               

              Click on the image below.

              • 4. Re: Website opens in I.E. on the wrong page
                Chris W. Griffith Adobe Community Professional

                Hum, if it is not there, then it will start at the first listed state in the states tag. Do you have an Application Start interaction that might be triggering the state change?

                 

                Which version of the Player are you running in IE? And which IE?

                 

                Chris

                • 5. Re: Website opens in I.E. on the wrong page
                  RankinImagery Level 1

                  I use I.E. 8.0 with flash player 10.0.

                   

                  I have deleted the subpages to return to the state were the Welcome page opens during "Run Project". The subpages were created from the corporate page, the correct Welcome page opened in I.E.

                   

                  Primary pages: welcome, Corporate, Weddings, Sports.

                   

                  SUB pages: Samples, Rates, Contact Us. 

                   

                  The subpages were duplicated from the corporate page.  The primary pages were duplicated from the Welcome page (opening page).  I will duplicate subpages from the Welcome page now so all pages were duplicated from the same initial page.  I'll let  you know if that works.

                   

                   

                  Bill Rankin

                   

                  Rankin Imagery Productions, Inc.

                  Corporate ~ Weddings ~ Events 

                  www.rankinimagery.com

                  713-621-3384

                   

                  Click on the image below.

                  • 6. Re: Website opens in I.E. on the wrong page
                    RankinImagery Level 1

                    Problem solved....

                     

                    Apparently, ALL duplicate states MUST originate from the first state. First state being the page you want to appear when someone first accesses your website.

                     

                    I do, hoever, think that the software is a little "wonky" as you put it due to things it does or fails to do, until you try it several times.

                     

                    Thanks for your time. 

                     

                     

                    Bill Rankin

                     

                    Rankin Imagery Productions, Inc.

                    Corporate ~ Weddings ~ Events 

                    www.rankinimagery.com

                    713-621-3384

                     

                    Click on the image below.

                    • 7. Re: Website opens in I.E. on the wrong page
                      RankinImagery Level 1

                      Problem solved, see above.