More in this section

Forums / Developing with Sitefinity / Getting problem with flash game

Getting problem with flash game

2 posts, 0 answered
  1. citytech team1
    citytech team1 avatar
    16 posts
    Registered:
    17 Sep 2009
    22 Oct 2009
    Link to this post
    Hi support,
    We are facing another problem with flash, we have some flash game for children .
    Here is the url for game location
    http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/games

    there are 3 games if you click on one link it will open a new window to open game.
    say i am clicking on Match link. It will open
    http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/match1
    first flash file is opening fine. but if a chose a game from the list it is not working.

    If you open the source of this page [http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/match1]
    you will find
    var so = new SWFObject("../../../resources/flash/games/match/en/match.swf", "game", "800", "600", "8", "fff");
    as source of the file.
    if you hit directly this url in browser [replaceing match1 with "../../../resources/flash/games/match/en/match.swf")
    url will be  like 
    http://beeah-uae.com.temphostspace.com/resources/flash/games/match/en/match.swf
    and  here you can play game, no problem occur .

    As i informed from our Design team match.swf is calling 16.swf,24.swf,36.swf internally [these files are actual game file]

    Now please tell me is this happening due to url rewriting? or any thing else.
    Please help, we are using sitefinity 3.7.

    Thanks and Regards
    Citytech Development Team
  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    29 Oct 2009
    Link to this post
    Hi citytech team1,

    We tested the link you sent and here is what I found:

    Trash
    URL from the main page:
    http://www.beeah-uae.com.temphostspace.com/resources/flash/games/trash/en/Trash-Game-new.swf
    Actual working URL:
    http://www.beeah-uae.com.temphostspace.com/resources/flash/games/trash/en/Trash-Game-new.swf

    Clean the Park:
    URL from the main page:
    http://beeah-uae.com.temphostspace.com/resources/flash/games/clean/en/CleanPark.swf
    Actual working URL:
    http://beeah-uae.com.temphostspace.com/resources/flash/games/clean/en/CleanPark.swf

    Match:
    URL from the main page (non-working):
    http://beeah-uae.com.temphostspace.com/resources/flash/games/match/en/match.swf
    Actual working URL:
    http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/match1

    As you can see, the only difference I found is in the Match game URLs. I have attached two screenshots which show that for some reason the javascript file is not loaded in the non-working URL. You will need to compare the way these two URLs are working; we are also not aware of how you are doing a URL rewriting.
    Let us know if you have more Sitefinity-specific questions regarding this issue.

    Greetings,
    Sonya
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered