5 Replies Latest reply on Mar 23, 2012 8:58 AM by Cyboide

    Best way to make a Flash site

    pmfr01 Level 2


      I'm working on my first Flash site and, since I'm quite new to Flash, I've been exhausting myself seeing all kind of tutorials in order to avoid any common/beginner mistakes.

      So, my question is: should I build my Flash site in a single file or should I build page per file (ex: index.html, about.html, contacts.html, etc.)? The reason I'm asking this is because in one of the tutorials - Lynda.com, Flash CS4 Professional Creating a First Web Site (Paul Trani) - the site is all in a sinlge file and the menus are located in diferent parts on the timeline (check image)...


      Flash site ex.png


        • 1. Re: Best way to make a Flash site
          Ned Murphy Adobe Community Professional & MVP

          There are all kinds of ways to design a site, so asking which is better than another is more often going to get you a response involving a personal preference - and it is okay to have your own preference. 


          But if you are intending to create a true Flash site, then that term is usually moreso associated with having just one html page.  The Flash content is where you make the decisions you are asking about... whether to include it all in one Flash file or to create separate Flash files (per section) that get loaded into a main Flash file.


          The bottom line... pick what you are comfortable with and get the experience under your belt.  Since you indicated this is your first Flash site, if that means there will be more, then you can use those opportunities to try different approaches.

          1 person found this helpful
          • 2. Re: Best way to make a Flash site
            pmfr01 Level 2

            Thank you for the feedback.

            What about performance? If I build each section in a separate file, will there be more loading time, not so smooth animation transitions, etc? I intend to have all sort of simple animations when a section page opens and when it closes (changing page).

            • 3. Re: Best way to make a Flash site
              Ned Murphy Adobe Community Professional & MVP

              If you intend to have transitions, then separate html pages is definitely out.  Transitions within Flash can be managed regardless of whether you have it it one file or load separately.


              As far as loading time goes, whatever is in your site will weigh the same regardless of how you divide it, so overall loading time will be equal across the board.  The benefit of loading content dynamically (meaning having separate swf's, videos. image galleries, etc) is that you are less likely to make people wait for all your content to load.  You load on as as needed basis, so waiting time is seemingly reduced since you are not waiting for the entire site to be loaded before you can proceed... I know I will more often leave a site that has me waiting for it... fear that something sinister/viral is being loaded into my machine.

              1 person found this helpful
              • 4. Re: Best way to make a Flash site
                pmfr01 Level 2

                Guess I'll have to try with two distinct sections and see how it goes.

                Thanx again!

                • 5. Re: Best way to make a Flash site
                  Cyboide Level 3

                  I won't argue with anyone about the "best" way. However, a professional and fully long-term maintainable Flash website is not even done with the timeline, but using OOP (Object Oriented Programming), meaning big AS3 coding and different strategies for different aspects of a fonctional website.


                  So my point is not to fall deep into the details in any way, but to perhaps arouse your curiosity regarding OOP, a whole new world...



                  Design Cyboïde

                  Création de sites internet