Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Dynamically loading a dropdown menu
From: DeJarnett, Gary
Date: Mon, 22 Nov 1999 22:16:10 GMT

I have a Flash movie that interacts with a database and am able to load data
from my database to variables in my movie (using queries in an ASP page)
without a problem. I've followed some of the dropdown menu examples to
create a dropdown menu movie that plays on the rollover event of a menu
selector sitting at the top of the screen. This movie "drops down" several
buttons, each containing one text field that I hope to fill dynamically from
my database.

My end goal is to have a list of employees drop down when the mouse moves
over the "Employee" selector sitting at the top of the screen. From this
list, I want the user to be able to click on the employee (within our
department) whose records the user wants to work with. That mouse click
will set up my "current" employee, and the other dropdown menus (project
number, etc...) should only be filled with data pertaining to that employee.

The problem is that the variables holding the employee names within the menu
movie are only created at the time the rollover event is fired. I'm trying
to figure out when is the best time, and what is the best way to load these
variables with the data from my ASP page. I can preload an array of
variables holding this data as part of my preload process. When I try to
move the data from these preloaded variables to the variables in the menu
movie, I haven't been successful. Maybe my problem has to do with the
syntax of moving a variable from the main movie to a variable used in the
tell target.

I'm new to Flash, so if anyone has any ideas or suggestions, I would be glad
to hear them, especially if you've already had experience in this sort of
work.

Thanks,

Gary DeJarnett (a3gddattechmail [dot] admin [dot] ttu [dot] edu
<a3gddattechmail [dot] admin [dot] ttu [dot] edu (mailto:a3gddattechmail [dot] admin [dot] ttu [dot] edu)> )



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]