PDA

Click to See Complete Forum and Search --> : Nav Problem


xMx
12-12-2004, 03:58 AM
How do I create a navigation system such as the one used here in

www.amplifier.com ???

I understand the concept, but I'm just a beginner at Flash.
Is it possible to do with basic functions? I'm not fussed about the filesize, because the final outcome will be on CD-ROM.


Any Ideas?

xCheersx

Ulysses
12-12-2004, 05:46 AM
I've seen this kind of menu more than a few times now. Anyways ... if you click on the OUT menu item, you'll notice it shows you all the menu pages. This display shows that they're all a part of just one long movieclip (height, that is) within the main movie. Clicking on a menu item simply (or maybe not so simply, depending on your actual knowledge of actionscript) moves the moviclip to a defined co-ordinate, and scales the movie at the same time ... giving you the zooming camera effect.

If actionscript is really new to you, I'd suggest looking up _scale and _x and _y in flash help. These will be the properties that you need to do this.

xMx
12-12-2004, 04:26 PM
Yeah. I kinda thought it has something to do with defining X and Y properties.

I'll have a go...! Cheers.

I'll let you know the outcome...

xMx
12-12-2004, 04:44 PM
I'm sorry I can't find anything about the action up_scale. Oh dear. I'm all confused! How do I make a button target the X and Y of different movieclip?

Sorry! All I want is for a button to take me to a different part of a screen. It seems like it should be simple... but nothing I'm doing works... please help!

Post Edited (xMx) : 12/12/2004 11:47:15 AM GMT

Ulysses
12-12-2004, 05:36 PM
_scale
_x
_y

The above are some of the available properties at your disposal in ActionScript (flash language).
For example:

_root.longmovieclip._x = 10;

The above will move the movieclip on the main teimeline (the root) with an instance name 'longmovieclip' 10 pixels from the edge of your main movie's stage area.

The only other way to do this - if even such basic ActionScript knowledge scares you - is to create your long movieclip, then using tweening, change it's position on the main timeline. Then you'd just need to point your buttons to the appropriate frame(s) on the main timeline. This really would be easiest way for you to do this: true flash basics

It is also worth noting, that even running from a CD-ROM, tween motions aren't as smooth as ActionScripted motions.

xMx
12-12-2004, 05:56 PM
You don't understand how helpful that is! No-one has been able to help me on what seemed like a simple problem.

You've explained it very well... I owe you a beer or 10!

I'll try the actionscript version. It's best to do it the proper way rather tween everything.

Thanks again.

(Noticed you seem to be helping everyone on this forum-A true genius!)

xMx
12-12-2004, 10:43 PM
Still having troubles... I can't find any info regarding _scale action in flash! Am I dumb?!

If anyone can help me here with online resources it'd be much appreciated...

Ulysses
12-12-2004, 11:43 PM
Sorry about that xMx (or is that Deathbycape!?) ... _scale is just a function name that I have used for doing this kind of thing for some time (some habits you take for granted after too long). Forget about it ... it doesn't actually exist.

If you've got a hang of the _x and _y properties though, you don't need to understand how functions works. I did notice you've posted on Flashkit.com. I'd suggest looking at their movies section from the top menu, and possibly reading up in the tutorials section. Or, keep trying their forums.