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

Re: OnPress refresh

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.

Re: OnPress refresh

Whats the code exactly? This is my first ever flash widget other then the chumby supplied RSS wid.

Robbie

Re: OnPress refresh

Would this work?

on (press) {
loadVariables("http://robbiet.us/chumby/mint/test.php", this, "GET");
}

Re: OnPress refresh

bump

can anyone help?