first of all, many thanks to every one who is helping people around :)
in the link below a sample of the FLAs i am working on.
i faced some errors and overlapping objects
what is in the link:
- it is rar file, i convert it to txt, please re-change it to rar file extension.
- inside: main: main fla, it loads other SWFs
- loaded SWFs: , section1, section5, sec1. these SWFs are from section 1 to section6 as well sec1 to sec6. but i included three to make the size smaller, please duplicate them if needed.
- two folders that contain AS3 classes.
1- if you test the main.swf, and from the main menu you clicked any sub button, lets say section5, the following error appears:
ReferenceError: Error #1065: Variable event is not defined.
2- if you test any section alone with out main.swf, the following error appears:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
3- there is a button in the bottom left "Canada", it tells the time line to play to go to "Canada" section, as well as USA button to play the main time line and go back to frame 15, which is the USA section again.
in frame 20, i removed the current loaded swf, so i can place a new swf for Canada section:
is it the right way, according to the ram issue?
4- if you are in Canada section, main.swf will load the sec1.swf as default file. please click any sub section from the menu, lets say sec2. sec1 goes off the stage and there is nothing happens after that. the main.swf must loads the swf related to to the button, sec2.
if you click sec3, it will load sec1 again, this happens to every button.
5- go back to USA: when the user click the USA button to go back, the play head plays until frame 30 to remove current loaded swf and load the default swf for USA, but there is over lapping.:
please press Canada and USA in this order:
Canada - USA - Canada ... and so on
you will notice overlapping SWFs
Thanks for your time reading this thread.