hi,
how can I set embed parameters for html wrapper using Flex Builder ?
For example, I would like to generate the code that allows fullscreen, directly from Flex Builder, so I can debug properly.
Where can I find these parameters ?
thanks
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="${application}" width="${width}" height="${height}"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="movie" value="${swf}.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="${bgcolor}" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowfullscreen" value="true" />
<embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
width="${width}" height="${height}" name="${application}" align="middle"
play="true"
loop="false"
quality="high"
allowfullscreen="true"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
</object>
/* fullScreen */
public function fullScreen():void {
Application.application.stage.displayState = (!isFull) ? StageDisplayState.FULL_SCREEN : StageDisplayState.NORMAL;
if (isFull) {
isFull=false;
} else {
//Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;
isFull=true;
}
debugF.text = isFull.toString();
}