A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Cartesian coordinate...

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    13
    in flash the dimentions are (0,0)-(x,y) which poses a problem for a small minded fool like me, because obviously x and y are positive numbers which means the y value of the graph increases as it goes down... is there any way i can fix this so that i dont have to think about it

  2. #2
    Junior Member
    Join Date
    Apr 2002
    Posts
    13
    how would i go about graphs then...

  3. #3
    Senior Member
    Join Date
    Sep 2001
    Posts
    178
    What you do is calculate all of your math using the cartesian coordinate system, then when you actually assign the values do whatever your doing, just make the y value be:

    _y = myMovieHeight-myCartesianY;

    so that the Y value is changed appropriately.

  4. #4
    Senior Member
    Join Date
    Jan 2002
    Posts
    368
    or...

    _root._yscale=-100;

  5. #5
    Junior Member
    Join Date
    Apr 2002
    Posts
    13
    Thanks! Ill try that!

  6. #6
    Senior Member
    Join Date
    Jan 2002
    Posts
    368
    Originally posted by bit-101
    or...

    _root._yscale=-100;
    sorry, that was a bit of a joke. it will technically work, but EVERYTHING will be reversed on the y-axis. text, graphics, jpgs, you name it.

  7. #7
    Junior Member
    Join Date
    Apr 2002
    Posts
    13
    well, it didnt quite work check out the mx board... tell me how to do those sine wave things...

    Chuckles8421 - thanks!

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