Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 278359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T01:13:34+00:00 2026-05-12T01:13:34+00:00

I’m trying to use guides on my Flash stage to better align objects, but

  • 0

I’m trying to use guides on my Flash stage to better align objects, but how do I get the guides to snap to pixels? Half the time they end up being like 298.4, when I want them nicely snapped on each pixel, ie. 298.0.

I’m using Flash CS3 and I have all the snapping options turned on. I read somewhere that holding down shift will snap guides to pixels, but this doesn’t seem to work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T01:13:35+00:00Added an answer on May 12, 2026 at 1:13 am

    Some guys might not consider this question relevant to stackoverflow since it’s not related to programming, or it’s a pretty easy one. It can get geeky though 🙂

    Anyway,
    If you go to Edit Snapping ( CMD + / (MAC ) or Ctrl + / (PC) ) and set:

    1. Snap Align
    2. Snap to Guides
    3. Snap to Pixels

    turned on and also, turn the Grid on ( right click an empty space in the document and go to Grid > Show Grid ). You might want to edit the grid to be 1 x 1 instead of the default 18 x 18 pixels.

    If you don’t turn the grid on, you might get snapping to half pixel (.5 ) values, which I’m assuming you want to avoid.

    Let me know if you plan to do some pixel art, I can recommend some handy tools, otherwise if it’s just having a crisp layout you’re setup, this extension would’ve been handy, but the link doesn’t work unfortunately.

    Fortunately it’s a pretty easy thing to write.
    I just made a new JSFL Document ( RoundPixelValues.jsfl for example )
    and saved it in the $Flash/Commands folder, where Flash is your application/program files folder.

    You can write the whole thing in 3,4 lines of code probably, but I’ve spead it out on 10 for readability:

    var doc = fl.getDocumentDOM();
    var timeline = doc.getTimeline();
    var currentLayer = timeline.layers[timeline.currentLayer];
    var currentFrame = currentLayer.frames[timeline.currentFrame];
    var elements = currentFrame.elements; 
    var elementsNum = elements.length;
    for(var i = 0 ; i < elementsNum ; i++){
        elements[i].x = Math.round(elements[i].x);
        elements[i].y = Math.round(elements[i].y);
    }
    

    just paste the code in the newly created jsfl file and save. The option should come up in your Commands Menu. The advantage is that you can also setup a keyboard shortcut if you need this often enough.

    Goodluck !

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 127k
  • Answers 127k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It has to do with the way Nokogiri's parse method… May 12, 2026 at 5:29 am
  • Editorial Team
    Editorial Team added an answer As comments do not allow posting the code, posting as… May 12, 2026 at 5:29 am
  • Editorial Team
    Editorial Team added an answer "You need to put all the non-agregated columns for accurate… May 12, 2026 at 5:29 am

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.