|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/12/2008 11:56:25 AM
Posts: 9,
Visits: 40
|
|
Hi,
I've been pondering over this for a while now.. but I do not know any solution. What I have is a memory experiment in which words, each preceded by a fixation cross, are being displayed on the screen in the study phase.
I would like to have it such that the fixation cross is on the screen - such that it does not 'flash' on and off before and after the text display with a word is presented. if possible, a word fades in and covers the cross (i.e. cross should not be seen) and then it fades out to reveal the cross still there; it does not 'flash' on again.
Any idea how? Any comments would be greatly appreciated!
|
|
|
|
|
Forum Guru
      
Group: Moderators
Last Login: 10/30/2008 3:23:17 PM
Posts: 127,
Visits: 924
|
|
Hello,
This could be done by continuously altering the RGB value of the text color. For example, you would have the RGB value of the text start at "255,255,255" (i.e., white) and then gradually decrease the RGB values until you reach the target color (e.g., "0,0,0" for black). The screen would need to be redrawn each time a new RGB value was assigned.
RGB values can be specified using the Canvas object or by directly changing the value in the ForeColor property of a TextDisplay object or SlideText sub-object (though the default values for the ForeColor property are names of certain colors, you can specify an RGB value instead). The attached Canvas.es experiment demonstrates how this is done via the Canvas object. This is a simple task in which the subject is required to press the spacebar when the two shapes are the same color.
If you are unfamiliar with using the Canvas object, I would recommend looking at the Canvas topic in the E-Basic Help (accessed via the Help menu in E-Studio).
Please let me know if you have any questions.
- Matt
PST Technical Consultant
http://pstnet.com
|
|
|
|