for a fast test, you can start an onEnterFrame when the some key (like control) is pressed, in which you simply use the mouse position to move the content mc ... But anyway, you said that writing in a textfield took 5 seconds, so you dont have to move your content mc to see whether there is a difference.

Janosch



André Goliath schrieb:

Would be an idea, but how would I attach scroll bars/simulate scrolling to
the holder mc? have a dragabble button and make it move the mc behind the mask?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of janosch
Sent: Monday, July 10, 2006 6:24 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] improving ScrollPane performance

Before you start implementing pages, try out to load all the content into a simple masked MovieClip and check the performance.

Janosch




André Goliath schrieb:

Andy and Eric,

thanks for your responses :)

Unfortunatly you confirmed what I was afraid of ;)

cacheAsBitmap reveales the problem that the text fields look messy and get
crippled after scrolling or even editing.

A kind of "draw only if neccessary" would also be impossible to me since
the
pane is a kind of editor,
and therefore I do not know what the user wants to see or edit. I would run
into scrolling issues too.

I guess I have to go with plan B 1/2:"Implement a pageing system" then,...

Thanks,


André

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Stone
Sent: Monday, July 10, 2006 5:05 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] improving ScrollPane performance

That might be too much for Flash to handle. You might be able to only load
the MCs that are near the visible area by making a grid and get the
ScrollPane position? -A



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of André
Goliath
Sent: Monday, July 10, 2006 10:59 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] improving ScrollPane performance

Hi List,

I´m using Flash 8´s ScrollPane to dynamicly load up to 400 MCs in it. Each
of the loaded MCs gets instanciated from the library and then filled with
some data via AS. The loaded MC contains some HTML textfields and another
movieclip which loads a JPEG using loadMovie directly off-disk (it´s an exe
projector).

Now, once the ScrollPane is populated it takes incredibly long for
scrolling
and even typing few chars in the textfields tooks about 5 secs until they
finaly appear.

is there anything I could do to improve the performance of the Scrollpane?
Or is that jsut too much data for Flash to handle?
My plan B would be to break the 400 loaded MCs up into "pages" but I´d
rather not do that.

Or is there any other component that performs better and could be used as a
drop-in replacement for the original Scrollpane?

TIA

André
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to