Add Action Script in Flash
btn = "Button Instance Name"
Flash Action Script
HTML Code : Replace your Swf file path with "index.swf"
btn = "Button Instance Name"
Flash Action Script
stop();
Stage.displayState = "normal";
Stage.scaleMode = "noScale";
function toggleFullScreen ()
{
trace ("::::::::::::::::::::::::::::::::::::::::");
if (Stage.displayState == "normal")
{
Stage.displayState = "fullScreen";
}
else
{
Stage.displayState = "normal";
}// end else if
}
btn.onRelease=function()
{
toggleFullScreen ()
}
HTML Code : Replace your Swf file path with "index.swf"
would you like to make it step by step? i'm quite confuse here. thx before
ReplyDelete