Machsupport Forum
Mach Discussion => Mach Screens => Flash Screens => Topic started by: ger21 on June 30, 2008, 07:48:09 PM
-
Any ETA on the new documentation?
-
John Guenther
'Ye Olde Pen Maker'
Sterling, Virginia
will be doing the documantation I am not sure on the ETA.
-
Thanks, Jason. I thought you were doing them. John posts on the Yahoo group, So I'll check there. Thanks again.
-
I am working on the Flash documentation, I have worked out a tentative schedule with Brian Barker to have them done by the end of the year. I plan on producing a set of documents that are aimed at Mach3 Flash screens, they will not be a "how to program in Flash" tutorial, there plenty of books on Flash already. The idea here is to provide examples of how to use flash with Mach3 to produce screens.
If any of you have examples that you think would be nice to have in the documentation, please contact me off list at j.guenther@verizon.net.
Thanks,
John Guenther
'Ye Olde Pen Maker'
Sterling, Virginia.
-
Why not simply a wiki... Fills continuously and doesn't (well... should not...) get out of sync with the releases and or product updates.
Lemo
-
John,
Note to let users know to NOT use the "Refreash" functions on screens with a lot of LEDs, as of hard experience this WILL crash Mach3. Jason said to individually control each LED so that only those that change will update, on the page or when landing on the page.
Here is an example for the X axis LED.
//////////////////////////////////////////////////////////////////////////////////LED XAXIS///
if (LED807 == 0) {
gotoAndStop("green");
} else {
gotoAndStop("red");
}
this.XAXISFunction = function(varName, oldVal, newVal) {
if (newVal == 0) {
gotoAndStop("green");
} else {
gotoAndStop("red");
}
return newVal;
};
_root.watch("LED807", this.XAXISFunction);
//END SCRIPT
//scott
-
Jason informed me that the "Refreash" is not necessarily wrong, but, doing the individual LEDs as above is a Better, more effecient way to do it.
scott
-
Why not simply a wiki... Fills continuously and doesn't (well... should not...) get out of sync with the releases and or product updates.
Lemo
Thanks for your suggestion, I will discuss the wiki idea with Brian and see what he thinks. I imagine it will be an initial document and perhaps a wiki as well.
John Guenther
'Ye Olde Pen Maker'
Sterling, Virginia
-
Jason informed me that the "Refreash" is not necessarily wrong, but, doing the individual LEDs as above is a Better, more effecient way to do it.
scott
It's always correct to minimize system impact to save the cpu some time. I think your hint not to use the 'blanket' function but to address each LED on it's own is a good advice. Bad for lazy coders, good for the system 8)
L