Is it possible to have a constant fixation cross + fading in and out of text??
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Is it possible to have a constant fixation... Expand / Collapse
Author
Message
Posted 8/28/2008 1:23:47 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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!
Post #2022
Posted 8/28/2008 8:32:17 AM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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


  Post Attachments 
Canvas.es (13 views, 19.39 KB)
Post #2025
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 5:27am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 11 queries. Compression Disabled.