Hi there - I have two methods in a class - one that creates a bunch of
thumbnails, and one that wipes them out to be redrawn again at a later
time (due to requiring a different number of thumbnails).
At any rate - when i create my thumbnails, all works fine the first
time, but after they have been wiped out, and I recall my method to
re-draw the thumbnails, for some reason my buttons are not working. Now
I did a bunch of tracing tests to see if:
1) they were created properly
2) if they were put into the proper x & y locations
3) if the buttons created were actually there by the proper instance names
4) the buttons were actually the proper type (ie instanceof)
5) if the MC's created were actually there by the proper instance names
6) the MC's were actually the proper type (ie instanceof)
They all traced back properly. But for some reason the buttons do not
work (the cursor does not change into the "hand"). And no onPress events
are fired.
I loop through a database result to build the buttons within empty MC's
also created at runtime. While it loops it is also creating runtime
loader components and assigning thumbnails to them.
Then when a person clicks for the next page of thumbnails, another
function is called which uses destroyObject to remove my loader
instances, and then uses unloadMovie to remove MC's which contain my
buttons. Then the recordset is incremented and the function is called
all over to build the next pages of thumbnails.
ideas?
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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