SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jan 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do i add a html link to a flash game, help please

    Hi, if you look at this page here
    http://www.rubbish.net/recyclegame.htm

    Do you see the small html link rubbish.net at the bottom of the game.

    I have developed about 6 games i want to give away for free for webmasters to download and use on their site.

    Trouble is most will knock the link back to my site out.

    I want to be able to lock a html link into the flash movie so no one can remove, but must me a html link so search engines can crawl the link.

    Any advice thanks Guys

  2. #2
    SitePoint Member
    Join Date
    Jan 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    come on someone must know, cheers guys

  3. #3
    SitePoint Member
    Join Date
    Jan 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone please

  4. #4
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,559
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    The link in that page isn't in the swf, it's just in the html?
    You could:

    a) supply a copy and paste javascript that allows embedding. In this javascript have a function that can be called which will write the link into the page below the swf via the dom, and return success. Obfuscate the function, and call from the swf via externalInterface. Call the function from the swf when it loads, If the call fails, don't allow the swf to play.

    b) have the link within the swf and hope google's newly improved swf processing picks up the link.

    There's no full proof way of making sure the link stays, a determined person will remove it if they really want to. You can encrypt the swf e.f (swfencrypt) but that would possibly break method b. You might consider adding mochibot (swf tracking) and perhaps mochiads (game advertising revenue). Good luck with the games.

  5. #5
    SitePoint Zealot Bannaz's Avatar
    Join Date
    Apr 2002
    Location
    United Kingdom
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, as EastCoast mentions the link isn't actually in the swf so you need to change the HTML.
    Bannaz - Flash Banner Design
    █ Leading designers in online advertising.
    www.bannaz.com


Bookmarks

Posting Permissions

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