

<rss version="2.0"
	xmlns:atom="http://www.w3.org/2005/Atom" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
		
	<channel>
		<title>RSS Feeds :: DEVPPL - Forums > Flash Forum : Topics : Flash File Redirects</title>
	<!--<atom:link href="http://www.devppl.com/forum" rel="self" type="application/rss+xml" />-->
		<description>TOGETHER WE ARE THE BEST</description>
		<link>http://www.devppl.com/forum</link>
		<language>en-gb</language>
		<pubDate>Tue, 17 Aug 2004 14:07:13 +0100</pubDate>
		<lastBuildDate>Sat, 21 Nov 2009 09:49:39 +0000</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MSSTI v0.0.1 - (C) 2008 leviatan21 - http://www.mssti.com/</generator>
		<copyright>Copyright : (c) RSS Feeds :: DEVPPL - Tue, 17 Aug 2004 14:07:13 +0100</copyright>
		<dc:creator>webmaster@devppl.com (DEVPPL)</dc:creator>

		<image>
			<title>RSS Feeds :: DEVPPL - Forums > Flash Forum : Topics : Flash File Redirects</title>
			<url>http://www.devppl.com/forum/styles/DEVPPL/imageset/site_logo.gif</url>
			<link>http://www.devppl.com/forum</link>
		</image>
		<ttl>60</ttl>
		
		<item>
			<title></title>
			<link>http://www.devppl.com/forum/./viewtopic.php?p=24147#p24147</link>
				<description><![CDATA[I have found that code for you, the variable is simply _url, this will
return the address of the swf as a string e.g.
'http://www.yoursite.com/flash.swf'. I have also found an example of how to
use this for your flash file.
<br />
<br /><div class="codetitle"><b>Code:</b></div><div
class="codecontent">myURL = _url;<br />okDomain = "www.electrotank.com"<br
/>if &#40;myURL.indexOf&#40;okDomain&#41; != -1&#41; &#123;<br />&nbsp;
&nbsp;//Goto game or whatever<br />&#125; else &#123;<br />&nbsp;
&nbsp;//Goto warning screen<br />&#125;</div>
<br />This just simply checks to see if the okDomain is in the url and
respondes acordingly. In the same place as this i have also found a quote
"There is nothing you can do to prevent people from taking the SWF file".
Hope this helps.
<br />
<br />The code was found in Jobe Makars 'Macromedia Flash MX Game Design
Demystified' which i would recomend for anyone just starting to code in
flash, full of very good examples.
<br />
<br />Flabby Rabbit<p>Statistics : Posted by <a href="http://www.devppl.com/forum/memberlist.php?mode=viewprofile&amp;u=7034">flabbyrabbit</a> &bull; on Tue Apr 03, 2007 10:07 pm &bull; Replies 4 &bull; Views 853</p><hr />]]></description>
					<content:encoded><![CDATA[I have found that code for you, the variable is simply _url, this will
return the address of the swf as a string e.g.
'http://www.yoursite.com/flash.swf'. I have also found an example of how to
use this for your flash file.
<br />
<br /><div class="codetitle"><b>Code:</b></div><div
class="codecontent">myURL = _url;<br />okDomain = "www.electrotank.com"<br
/>if &#40;myURL.indexOf&#40;okDomain&#41; != -1&#41; &#123;<br />&nbsp;
&nbsp;//Goto game or whatever<br />&#125; else &#123;<br />&nbsp;
&nbsp;//Goto warning screen<br />&#125;</div>
<br />This just simply checks to see if the okDomain is in the url and
respondes acordingly. In the same place as this i have also found a quote
"There is nothing you can do to prevent people from taking the SWF file".
Hope this helps.
<br />
<br />The code was found in Jobe Makars 'Macromedia Flash MX Game Design
Demystified' which i would recomend for anyone just starting to code in
flash, full of very good examples.
<br />
<br />Flabby Rabbit]]></content:encoded>
					<category domain="http://www.devppl.com/forum/viewforum.php?f=45"><![CDATA[Flash Forum]]></category>
			<dc:creator><![CDATA[7034]]></dc:creator>
			<dc:date>2007-04-08T11:15:02+01:00</dc:date>
			<guid isPermaLink="false">http://www.devppl.com/forum/./viewtopic.php?p=24147#p24147</guid>
		</item>
			<item>
			<title></title>
			<link>http://www.devppl.com/forum/./viewtopic.php?p=24145#p24145</link>
				<description><![CDATA[There isnt any way to make a swf unsavable but you can add a small bit of
code which checks to see which website the flash is being run from. Then
you could have somthing like if its running from your site then run normaly
else display some message telling them "to get lost" haha. I will root out
the code for you and post it when i find it.
<br />
<br />But as doctordigital84 said they probably will already have your swf
on their server therefore this wont make any difference to them, but it
will prevent anyone taking it in the future.
<br />
<br />Flabby Rabbit<p>Statistics : Posted by <a href="http://www.devppl.com/forum/memberlist.php?mode=viewprofile&amp;u=7034">flabbyrabbit</a> &bull; on Tue Apr 03, 2007 10:07 pm &bull; Replies 4 &bull; Views 853</p><hr />]]></description>
					<content:encoded><![CDATA[There isnt any way to make a swf unsavable but you can add a small bit of
code which checks to see which website the flash is being run from. Then
you could have somthing like if its running from your site then run normaly
else display some message telling them "to get lost" haha. I will root out
the code for you and post it when i find it.
<br />
<br />But as doctordigital84 said they probably will already have your swf
on their server therefore this wont make any difference to them, but it
will prevent anyone taking it in the future.
<br />
<br />Flabby Rabbit]]></content:encoded>
					<category domain="http://www.devppl.com/forum/viewforum.php?f=45"><![CDATA[Flash Forum]]></category>
			<dc:creator><![CDATA[7034]]></dc:creator>
			<dc:date>2007-04-08T11:05:56+01:00</dc:date>
			<guid isPermaLink="false">http://www.devppl.com/forum/./viewtopic.php?p=24145#p24145</guid>
		</item>
			<item>
			<title></title>
			<link>http://www.devppl.com/forum/./viewtopic.php?p=23969#p23969</link>
				<description><![CDATA[I don't think there is any way of saving the flash file.  If there is
please tell me how I can make it not savable so that he can't steal it.  I
know for a fact that he is still using the one hosted by me because the
pictures are still the same and they include an advertisment for my site
(and when I change it, it changes on his site too).  Here is the flash
file, please tell me if there is any way to save it and how to prevent that
if it is savable:
<br />
<br />"http://www.mmstats.com/stats/stats.swf"
onclick="this.target='_blank';" rel="nofollow"<p>Statistics : Posted by <a href="http://www.devppl.com/forum/memberlist.php?mode=viewprofile&amp;u=8607">MM xSkillz</a> &bull; on Tue Apr 03, 2007 10:07 pm &bull; Replies 4 &bull; Views 853</p><hr />]]></description>
					<content:encoded><![CDATA[I don't think there is any way of saving the flash file.  If there is
please tell me how I can make it not savable so that he can't steal it.  I
know for a fact that he is still using the one hosted by me because the
pictures are still the same and they include an advertisment for my site
(and when I change it, it changes on his site too).  Here is the flash
file, please tell me if there is any way to save it and how to prevent that
if it is savable:
<br />
<br />"http://www.mmstats.com/stats/stats.swf"
onclick="this.target='_blank';" rel="nofollow"]]></content:encoded>
					<category domain="http://www.devppl.com/forum/viewforum.php?f=45"><![CDATA[Flash Forum]]></category>
			<dc:creator><![CDATA[8607]]></dc:creator>
			<dc:date>2007-04-06T04:30:23+01:00</dc:date>
			<guid isPermaLink="false">http://www.devppl.com/forum/./viewtopic.php?p=23969#p23969</guid>
		</item>
			<item>
			<title></title>
			<link>http://www.devppl.com/forum/./viewtopic.php?p=23963#p23963</link>
				<description><![CDATA[if i was your competitor, i would just download your swf and put it on my
site, so they may just already own it and you cant change it then.
<br />
<br />also, anything you would go to make it jump to your site would in
fact make your site also keep jumping to itself
<br />
<br />there are ways to check for domains within the flash, but it is not
too easy<p>Statistics : Posted by <a href="http://www.devppl.com/forum/memberlist.php?mode=viewprofile&amp;u=9288">doctordigital84</a> &bull; on Tue Apr 03, 2007 10:07 pm &bull; Replies 4 &bull; Views 853</p><hr />]]></description>
					<content:encoded><![CDATA[if i was your competitor, i would just download your swf and put it on my
site, so they may just already own it and you cant change it then.
<br />
<br />also, anything you would go to make it jump to your site would in
fact make your site also keep jumping to itself
<br />
<br />there are ways to check for domains within the flash, but it is not
too easy]]></content:encoded>
					<category domain="http://www.devppl.com/forum/viewforum.php?f=45"><![CDATA[Flash Forum]]></category>
			<dc:creator><![CDATA[9288]]></dc:creator>
			<dc:date>2007-04-06T03:35:48+01:00</dc:date>
			<guid isPermaLink="false">http://www.devppl.com/forum/./viewtopic.php?p=23963#p23963</guid>
		</item>
			<item>
			<title>Flash File Redirects</title>
			<link>http://www.devppl.com/forum/./viewtopic.php?p=23701#p23701</link>
				<description><![CDATA[Is there a way to make a flash file whos only purpose is to redirect to
another page.  My compeditor's site currently has a flash file embeded on
it which is hosted on my site that I don't want them to have.  I was just
woundering if there is a way for me to change that flash file to redirect
to my own site?  If so, what programs would I need to do this?  (I have
never tried to create a flash file so I have no idea how to do this (the
one on my site is one that someone gave to me before his site shut down to
use on my own)).<p>Statistics : Posted by <a href="http://www.devppl.com/forum/memberlist.php?mode=viewprofile&amp;u=8607">MM xSkillz</a> &bull; on Tue Apr 03, 2007 10:07 pm &bull; Replies 4 &bull; Views 853</p><hr />]]></description>
					<content:encoded><![CDATA[Is there a way to make a flash file whos only purpose is to redirect to
another page.  My compeditor's site currently has a flash file embeded on
it which is hosted on my site that I don't want them to have.  I was just
woundering if there is a way for me to change that flash file to redirect
to my own site?  If so, what programs would I need to do this?  (I have
never tried to create a flash file so I have no idea how to do this (the
one on my site is one that someone gave to me before his site shut down to
use on my own)).]]></content:encoded>
					<category domain="http://www.devppl.com/forum/viewforum.php?f=45"><![CDATA[Flash Forum]]></category>
			<dc:creator><![CDATA[8607]]></dc:creator>
			<dc:date>2007-04-03T22:07:57+01:00</dc:date>
			<guid isPermaLink="false">http://www.devppl.com/forum/./viewtopic.php?p=23701#p23701</guid>
		</item>
	
	</channel>
</rss>