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.
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.
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
Make a new post in the item discussion section and show us an example 
Make a new post in the item discussion section and show us an example![]()
Sorry man. I thought I’d try.
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.
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.
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.
- Community Superstar
- Italy
- Sold between 10 000 and 50 000 dollars
- Has been a member for 3-4 years
- Microlancer Beta Tester
- Beta Tester
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Exclusive Author
- Author had a Free File of the Month
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.
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.
