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
https://forums.phpfreaks.com/topic/125445-a-link-to-my-content/
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
https://forums.phpfreaks.com/topic/125445-a-link-to-my-content/#findComment-649136
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.