Skip navigation
Currently Being Moderated

Would anybody know if it is possible to do a binding on a const ....

Apr 30, 2012 2:58 AM

Hi there,

 

Does anybody know if it is possible to do a binding of these two items on a InputBox ??? and if yes could you help in how to do it please.

Any help would be greatly appreciated ! regards aktell2007

 

 

private const LOAD_DELAY_STARTOne:int = 400;

 

I need to pass the Integer value via a InputBox.

 

 

and the same here

 

private var timerOneDelay:Timer = new Timer(15000, 1);

 

I need to change the 15000 at times.

 
Replies
  • Currently Being Moderated
    Apr 30, 2012 5:21 AM   in reply to aktell2007

    If you want a constant, use a constant. If you want to change a value use a variable.

     

    If you want to bind a value use a variable. There's no point binding to an unchangeable value.

     

    The fact that you even asked makes me fearful about the rest of your code!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points