You need to set "allowFullScreen" to "true" in the HTML code where the SWF is embedded.
http://livedocs.adobe.com/flex/3/html/help.html?content=05_Display_Programming_10.html The above link details on this issue. -- Jeethu Karthik J http://jeethukarthik.com On Wed, Mar 4, 2009 at 11:42 AM, Paritosh Bisi <[email protected]> wrote: > > Hi Venkat, > > Any idea why I am getting this error. > > SecurityError: Error #2152: Full screen mode is not allowed. > at flash.display::Stage/set displayState() > at tv.container::SideToolbarContainer/onFsClick() > > Thanks, > > Paritosh > > On Mar 3, 10:07 pm, Venkat Viswanathan <[email protected]> wrote: >> Whenever you want to make the application full screen, run this code: >> Application.application.stage.displayState = StageDisplayState.FULL_SCREEN; >> >> To get back to normal state: >> Application.application.stage.displayState = StageDisplayState.NORMAL; >> >> Regards, >> Venkatwww.venkatv.com >> >> On Tue, Mar 3, 2009 at 11:09 AM, Ravi <[email protected]> wrote: >> >> > Hello Friends, >> > I am developing a family tree and i want to add full screen >> > functionality in this to full screen the family tree part only. >> > can anyone please help me in this..how to full screen only the >> > perticular part of application >> > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

