[Xerte] Xerte3: dispatchSynchEvents does not work

Peter Huppertz peter.huppertz at baselgovernance.org
Mon Jun 28 13:13:29 BST 2010


Try to add the button again?! I sometimes had the feeling other elements on the screen helped the controlbar to appear ....


On 28.06.2010, at 14:06, Julian Tenney wrote:

> Hmm: stopped again: what’s going on?
>  
> <image003.png>
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 28 June 2010 13:03
> To: Xerte discussion list
> Subject: RE: [Xerte] Xerte3: dispatchSynchEvents does not work
>  
> Found the answer: go and have some lunch. Before lunch, mine didn’t work in Firefox: now it does:
>  
> <image004.png>
>  
> <image005.png>
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 28 June 2010 12:45
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: dispatchSynchEvents does not work
>  
> On windows neither IE nor Firefox display the controlbar. Some time ago it was sporadically visible in the preview, but it also vanished from there.
> On Mac (Firefox/Chrome) not even the piece shows up. 
>  
>  
> On 28.06.2010, at 13:16, Julian Tenney wrote:
>  
> 
> Hmm. It adds 250k to the runtime, which is about 249k too much…
>  
> Back to your original problem: the controller does not display – is this only in firefox? I seem to have the same issue now…
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 28 June 2010 11:56
> To: Xerte discussion list
> Subject: RE: [Xerte] Xerte3: dispatchSynchEvents does not work
>  
> Best of both worlds: this is the spark video player object, rather than the mx.controls.VideoDisplay. What I really like about flex is every time I come across a problem, someone has already beaten me to a solution…  I’ll work it in…
>  
> <image001.png>
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 25 June 2010 19:47
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: dispatchSynchEvents does not work
>  
> 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
>  
> _______________________________________________
> 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

==================================
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100628/5c5dce2b/attachment.html


More information about the Xerte mailing list