Solved

Changing image path with Zoomify doesn't change image right away.

Posted on 2008-10-29
7
515 Views
Last Modified: 2013-11-11
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);

Open in new window

0
Comment
Question by:Joomlajohn
  • 4
  • 2
7 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 22839157
is this the zoomify from zoomify.com?
if so have a look where setImagePath is called.
and try calling that again with the new image.
0
 
LVL 1

Author Comment

by:Joomlajohn
ID: 22843494
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.
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 22843704
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
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 1

Author Comment

by:Joomlajohn
ID: 22843923
updateView() needs to be called after anything changes.
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 22844134
in the interest of knowledge sharing care to share the solution.
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 22844143
sorry my bad. i didn't see that post when i first got the email.
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 22884124
Question PAQ'd, 500 points refunded, and stored in the solution database.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now