Wednesday, May 23, 2007

FMS Whiteboard some new discoveries.

1) the whiteboard component will only work if export settings are (flash player6, actionscript 1)
2) there is a GOOD whiteboard (cost US199) here, and i hope to make something like this for edulearn...
3) a good place to search for help is this forum

4) Clearing the drawings in Whiteboard component (i didint write this, i got this from here)
anyways the step to do this is
i) add the whiteboard component (name it 'wb_mc')
ii) add a 'component push button' name it 'clear_btn', then then in a new layer (name it action) and add the following actionscript:-


stop();
FCWhiteBoardClass.prototype.eraseBoard = function() {
for (var i in this.so.data) {
delete (this.so.data[I]);
}
this.so.flush();
};

clear_btn.onPress = function() {
wb_mc.eraseBoard();
};

It works! i have tested it.

No comments: