Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sugarcube v0.9.9 and sound

Hi....

I am trying to get sugarcube ver 0.9.7 or v 0.9.9 to work with sound files  using chrome or firefox and I am coming up with "cannot read property of firstchild of null."

Sound works fine in Sugarcane but not Sugarcube.....Is there a reason, please?

Comments

  • Leon's sound macros script isn't compatible with SugarCube by default.  That's easy to fix though.

    FIND: (approximately line 86)

    var div = document.getElementById("storeArea").firstChild;
    REPLACE WITH:

    var div = document.getElementById("store-area").firstChild;
    That should do it.
  • Thank you so much :) You're a star!
Sign In or Register to comment.