Thanks David,
I haven't had a chance to look at this feature since we've been so busy on
another branch. It looks like I finally have some time to breath, and try
your suggested solution.
Martin
2011/5/19 David Baelde <[email protected]>
> Hi Martin,
>
> I've been 100% taken by other activities in the past few weeks, I'm
> catching up only now. Here is a quick answer...
>
> 2011/5/13 Martin Konečný <[email protected]>:
> > I understand the part of setting a boolean
> > flag to indicate that I've called the skip command, but where would I
> read
> > this flag to change the behaviour?
>
> You transition function takes two sources and returns the compound
> source. You can make that function behave differently based on the
> flag, for example:
>
> def transition(from,to)
> if !has_skipped then
> add([fade.initial(to),fade.final(from)])
> else
> sequence([from,to])
> end
> end
>
> Hope this helps,
> --
> David
>
--
Martin Konecny
Software Developer, Sourcefabric
[email protected]
720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15
http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users