PDA

View Full Version : WDDX & Shared Objects



lrhb
September 11th, 2003, 08:36 PM
Hello everyone...

I'd like some advice on an interesting situation!

I have some data being brought into Flash via WDDX and used to create some dynamically generated drop down menus... all fine and dandy!

Now, is it possible to store the data used to make the menus in a shared object so that each time someone clicks on the button, Flash doesn't have to go dig through all the WDDX data to create the dropdown menus all over again?

Or maybe there's an easier way?

Thanks! :hat:

PS: the lovechild of myself and my serverside script Sinoilyas is doing quite lovely thank you!

ahmed
September 11th, 2003, 08:39 PM
what does your code look like? :)

lrhb
September 12th, 2003, 12:11 PM
Oh, there's no code yet... I'm still in the planning stages... looking for some advice on what approach to take...

The jist of it is, I've got 150 locations with all sorts of information for each place. I have to make a map where the user clicks on a state, gets a drop down menu listing all the cities, then clicks on a city, and gets a drop down menu of all the locations in the city.

Along with that, there's a menu bar along the bottom that will display the results of the user's click: ie - click on TX, the menu shows all the places in Texas. Click on Huston, TX, the menu then shows the Huston, TX locations.

I'm just looking for some suggestions on how to manage the data, how much XML Flash can comfortably hold, etc :)

Thanks in advance!