June 23, 2005
Yard Improvement
It seems that I’ve been spending less and less time on my PC at home these days now being a home-owner. Lately I’ve been focusing on getting the yard into shape, taking a bit of a break from finishing the bathroom. A lot of landscaping ahead of us—we wanna get the grass back into shape and get a flower garden going this year.
I’m doing some interesting Actionscript-related things at work these days. That module selection application that I eluded to in a prior entry is taking an interesting turn. I’m trying to do some moderately-complicated form work within Flash—form work that could be done in a heart-beat using JavaScript… but not so easy in Flash.
I’ve got two UI (User Interface) component objects and am trying to transfer selected data from comp1 to comp2 and remove data from comp2 based on which button you choose.
To transfer from one UI comp to another:
on (release) {
tempArr = new Array();
tempArr = _root.selectionBox.getSelectedItems();
for (i=0; i
}
_root.targetBox.dataProvider = tempArr;
}
Slap that code in a “transfer” button and it will copy the data from selectionBox over to targetBox. Now where I’m stuck is removing the selected data elements from targetBox. That’ll be todays’ project.

June 23, 2005, 9:05 am
Filed under: Actionscript, Flash (Macromedia), General, Home Improvement, Home Ownership
Leave a Comment
You must be logged in to post a comment.

