If I
understand what you're trying to do correctly, replace the first line in
your function with:
object = eval("ml" + Z + Y +
'0');
[Jack_Speranza]
-----Original Message-----
From: Terry Valladon [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 4:53 PM
To: '[EMAIL PROTECTED]'
Subject: [Dynapi-Help] Basic Javascript question
From: Terry Valladon [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 4:53 PM
To: '[EMAIL PROTECTED]'
Subject: [Dynapi-Help] Basic Javascript question
I have a basic javascript question here... please forgive me =:)
I have the following code:
Z = 0
Y = 5
Loc4 = 7
Ydraw(Z, Y, loc4);function ydraw(Z, Y, loc4){
object = "ml" + Z + Y + '0';
object.setBgImage(ground[loc4]);
}
this is not working.. (surprise) so my question is how can I do something like this?
Up above this is have ml050 as a DynLayer.
Thank you for your help
Terry
***********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. This footnote also confirms that this email
message has been swept for the presence of computer viruses.
***********************************************************************
