cribeaud@predict.ch
07-29-2001, 10:03 PM
Hi,
I am using the following script to load 2 variables: 'text' and 'v' in the target "/keyword3":
onClipEvent (load) {
var i = 3;
// if variables already written in URL, use
// loadVariablesNum
loadVariablesNum ("http://www.predict.ch/flash/keyword.php4?i="+i,"/keyword"+i);
xPosInit = getProperty("/keyword"+i, _x);
xPos = xPosInit;
}
onClipEvent (enterFrame) {
if (Math.abs(xPosInit-xPos)<550) {
xPos += v;
setProperty ("/keyword"+i, _x, xPos);
}
}
If I type "http://www.predict.ch/flash/keyword.php4?i=3" in the url, I get the following text: "text=Knowledge+Discovery&v=5". But neither the variable 'text' nor the variable 'v' seems to have been loaded in the instance "/keyword3". I would be very grateful if someone could help me. All files reside at http://www.predict.ch/flash/.
Yours faithfully,
christian
I am using the following script to load 2 variables: 'text' and 'v' in the target "/keyword3":
onClipEvent (load) {
var i = 3;
// if variables already written in URL, use
// loadVariablesNum
loadVariablesNum ("http://www.predict.ch/flash/keyword.php4?i="+i,"/keyword"+i);
xPosInit = getProperty("/keyword"+i, _x);
xPos = xPosInit;
}
onClipEvent (enterFrame) {
if (Math.abs(xPosInit-xPos)<550) {
xPos += v;
setProperty ("/keyword"+i, _x, xPos);
}
}
If I type "http://www.predict.ch/flash/keyword.php4?i=3" in the url, I get the following text: "text=Knowledge+Discovery&v=5". But neither the variable 'text' nor the variable 'v' seems to have been loaded in the instance "/keyword3". I would be very grateful if someone could help me. All files reside at http://www.predict.ch/flash/.
Yours faithfully,
christian