views:

644

answers:

2

Is there a way to embed a .swf file in a webpage and provide a way to make it fullscreen? I'm creating these files with Adobe Captivate, which doesn't seem to provide a way to publish in other usable formats (.avi files are too big, and no .flv is available, to which there seem to have some players around that allow fullscreen).

If there's a way to convert .swf to some other "embedable" format, please let me know.

A: 

Why not make a link to the swf in question without a HTML file embedding it. This way teh swl will fill the whole browser screen.

Ritsaert Hornstra
That is the backup solution, if I can't find a way to do what I described.
Farinha
And it's also what I ended up doing. Thanks.
Farinha
+1  A: 

You can create full screen swfs easily with html and javascript (that's the only way).

See Creating Full Screen Flex Applications.

Basically, you just add a parameter to the embed or object tag: allowScriptAccess:true. And the only thing you need in your swf other than your video is to set stage.displayState = StageDisplayState.FULL_SCREEN;. Not sure if you can do that without writing any actionscript.

viatropos