Joomlajohn
asked on
Changing image path with Zoomify doesn't change image right away.
I have a drop down that changes the image path for Zoomify, the problem is the image doesn't change until the interface is clicked or dragged. imageCombo is a combo box on the stage. viewer is the Zoomify component on the stage. The path is set correctly as the image does change with user interaction. The combo box is triggering the change, I have output a trace and also debugged. Is there something I have to invalidate to get Zoomify to load the image?
function change(evt){
_root.viewer.setImagePath(evt.target.selectedItem.data["file_imagePath"]);
}
imageCombo.addEventListener("change", this);
ASKER
This is Zoomify from zoomify.com. I have traced and debugged the path being passed to setImagePath(). The correct path is being passed and is loading when user interaction happens, dragging, zooming in/out, not before then.
ok i'm not familiar with zoomify, but i was looking at the APIs and that's what i mean.
i'm thinking you need to call that again each time
i'm thinking you need to call that again each time
ASKER
updateView() needs to be called after anything changes.
in the interest of knowledge sharing care to share the solution.
sorry my bad. i didn't see that post when i first got the email.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if so have a look where setImagePath is called.
and try calling that again with the new image.