RE: Help creating my first script
You're using the variable contactsname inside the flash() function while it was defined inside the OnEvent_Initialize function. If you define a variable inside a function it means that it's a local variable, and it won't exist outside of the function it was declared in. It won't exist inside flash().
To fix this, declare contactsname outside of all functions with the "var" keyword and don't use "var" inside OnEvent_Initialize.
This post was edited on 07-22-2006 at 09:31 PM by Aeryn.
|