Current location - Plastic Surgery and Aesthetics Network - Wedding planning company - How to make the title load of FLASH scene?
How to make the title load of FLASH scene?
Let me give you a simple example here. After understanding the basic principles, you can do some complicated things. FlashMX provides a very good object to design and load. First of all, you have to understand that to load, you need to add a new scene to the movie you have already made, and then use shift+f2 to activate the scene panel and put the newly inserted scene at the top. Start the design in this scene: 1. Use the rectangle tool to draw a filled column with a border, only select the filled part, f8 will be converted into mc, and the name "column" will be given in the property panel. Remember to set the registration point at the left center when converting (the load bar will become longer from left to right). 2. Create a new layer, drag out a text field with a dynamic text box, and set the corresponding font size, font and color. The color should be compared with the background color. Then, in the property bar, name it "percent" in the instance name to show the percentage of downloads. Place this text box below or to the right of the Bar. 3.ctrl+f8 creates an empty mc and returns to the scene without designing anything. Put this empty mc in the library anywhere in the scene and name it "kongzhi" in the property panel. Right-click to add a script: onclipevent (enter frame) {xiaozaik = _ root.getbytes loaded ()/1024; zongK = _ root . getbytestotal()/ 1024; dl percent = int(Xia zaik/zongK * 100); _ root . percent . text = dl percent+“%”; _ root . bar . _ xscale = dl percent; }4. Add a layer to the scene, insert a key frame in the second frame, and insert other layers into a normal frame in the second frame. Add a script to this empty key frame: if (kongzhi.dlpercent = =100) {nextscene (); } else { gotoAndPlay( 1); }5. ok.