Flash 8 Professional - Load Movies, Time, Remove
Posted on 2006-05-09
Thanks to a lot of help here I have my graphics creation and motion capabilities, I have the ability to format, load, and display XML, and the ability to ask the question and decide if the answer is correct. I have learned a lot so far.
Now I need to load a movie based on correct or incorrect answer (that is the only thing on stage) and clear it out for the next question. I was thinking the best way to do this is with individual layers and hiding the question layer and making one of the movie layers visible. I am quite unsuccessful in hiding layers through code, though. Is this the best way of handling this? Please give sample code of hiding and displaying different layers or code (with explanation) of the best way to accomplish swapping out different movies.