Rockonmetal
02-14-2008, 01:02 AM
Hey I'm trying to create a datagrid in flash for my band's site...
The following table (or datagrid) should have 3 columns: Date, City/State, Venue.
I can get 2 columns going, but it doesn't work out if I do three...
heres what my action script code is:
myDP = new Array(
{Date:"02/18/08", Location:"Richmond, Va", Venue:"Alley Katz"},
{Date:"03/27/08", Location:"Richmond, Va", Venue:"Alley Katz"},
);
tourbox.dataProvider = myDP;
Here is my error:
**Error** Scene=Scene 2, layer=Actions, frame=59:Line 4: Operator '=' must be followed by an operand
);
**Error** Scene=Scene 2, layer=Actions, frame=59:Line 5: ')' or ',' expected
tourbox.dataProvider = myDP;
Total ActionScript Errors: 2 Reported Errors: 2
If there is an easier way to do this that would be helpful...
Thanks upfront
The following table (or datagrid) should have 3 columns: Date, City/State, Venue.
I can get 2 columns going, but it doesn't work out if I do three...
heres what my action script code is:
myDP = new Array(
{Date:"02/18/08", Location:"Richmond, Va", Venue:"Alley Katz"},
{Date:"03/27/08", Location:"Richmond, Va", Venue:"Alley Katz"},
);
tourbox.dataProvider = myDP;
Here is my error:
**Error** Scene=Scene 2, layer=Actions, frame=59:Line 4: Operator '=' must be followed by an operand
);
**Error** Scene=Scene 2, layer=Actions, frame=59:Line 5: ')' or ',' expected
tourbox.dataProvider = myDP;
Total ActionScript Errors: 2 Reported Errors: 2
If there is an easier way to do this that would be helpful...
Thanks upfront