New Combo Box
Watch me walk through the functionality of and code for a new type of combo box we are creating for a client:
NOTE: this is a beta version, there may be bugs! Act accordingly if you choose to use this code.

Watch me walk through the functionality of and code for a new type of combo box we are creating for a client:
NOTE: this is a beta version, there may be bugs! Act accordingly if you choose to use this code.


By being binary (staying within the Rev engine as much as possible) you can extract the parent group of any object with just a few lines of code and NO repeat loops or complicated, incrementing offset functions.
Here's what you need to do:
I'd recommend this script...
put the id of this cd into theCdID
put getSelectedImages(theCdID) into theImageNames
put getMyImageIDs(theImageNames) into theImageIDs
...over this script...
put getMyImageIDs(getSelectedImages(the id of this cd)) into \
theImageIDs
...any day of the week.
My recommended script — though more verbose — is nevertheless the kind of code that builds the value of your app as an ongoing asset for four reasons:
You may be wondering, however, if verbose code runs slower. The answer is: not to any degree that a user would ever notice or measure. How about in a lab? Repeat loops may run some millisecs slower, but, the gains are well-worth such a teeny trade-off.

The first step to writing great Revolution scripts is often relegated to after-thought. I'm referring here to the naming of things. What's the big deal?
As a product publisher or project manager, you oversee three basic activities:

Design is a process that iterates between vision and prototype until you feel the design will be well accepted by its end-users. Development iterates between building and testing until the level of bugs is low enough to deploy the app to the end users. Design begets a prototype; development begets an executable; deployment begets a group of users.
A more detailed view of the lifecycle:
This whole process iterates throught versions of the app which follow a product or project roadmap. Pretty simple, but once engaged in the minutiae, it's very easy to lose your way. As a publisher or manager, its your job to keep the faith and keep your eye on the spitball — which is what this cycle looks like if you squint at the diagram shown above.