<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>Re: [Xerte] VideoIcon -> playheadTime</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=915525909-24062010><FONT face=Arial 
color=#0000ff size=2>Julian</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=915525909-24062010><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=915525909-24062010><FONT face=Arial 
color=#0000ff size=2>Where are the ASDocs available from please and is this 
where i can find everything to do with scripting within 
Xerte</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<P align=left><B><FONT face=Arial>Regards, Nigel</FONT></B> <BR><B><FONT 
face=Arial>IT Training and Support Co-ordinator</FONT></B> </P>
<P align=left><FONT face=Arial><STRONG>01444 884906</STRONG></FONT></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk 
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Julian 
Tenney<BR><B>Sent:</B> 24 June 2010 10:53<BR><B>To:</B> Xerte discussion 
list<BR><B>Subject:</B> RE: [Xerte] VideoIcon -&gt; 
playheadTime<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText65524 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>VideoDisplayIcon inherits 
from Canvas, and has a public property videoDisplay. For some reason I've missed 
the VideoDisplay class out of the ASDocs, but I'll add that in. For now, use the 
Flex 4 docs online.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>The one problem I foresee is getting event 
listeners onto the VideoDisplay itself - but they should bubble, so you can 
still attch listeners to the icon..?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on 
behalf of Julian Tenney<BR><B>Sent:</B> Thu 24/06/2010 10:30<BR><B>To:</B> Xerte 
discussion list<BR><B>Subject:</B> RE: [Xerte] VideoIcon -&gt; 
playheadTime<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText29973 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>You should be able to - what 
does it say VideoIcon inherits from? UICOmponent? Then it's a UI component. It 
has a member VideoDisplay - thats the thing doing the actual video presentation. 
I haven't looked, but unless somethig is wron, tha's how the documentation 
should be...</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on 
behalf of Peter Huppertz<BR><B>Sent:</B> Thu 24/06/2010 09:25<BR><B>To:</B> 
Xerte discussion list<BR><B>Subject:</B> Re: [Xerte] VideoIcon -&gt; 
playheadTime<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>I think wrapping is not needed, because it creates a whole lot 
of more work on your side?!<BR><BR>But how can I see, regarding the 
documentation, the difference between properties I can apply directly to the 
videoicon and the properties that I need to apply to 
videoicon.videoDisplay?<BR><BR>myVideoIcon.iconID works, 
myVideoIcon.playheadTime does not work. But I can't see a difference in the 
documentation.<BR><BR>Peter<BR><BR>On 22.06.2010, at 12:34, Julian Tenney 
wrote:<BR><BR>&gt;&gt; At the moment one really thinks it is a property of the 
VideoIcon.<BR>&gt;<BR>&gt; Because that's what it is. Now you're getting into 
the OO debate -<BR>&gt; should we wrap the VideoDisplay class's methods / 
properties (there are<BR>&gt; a lot), or should the icon itself inherit from 
VideoDisplay? If you<BR>&gt; extend VideoDisplay I don't know if you can still 
do<BR>&gt; addChild(myControls) to build the interface?<BR>&gt;<BR>&gt; Mostly 
OO good practice says favour composition over inheritance.<BR>&gt;<BR>&gt; In 
any case, it's a job for another day,<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; On 
22.06.2010, at 11:45, Julian Tenney wrote:<BR>&gt;<BR>&gt;&gt; 
myIcon.videoDisplay.playheadTime;<BR>&gt;&gt;<BR>&gt;&gt; The icon itself is all 
the things you see - the video playback, the<BR>&gt;&gt; button, slider and so 
on - you need to reach in there for what you<BR>&gt; want.<BR>&gt;&gt; 
Eventually it might be nice to wrap all those methods and expose 
them<BR>&gt;&gt; via myIcon<BR>&gt;&gt;<BR>&gt;&gt; -----Original 
Message-----<BR>&gt;&gt; From: xerte-bounces@lists.nottingham.ac.uk<BR>&gt;&gt; 
[<A 
href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] 
On Behalf Of Peter<BR>&gt;&gt; Huppertz<BR>&gt;&gt; Sent: 22 June 2010 
10:44<BR>&gt;&gt; To: Xerte discussion list<BR>&gt;&gt; Subject: [Xerte] 
VideoIcon -&gt; playheadTime<BR>&gt;&gt;<BR>&gt;&gt; Another question: I want to 
use the property playheadTime to jump to<BR>&gt;&gt; various points in my video. 
But if I enter myVideoIcon.playheadTime =<BR>&gt; 30<BR>&gt;&gt; it does not 
jump to 30 seconds in my video. Also regardless of where I<BR>&gt;&gt; am in the 
video if I check debug(myVideoIcon.playheadTime) it always<BR>&gt;&gt; displays 
0. Any ideas?<BR>&gt;&gt;<BR>&gt;&gt; Peter<BR>&gt;&gt;<BR>&gt;&gt; 
==================================<BR>&gt;&gt; Peter Huppertz<BR>&gt;&gt; 
E-learning and IT Specialist<BR>&gt;&gt; International Centre for Asset 
Recovery<BR>&gt;&gt; Basel Institute on Governance<BR>&gt;&gt; Phone: +41 61 205 
55 18<BR>&gt;&gt; Fax: +41 61 267 55 19<BR>&gt;&gt;<BR>&gt;&gt; 
_______________________________________________<BR>&gt;&gt; Xerte mailing 
list<BR>&gt;&gt; Xerte@lists.nottingham.ac.uk<BR>&gt;&gt; <A 
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>&gt;&gt; 
_______________________________________________<BR>&gt;&gt; Xerte mailing 
list<BR>&gt;&gt; Xerte@lists.nottingham.ac.uk<BR>&gt;&gt; <A 
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>&gt;<BR>&gt; 
==================================<BR>&gt; Peter Huppertz<BR>&gt; E-learning and 
IT Specialist<BR>&gt; International Centre for Asset Recovery<BR>&gt; Basel 
Institute on Governance<BR>&gt; Phone: +41 61 205 55 18<BR>&gt; Fax: +41 61 267 
55 19<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; 
Xerte mailing list<BR>&gt; Xerte@lists.nottingham.ac.uk<BR>&gt; <A 
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>&gt; 
_______________________________________________<BR>&gt; Xerte mailing 
list<BR>&gt; Xerte@lists.nottingham.ac.uk<BR>&gt; <A 
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR><BR>==================================<BR>Peter 
Huppertz<BR>E-learning and IT Specialist<BR>International Centre for Asset 
Recovery<BR>Basel Institute on Governance<BR>Phone: +41 61 205 55 18<BR>Fax: +41 
61 267 55 19<BR><BR>_______________________________________________<BR>Xerte 
mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A 
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></DIV></BODY></HTML>