Closed GoogleCodeExporter closed 8 years ago
This is certainly a critical aspect in all phases of advanced time-enabled
animation.
I want to be able to initiate the time control, modify or lock its
configuration, stop
it, reset it, etc.
Roman, is there any reason why the time controller is unavailable in the api?
Original comment by tyson.k...@gmail.com
on 23 Oct 2009 at 10:48
Fixed in 5.2.1.1329
Original comment by jli...@google.com
on 16 Jun 2010 at 3:30
Using the GE API v1.006, I get an error (Uncaught TypeError: Object [object
Object] has no method 'setBegin') for the following code:
var timeSpan = ge.createTimeSpan('optional_id');
timeSpan.setBegin('2009-01-01T17:00:00-08:00');
timeSpan.setEnd('2011-05-05');
ge.getTime().setTimePrimitive(timeSpan);
Likewise, using timeSpan.getBegin.set('2009-01-01T17:00:00-08:00') also results
in an error (Uncaught TypeError: Object function getBegin() { [native code] }
has no method 'set').
Can you please verify these errors?
Thanks!
Original comment by warren.h...@gmail.com
on 5 Nov 2010 at 7:47
The docs have a typo. Please try
timeSpan.getBegin().set('2009-01-01T17:00:00-08:00')
Original comment by jli...@google.com
on 6 Nov 2010 at 1:46
ugh, forgot the parentheses, thanks that worked!
Original comment by warren.h...@gmail.com
on 8 Nov 2010 at 7:22
Original issue reported on code.google.com by
qlu...@yahoo.com
on 5 Mar 2009 at 1:46