Hi Paul,
Thanks for your response.
I have attached the AS used - but it is largely irellavant - I think - as I
have the same problem in FlashMX2004 as a whole - not just this section of
code. The only constant is that I use attachMovie and attach a component at
the same levell the previous compoennt was at. For example:
renderScreen( mcRef ){
.... blah blah blah ......
this.panel = mcRef.createEmptyMovieClip("nPanel",6);
// the 'Next' button.
if((this.index + 1) < total){
this.panel.attachMovie("Button","nextButton",46);
this.panel.nextButton.setLabel("Next >>");
this.panel.nextButton._x = 470;
this.panel.nextButton.addEventListener("click",screenManager);
}
.... blah blah blah ......
}
this renderScreen function is called each time I draw a new screen - what I
expect is the new component to immediately appear in place of the old one.
What does happen is that I get a flicker effect between the old one being
removed and the new one actually appearing.
When I do this this with a standard movie clip with a graphic in it, I get
the effect i was looking for - but not when I use a component. My app is a
series of screens that redraw thmselves each time the user clicks next or
previous - this flicker is quite noticable as the other elemnts that I load
at the same time (textfields etc) appear immediately, and then a split
second later the components decide to show up!
Andy.
[quoted text, click to view] "Jan-Paul K." <webforumsuser@macromedia.com> wrote in message
news:c72e43$sjv$1@forums.macromedia.com...
> Hi,
>
> could you post your fla here or at least the AS used?
>
> Regards,
> Paul