<-- Lee jeans
- Started
- Last post
- 13 Responses
- tomkat
from NTB
http://www.leejeans.com.au/how would you realize that focus-effect; i mean that the clicked image comes into front and the other stays on it's level?
swapDepth() maybe ??
- unknown0
Got stuck on 99% for me... must try harder.
- unknown0
ah it works now... probably got a clever management of layers going on...
might investigate swapdepth myself though... didn't know it existed.
- unknown0
found a bug... if you close scrapbook and image tools... and then click size smalelr on image tools... the toolbar shrinks... and you can see some programming bits off to the right (image holder)...
Nice site though... different from most stuff I see on here.
- tomkat0
yeah saw that too..hehe
very nice indeed..you figured the layer thing?
- unknown0
they are a load fo ways you can do it... you may have an array holding all the items in an array, one for the name, one for zx and one for y... each time you add an item to the array or change the position of one put it in the right place, and redraw the symbols... if you only do it every time there is a level change it won't be too slow... particularly when you're not dealing with heavy vectors, too many images, or alphas.
- unknown0
tomkat,
yes they used swap depths. The cool thing is for example, that you can have a couple of MCs and you create "createEmptyMovieClip" and place it on level 1000 for example. Then you use swap depths to exchange depths of the clicked MC with the 'swapper' MC (the empty one). The active clip becomes the one of the highest level. Very useful. :)
Cheers.
- unknown0
combine that with Engage's thinking about using arrays for storing depths for clips and you can get the same thing they did on the site.
- tomkat0
yes , i think i have it.. didn't think of the array thing , but depths were the only solution i could imagine...
thanks guys.
- unknown0
the array idea is useful when you're saving it or sending it to another person... i.e your image has some intelligence
- shutdown0
if anyone can come up with an fla example i might even begin to understand what swapdepth is
- Linkan0
Anyone checked the european lee site? Nice use of flash if you ask me, what did you think?
- plamenski0
Never use all caps for body copy - in the immortal words of Nancy Reagan, just say NO!
- robbob0
Ask these guys, they made it