Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrollPane issue

Status
Not open for further replies.

lastingforhours

Programmer
Dec 29, 2004
49
US
my scrollPane is screwing up my preloader...

i have a flash website that loads 7 smaller flash movies with a movieClipLoader object.

movieClipLoader works fine and is using 3 methods...
- onLoadStart, attaches preloader movieclip from library
- onLoadProgress, update progress bar
- onLoadComplete, removes the preloader movieclip

in one of those 7 movieclips i have a scrollPane component and when i view that page and return back to the main movieclip, then go to any of those 7 movie clips, my preloader movieclip will be attached and refuse to be removed from that point on.

this ONLY happens after returning from the movieclip that has the scrollPane and when i take out the scrollPane, everything works fine.

is there something about scrollPanes or components in general that im missing thats screwing up my movieClipLoader?

--
Matt Milburn, Wave Motion Studios
matt@wavemotionstudios.com
 
suggestion only

try adding

this.invalidate();

as the last line of the onLoadComplete call
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top