User Tag List

Results 1 to 8 of 8

Thread: Custom made highscore in flash?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Custom made highscore in flash?

    I was following Jeffs guide for making a custom highscore with the Get object and a database. It works very well, but it seems to be problem with flash games that you upload to different gaming portals. There seems to be some kind of "lock" that prevents the data from being recieved. Is there any way around this or do you have to use external api:s for highscores like mochi?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    Norway
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jean Villy Edberg

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    You need to upload a crossdomain.xml file to the root of your server.

    You can make that file yourself. The file should look like this:

    <?xml version="1.0"?>

    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    -<cross-domain-policy> <allow-access-from domain="*"/> </cross-domain-policy>

    If you want only selected sites to have access, you will need to change the * with the selected domains. Google it for more infomation

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Oh, I need to try that! should I name the file crossdomain.xml? Also the root, is that the same place where i have the php files for the highscores?

  5. #5
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Usually just required where the actual SWF file is located, so same folder as the SWF.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Danny View Post
    Usually just required where the actual SWF file is located, so same folder as the SWF.
    That is not possible though if a game goes wiral and end up on thousands of different gaming portals.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    It has nothing to do with where the swf file is, since that can be on a different server entirely.
    I have the xml file in the wwwroot folder of my server, which is also where the file that the GET object communicates with is located.

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Popcorn View Post
    It has nothing to do with where the swf file is, since that can be on a different server entirely.
    I have the xml file in the wwwroot folder of my server, which is also where the file that the GET object communicates with is located.
    I have tried to get it to work but so far it does not :/ If i upload the swf to my own website it works and the scores are loaded in the game. But if I try another site like on FGL.com the scores are never recieved. I made this file and have put it pretty much everywhere in my homesite folders to be sure: https://dl.dropboxusercontent.com/u/...rossdomain.xml

Similar Threads

  1. Custom Highscore and Firewall?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 31st May 2013, 05:48 PM
  2. Custom made Fonts?
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 30th December 2010, 11:57 PM
  3. How to make a Highscore system with Flash plugin
    By Clemjere in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th December 2010, 12:07 PM
  4. Slopes for custom made platform movement
    By Langol in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th September 2007, 05:53 PM
  5. get angle of custom-made ball movement
    By Christina in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 21st September 2006, 07:54 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
  •