Search found 25 matches

by JamesWebster
Sun Oct 28, 2012 12:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: player - strange Video behaviour before stop
Replies: 4
Views: 3691

player - strange Video behaviour before stop

Hi everyone!, I encountered a problem with the player object. When I try to play a Video, it plays fine till it is almost finished. Then the Video freezes like half a second before it is supposed to end and then skips right to the end. I tried to mask the player with a graphic "rectangle" (in the "o...
by JamesWebster
Sun Jan 15, 2012 3:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: On Playerstop function & Counter
Replies: 4
Views: 3098

Re: On Playerstop function & Counter

Hi Bernd, thank you very much for your help, it's working perfectely! :) It would help if you made a stack that isolates the problem with maybe 2 cards and the option to choose a movie file for test1 and test2. Add the count down. See if the script fails and then post just that small stack that ever...
by JamesWebster
Sat Jan 14, 2012 10:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: On Playerstop function & Counter
Replies: 4
Views: 3098

On Playerstop function & Counter

global Videos #just defining the variables I'm using global Testphase global TrialreihenfolgeZeit global TrialreihenfolgeAuswahl global Läufer global Timer local filepath local Alt On Preopencard #just putting things in order, so the user can only see the player put 0 into Alt put specialFolderPath...
by JamesWebster
Fri Dec 02, 2011 1:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: unintended afterimage of player
Replies: 4
Views: 3672

Re: Using a Counter and a Next button

Hey cbodell, thank you, being more specific worked!, but now I have another problem with the player: i'm going from card 1 to 3 and back to 1. On card 2 and 3 are videos. After I click the next button to get to the first card again the Player still shows for a few seconds and then vanishes. I don't ...
by JamesWebster
Tue Nov 29, 2011 6:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: unintended afterimage of player
Replies: 4
Views: 3672

unintended afterimage of player

Hi everyone, this time my goal is to create a stack which contains only three stacks but can use different arrays of Videos to process. That's why I'm always going from card 1 to 2 to 3 and back to card 1. After an Introduction one is supposed to see a Video, then rate it within a certain time limit...
by JamesWebster
Sun Sep 11, 2011 1:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: UserInput Mouseup and Doublemouseup
Replies: 49
Views: 28904

Re: UserInput Mouseup and Doublemouseup

Hey Craig, On MouseUp wait 20 If the Mouseclick is true then put "mismatch" into Antwort #double click answer "doubleclick" Else put "match" into Antwort #click answer "click" End if end MouseUp This works only on a limited basis - If I don't input anything, it still answers "click" even though it's...
by JamesWebster
Sat Sep 10, 2011 7:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: UserInput Mouseup and Doublemouseup
Replies: 49
Views: 28904

Re: UserInput Mouseup and Doublemouseup

Hi everyone, Sorry about the file! - Actually I've created an english commented version with just the necessary card. I've corrected the upload! If you open the card, you can see that letters are shown. While showing a letter until the next is shown the userinput is supposed to take place. If you cl...
by JamesWebster
Sat Sep 10, 2011 8:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: UserInput Mouseup and Doublemouseup
Replies: 49
Views: 28904

UserInput Mouseup and Doublemouseup

Hello, I've been working on the project, I've already posted once. The first part is now fully functional. What I'm worrying about is the User input part. It doesn't work it's supposed to. If you doubleclick it's supposed to say mismatch as the answer. If you click it's supposed to say match as the ...
by JamesWebster
Mon Aug 15, 2011 10:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: nback-task Array with fixed number of matches
Replies: 25
Views: 14811

Re: nback-task Array with fixed number of matches

Hi Bernd, again thank you very much - for other cards in the stack I've found another way, which enables me to show the user the time that's passing and not use to much resources with the "send" command. A simple repeat loop does the trick. Something like: On Counter repeat with a=1 to p put a into ...
by JamesWebster
Sun Aug 14, 2011 9:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: nback-task Array with fixed number of matches
Replies: 25
Views: 14811

Re: nback-task Array with fixed number of matches

Hi Bernd, thank you very much. Actually I noticed some of those mistakes myself, e.g. not properly initializing the Fehleranzahl array - I even found the Wait with messages command before I've tried to take another look into the forum. The script works, but it's still supposed to wait for 2500 secon...
by JamesWebster
Sun Aug 14, 2011 6:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: nback-task Array with fixed number of matches
Replies: 25
Views: 14811

Re: nback-task Array with fixed number of matches

Ok, I've put the problem into a short code, which is working except for me using wait, which would hinder the User to answer while the letter is shown. It's supposed to show the letter for 500 ms, put empty into the field and wait for another 2,5 seconds. local asd local aktuell local x On Preopenca...
by JamesWebster
Sun Aug 14, 2011 10:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: nback-task Array with fixed number of matches
Replies: 25
Views: 14811

Re: nback-task Array with fixed number of matches

Hi Bernd,

I attached the files. And I'm working with field ids since sometimes it gives me an error for working with field names.

with kind regards
James
by JamesWebster
Sun Aug 14, 2011 10:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: nback-task Array with fixed number of matches
Replies: 25
Views: 14811

Re: nback-task Array with fixed number of matches

Hi Bernd The whole code is: local tOutput local aktuell local totallaenge global Fehleranzahl local xback local Antwort On Preopencard local tAChar local abc local matches local tCollect local gematched    put "BCDFGHJKMNPQRSTVXZ" into abc #start Values    put 2 into xback    put 3 into matches    p...
by JamesWebster
Sun Aug 14, 2011 8:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: nback-task Array with fixed number of matches
Replies: 25
Views: 14811

Re: nback-task Array with fixed number of matches

Hi Bernd, thank you very much. This works just fine. Now it's the next stage of the project which troubles me at one point. I've modified your script so the Lower case isn't assigned to a match any more and replaced the handler with preopencard. split tOutput with space put 0 into aktuell put 0 into...
by JamesWebster
Sun Aug 14, 2011 8:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: nback-task Array with fixed number of matches
Replies: 25
Views: 14811

Re: nback-task Array with fixed number of matches

Hi Bernd, thank you very much. This works just fine. Now it's the next stage of the project which troubles me at one point. I've modified your script so the Lower case isn't assigned to a match any more and replaced the handler with preopencard. The problem at this point is that it doesn't show the ...