A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    16
    Plzz can any one help in doing a graphical persentage displaying graph.

    i mean to say that i want to accept two parameters and then find the persentage ratio between them and display as a graphical bar graph or any graphic which shows the % in graphic form.

    how can i do this in flash...or javascript..or HTML...etc.

    Plz help....

    thank u,

  2. #2
    Junior Member
    Join Date
    Aug 2001
    Posts
    17
    I hope it works!!

    // variable1 = a and variable2 = b

    x = a+b;
    pera = a/x*100;
    perb = b/x*100; //now you have your varibles in percent

    // you need two movieclips (the graphs)
    // I name and give them the instancenames MC1 and MC2

    _root.MC1._y=pera;
    _root.MC2._y=perb;

    // if you want to make them bigger

    _root.MC1._y=pera*2; //or + 100
    _root.MC2._y=perb*2; //or +100



    Originally posted by sritea
    Plzz can any one help in doing a graphical persentage displaying graph.

    i mean to say that i want to accept two parameters and then find the persentage ratio between them and display as a graphical bar graph or any graphic which shows the % in graphic form.

    how can i do this in flash...or javascript..or HTML...etc.

    Plz help....

    thank u,

  3. #3
    Junior Member
    Join Date
    Jul 2001
    Posts
    16

    plzz explain briefly

    sorry im not getting the result..

    im new or rather i can call my self poor in flash...so kindly explain briefly.

    im using flash 4..note

    thanx

  4. #4
    Junior Member
    Join Date
    Aug 2001
    Posts
    17

    Re: plzz explain briefly

    Originally posted by sritea
    sorry im not getting the result..

    im new or rather i can call my self poor in flash...so kindly explain briefly.

    im using flash 4..note

    thanx
    sorry, I don't know how to make it with flash 5


  5. #5
    Junior Member
    Join Date
    Jul 2001
    Posts
    16

    im usinf flash 4 only

    im using flash 4 only, im not using flash 5....

    just tell me how to do it with flash 4 only...or flash 5

    but exaplain briefly....as im quite poor in flash.

    i have both flash 4 and flash 5

    thanx

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