?
Solved

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

Posted on 2008-10-29
7
Medium Priority
?
528 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

777 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