-
1. Re: What is the proper way to organize/build a Flash site
kglad Jan 10, 2013 7:21 AM (in response to nikolaig)you can only have one document class. that is your main class and, one way, to setup your project is to have the main class add and remove the main sections added to the display. each main section would be its own class.
-
2. Re: What is the proper way to organize/build a Flash site
nikolaig Jan 10, 2013 7:28 AM (in response to kglad)I think working with document classes is a next step and a separate lesson for me.
Is it possible to keep everything in the AS layer in the main time line. If this way is acceptable then how do I arrange it?
-
3. Re: What is the proper way to organize/build a Flash site
moccamaximum Jan 10, 2013 8:41 AM (in response to nikolaig)You should have a look at one of the templates that are included in flash CS6.
File->New->Templates->Presentation->Extended Presentation
It`s basically a presentation that can be easily reworked to the kind of Website you have in mind.
There is a MovieClip inside this project that is called "Slides MovieClip" there you would put your seven labeled sections in.
There is a Layer "Background": there you would put your Designelements in that are always on the stage.
There is a Layer "Actions": there you would have to adjust the navigation to your needs.
Supposed you have a MenuItem "myStuff" on the backgroundLayer you would write the following Code to navigate to the "myStuff" labeled frame inside your Slides MovieClip:
myStuff.addEventListener(MouseEvent.CLICK, navigateToMyStuff);
function navigateToMyStuff(e:MouseEvent):void{
slides_mc.gotoAndPlay("myStuff");
}
and thus for all your 7 menu items.



