dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: duodiscus

Search: Search took 0.03 seconds.

  1. If you change your function to a public static...

    If you change your function to a public static getter in your class it should work:


    public static function get someWidth():int
    {
    return _someWidth;
    }
  2. Replies
    4
    Views
    1,937

    You have to decrement the i variable, since...

    You have to decrement the i variable, since you're removing the last child down to the first child.

    function removeSub(){

    for(var i:int=tempSub.numChildren - 1; i>=0; i--){
    ...
  3. Replies
    24
    Views
    1,115

    If I understand what it is you're trying to do,...

    If I understand what it is you're trying to do, I'd have the naming convention of the controls dictate the solution. So make use of the "1" of btn1, the "2" of btn2, etc., and the same for text_box1...
  4. Replies
    11
    Views
    6,262

    I wanted to show you in my example how to...

    I wanted to show you in my example how to synchronize the sound with the animation. The metronome's accuracy, when compared with an actual stop watch is a whole different story.

    The Flash VM is...
  5. Replies
    11
    Views
    6,262

    Name the instance of your hand MovieClip to...

    Name the instance of your hand MovieClip to something like hand_mc. Then pass that instance along with the initial bpm to the constructor. Here's the whole class again with the changes I mentioned.
    ...
  6. Replies
    11
    Views
    6,262

    Hit the Reply button too soon and editing isn't...

    Hit the Reply button too soon and editing isn't enabled for me yet. Here are a couple things that should be added/deleted to the code in my previous post:

    delete import components.Hand; //not...
  7. Replies
    11
    Views
    6,262

    First post ... short time here, but long-time...

    First post ... short time here, but long-time Flash/Flex developer.

    See if this metronome class I wrote will work for you (or adapt as needed). Simply set the bpm property from your UI. This class...
Results 1 to 7 of 7




Click Here to Expand Forum to Full Width

HTML5 Development Center