counterbalancing in scriptingRT, and new version 0352

here is a demo how to counterbalance block order in scriptingRT.

in this example, there are two blocks of items, one instruction in the beginning, and one break between the blocks.

branching is used to influence the order of blocks. I leave the next attributes initially empty, and then fill them depending on the random number.

to do this, I had to add a new property that can be accessed by the branching operations, namely items.total. This brings us to a new version of scriptingRT0352.swc

this demonstrates the power of changing attributes at runtime. you can do this to everything that has an id. I also show this here by changing the feedbacktext.text to give feedback of overall performance in the break.

counterbalancing.htmlcounterbalancing.swfcounterbalancing.mxml

new version of the source was uploaded to github

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s