Code: Select all
put "Jane" into theDataA[x]["FirstName"]
put "Blue" into theDataA[x]["LastName"]
put "Secret Agent" into theDataA[x]["Title"]
put theImageFolder & "monkey.jpg" into theDataA[x]["Image URL"]
Monty May
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
put "Jane" into theDataA[x]["FirstName"]
put "Blue" into theDataA[x]["LastName"]
put "Secret Agent" into theDataA[x]["Title"]
put theImageFolder & "monkey.jpg" into theDataA[x]["Image URL"]
Code: Select all
...
put "Jane" into theDataA[x]["FirstName"]
put "Blue" into theDataA[x]["LastName"]
put "Secret Agent" into theDataA[x]["Title"]
put theImageFolder & "monkey.jpg" into theDataA[x]["Image URL"]
put theImageFolder & "money.jpg" into theDataA[x]["Image URL2"]
put theImageFolder & "monk.jpg" into theDataA[x]["Image URL3"]
...
Code: Select all
on fillindata theDataArray
## Put your text into the appropriate fields
## ...
set the filename of img "image1 in datagrid" to theDataArray["Image URL"]
set the filename of img "image2 in datagrid" to theDataArray["Image URL2"]
set the filename of img "image3 in datagrid" to theDataArray["Image URL2"]
end fillindata
this is just a name for this key in the array.