Jump to content

A Link To My Content


jamesbrauman

Recommended Posts

On my website, I have alot of flash content (games, animations etc). I want to provide some code that others can put on thier webpages that will embed the flash content into thier page. BUT, instead of just providing code such as

<embed src="...

I want to provide some javascript, so that when they embed the javascript code on their site like this:

<script src="http://www.mysite.com/exampledirectory/some_javascript.js"></script>

The flash movie will automatically be embedded on thier website, but a link back to my site will also be embedded (this is because they are using my bandwidth).

 

How can I write a javascript file that will do this? Thankyou.

Link to comment
Share on other sites

why not add a scene in front of all your content that advertises who you are/your site's location?

 

anyone can rip your swf (unless you block them from doing it), and only the nice ones would follow your instructions to linkback to your site.

 

The best way, if possible is to have one movie that serves all your flash games, and on the bottom of your deliver movie, have a section with a link to your site.  I'm not a flash expert, so I don't know the implications of trying to have one flash movie call another, but if it is doable, that would be your safest way to ensure your site is shown while they play their game:

 

[g] = game movie

 

[ [d] ]  deliver movie

[----]

 

->

[[g]]

[---]  <-- have a link footer

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.