;

PDA

Click to See Complete Forum and Search --> : Another Question -,-


-Mystikal
08-20-2005, 12:24 PM
I cant seem to get any scripts working for me... I have a flash where you click and a dot comes up. I want it so that i click then when i click again the previous dot disappears :S ive looked around i found nothing.
pls help if youve got spare time thanks :D

w.brants
08-20-2005, 01:24 PM
I cant seem to get any scripts working for me...

Most of the times a question in this form won't result in a solution for your problem.

KoolMoves is a great application and you can do a lot using actionscript but not 100% of the actionscript language is implemented in KoolMoves. Most of the times there are workarounds and more experienced users can often help you find one if you post the code that is causing problems.

When you are trying code you found on the net or in a book there is a chance it won't work. Only one command in the code that isn't implemented is enough to cause such a problem.

Wilbert

FLASHPULSE
08-20-2005, 04:53 PM
I think there is only a few missing. Maybe there should be a sticky or something of the ones that aren't.

tmoore935
08-20-2005, 09:25 PM
..

tmoore935
08-20-2005, 09:26 PM
Like this?

http://www.diversioncentral.com/shoot.html

w.brants
08-21-2005, 04:56 AM
Maybe there should be a sticky or something of the ones that aren't.

That's a great idea Joe. Here are already a few I know of that aren't implemented...Actionscript 2 is unimplemented

Unimplemented actionscript 1

%= (modulo assignment)
&= (bitwise AND assignment)
^ (bitwise XOR)
^= (bitwise XOR assignment)
|= (bitwise OR assignment)
~ (bitwise NOT)
<<= (bitwise left shift and assignment)
<> (inequality)
>>= (bitwise right shift and assignment)
>>>= (bitwise unsigned right shift and assignment)

switch
case
* a workaround for switch/case is to rewrite the code with if/else if

add can be replaced with +
gt can be replaced with >
lt can be replaced with <
ne can be replaced with !=
not can be replaced with !
or can be replaced with |
and can be replaced with &

#endinitclip
#initclip
super
* these are advanced commands for use with the symbol library. Most users won't need them.

void
* not very often used I guess. Void(x) returns 'undefined'.

throw
try
catch
finally
* used for error handling.

trace
* used to output a result for debugging.