The whole SWF is loaded at once - the states make it easier to add and remove components from the display list; all of the components are already in the SWF.
Sounds like what you want is to have a main Flex application that loads "sub" applications on demand - where each of your "pages" would be its own SWF. Check out the SWFLoader component and read up on this techique on Roger Gonzalez's blog: http://blogs.adobe.com/rgonzalez/ Check under "Multi-SWF Applications" --- In [email protected], vikas balakrishnan <[EMAIL PROTECTED]> wrote: > > HI , > > i have started building an application in flex.The application involves many pages, so in flex i used "states" to jump from one page to another.But in the end i get a single swf file with all the states.I can have upto 20 pages , thus 20 states ...therefore making a large swf file. > > My question is - Is the whole swf file loaded onto the client side or only the current state is loaded at the client side and next states are loaded as per demand? > > Thanks > Vikas > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcomponents/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcomponents/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
