[Xerte] Xerte3: dispatchSynchEvents does not work

Peter Huppertz peter.huppertz at baselgovernance.org
Fri Jun 25 19:46:53 BST 2010


I'm really a fan of modular solutions and would thus prefer the solution you suggest. So it's up to the user how to implement the video controller. 

Peter


Am 25.06.2010 um 11:39 schrieb Julian Tenney:

> Would you prefr it if VideoDisplayIcon simply was a VideoDisplay objct, and it was up to you to create whatever controllers were appropriate? Then VideoDisplayIcon could simply extend VideoDisplay. To help, I could make a 'MediaController' icon that could be usd to create controllers for use on Sound and Video icons? That migt be quite good,as there would be only one controller, rather than very similar code in the Sound and Video icons to provide the controller functionality..?
> 
> From: xerte-bounces at lists.nottingham.ac.uk on behalf of Peter Huppertz
> Sent: Thu 24/06/2010 15:39
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: dispatchSynchEvents does not work
> 
> I had a look at the source. So, if I create a new eventListener with the eventName "synch" as a child of my videoicon (property dispatchSynchEvents = true) it should be triggered every frame while the video plays, shouldn't it? But nothing happens at the moment ... I double checked the spelling of synch ...
> 
> 
> On 24.06.2010, at 15:47, Julian Tenney wrote:
> 
>> see the source:
>>  
>> http://code.google.com/p/xerte3/source/browse/trunk/xerte3/src/org/xerte/media/VideoDisplayIcon.as
>>  
>> It's 'synch'. You can see how we can wrap the other events in there as well.
>>  
>>  
>> 
>> From: xerte-bounces at lists.nottingham.ac.uk on behalf of Peter Huppertz
>> Sent: Thu 24/06/2010 13:59
>> To: Xerte discussion list
>> Subject: [Xerte] Xerte3: dispatchSynchEvents does not work
>> 
>> as a workaround for another problem I now tried to use the dispatchSynchEvents. So I enabled the property using true as a value in my videoicon and set up a eventhandler listening for "synch" events. But it either never dispatches or it's not the right event to listen for?!
>> 
>> ==================================
>> Peter Huppertz
>> E-learning and IT Specialist
>> International Centre for Asset Recovery
>> Basel Institute on Governance
>> Phone: +41 61 205 55 18
>> Fax: +41 61 267 55 19
>> 
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> 
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100625/2d0a8d30/attachment.html


More information about the Xerte mailing list