# Best way to store data in flash?

**URL:** https://forum.kirupa.com/t/best-way-to-store-data-in-flash/195581
**Category:** flash
**Created:** [August 1, 2006, 6:30pm UTC](https://forum.kirupa.com/t/best-way-to-store-data-in-flash/195581 "2006-08-01T18:30:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stevs102](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@stevs102](https://forum.kirupa.com/u/stevs102)
#### Post date: [August 1, 2006, 6:30pm UTC](https://forum.kirupa.com/t/best-way-to-store-data-in-flash/195581/1 "2006-08-01T18:30:53Z")

</div>

I’m having trouble figureing out the best way to store data. I’m creating a Flash application for work and basically it’s a module to add a medication to a patients chart. There is a screen with drug name, drug class, dosage, etc. I want to hold this data in an array and then take that data and apply it to a data grid. I’ve done this without the array, but I wanted to use the array because I need to use this data in other ways.

Say I have 4 fields:  
Drug Name  
Drug Class  
Drug Dosage  
Reason Taking

Would it be best to have 4 arrays; one for each type of field and then if I want say drug number 5 look at the 5th position in each array?
