PDA

View Full Version : pan and zoom


kentyler
04-18-2004, 06:52 AM
I need an interface for an application that will do a lot of pan and zoom over multiple panes of text. Does lazlo have anything built in for this, or is just the flash context menu zoom in , zoom out and the little hand to move around available.

antun
04-18-2004, 04:42 PM
I wouldn't recommend using the Flash context menu features for this at all. It can be disabled at the <embed> tag level, and it doesn't interface with the application. It just zooms into an area of the app.

Instead you could write that into your app - just have a view that the user can drag around in order to pan.

-Antun

kentyler
04-18-2004, 05:34 PM
So I could create a "container" view that contained the different views that held text. That works for the panning, what about zooming in and out. Does laszlo having anything built in for that ?

antun
04-18-2004, 06:07 PM
If you specify a font and included it, then add stretches="both" to the <text> view, that might cause the text to grow and shrink.

-Antun