Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 7 of 7

Thread: Recording trial-based responses from Flash (case 434)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2012
    Posts
    4
    Hi Blair,

    I appreciate your advice so far.

    Ok, so I've managed to embed a Flash-based visual-task file inside a Custom Item (HTML file), and have it re-load the page with a POST request containing the appropriate variables (I have 2 of them in each Flash-based trial: "xPos" & "Side"). Doing this outside of MediaLab, in the latest versions of Chrome or Firefox for example, works perfectly, and I can see both variables showing up as $_POST variables in a PHP echo.

    However, when running a questionnaire in MediaLab 2008, I encounter 2 serious problems:
    1. MediaLab keeps crashing (100% of the times) right after the POST submit (even though it first notifies me to "Please inform the experimenter that you have completed this portion of the session").
    2. Looking at the results table in Excel, I see the variable *names* showing up instead of their *values*. So it doesn't seem to be intercepting the data.

    I suspect the first problem has to do with MediaLab's built-in IE browser. Is it possible to force the questionnaire to load my HTML in a different browser?

    I'm also attaching the questionnaire file I'm using. I'd be grateful if you could take a look at it and tell me what I'm doing wrong.

    - Thanks, Ziv
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2012
    Posts
    4
    Nevermind, I solved it!
    Instead of having the Flash script itself initiate a POST request, it's now passing the parameters to the client-side JS, and that code submits a hidden form.

  3. #3
    Join Date
    Jul 2012
    Posts
    4

    (case 35)

    zlevin, as a Flash guy myself, I'd appreciate any code or source files you're willing to share. I imagine I'll be doing this in the near future.

    my email is
    sdavis at mays dot tamu dot edu
    Last edited by jason_reed; 10-15-2013 at 05:43 PM.

Similar Threads

  1. Skip patterns based on previous responses (case383)
    By KMikolow in forum MediaLab Older Versions: How Do I...
    Replies: 4
    Last Post: 09-11-2014, 09:55 AM
  2. Skipping based on previous responses
    By shendric in forum DirectRT Older Versions: How Do I...
    Replies: 7
    Last Post: 07-28-2014, 07:41 PM
  3. How Do I Skip Based on Responses in a Certain Range?
    By hcdevlin in forum MediaLab Older Versions: How Do I...
    Replies: 0
    Last Post: 09-25-2011, 08:51 AM
  4. stimuli presentation based on previous responses
    By M.Cohen in forum DirectRT Older Versions: General Questions
    Replies: 0
    Last Post: 08-18-2011, 12:54 PM
  5. printing responses based on scoring of questionnaires
    By dkparker in forum Pre-Sales and Licensing FAQ
    Replies: 1
    Last Post: 03-26-2009, 03:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •