0 Replies Latest reply on May 25, 2006 7:57 AM by toronto_sean

    button movieclip...why is it not working?

    toronto_sean
      I have the following code attached to a frame in the main timeline:

      function loadGallery(galName) {
      _root.xmlDataPath = galName+"/imageData.xml";
      mcViewer.loadMovie("viewer.swf");

      loadGallery("mygallery");

      that all works fine. BUT, I then have the following

      mygallery2.onRelease = function() {
      loadGallery("mygallery2");
      trace("working!");


      mygallery2 is a mc. the trace is working, so it's working as a button.

      It refuses to laod the gallery2 info.

      Am I missing something completely obvious here? please

      thanks!
      seán