View Full Version : image menu
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
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
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?
The problem to have two swf file is I dont now how to communicate so when I push "menu 1" my swf do something.
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.