Hmm.

Well, I tried, I havn't had much experience trying to do what you are doing. I just looked at the change watcher so I get your ordeal.

As far as the warning, I really don't know.

PS To used to working in the framework.

One other thing, why do you need it bindable if you are only checking it once? (IE if you used a setter with a boolean flag) ?

Peace, Mike

On 6/13/06, Claudia Barnal <[EMAIL PROTECTED]> wrote:

That works just fine :) I really appreciate your help, thanks.

But...
It is somewhat the same principle as the ChangeWatcher idea. I even
get the same warning when compiling using both methods:
"warning: unconverted Bindable metadata in class blah blah...".

So, I am wondering if there is no way to know when the values are accessible.

What do our Adobe friends say about this little question? Is it
something that could possibly be done without warnings in the IDE? Is
it something that could be done?

Thanks again Michael, for your time and persistence.


Claudia

On 6/13/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> what about;
>
> What about adding;
>
> private var bInitialized:Boolean = false;
>
>
> public function set someValue(value:Number):void
> {
>
> if (!bInitialized) {
> initialize()
> bInitialized = true;
> }
> }
>
> private function initialize():void
> {
> // execute one time only code for component initialization
> }
>
> ? :)
>
> Peace, Mike




--
What goes up, does come down. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to