Stop flash using decimals in X, Y Co-ordinates

  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Joined: Aug 16, 2003
  • Posts: 2297
  • Loc: UK - England
  • Status: Offline

Post June 8th, 2008, 9:31 am

Hey everyone!

Is there a way to stop Flash CS3 from using decimal X,Y Cordinates? its driving me insane, every import and movement on the stage turns the XY's insto 22.4 or something retarded, is there a way of making sure flash only uses whole numbers?

Im redesigning my portfolio website and it would speed things up!
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 8th, 2008, 9:31 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post June 9th, 2008, 9:59 am

Nope, not on the stage. You'll have to change it manually. If your moving stuff via script be sure to use
Code: [ Select ]
Math.round()
to force a whole number.

I'd personally like to know why Flash even provides the option for decimal pixels since I've never heard of a monitor that can display a sub pixel.
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • bozboz
  • Novice
  • Novice
  • No Avatar
  • Joined: Mar 13, 2007
  • Posts: 31
  • Loc: Brighton
  • Status: Offline

Post September 6th, 2008, 3:18 pm

Thats never made any sense to me either, causes so many problems with text aliasing as well

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 42 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.