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

  • SEARCH
  • Home
  • 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

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

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.