PDA

View Full Version : Can anybody help me?


Brute Forcer
01-01-2001, 04:53 PM
HI there
--------
I tried to protect my movie with this simple script...


------------------------------------------------------------
if (Substring (_url,1,30) eq "http://mydomain.de/flash/first.swf") {
gotoAndStop (7);
} else {
}
gotoAndStop (8);
------------------------------------------------------------

but it always shows me Frame 8 if i tried it on my server what did i wrong?

Akane
01-01-2001, 05:43 PM
hi !
i am not sure , but you pb may be this one :
_url is not a variable, but a property
set first a variable like this : setvariable myurl=_url

then

if (Substring (myurl,1,30) eq "http://mydomain.de/flash/first.swf") {
gotoAndStop (7);
} else {
}
gotoAndStop (8);

Brute Forcer
01-01-2001, 06:18 PM
Thanks Akané

But ive found my misstake LOL i wrote Substring,but it is called substring ;-) o.k thanks anyway for ure fast reply.