How to achieve this effect

Hey,

Take a look at:

http://www.urbansplash.co.uk/us.php

On the main menu if you select for example, “Space to Live”, a line scrubs from right to left, erasing as it scrubs, the menu headers and then replacing them with a new sub-set.

Would anyone have an idea of how to approach this. I’ve a feeling that a mask or layer placed over the top would achieve the effect but what about uncovering the subset etc.

Anyway I’m sure you’ll need to check the site to understand what the hell I am gibbering on about.

cheers

you are probably right about the mask on the line erasing the menu,

but what about uncovering the subset etc.

this can be through using variables , i’ll post a example later on today.

you th9ink too much :slight_smile:

its a tween of a solid object which simply covers the menu items. The menu items are then changed in the timeline when the tweened object has fully covered them, where it then tweens off


layer 1: [[o]tween solid left-------->[o]][tween solid to right-------->[o]]
layer 2: [menu 1=========================][menu 2==========================]

or it could be scaling for that matter

Can it be that simple, nothing in life or flash is ever that simple. I’ll take your advice and have a go

cheers:moustache

sen what about which button has been clicked? are u telling me that you would have to have a tween left and right for each button (section)?

theres only 6. People can be pretty persistant in that kind of crap - Ive seen projects where people have tweened 50+ similar things. Id never do that lol but people have.

6 isnt bad at all. Its a simple back and fort tween you can just duplicate (copy and paste or copy-drag) 6 times for each menu section. It’d take 40 secods. If you had twice as many menus, it woud take 45 seconds.

It doesn’t look particularly smooth though, which I guess is a downside of tweening, would you suggest improvements??

guess your right, i should know better than doubt the great Senocular , lol :slight_smile: :wink:

::: got a question though sen, say you where looking for job in the web design firm, and you show them your web site, and they ask to see your fla, ok you agree and show them. if you had things like tweened 6 times of the same thing in your timeline, would they see this as a bad thing , that you didnt think of a action script alternative?

by the way this is for me, not directed to you jimw00d, sen’s method would be the easiest way to do that effect :slight_smile:

Ah, I feel all left out

sorry dude, i am just curious , because i use to tween everything till i got better at AS, like i said try sen’s method it’s the easiest and most quickest way to create that effect.

web design firm? I doubt theyd care. If they knew ebough about Flash to be concerned with it, theyd probably ask. Since you know the answer, its nothing you have to worry about :wink: Its only a menu and there isnt much going on there anyway. Its not exactly the context to be heralding your progmattic skills. Im sure other examples would be doing that for you, not your site’s menu swipe.

In terms of business though, theres getting it done quick and getting it done nicely. Often quick is the way to that ends up getting done, and that is often the method of tweens or something simply made and easily (cheaply) duplicated. Granted, this can be harder to go back and change and alter, but sometimes its a sacrafice to be made. If time allows, then an easily managable and configurable script can be developed to manage this kind of action, but even then, in this ‘nice’ form, it can be very hard for the less experienced who may need to go back to it to go around and change things. So there you have to consider portability between personel as well… and in making scripts easy to work with you are adding even more time to your project. In terms of developer->designer, all the smartclip and component deals are great, but they done happen lickity split. They take time to develop and even then are often needed to go back to and change things around in.

Its hard to say which was is “better” since each has its downsides, though I personally always opt for the programmed deal. In the context of the board here, I maintained the simple route which would be benefitial even to the non-AS adept (which is good considering this isnt the AS forum at which point I might have maybe spitted out some as solution) <-- though that would be AS tween and not masking or anything heh

thanks for that sen, always been curious since the day a friend on mine didnt get a job because her file was all over the place, though she didnt have good flash skills , so i think she couldnt explain herselve to save herself. thanks again for your reply :smirk: