I can tackle 1 one those, the rest are juts inferences:

1. not sure; try setting the v and hScrollPolicy = "off" before you drag.

2. How are you dragging it?

3. Yep!  Don't know if this is Flex documented :: takes 2 millisecond look 
:: Weird, don't see it.  Anyway, do 2 things:
- set your framerate to at least 31 fps, if it's not already
- try setting _quality = "LOW"; _quality should be global and the compiler 
shouldn't whine :: tests :: ah, cool, it works here.  Ok, set it to "LOW" 
when you drag, and change it back to "HIGH" when your done.

----- Original Message ----- 
From: "carloslozanodiez" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, April 16, 2005 1:02 PM
Subject: [flexcoders] Drag/Pan/Zoom HOWTO-do it better?




Hi all,

I've loaded a SWF map into a mx:Canvas (Flex 1.5) and need advice as
to how to tackle the following problems:

- When zooming/scaling the map the mx:Canvas scrollbars (always set
to on) are not behaving properly (sometimes not reflecting the
change in the scale of the content and sometimes disappearing
altogether). Any pointers as to how I can get the mx:Canvas
scrollbars to behave correctly/consistently?
- When moving the map around in the mx:Canvas using the scrollbars
the movement is jerky and slow. Any tips/samples on how I can
improve the behavior?
- When dragging the map with the mouse clicked down the movement is
jerky and slow at best. Does anyone have any tips/samples as to how
to optimise this type of functionality? Is there a means to reduce
the rendering quality of the SWF displayed within the Canvas to low
while dragging to mitigate the effects of this problem?

I'm a Java coder and still getting to grips with mxml and
as2 "tricks". Any tips/hints/pointers/samples much appreciated.

Thanks,

Carlos Lozano
Quavantis







Yahoo! Groups Links








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to