[Xerte] VideoIcon -> playheadTime
Dave Burnett
d_b_burnett at hotmail.com
Thu Jun 24 11:39:04 BST 2010
Then the help files of Flash MX or Flash 8 would be the most comprehensive place to look.
Dave
----------------------------------------
> Subject: RE: [Xerte] VideoIcon -> playheadTime
> Date: Thu, 24 Jun 2010 11:23:25 +0100
> From: Nigel.Irwin at rewards-trc.co.uk
> To: xerte at lists.nottingham.ac.uk
>
> Xerte 2 and OnlineToolkits
>
>
> Regards, Nigel
> IT Training and Support Co-ordinator
>
> 01444 884906
>
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: 24 June 2010 11:13
> To: Xerte list
> Subject: RE: [Xerte] VideoIcon -> playheadTime
>
>
>
> Hi Nigel,
>
> Peter is working in Xerte 3, which uses Actionscript 3, it's a bit
> different beast from AS 1 and 2, which are what Xerte 2.x uses.
>
> Which version of Xerte are you using?
>
> Dave
>
>
> ________________________________
>> Subject: RE: [Xerte] VideoIcon -> playheadTime
>> Date: Thu, 24 Jun 2010 11:07:24 +0100
>> From: Nigel.Irwin at rewards-trc.co.uk
>> To: xerte at lists.nottingham.ac.uk
>>
>>
>>
>>
>>
>>
>>
>>
>> Julian
>>
>>
>>
>> Where are the ASDocs available from please and is this where i can
>> find everything to do with scripting within Xerte
>>
>>
>>
>>
>> Regards, Nigel
>> IT Training and Support Co-ordinator
>>
>>
>> 01444 884906
>>
>>
>>
>>
>>
>> ________________________________
>>
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian
>> Tenney
>> Sent: 24 June 2010 10:53
>> To: Xerte discussion
>> list
>> Subject: RE: [Xerte] VideoIcon ->
>> playheadTime
>>
>>
>>
>>
>> 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.
>>
>>
>>
>> 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..?
>>
>>
>>
>> ________________________________
>>
>> From: xerte-bounces at lists.nottingham.ac.uk on behalf of Julian Tenney
>> Sent: Thu 24/06/2010 10:30
>> To: Xerte
>> discussion list
>> Subject: RE: [Xerte] VideoIcon ->
>> playheadTime
>>
>>
>>
>>
>> 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...
>>
>>
>>
>> ________________________________
>>
>> From: xerte-bounces at lists.nottingham.ac.uk on
>> behalf of Peter Huppertz
>> Sent: Thu 24/06/2010 09:25
>> To:
>> Xerte discussion list
>> Subject: Re: [Xerte] VideoIcon ->
>> playheadTime
>>
>>
>>
>>
>> I think wrapping is not needed, because it creates a whole lot
>> of more work on your side?!
>>
>> 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?
>>
>> myVideoIcon.iconID works,
>> myVideoIcon.playheadTime does not work. But I can't see a difference
> in the
>> documentation.
>>
>> Peter
>>
>> On 22.06.2010, at 12:34, Julian Tenney
>> wrote:
>>
>>>> At the moment one really thinks it is a property of the
>> VideoIcon.
>>>
>>> Because that's what it is. Now you're getting into
>> the OO debate -
>>> should we wrap the VideoDisplay class's methods /
>> properties (there are
>>> a lot), or should the icon itself inherit from
>> VideoDisplay? If you
>>> extend VideoDisplay I don't know if you can still
>> do
>>> addChild(myControls) to build the interface?
>>>
>>> Mostly
>> OO good practice says favour composition over inheritance.
>>>
>>> In
>> any case, it's a job for another day,
>>>
>>>
>>>
>>> On
>> 22.06.2010, at 11:45, Julian Tenney wrote:
>>>
>>>>
>> myIcon.videoDisplay.playheadTime;
>>>>
>>>> The icon itself is all
>> the things you see - the video playback, the
>>>> button, slider and so
>> on - you need to reach in there for what you
>>> want.
>>>>
>> Eventually it might be nice to wrap all those methods and expose
>> them
>>>> via myIcon
>>>>
>>>> -----Original
>> Message-----
>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>
>> [mailto:xerte-bounces at lists.nottingham.ac.uk]
>> On Behalf Of Peter
>>>> Huppertz
>>>> Sent: 22 June 2010
>> 10:44
>>>> To: Xerte discussion list
>>>> Subject: [Xerte]
>> VideoIcon -> playheadTime
>>>>
>>>> Another question: I want to
>> use the property playheadTime to jump to
>>>> various points in my video.
>> But if I enter myVideoIcon.playheadTime =
>>> 30
>>>> it does not
>> jump to 30 seconds in my video. Also regardless of where I
>>>> am in the
>> video if I check debug(myVideoIcon.playheadTime) it always
>>>> displays
>> 0. Any ideas?
>>>>
>>>> Peter
>>>>
>>>>
>> ==================================
>>>> 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
>
> _________________________________________________________________
> Hotmail has tools for the New Busy. Search, chat and e-mail from your
> inbox.
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
> ON:WL:en-US:WM_HMP:042010_1_____________________________________________
> __
> 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
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
More information about the Xerte
mailing list