In this section we use two buttons to control the simple jump frame, making an interesting card; by "gotoAndPlay ();" This common basic command enables the person who opens the card to select only one button. In this idea we make a card to the lover, asking for forgiveness; "Forgive me?" "There are two answers to the question:" Consent "and" disagree "; of course, our goal is to let each other choose which button to choose the end can only be the choice of" agree "the end. It's an interesting example. OK, so let's start with a detailed explanation here.
Open FLASHMX 2004, expand File/import/import to Stage (Ctrl+r) to import a picture of a flower background (see the material library).
Picture 4-1-1
Select the imported flower pictures click Modify/Convert to components, in the behavior bar select "Graphics", the Name column fill in the "flower" as the figure 4-1-2, and then determine, so that inside the library has a name called "Flower" components.
Picture 4-1-2 as shown in Figure 4-1-3 Double-click a layer to change the layer name to "flower", click the Lock at "2" to lock the "flower" layer so that you can avoid editing the "flower" component in the next work, and click the button at 1 to create a new layer two and use the same method to name it "other".
Picture 4-1-3
Open the original file material library characters 1.fla, copy inside the left crying characters, back to the current scene, click the layer "other" and paste, such a dynamic vector characters are imported into the "other" layer. (The figure of the drawing method we will be in a separate chapter in detail);
Figure 4-1-4 Draws a dialog box on the scene with a rectangular tool.
Figure 4-1-4
The layout of the current scene is shown in Figure 4-1-5.