Solved

Selecting pull down menu item  pulls up corresponding content

Posted on 2004-04-06
5
205 Views
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).

Extra
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.
0
Comment
Question by:AccessMaster
  • 3
  • 2
5 Comments
 
LVL 39

Expert Comment

by:blue-genie
Comment Utility
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.


:-)
blu.
0
 

Author Comment

by:AccessMaster
Comment Utility
Blue-genie,

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

Accepted Solution

by:
blue-genie earned 500 total points
Comment Utility
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

blu

:-)
0
 

Author Comment

by:AccessMaster
Comment Utility
Hi Blu-genie,

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

AM
0
 
LVL 39

Expert Comment

by:blue-genie
Comment Utility
my pleasure :-)

blu
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now