I'm trying to use jcarousel to cycle through flash objects.  I've got
the whole thing working well rotating out my HTML, but the problem is
flash's z-index issue.  To solve this, I figured I'd use the
ItemVisible handlers to hide the HTML when it left the stage:

function itemVisibleInHandler(carousel,item,pos) {

    newitem = carousel.get(pos);
    newitem.show();
  }
  function itemVisibleOutHandler(carousel,item,pos) {
    newitem = carousel.get(pos);
    newitem.hide();
  }

This does something weird though. The first part works great, but then
when it gets to the outhandler, firebug says the pos and the item
params are referencing li-1 (the one that just left the stage),
however, when I run hide the visible one disapears!   However, when
browsing the DOM, it says that it hid the first one!

Does anybody have any clue what is going on here?

desperately,
Jacob

Reply via email to