[LON-CAPA-users] Working with Flash in Lon Capa

Todd Ruskell lon-capa-users@mail.lon-capa.org
Wed, 2 Dec 2009 20:24:03 -0700


It sounds like what you're looking for might be some of the &EXT()
functionality.  Check out

In particular, &EXT(user.resource.resource.<partid>.<responseid>.submission)

returns the most recent submission to a response.  So, if this returns
a non-null, then the response has been answered, and you could pass
this into the flash widget upon reload.  Depending on what you wanted,
you could maybe even use this information to trigger a new starting
point of the widget after reload . . .

Todd Ruskell, Ph.D.                   Phone: 303-384-2080
Senior Lecturer in Physics          Fax:  303-273-3919
Colorado School of Mines
Golden, CO 80401

On Wed, Dec 2, 2009 at 3:34 PM, Mills, Douglas G <dmills@illinois.edu> wrote:
> Hi All,
> I've been searching the resources I'm aware of and so far have come up dry. I've been working with passing parameters from Lon Capa into Flash widgets as well as passing  values back out of the Flash movie to be evaluated in Lon Capa. That much is working, but the fact that the page reloads to evaluate the student answer means that the Flash widget is reset and, for example, student answers entered within the widget are lost in its display.  Student answers are preserved within the Lon Capa display itself, so I'm thinking there should be a way to pass that information back to Flash when the page reloads so that the student's answer continues to be displayed there.  Anyone else working along these lines and have any suggestions?  I'm guessing there is not currently a way to have the answer evaluated without the page reload, right? That I think will be the ultimate solution when using interactive Flash widgets of a greater complexity that can't as easily be restored by reading!
>  data from the page or server. Thanks,
> Doug
> Douglas Mills
> Director of Instructional Technologies
> Department of Chemistry
> University of Illinois
> dmills@illinois.edu
> (217) 244-5739
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users