[Xerte] Incorporating Captivate movies in Xerte 1.7

Tenney Julian Julian.Tenney at nottingham.ac.uk
Thu Oct 4 09:16:20 BST 2007


Funny that should come up this week - I hit the same problem myself
earlier in the week, and fixed it. Can you download the latest Xerte and
try it again? There was a bug that prevented event broadcasters getting
set up if autoPlay was set. 
 
There's always a 'it depends' caveat with external swfs, because Xerte
doesn't know which timeline in the swf to listen for completion of. It
could have multiple timelines, and the one you see playing might be
nested several levels in. The top level timeline may have only one
frame. Let me know how you get on.
 
How does Captivate call javascript funtions? If it's fscommand it should
just work. I reckon externalInterface would also work. getURL should
work too. When you think about it, the Xerte engine is a flash movie. It
loads the captivate flash movie into the player, which should then just
behave as usual. Have you tried it? If you want the javascript to return
values to the Xerte piece, that's more troublesome, but if that's
something useful, I can look into it. Right now I don't think there is a
way of calling a js function from Xerte and getting a return value.
 
cheers,
 
Julian


________________________________

	From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
	Sent: 03 October 2007 22:39
	To: xerte at lists.nottingham.ac.uk
	Subject: [Xerte] Incorporating Captivate movies in Xerte 1.7
	
	

	I'm using Adobe Captivate 3 swfs with Xerte. I can get them to
play just fine, but I would like to figure out how to detect when the
swf has finished playing, and then take some action (like display a
button or automagically go to the next page). I've tried using the
onMovieComplete event, but it doesn't seem to trigger. Does that only
work with FLV movies?

	Here's what I tried: 

	I have a graphic icon with an id of 'ratesSWF'. I added the swf
to the url property and set Autoplay to 1. The movie loads and plays. I
follow the graphic icon with an Event-type interaction. The event
property is set to 'onMovieComplete' and the icon property is set to
'ratesSWF'. The Event response has a Text icon attached that displays
'Movie Complete'. But when the swf is finished, the text does not
display.

	Captivate 3 has the option to execute JavaScript on slides.
Would Xerte be able to detect this? If so, how would I go about it?

	Thanks! 

	_____________________________ 

	 Paul Swanson 
	 Instructional Designer 
	 Harland Financial Solutions 
	_____________________________ 

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


More information about the Xerte mailing list