370 posts
    Has been part of the Envato Community for over 5 years Has collected 1+ items on Envato Market Located in New Zealand
Polarathene says

I’m working on a thumb scroller at the moment, one effect I am trying to do is like the mac dock? or after watching a video on youtube where you can roll over an image and they scale proportionally depending on mouse distance from the object. I have this working nicely, however if theres no padding between images, which both examples have, there is either a flickering pixel gap during movement or an overlap of pixels from each image.

I don’t see how I can prevent this since theres no such thing as 1/2 a pixel :( If I were to use this scroller in a product on flashden, should I be concerned about this degrading the quality even though a minor thing?

If a user bought it and used no padding should I be selling the product with no padding or with a 1 pixel overlap? I imagine the overlap would be less noticable? Perhaps theres a better way to do it then I currently am.

4247 posts
    Has been part of the Envato Community for over 5 years Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+5 more
Aw_Shucks says

Try creating a variable that stores a margin between the icons.


var iconMargin:Number = 10;

Then add that to the default position. I assume you stored the default position of the icons in a variable to which you later will apply a calculation.

5324 posts The Dude Abides
    Located in United States Elite Author: Sold more than $75,000 on Envato Market Has sold $125,000+ on Envato Market Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

Make a new post in the item discussion section and show us an example :)

4247 posts
    Has been part of the Envato Community for over 5 years Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+5 more
Aw_Shucks says
Make a new post in the item discussion section and show us an example :)

Sorry man. I thought I’d try.

370 posts
    Has been part of the Envato Community for over 5 years Has collected 1+ items on Envato Market Located in New Zealand
Polarathene says

I don’t quite understand you aw_shucks. It would be better if I post an example I guess like suggested. Its just a row of images that can scroll but if theres no padding between them then theres either a thin pixel gap that flickers or an overlap.

4247 posts
    Has been part of the Envato Community for over 5 years Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+5 more
Aw_Shucks says

Yeah, uh… I was actually trying to suggest putting some padding in between the icons. I called it a “margin”. Sorry, I wasn’t so clear.

370 posts
    Has been part of the Envato Community for over 5 years Has collected 1+ items on Envato Market Located in New Zealand
Polarathene says

Theres already a padding/margin option :) This is only a problem if padding is set to 0. If I sold it as part of a product and the buyer wanted no padding I’d have to have it set to overlap or flickering pixel gap or find a solution from posting in item discussion later on.

7290 posts
    Has been part of the Envato Community for over 5 years Has sold $40,000+ on Envato Market Sells items exclusively on Envato Market Located in Europe
+5 more
doru says

just write a note in the documentation stating that the padding its necessary and why. You can’t put everything in your product. :) It has to be at complete as possible and the best quality you can do but can’t have all the universe inside. :D You get my point, do not lose nights on one issue. You can also update the file later, for free, if it happens that you will find a solution.

by
by
by
by
by
by