PDA

View Full Version : image menu


Cazz
03-19-2005, 09:22 PM
Hello again :)

I have a new problem and I have try to search here after that.

I have see many nice example but not what I looking for.

Maybe someone have a link that I can download a fla file or that :)


I whant to make a menu that is vertical with a little image and text.
I whant to scroll the menu up and down and klick on the image or text and something is going to happen.


I hope someone can tell me or help me :o

Bosworth
03-19-2005, 10:38 PM
probably going to have to be more specific in what you want to do-
you should start by looking through some of the tutorials - try and rough out an idea -
and if you have some specific issues - then people can offer helpful points.


b({})x

Cazz
03-19-2005, 11:51 PM
Thanks for you time to answer my question.

I have make a image of that menu I try to make.

I hope that help


Maybe not soo big text in the menu and maybe not so big image :rolleyes:

Bosworth
03-20-2005, 12:12 AM
great... just what we needed to know!

ok - a million ways to pull that off (some more complex than others)-
but... a simple one that comes to mind:

looks like you have mx2k4pro...

so use the scrollpane component to hold your menu.swf .

build your menu (with all content and buttons) as a static swf - say 150 pixels wide and 400 tall or whatever you have content for.

then place a scrollpane component onto your main stage - and make it 150 px wide (so you dont have any horizontal scrolling - can also set hScrollPolicy=false).
then set your contentPath to "menu.swf". you can also set the contentPath with AS = _root.myScrollPane.contentPath = ("myMenu.swf").

the scrollpane will hold the functional swf and scroll it up and down as expected.

so - quick and dirty.
other ways to make this happen is to track mouse coordinates over a masked MC so that when you are in the top 50% of the mc - it moves the content up the y axis and when over the bottom 50% - scrolls down the y axis.

you can do a search in the as.org tutorials to find info on that and other scrolling nav bar methods.

anyone else have clever ideas?

cheers

b([])x

Cazz
11-18-2005, 01:02 PM
Works nice but now I maybe going to have XML and that so only one swf file :)

Maybe is something new in flash 8 I can use?

Cazz
11-19-2005, 05:13 PM
The problem to have two swf file is I dont now how to communicate so when I push "menu 1" my swf do something.