[Xerte] Controlling Xerte Sound Icon From an external SWF

Paul Beckwith, AC&S Ltd paul.beckwith at acns-group.com
Wed Jun 4 17:16:55 BST 2008


I did write a monster of an email explaining but just as I was about to send
it, I figured it out!

 

It has brought me to another problem though..

 

If I use reset() on a sound icon that has many sync'd pages attached to it,
all the pages reset too. 

 

I can see a startsound function but not a pausesound / resetsound one to
keep the sound separate form the actual icon

 

Any ideas?

 

Paul

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 04 June 2008 15:48
To: Xerte discussion list
Subject: RE: [Xerte] Controlling Xerte Sound Icon From an external SWF

 

what does 

 

 " but I'm writing this code into my custom interface in flash. "

 

mean? 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 04 June 2008 15:29
To: Xerte discussion list
Subject: RE: [Xerte] Controlling Xerte Sound Icon From an external SWF

 

Works for me. Build a simple file with a sound, an interaction, a button and
a script that says 

 

snd.reset();

 

run the piece, the sound plays, hit the button, the sound stops?

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 04 June 2008 15:20
To: 'Xerte discussion list'
Subject: RE: [Xerte] Controlling Xerte Sound Icon From an external SWF

Computer says no.

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 04 June 2008 15:11
To: Xerte discussion list
Subject: RE: [Xerte] Controlling Xerte Sound Icon From an external SWF

 

use reset();

 

 

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 04 June 2008 15:06
To: 'Xerte discussion list'
Subject: [Xerte] Controlling Xerte Sound Icon From an external SWF

Can anybody tell me why this isn't working when used with a button in flash?

 

on(release){

            _level0.engine.rootIcon[currentPage].PageSound.stop();

            

}

 

PageSound is the name of my sound icon in Xerte.

 

 

 





Aerospace Consulting & Services Ltd

 <http://www.acns-gmbh.com/> Engineering, Training, Consultancy

 



Paul Beckwith
Multimedia Developer 

AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK 


 <mailto:mark.tomlinson at acns-group.com> paul.beckwith at acns-group.com
 <http://www.acns-group.com/> www.acns-group.com 


tel: 
fax: : 

 
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+8
55+997&Email=mark.tomlinson at acns-group.com> +44 1253 855 997
+44 870 762 6818

 

 

 

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


More information about the Xerte mailing list