[Flashcoders] using scrollRect and the width / height properties in AS3 F9 - weirdness

2008-04-01 Thread John Axel Eriksson
Hi. I'm building a simple scrollbar and a scrollcontent class. I'm using these in dialogs among other things. These dialogs draw a frame around their content based on the contents width and height + a margin (to describe it simply). I've not had any problems with this until I started

Re: [Flashcoders] using scrollRect and the width / height properties in AS3 F9 - weirdness

2008-04-01 Thread Pedro Kostelec
I don't get your problem. What is this code about? It has no scrollbar??!! If you want to refresh the stage faster (using a timer) just add t.updateAfterEvent(); On Tue, Apr 1, 2008 at 8:26 PM, John Axel Eriksson [EMAIL PROTECTED] wrote: Hi. I'm building a simple scrollbar and a

Re: [Flashcoders] using scrollRect and the width / height properties in AS3 F9 - weirdness

2008-04-01 Thread John Eriksson
This code is about the width and height properties not getting changed until some time in the future (perhaps one frame ahead or a few ms ahead) when setting a scrollRect. This causes all kinds of problems. The code was very very simple, just to show that the values are not immediately changed