Understanding the ActionScript Language > Using ActionScript syntax > Curly braces |
![]() ![]() ![]() |
Curly braces
ActionScript statements are grouped together into blocks with curly braces ({
})
, as in the following script:
on(release) { myDate = new Date(); currentMonth = myDate.getMonth(); }
![]() ![]() ![]() |