How Do I Add a Zoom Slider & Navigator to a MultiScaleImage?
I want to know how to add a navigator pane and zoom slider control to the Flash CS4 MultiScaleImage example.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The best answers from the company
-
Mars,
I went ahead and updated the Flash CS4 MultiScaleImage example to include a scene navigator and a zoom slider:
http://code.google.com/p/open-zoom/so...
Flash can be hard for newcomers and I didn't create many examples for Flash CS3/4 because it's not my tool of choice. If you have programming experience but not with Flash, I highly suggest you to get Adobe Flash Builder 4, a tool which is based on Eclipse.
The essential code to include the SceneNavigator component are the following two lines of code:
var sceneNavigator:SceneNavigator = new SceneNavigator()
sceneNavigator.viewport = image.viewport
As for documentation, it's still lacking but the nice thing about open source is that you can read the source code.
Let me know if the new example works for you.
Cheers,
Daniel
P.S. Setting the correct minimum & maximum for the zoom slider requires some math which I didn't go into for this example. In order to adjust the style of the navigator, you'll have to dive into the original component source code.
The company says
this answers the question
-
Mars,
I don't have a readily availabe example but you I suggest you to have a look at the SceneNavigator component for Flash:
http://code.google.com/p/open-zoom/so...
As for the zoom slider, I haven't done this myself so far but I know that Christian has, maybe you could get in touch with him. Here's a link to a discussion we've had:
http://getsatisfaction.com/openzoom/t...
And here's the result:
http://getsatisfaction.com/openzoom/t...
Cheers,
Daniel
The company says
this answers the question
-
Inappropriate?Mars,
I don't have a readily availabe example but you I suggest you to have a look at the SceneNavigator component for Flash:
http://code.google.com/p/open-zoom/so...
As for the zoom slider, I haven't done this myself so far but I know that Christian has, maybe you could get in touch with him. Here's a link to a discussion we've had:
http://getsatisfaction.com/openzoom/t...
And here's the result:
http://getsatisfaction.com/openzoom/t...
Cheers,
Daniel
The company says
this answers the question
-
Inappropriate?Thank you Daniel,
I spent the last few days trying to implement the SceneNavigator but I must admit defeat. I don't have the skill level to add this component to the Flash CS4 Example of the MultiScaleImage.
Is this a trivial excercise? (To implement the SceneNavigator) or does it require allot of work?
There doesn't seem to be any documentation about how to implement this component. If there is, I didn't find it.
I have abandoned the slider implementation altogether. The SceneNavigator being the crucial element that I require. -
Inappropriate?Mars,
I went ahead and updated the Flash CS4 MultiScaleImage example to include a scene navigator and a zoom slider:
http://code.google.com/p/open-zoom/so...
Flash can be hard for newcomers and I didn't create many examples for Flash CS3/4 because it's not my tool of choice. If you have programming experience but not with Flash, I highly suggest you to get Adobe Flash Builder 4, a tool which is based on Eclipse.
The essential code to include the SceneNavigator component are the following two lines of code:
var sceneNavigator:SceneNavigator = new SceneNavigator()
sceneNavigator.viewport = image.viewport
As for documentation, it's still lacking but the nice thing about open source is that you can read the source code.
Let me know if the new example works for you.
Cheers,
Daniel
P.S. Setting the correct minimum & maximum for the zoom slider requires some math which I didn't go into for this example. In order to adjust the style of the navigator, you'll have to dive into the original component source code.
The company says
this answers the question
-
Inappropriate?Hi Daniel,
This is me doing a happy dance!
Thank you sooooo much!
I really did try my best to get it working. I actually managed to get the Navigator to display but it wasn't functional.
I guess the following line was needed:
sceneNavigator.viewport = image.viewport
It was my first attempt at ActionScripting and through the process I have learned allot. I will now continue to play around with the code who knows maybe one day I'll be good enough to contribute something to the OpenZoom project. -
Inappropriate?Mars,
You're welcome. I'm happy I was able to help. :)
I'd really love to see OpenZoom supported in the DSpace system.
Let me know if you have something to demo!
Cheers,
Daniel
I’m happy
-
Inappropriate?Just wanted to add, creating experiences with OpenZoom can go way beyond «single image, slider & navigator», as this example shows:
http://albawater.com.vn/
It's just good to have this back in one's mind. Sometimes it takes some customization to create the absolute best user experience.
–Daniel
I’m excited
Loading Profile...




EMPLOYEE