[Xerte] Xerte3: dispatchSynchEvents does not work
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Jun 28 15:34:25 BST 2010
The problem is the metaData received event is not always firing. It
seems to always fire in the Flash Player, most of the time in IE and is
very problematic in Firefox.
By the same token, getting videoDisplay.totalTime seems to follow the
same sort of problems, reporting -1 when it fails. The upshot of all
this is that dragging the slider doesn't show the time accurately in the
tooltip, nor can it navigate to the right spot in the video by dragging
the slider.
This is a real pain: any flex coders aware of this issue and how to get
around it?
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:10
To: Xerte discussion list
Subject: RE: [Xerte] Xerte3: dispatchSynchEvents does not work
Likewise. Now I can replicate the problem I can see what's going on,
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 13:09
To: Xerte discussion list
Subject: Re: [Xerte] Xerte3: dispatchSynchEvents does not work
I run it locally.
I have version 10,1,53,64 on Windows 7 and 10,1,53,64 on Mac.
On 28.06.2010, at 14:00, Julian Tenney wrote:
Is this locally, or when running form a web server?
What's your flash player version?
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
<http://code.google.com/p/xerte3/source/browse/trunk/xerte3/src/org/xert
e/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/ab762c15/attachment.html
More information about the Xerte
mailing list