W
W
WEBIVAN2013-01-23 18:41:31
JavaScript
WEBIVAN, 2013-01-23 18:41:31

How to open a new window of arbitrary size from flash?

Actually, it is required to open a SHARE link of a social network like vk.com/share.php?url=http%3A%2F%2Fexample.com&title=test
getURL from a flash, as far as I understand it does not allow you to set the width and height of the window and a priori opens it as a tab on the entire browser.
If you call javascript window.open, then in most browsers the pop-up blocker is triggered, since there is no external event such as a click on a link monitored by the browser.

Is there any option to open a new custom size window?
The only thing that comes to my mind is a link with absolute positioning on top of the flash on click on which a window is already opened via js, but in my opinion this is too perverted ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2013-01-23
@xmoonlight

The JS script code can definitely be passed to the DOM and then called from flash (as a function).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question