Jump to content
Search Community

drag and snap

vdheyning test
Moderator Tag

Recommended Posts

Hi there!

 

I was wondering if I get transform manager, can I drag a square movieclip and have it snap to a grid, (if need be an underlaying square?) I'm not sure how to mimic a grid in as3, the attached fla file will give an idea of what I'm after, you grab one of the boxes and drag to the center square where it will automatically enlarge and snap to the grid, and then become a navigational button.

I can figure out how to make it a navigation, but can transform manager do what I'd like to do?

I'd also like the mc to become a little transparent so you can still see what's underneath it when dragging...

I have really no problem paying for the software, (and I get the discount I think as a shockingly green member!) but I would like to know if this can be done!

 

Thank you so much for your always great advice and code!

Link to comment
Share on other sites

Sorry, but there isn't any built-in snapping capabilities in TransformManager. You certainly could add them using external code (or by editing the class itself if you prefer). And as far as making the selected objects semi-transparent, that would be pretty easy because you could add a START_INTERACTIVE_MOVE listener that loops through the selectedItems and makes them whatever transparency you want, and then use a FINISH_INTERACTIVE_MOVE listener that sets them back to normal transparency.

 

And if you don't like TransformManager, just take advantage of the 30-day money-back guarantee :)

 

Thanks for being a club member!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...