User Tag List

Results 1 to 10 of 10

Thread: newgrounds blocking links and mouseclick

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Exclamation newgrounds blocking links and mouseclick

    Hey! i was supposed to finally submit my latest big project (http://www.boundling.com) on newgrounds.
    But when i am testing it in preview, the links won't work! and not only are the links blocked, but also the 'go to frame' action triggered by that same mouseclick condition!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    oruga's Avatar
    Join Date
    Feb 2012
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use the Flash URL extension for all links. Links don't work when you try your game running it from MMF2. You have to build your swf app and try that.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    It doesn't work right.. it might be conflicting with the flash object somehow.
    i have an event "always" - "remove mouse listener" on the top.
    and then i have the set url and mouse listener when overlapping links

    if i click anywhere in the frame it opens a link, EXCEPT when i click on the actual link :/
    when i followed the example with limit condition once and add/remove it didnt work either

    when you click the link, it also goes to another frame, the other frame has the open url object as well, and i put in a 2 frame delay between clicking the link and changing the frame, but it still messes up and allows you to click anywhere on the new frame to open the link, and the link doesn't open when you first click it..

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SoftWarewolf View Post
    It doesn't work right.. it might be conflicting with the flash object somehow.
    i have an event "always" - "remove mouse listener" on the top.
    and then i have the set url and mouse listener when overlapping links

    if i click anywhere in the frame it opens a link, EXCEPT when i click on the actual link :/
    when i followed the example with limit condition once and add/remove it didnt work either

    when you click the link, it also goes to another frame, the other frame has the open url object as well, and i put in a 2 frame delay between clicking the link and changing the frame, but it still messes up and allows you to click anywhere on the new frame to open the link, and the link doesn't open when you first click it..
    Newgrounds blocks all outgoing links. They should work on other domains.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I finally fixed it! and with multiple work-arounds, links open just fine on newgrounds, and if there is an actual popup-blocker on a site, it should still display the url in the game so you can copy-paste it. phew!.. the test works, but i still need to implement it on all the links.. i'll post here when its published so you perhaps can help me with some 5 stars etc

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    As promised, it's now released on newgrounds! http://www.newgrounds.com/portal/view/600796
    Some 5-votes now in the beginning would be very helpful thank you!

  7. #7
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)HTML5 Export Module (Steam)
    RockyRaccoon's Avatar
    Join Date
    Jul 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have a 5! (and my non-ad blocked visit!)

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SoftWarewolf View Post
    As promised, it's now released on newgrounds! http://www.newgrounds.com/portal/view/600796
    Some 5-votes now in the beginning would be very helpful thank you!
    Voted 5 for you!

  9. #9
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What was the workaround you used? I am also having some of those same issues with flash url.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    well.. i used the expired supposedly very unstable flash hax extension, but i had much more issues with crashes etc using flash url, and flash hax just makes more sense because i can actually just use a custom "clicked" event instead of the pre-set area.

    What solved it for me is the realization that a link click is measured as "mouse up" event and not "mouse down" which the regular "left click" event measures. So i couldn't change the frame on a "left click" condition without messing it up.
    So i made a custom system with these 5 events to detect a mouse-up event: (a very uncomfortable procedure, that must be in the right order)
    flag 2 on: set flag 3 on + set flag 2 off (makes a 1 frame delay)
    mouse click: set flag 1 on. (mouse down)
    flag 1 on + repeat while left mouse button pressed (negate): set flag 1 off + set flag 2 on (mouse-up event)
    flag 3 on + mouse over object: go to backup system url display (this is the actual mouse up event, that triggers 1 frame after the original flash link click)
    always: set flag 3 off (resets if the player clicked somewhere else)

    However on a hacked version of my game on a chinese site, (infinite lives hack) this backup system got blocked as well.. but i don't know if it was because they changed something (removed the entire display url frame f.ex) or if this system just doesn't work 100%. However on the same site on the normal version, it works.

Similar Threads

  1. Blocking Animation
    By Jayboi in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th April 2011, 03:25 PM
  2. Simulate a mouseclick at game window X, Y
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th May 2010, 10:57 PM
  3. re: Detect mouseclick within tree control object?
    By ClickerGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd December 2009, 03:55 PM
  4. Catch mouseclick and play sample
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th May 2009, 11:36 AM
  5. Blocking Overlaps with an Object
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th April 2007, 04:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •