Help with #1009 and preloader
Hello, I'm a flash begginer and I have a problem with a simple site in AS3. The site does work till i place a preloader on it.
The code for the preloader is below but I guess it doesn't cause the problem because it works on other sites:
The AS on the second frame:
and the error:
TypeError: Error #1009: ble, ble, ble
I guess the problem is with the first_bth because when I move it to the first frame the movie works - but it does not do what it should - subpages does animate in as they should but they stay in place whithout moving out. Does anyone know how to solve this?
error #1009 is a very common error. It means that you're addressing something (a movieclip, a button, ...) that isn't there yet.
Also, from the rest of the error message, we can deduct that the error occurs at frame 2. So try commenting out the buttons one by one, and see if maybe one of them isn't available (this could be because of faulty instance naming for example)
General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.