coldchillin
asked on
Multiple mx:Script blocks in a single mxml file?
I was just curious, I've inherited an application and I often see multiple mx:Script blocks in a single file. Sometimes they are separated:
mx:Script
mxml
mx:Script
mxml
and sometimes it's one after the other
mx:Script
/mx:Script
mx:Script
/mx:Script
Are there any reasons for this? More specifically, for performance/optimization? If there is no performance benefit, I'd like to consolidate all of the .as code together.
mx:Script
mxml
mx:Script
mxml
and sometimes it's one after the other
mx:Script
/mx:Script
mx:Script
/mx:Script
Are there any reasons for this? More specifically, for performance/optimization? If there is no performance benefit, I'd like to consolidate all of the .as code together.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.