User Tag List

Results 1 to 3 of 3

Thread: domain check for Kongregate

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jul 2010
    Location
    Belgium
    Posts
    246
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    domain check for Kongregate

    Hey,

    I'm using CPMStar ads in my latest game (thank you Steven) , but I got a question someone on these forums might be able to answer.
    Since Kongregate doesn't allow CPMStar ads, I wanted to filter their domain out.
    I checked the domain as I do with FGL, and it always worked there. But it won't work on Kongregate.
    What I'm doing is this:

    Right$(GetWindowDomain$( "Flash® Player" ), Len("kongregate.com")) = "kongregate.com"
    -> go to frame 2 (start the game/skip the ad)

    I have done this for the following domains:
    flashgamelicense.com
    .flashgamelicense.com
    chat.kongregate.com
    .chat.kongregate.com
    kongregate.com
    .kongregate.com
    cdn2.kongregate.com
    .cdn2.kongregate.com
    cdn3.kongregate.com
    .cdn3.kongregate.com

    Still, when I upload the game, it doesn't skip the CPMStar ad on Kongregate, but it does on FGL.
    Are there any more domains of Kong I need to crosscheck?

  2. #2
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: domain check for Kongregate

    It seems that GetWindowDomain$() returns an empty string when the embedding and hosting domains of the .swf file are different. You should try to use GetDomain$() instead.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jul 2010
    Location
    Belgium
    Posts
    246
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: domain check for Kongregate

    Thank you very much. That did the trick. I must keep this in mind for future games

Similar Threads

  1. Faster to run always check distance vs always check collision?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 18th September 2013, 08:28 PM
  2. Domain locking a flash app with MMF?
    By 300happy in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 18th September 2010, 09:40 AM
  3. Domain based values
    By DJFuego in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2009, 08:05 AM
  4. Hosting a MOS on a domain?
    By DeepGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 4th October 2006, 12:02 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
  •