Further to Sams reply The param let's the person controlling the page determine if the Flash file can take over / go fullscreen.
You as the developer are passing in info to change the behavior of you UI. The two concepts and use cases are different, hence it needs to be specified in different places. One line of code isn't a big deal anyhow is it ? :) Aran On Tuesday, April 26, 2011, Sam Sherlock <[email protected]> wrote: > > I think this is not possible > http://stackoverflow.com/questions/659191/detecting-if-fullscreen-is-allowed-in-actionscript-3-0 > > > - S > > > > > On 27 April 2011 01:59, Whitaker Brand <[email protected]> wrote: > > > I'm looking to decide whether to display a fullscreen button in a > custom swf. Currently, I specify > > var params = { > ... > allowFullScreen: true, > ... > }; > > to allow the swf to go fullscreen, and also my own flashvar to make > the decision about whether to display the button: > > var flashvars = { > ... > showFullScreenButton: true, > ... > }; > > This seems silly to specify the same logical concept in both places; > is it possible to access the embedding parameters inside the swf so > that I only have to specify 'allowFullScreen' once? > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" 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/swfobject?hl=en. > > > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" 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/swfobject?hl=en. > -- You received this message because you are subscribed to the Google Groups "SWFObject" 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/swfobject?hl=en.
