Template data in client

#1
I am working on a patch to the Svt.Caspar.Controls library that stores a "templateData" string in the FlashTemplateHostControl object when it receives an "FSCommand" from the ShockwaveFlashControl. Then in your template document class you just override postInitialize
Code: Select all
override public function postInitialize():void {
{
fscommand("templateDescription",GetDescription());
}
This allows the client to have access to description data and use it to pre-populate the name fields in the datagrid without the user having to guess what the exposed fields are.

I understand the event flow may not be the best. Let me know if any of you would like me to post a patch on the forum with the work I've done.

Who is online

Users browsing this forum: Baidu [Spider] and 7 guests

cron