the second instance 'probably' has quotes put in around it versus the first which you put in without quotes. I don't know this but have been stumped by the quote thing before.

Tom

On Jan 4, 2004, at 5:13 AM, Scott Rossi wrote:

On 1/4/04 1:47 AM, "Doug Lerner" <[EMAIL PROTECTED]> wrote:

I have the following statement in my handler:

set the foregroundColor of the last line of field "chatField" to msgColor

If I manually set the variable msgColor beforehand to "#000000" it works
fine.


But if I take the value of msgColor from an array element (I think this is
what is causing the problem) I get the following error:


Type Chunk: can't set attributes
Object mainCard
Line set the foregroundColor of the last line of field "chatField" to
msgColor
Hint #000000


You can see that the value of msgColor is the same as in my manual test. And
I logged it to make sure there were no extra characters in the color string.


Could the mere fact that the value came from an array element be causing the
problem? I don't see why...

Have you tried setting the textColor as opposed to the foregroundColor?


Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2



Advanced Media Group Thomas J McGrath III • 2003 • [EMAIL PROTECTED] 220 Drake Road, Bethel Park, PA 15102



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to