TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Other Topics
→
Shared Resources
→
Bundled Behaviors
→
Open URL in browser gets blocked by pop-up blockers.
Pages:
1
Open URL in browser gets blocked by pop-up blockers.
pyshka
Posts: 23
January 29, 2013, 10:56:07 pm
Is there any solution to opening URL in a new tab (maximized, not pop-up window)? Pop-up window gets blocked by Chrome's blocker. I saw that rob1221 has made a behavior to tackle this problem in 2.2, can we have some solution or control over the open URL block in 3.0?
Jon
Posts: 17524
January 29, 2013, 11:04:22 pm
Currently, we're using this which is pretty much a textbook Flash approach:
Lib.getURL(new URLRequest(URL));
I'm happy to change it to a different thing, if I can procure the details.
rob1221
Posts: 9473
January 29, 2013, 11:57:52 pm
My behavior doesn't change how the URL is opened, but what triggers it, a click event listener. AFAIK it's a security thing.
https://twitter.com/Rob1221dev
pyshka
Posts: 23
January 30, 2013, 01:41:17 am
Yes, basically all I need is an event listener. I've tried to edit AS behavior of yours without any luck. Any plans on translating that so it works on 3.0?
rob1221
Posts: 9473
January 30, 2013, 08:47:36 pm
Yeah, try this and see if it solves the problem.
https://twitter.com/Rob1221dev
pyshka
Posts: 23
January 30, 2013, 10:33:29 pm
Thank you for your help! You attached just an icon though, not the behavior
There is just an icon attached on your 2.2 post as well.
rob1221
Posts: 9473
January 30, 2013, 10:41:27 pm
That's how behaviors are imported/exported, as PNGs.
https://twitter.com/Rob1221dev
pyshka
Posts: 23
January 30, 2013, 11:12:53 pm
Sorry, never tried to import behavior before. Thanks for your help once again, it works and it will be useful to a lot of people, as this question pops up a lot in the forums.
« Last Edit: January 30, 2013, 11:34:58 pm by pyshka »
makarone
Posts: 15
May 08, 2014, 05:44:33 am
Hey Rob, thanks for the behaviour!
Is it possible to make links work in IE11? It's still blocks the outgoing links ;(
How can i edit it for ie?
Btw cpmstar links work fine in ie11, no blocks.
rob1221
Posts: 9473
May 08, 2014, 06:09:07 am
I haven't heard about that problem before and I don't know why it isn't working.
https://twitter.com/Rob1221dev
makarone
Posts: 15
May 08, 2014, 07:32:36 am
please try this link in IE11
http://miniduck.ru/link/
without html file it works good
http://miniduck.ru/link/bub.swf
in other browsers it's also work fine.
It would be awesome to find a solution!
UPD:
Everythinhg works fine.
Seems like it was bad html file.
« Last Edit: May 10, 2014, 03:46:34 am by makarone »
Pages:
1