Block Flash > allowFullScreen

Permalink
Hi,

I'have embeded flash content with a flash block, works great. But in my swf i have a button with fscommand:

fscommand("fullscreen", true);


It seems that c5 flash implementation doesn't allow by default full screen feature, am i wrong ?

I just would like my swf having fullscreen feature, just like vimeo block, is it possible ?

Thanks !

 
jeremix replied on at Permalink Reply
I just saw that you use swfObject to embed flash files, so i guess i only have to add param allowFullScreen: "true" in blocks/flash_content/view.php.
But i just don't know where to put the code.

I've tried something lke this:
params = {
      bgcolor: "#000000",
      wmode:  "transparent",
      quality:  "<?php echo $controller->quality?>"
      allowFullScreen: "true"
   };;

...without success...

Thanks for helping !
jeremix replied on at Permalink Reply
so, answering to myself, the solution is:

- in concrete/blocks/flash_content/view.php:
params = { 
        bgcolor: "#000000", 
        allowfullscreen: "true", 
        quality:  "<?php echo $controller->quality?>" 
};


- And in flash, for exemple on a "fullscreen" button:
on (release) {
   Stage["displayState"] = "fullScreen"
}


-And on a "normal screen" button:
on (release) {
   Stage["displayState"] = "normal"
}


The fscommand("fullscreen", true); mentioned above was for standalone flash app...