Topic: OnPress refresh
I want to repliacte the server status effect on my widget.
Can you do it with OnPress? The widget just loads a URL content so its very simple. Just like pressing refresh on a browser.
Please?
Robbie
You are not logged in. Please login or register.
chumbysphere forum → Flash/Widget → OnPress refresh
I want to repliacte the server status effect on my widget.
Can you do it with OnPress? The widget just loads a URL content so its very simple. Just like pressing refresh on a browser.
Please?
Robbie
Sure, just listen for the the mouse down event or make the whole stage area a button. Then, when it is pressed just reload your data.
Whats the code exactly? This is my first ever flash widget other then the chumby supplied RSS wid.
Robbie
Would this work?
on (press) {
loadVariables("http://robbiet.us/chumby/mint/test.php", this, "GET");
}
chumbysphere forum → Flash/Widget → OnPress refresh
Powered by PunBB, supported by Informer Technologies, Inc.