Export to GitHub

scxml4flex - issue #11

creation of custom executable content


Posted on May 18, 2010 by Massive Elephant

currently, how a you give commands to invoked processes is by using the send tag with param children, who's name attribute tells the process which kind of action should be taken. this is an approach more at home in dynamic languages, ideally we should define an xml namespace for each invoked process, giving each command it's proper tag. thus, invoking the tts "say" command, which currently looks like this:

<send type="x-tts" target="#tts"> <param name="say" expr="'please say this text'" /> </send>

would instead looks like this:

<tts:say target="#tts" expr="'plase say this text" />

this is particularly useful for invoked processes with more than one command, and together with schema files for validation, it's a great help to the developer.

Comment #1

Posted on Feb 16, 2011 by Helpful Monkey

Implement custom action support for SCXML4Flex already

Status: Fixed

Labels:
Type-Enhancement Priority-Medium