A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Highest And Lowest Vars

Threaded View

  1. #1
    Join Date
    Sep 2004
    Hells Kitchen

    Highest And Lowest Vars

    I have about 200 variables that create a graph, and the variables come from different categories with different ranges of values. (ex: values ranging from 1-4, values from 23-50, etc.)

    What I need to do is get the highest value and the lowest of all the vars so I know the range to dynamically set the graph at.

    I know how to do it on vars like this ( var1=5, var2=3) but he var names are very different. What I really want is to dump all of the vars in an array, then get a Math.findMax, and a Math.findMin, checking them at a ++ rate.

    Lets see what you Flash kitters can do.
    Last edited by FlashGod.com; 03-08-2005 at 04:41 AM.


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