Topic: Widget Self-termination ?

Group,

I'm a newcomer to Flash development, so bear with me. :-)

What's the correct way for a Chumby Widget to terminate and yield control back to the Control Panel before it's timeout has been reached ?

Any info appreciated !

Thanks,
Rich

Re: Widget Self-termination ?

Set the variable "_chumby_widget_done" to true on the main timeline of the widget.

Re: Widget Self-termination ?

Duane wrote:

Set the variable "_chumby_widget_done" to true on the main timeline of the widget.

So:

_root._chumby_widget_done = true;

Will do it ?

Thanks for the info, Duane !

Rich

Re: Widget Self-termination ?

This will sound stupid but I still code in "Flash 4". And you can't name a variable with a "_" at the beginning. Is there a way to acheive the "_chumby_widget_done = true" another way in Flash 4?

Re: Widget Self-termination ?

I'm not familiar with Flash 4's syntax, but how do you set the _x, _y, _width, _height and _rotation properties of a MovieClip if you can't access variables beginning with '_'?

Re: Widget Self-termination ?

I think it interpret the "_" as a simple space... I'll try that