Selecting pull down menu item  pulls up corresponding content

Posted on 2004-04-06
Medium Priority
Last Modified: 2011-09-20
Hopefully this is as easy as I'm hoping it'll be.

This is what I need:
I want to import an image that will be on the left side of the movie which will stay constant (it'll always be showing)
Beside it I want a pull down menu that contains various topics to select - when an item on the pull down menu is selected
it pulls up corresponding content (which is only text).

As an extra it would be nice if it could pull up
the text content and about three images that are clickable and go to web pages.

Do I have to use a database for this? If so I would like it to be My SQL
A quick and detailed response is appreciated.

I was thinking of using cold fusion - which I know how to do - but I don't want it to redraw - or reload a new page everytime the user chooses a topic from the pull down menu. So I'm thinking flash is the answer.
Question by:AccessMaster
  • 3
  • 2
LVL 39

Expert Comment

ID: 10772441
Hi, if i understand you correctly, No you don't need a database.
Option 1:
In terms of pulling up text, you could simply  use the loadVars Object to load the respective text file into a textfield, depending on which item in the drop down list is selected. You could use attachMovie to attach images where required, and those images can have a getURL attached to it (convert graphic to a button.)

Option 2: (Use this if few options, and they arent' likely to change frequently).

create a multiframe movieclip containing the text and images, based on what the user selects from the drop  down list, go to the respective frame in that movieclip.


Author Comment

ID: 10774637

I'm fairly new to flash - can you post some code to show me how to do all of this?
LVL 39

Accepted Solution

blue-genie earned 2000 total points
ID: 10781486
hi there, since you didn't mention which option you'd prefer to go by lets do the first one.
go have a look at: http://www.geocities.com/bluegenie_sa/Accessmaster/exmple.swf

is that what you wanted? just fiddle with the layout and stuff (ps i did it in MX).

i've posted the fla and all the extras at http://www.geocities.com/bluegenie_sa/Accessmaster/all.zip



Author Comment

ID: 10783227
Hi Blu-genie,

You're the greatest - that's exactly what I wanted. Thanks for your time and effort.

LVL 39

Expert Comment

ID: 10783276
my pleasure :-)


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question