Announcement Announcement Module
Collapse
No announcement yet.
Running multiple SequenceEvents without a Trigger Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Running multiple SequenceEvents without a Trigger

    Is it possible to run a sequence of events that do not have Triggers? For example:

    Code:
    var sequence:EventSequence = new EventSequence();
    sequence.addSequenceEvent(FirstSequenceEvent, someParam);
    sequence.addSequenceEvent(SecondSequenceEvent, someParam);
    sequence.addSequenceEvent(ThirdSequenceEvent, someParam);
    The documentation led me to believe this is possible. From 3.1.1.6. Event Sequences What if the command does not update the model locator:

    "The command then has do decide when its action is finished and unregister itself"
    With an example:
    Code:
    PendingCommandRegistry.getInstance().unregister(this);
    Using this technique, I found the FirstSequenceEvent is fired and the FirstSequenceCommand unregisteres itself. After which the remaining sequence events do not fire. In the EventSequence class, the next event is triggered by the change of a Property. It appears the unregistering of the command does not Trigger the next sequence.

    Am I missing something obvious here?

  • #2
    this might be a bug

    hey there,

    this sounds like a bug to be honest. If you're able to create a simple test situation that showcases the problem than please post this as a bug in the JIRA system:

    Spring AS Cairngorm issues

    That way the appropriate person will be notified and will be able to investigate.

    thanks,

    Roland

    Comment

    Working...
    X