V
V
Vlad2016-02-01 12:05:02
JavaScript
Vlad, 2016-02-01 12:05:02

How to expand flash to full screen?

Can you please tell me how to write a button that, when clicked, will expand the flash game on the site to full screen?

<embed class='swfgame' src='/uploads/files/2016-02/1454280171_flashplayerru_32385.swf' width='100%' height='500px' allowScriptAccess='sameDomain' allownetworking='internal' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>

If you set the width-height to 100%, then it will simply stretch in the block inside which it is located, and I need it straight from edges to edges.
Here it is probably necessary to somehow create a new object on the page and now stretch it .. but I don’t know how .. or another option?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question