dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Dynamic adverts within games

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    501

    Dynamic adverts within games

    I am planning on distributing a viral game to promote a website and would like to add my own mochiad style adverts when the game loads. The idea is to let anyone take the game and host it on their website but I still have control over the loading screen and possibly in-game adverts.

    Anyone give me any advice how to achieve this?
    Paul Steven
    http://www.mediakitchen.co.uk

  2. #2
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,379
    Maybe pull ads from a database using php in flash?
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  3. #3
    Hype over content... Squize's Avatar
    Join Date
    Apr 2001
    Location
    Lost forever in a happy crowd...
    Posts
    5,928
    You can just load a movieclip in from your server, and then put whatever you want in it, eg

    http://www.gamejacket.com/gamejacket.asp?gjid=00367

    Click on Newsfeed. That's just a swf on our server that gets loaded in. The only thing to check is the security / crossdomain.xml docs and make sure you've got that set up on your server.

    Squize.

  4. #4
    Senior Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    501
    Thanks for the replies.

    Yeah I had wondered about the cross domain issue and whether games hosted on other servers (that I do not have details of) would be able to load content in from my server. I think I need to read up on the cross domain documentation.

    Cheers
    Paul Steven
    http://www.mediakitchen.co.uk

  5. #5
    Senior Member random10122's Avatar
    Join Date
    Mar 2002
    Location
    Sheffield, UK
    Posts
    1,747
    they must be able to? otherwise gamejacket wouldn't have much of a business..

    fracture2 - the sequel
    fracture - retro shooter
    blog - games, design and the rest

    "2D is a format, not a limitation" -Luis Barriga

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center