Joke Collection Website - Bulletin headlines - How does flash use the as2.0 language to control the loading of video clip 1 when the mouse clicks on the stage, and then the loading of video clip 2 when clicked again?
How does flash use the as2.0 language to control the loading of video clip 1 when the mouse clicks on the stage, and then the loading of video clip 2 when clicked again?
Since you can use the as2.0 language, you should be able to do basic programming. I will not write the specific code. I will give you an idea for your reference:
Create a button frame And a loading frame
Create a stage-sized button in the button frame. When making the button, select the "click" frame (transparent button), and then place it on the top layer
Then add the counter (i++;) under the button and goto to the loading frame;
Load the video clip name + i in the loading frame and then goto back to the button frame.
This is basically it. now;
- Previous article:Nanyang Municipal Civilized Unit Selection Conditions
- Next article:What are the English materials for the 2022 Winter Olympics?
- Related articles
- Analyzing the future development ideas of Hakka cuisine based on contemporary dietary nutrition perspectives
- Where can I donate clothes?
- The detailed plot of the solitary castle! I don¡¯t understand a bit! Everyone help
- Work Statement Speech
- Which of the eight members of the construction project is the most important?
- Can the Emergency Management Bureau manage the fire brigade?
- Please help me think of the name of a beauty shop. What I do is Chinese herbal medicine beauty, pure natural, without any chemical corrosive and irritating items.
- What does gww mean?
- Mushroom poisoning funny circle of friends
- The top ten of Jiangxi automobile sales groups (Jiangxi¡¯s entity enterprises are relatively powerful)