A Flash Developer Resource Site

Results 1 to 2 of 2

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

  1. #1
    Senior Member
    Join Date
    Apr 2008
    Location
    Rotorua / New Zealand
    Posts
    117

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

    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

    Code:
    private const LOAD_DELAY_STARTOne:int = 400;
    I need to pass the Integer value via a InputBox.

    and the same here

    Code:
    private var timerOneDelay:Timer = new Timer(15000, 1);
    I need to change the 15000 at times.

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Location
    Rotorua / New Zealand
    Posts
    117
    YES, I'm sorry it was late last night and the last thing I did so sorry again about my mistake. What it should be of course is a var and not a const as it is at the moment.
    I want to write the Integer value's into a InputBox instead of them been hard coded so I do not have to go into the code and recompile AIR every time I need to change it. regards aktell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center