you need to compile pages with to seperate swf files and use the Loader class to load them. don't include them in the main swf!
On Feb 17, 2008 9:17 AM, bornaeon <[EMAIL PROTECTED]> wrote: > Hi all. how do you do? > I'm working on my personal website, and that's a full Flex website. > I have a little problem: > I have a main mxml page in my project that come up first. In that page > I have some button to go to another part of my site, Like Articles, > Events, Gllery, Contact and etc. > I want to load page of each button externaly! you know, I want to > decrease my project size and want to load each part, when user click on > that's part button, and I don't want load all of my site in first time > that my main page will come up. > Just imagine that I have a conatct form in my Contact part, that's form > has 3 texbox and 1 button to send a mail to me. I made that form with a > custom component and run it when someone click my contact bottun on > main page, but it didn't load it externaly, and my custom component had > been loaded when my main project was loading. > Please help me, how can I fix it? > > thanks > borna > > >