<div dir="ltr"><font color="#000066"><font face="verdana,sans-serif">Hi,<br clear="all"></font></font><div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif">I have put sound on some movie clips in a drag and drop exercise.  They play fine in the SWF but not in Xerte.<br>
</font></div><div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif">The sound code, which is in the main timeline is as follows:</font></div>
<div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><div>var Sound1:Sound = new Sound()</div><div>
Sound1.attachSound("Sound1")</div><div><br></div><div>And in the movie clip's onPress code (also in main timeline):</div><div><br></div><div><div>movie_clip.onPress = function(){</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Sound1.start()</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>this.startDrag();</div></div><div><br></div><div>I also have this._lockroot = true; in the first frame of the movie.</div><div><br></div><div>In case it's relevant, I have had no problems in Xerte with adding sound dynamically to buttons with the following:</div>
<div><br></div><div><div><div>on (press) {</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>yellow = new Sound(this);</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>yellow.attachSound("yellow");</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>yellow.start(0, 1);</div><div>}</div></div></div></font><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><div><br></div><div>But this time I need the sound on movie clips for the drag and drop.  </div>
<div><br></div><div>Any suggestions gratefully appreciated!</div><div><br></div><div>Deborah</div><div><br></div><div><br></div></font></div><div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br>
</font>
</div><div><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div></div>