Beginners Flash People's Gospel FAQ Big Summary

Source: Internet
Author: User
Tags define empty execution final implement stop script tag name password protection
Beginners | questions 1. What do you mean by the MC, FS, as representative on the forum?

Mc=movie Clip (cartoon break); Fs=fscommand is a very important command set for Flash; As=action script is the programming language of Flash.

2. Please say the detailed application of MC, it and the general layer what is the difference? What is it used for?

MC You can be seen as an independent object. And he's an animation. He is characterized by infinite nesting. Layer is an independent space, he can better plan your production ideas. There is an event in one layer.

3. How is MC played in the scene?

Drag the MC to the scene, it will play automatically when the animation is played, if you do not add STOP,MC in the last frame will default to the loop. To watch the effects of playback you must perform ctrl+enter. A long MC in the scene also occupies only one frame of the position, if it is a lot of frame animation segment, the execution of every other frame MC will replay.

4. Why do objects always move in a straight line when you're doing "moving along the trajectory" animation?

The center position of the first or last frame object is not placed on the trajectory. A simple check: You set the screen size to 400% or greater to see if the circle in the middle of the graph is aligned with the trajectory.

5. Why does the object always move in a straight line while doing the closed path animation?
Remove the closed path and try it out a little.

6. How to solve the problem of rotating speed in flash?

Modify>movie, you can adjust the system in the text box after frame rate (or Ann ctrl+m), or shorten the motion distance of hardwood.

7. Why is the text button not flexible?

When you're making a button, unspecified hit area (hit area is the trigger area of the button), especially when making a text button, the general definition of a rectangle as a hit area, if the hit area is not defined, the system will be text as a button trigger area, when used naturally is not very flexible. The hit area is hidden and is not displayed in the scene.

8. How do I output animation as a animated GIF file?

After the Publish settings (Publish settings) >format (format) >gif image (GIF) is set up, the GIF file is exported with the Publish (publish) feature. If the FLA file contains an MC, the GIF file will not contain animations in the MC, but will only convert the first frame of the MC to GIF.

9. How to output a picture of a frame frame in flash?

Select File>import and select GIF Image in the Drop-down list in the pop-up dialog box.

10. How to set the background of flash?

Set the background color can press CTRL+M, select the color item in the backround (background), if you want to use a graphic to do the background only at the bottom of a layer import (input) an image can be.

11. How to set the background to the color you want in flash?

Choose a background color is no box to let you fill in the color code, but we can in other ways, first in the scene to draw a square, with the color you want to fill (you should be able to choose to fill in the color code, such as #ff9900), and then select Modify Movie (ctrl+m), Use the Eyedropper tool to select the color you just painted. But even then, the color may be a bit different, perhaps a Flash5 bug.

12. How to change the color of the round edge when drawing a circle?

Change the edge color by selecting the Stroke Color button in the upper-left corner of the mixer panel.

13. How to draw the standard positive square?

Hold down the SHIFT key while drawing with the mouse.

14. How do you align your goals and put them where you want them?

Select the target, then->object (object) from the main Menu->windows (window)->inspector (view window) and then adjust its height (h), Width (w), start position (x,y), and center alignment (use center). The way to align multiple objects is by pressing CTRL+K.

15. How do I do the animation of text deformation?

After the relevant two frames in the text ctrl+b scattered in the previous frame text to do shape (shape) movement. In addition, symbol cannot do shape. This means that the object to be deformed is a vector graphic.

16. How can I cut out the text or figure?

Break the word or figure, first use the ink bottle tool to paint its edges, and then select the middle part to remove it.

17. How to adjust the playback order of multiple scenes?

Windows (window) >inspector (view window) >scene (scene), you can adjust the scene play order, rename, delete and so on.

18. A section of the MC frame, how to move to the scene?

You can select all of the MC frame first, press ctrl+alt+c, and then switch to scene to press Ctrl+alt+v.

19. How to put the SWF into the FP2000?

First select "Insert"-> "Insert ActiveX" under the menu to see if there is a Shockwave Flash object project. If not, select "Custom" below and tick the box in front of "Shockwave Flash Object". Then press OK. At this point, there will be a white option in the edit area. Select it. Double click. At this point you can enter your flash path, whether the loop and so on. Remember that inserting flash,frontpage in FrontPage does not define the size for flash, and you must define it yourself: Double-click the White block option, select the OBJECT tag, and change the width and height to the size you want. In fact, using FP is better than using DW.

20. How to make a line to stretch out a little bit?

A keyframe inserts a short line segment, another key frame inserts a long line segment, and a shape animation is made on the previous keyframe.

21. How does the overall size change in the Flash5?

Create a new FLA, and then use the Load movie method to import the original SWF into an empty MC, and then control the position and scaling of the MC. You can also press CTRL + A to select and resize all of the objects on all layers.

22. How to merge layers?

From the first frame of the first layer to the last frame of the final layer to copy, and then a new layer for paste.

23. How to make multiple frames selection?

You can select multiple frames with Shift+alt+ctrl, or click CTRL at the first frame you want to select and hold down the shift point to end the frame.

24. How to fix a background picture does not move, and then do animation on it?

Put the picture on a separate layer, lock the layer, and then animate the new layer on top.

25. How do I find the panel outside the window?

Put the status bar under Windows to the bottom, then zoom the Flash window, look carefully to find the corner of the panel exposed, and then drag it. If your display resolution is 800*600 then tune it to 1024, and then you can see the missing panel.

26. What should you do if you make a symbol that might go beyond the screen?

Make a small one first, then zoom in on the transform panel.

27. How to test loading on the local machine?

Take Flash 5 As an example, select Control>test Movie, open the Debug menu in the Test window, and then choose to simulate different download speed, you can also choose Custom, set the download rate arbitrarily, so you can easily understand at various connection speed, Your loading is playing a role.

28. How do i customize shortcut keys?

Select the Edit>keyboard shortcuts command.

29. How do I tune a Flash5 frame workspace to resemble a Flash4?

Select the edit>preferences command to tick the boxes in front of the FLASH4 Selection style (select Flash4 style) and Flash4 frame Drawing (Flash4 framing) in the pop-up panel.

30. How to remove the Flash Animation right button shortcut menu?

File>publish Setting, and then select the HTML tag, the Dispsay menu before the check out and then released.

31. How do I convert a SWF file to an EXE file?

The SWF file with Control menu can choose File (file) >creat projector (build project) command, convert file to exe file, if it is full screen, can press Ctrl+f to pull out menu, use above method to generate EXE file.

32. How to achieve a different background in a movie?

Different background to do in the MC through the frame automatically read or button hand changes can be.

33. How to make your deformation of the animation process more accurate point?

Select Menu Modify-transform-add shape hint can be added a deformation key point, at the same time in the final frame of the deformation will also be synchronized with the corresponding key points. This method allows you to select multiple key points as needed. Proper selection of the number of key points, adjust the location of the key points can achieve accurate deformation effect. Note that to ensure that the menu View-show Shape hints is turned on, the added key point is not visible.

34. How do I get the animation to continue playing after a while?

Add an empty frame to allow the animation to stay, depending on the time to stay to add the number of frames.

35. What is the effect of typing a word one by one?

You can add a layer to the word, and then use the background to make a rectangle, cover the word. And the rectangle is set to MC, give the entity a name (Instance name), and then use the Set Property statement programming to implement the jump of the rectangle can be. This approach is suitable for places with more words. You can do it with swish.

36. How does a string of words or a picture become clear by blurring?

First set up two layers, the first layer to place the original clear picture, the second layer placed by the blur (fuzzy) of the picture, the first layer of the image generated MC or graphic, and then the alpha gradient can be.

37. How to make the sound loop endlessly?

In the sound panel, fill the Loop text box with a value that is large enough.

38. How to synchronize Flash movies and sounds?

Set the sound to stream in the sound face plate.

39. Zoom in to reduce the entity, always both sides zoom in and out, how to fix one side, zoom in or out side?

Press the Snap to Objects button on the Tools Panel and select the Menu modify>thansform>edit> Center command (note that the object is generated graphic, or MC), after the Hollow Cross in the center of the entity, Drag the cross with your mouse and move it to the one that needs to be fixed, then zoom on the other side. If the horizontal and horizontal adjustment is done at the same time, move the cross to which corner of the two-line intersection you want to fix.

40. How to make a caption from the top down scrolling effect, and subtitles than the scene small, and subtitles both sides can normal display text?

You can make the whole text first, then let it produce motion animation, so that it moves from top to bottom. Create a new layer, draw a rectangle on the newly created layer, define the layer as a masking layer, and the layer where the text is masked, so that the test film achieves its intended purpose.

What's the difference between Graphic (moving) and MC?

The moving graphic must behave at a fixed length on the timeline, while the MC is unrestricted. If said to stop the animation with the Stop command, graphic stopped, and the MC can continue to cycle movement. One of the biggest differences is that graphic can't do tell Target, and the MC can.

42. How to produce action when the mouse is near?

First make a button, and then in the button over the frame, put a MC (that is, to produce the action), other frames made of empty frames, that is, make an implicit button.

43. How do I rotate the symbol horizontally?

Create a motion animation for symbol between two keyframes, then select symbol on the second frame position, open the menu to select Modify>tarnsform>flip Vertical (flip vertically)/horizontal (flip horizontally) Commands should be able to achieve the purpose you want.

44. How do I modify the canvas size without changing the position of the finished component?

The question is wrong in itself. The point is that the component location does not change as the canvas changes, and the effect you want is to change the component as the size of the canvas changes. The best way to do this is to complete the animation during the publishing process by checking the HTML options in the release settings and changing the size format of the HTML file. If you want to add a few components to the scene and you need the canvas to have extra space, you can just increase the width or height of the canvas.

How does Flash read the text box "Textfield"?

Load Variables ("*.txt", 1)------Build a text box. Ariable fill in the name you want. For example: text-------build a TXT file. Placed in the same directory as the SWF, the contents of the inside:

text= what you want.

46. What are the methods for exporting transparent pictures?

Only the publication of transparent GIF images is supported in Flash. Tick the GIF option in the Publish settings, which has transparent items, the default format is opaque, the second item in its Drop-down list is a transparent item, check it out, publish it to the transparent GIF format image.

47. How do I keep the imported bitmap still transparent?

Although Flash animations are animated based on vector graphics, we can still use bitmaps in them if necessary. and FLASH4 supports transparent bitmaps. In order to introduce transparent bitmaps, we must ensure that GIF images with transparent portions use a Web216-color security palette, rather than other palettes. In the case of Photoshop, a commonly used bitmap processing software, we have to change the pattern of the picture to the GIF format before converting it to "Indexed Color", when we can choose the palette for the "Web" palette, and then output to the gif89a format, such a transparent GIF image after the introduction of Flash, the original transparent parts can remain transparent.

48. How can you add password protection to your work?

Select Menu Flie-export moive pop-up the following Export Flash Player dialog box, check the "Protect from import" One, you can restrict others to your work import use. But sometimes your own source files have been lost, or to allow friends to import the use of your animation, it is inconvenient. At this point, you can check the "Password" in the dialog box, and then output the animation. This way you can just keep your password in mind and let yourself or your friends import the animation with you.

49. How to quickly scale the scene size of the completed animation?

To do this, press CTRL + A to select all the objects in the section (if the layer is locked, unlock it first), press "Edit Multiple Frame button" (Edit multiple Frames), click the Onion Skin button on its right (Modify Onion markers), and choose Onion all, as shown in the figure, then you can use the Zoom tool to scale all objects to the size you want. Finally press Ctrl+m to open the scene Modification dialog (Movie Properties) and change the scene size you requested. and press the match content (match:content) button in the dialog box. As a result, the size of the scene will match the components of the scene automatically. This method can also be used to adjust the position of multiple frames at the same time, that is, a piece of animation (note: not a frame) when the composition deviated from the side, you can use this method to adjust. Unlike the above method, you simply do not have to go to the scene dialog box for processing.

50. How to make the layer a little tighter?

Click on the right side of the timeline with a black triangle logo, select Short in the menu. The menu also has an option command that adjusts the zoom of the frame.

51. How do I set the animation background to be transparent?

One of the HTML columns in the Publish Settings is window mode, and a transparent window is OK. However, transparent only in IE can be, in the NC will fail.

52. How to change a picture into a flash file any scaling without sawtooth?

If the import is a bitmap, must be converted to vector graphics format, vector graphics capacity is small, magnified without distortion, there are many software can convert bitmaps to vector graphics, but in fact Flash has provided a bitmap to convert the bit vector graph method, simple and effective. First press Ctrl+r to import the bitmap that you want to convert, select Menu Modify-trace Bitmap. In the pop-up dialog box, the color and Minimum area set the lower, the latter two set more closely, the more the rotation (that is, the Drop-down menu before the option), the resulting graphics file will be larger, the more refined the screen.

53. How to arrange a line of Chinese characters around a center?

Play a character first (don't break it) draw a circle as a guide line, with the guide line to do this character around the week animation, a few words around the animation to make several frames, rotate select None, the Orient to path, and then each frame into a keyframe, delete the guide layer, Select the Onion skin function Edit multiple frames, select all frames, the first frame after all the frames are cut, ctrl+shift+v to the first frame, the surround is done, and then change each character to what you want on the line.

Flash5 inside eliminate text sawtooth with which implementation?

The text entered directly inside the flash can be displayed in a sleek

Note the menu View>antialias texts item is selected.

55. How to neatly Plan the tool panel in Flash?

Select Menu Window-panel Sets-default Layout, everything will be arranged neatly. Think every floating tool window is too big, right? Double-click the blue title bar above the window to minimize it, and then double-click it to open it. In addition, the entire FLASH5 window in the lower right corner of these windows also has a shortcut button, very convenient.

56. How do I scale scenes in Flash5?

Previous version scaling objects can only use the mouse or Magnifier tool to increase or decrease the size of the scene. , but it's not the same in Flash5. Just press ctr+ or ctr-to easily change the size of the scene.

57. How do I call an external library file?

Open the menu File-open as Library, you can easily use the symbols. This is such a simple practical question, incredibly many people do not know! Further, you can also select the File-open as Shared Library command to directly invoke the symbol library in the online FLA file, and the elements in this library need to be downloaded only once while the client is browsing. All of the items used in this library element of the movie place, the client will automatically call these elements without downloading again, can save users a lot of download time. This is especially useful when the team is developing together. This is the charm of the Flash5 "shared element Library".


58. What are the techniques for converting formats in FLASH5?

Flash5 added to the RealPlayer file format output of the full support for their own work on the Internet release, since then another choice, is really surprising. Some people like to use flash GIF animation, or for other uses, need to convert to AVI or MOV format. But sometimes found that a lot of animation information is lost for no reason, the Flash animation applied movie Clip. This is not exactly a skill, but it tends to confuse some beginners. The fundamental solution is one, do not use movie clip in the animation. Of course, you should not expect the generated GIF, AVI, or MOV animations to support the SWF file interaction. When outputting animation to AVI format, be careful to choose the compression method (such as Microsoft VIDEO1, etc.) that comes with Windows.

59. Output animation save for AVI format and then look at AVI, the MC does not move, how to solve?

One, will you want to use the MC size for Sing Woo want to film the same size as 400*500.

Second, build a new layer.

Enter your MC directly into this layer.

All right, you're going to have to export an AVI. Adjust the MC If your position is not correct.

A .How do I draw a polygon in flash?

Take hexagonal as an example: first draw a horizontal line segment, and then copy the segment and rotate it 120 degrees, repeat the 2nd, 3 steps, copy and rotate 5 times, and finally with the Arrow tool will be the end of each segment to put, pay attention to open the adsorption function.

. How do I crop a sound?

Select the layer where the sound is located, and then press Ctrl+f to select the Sound tab above, and then click on it to cut the sound you are entering.

.How do I make the font clear in Flash?

Use Ctrl+b to break up fonts, or use CW font is the effect of traditional characters is also better.

63. How do I make text in a circular motion?

File->new, type tool input "B" (font arial black, size 24, blue), Add Guide Layer, preferably selected Magnet tool (SNAP), select the Circle tool, line Color Select a wake up purpose, Fill Color Select colorless (there is a box in the upper-left corner of the palette, click to change to X on the line, hold down shift in the guide layer to draw a circle, with the arrow tool drag "B" adsorbed to the top of the circle, in the "B" to the left, with a rubber to rub a small gap, select the letter layer, In frame 16th, press F6 to insert the keyframe (you want to do a total of a few words on the first few frames inserted in the keyframe), drag "B" to the left side of the notch (this is the position of the last letter, you can try several times to make all the letters evenly spaced), at the first frame point right select Properties, set motion changes, Mark the Orient to path direction so that the letters can be arranged vertically, OK. Point letter layer, select all frames, press F6 to turn all frames into keyframes. Click the time Line fourth icon edit multiple Frames, and then click the Fifth icon Modify Onion markers, select Onion all. All right, all 16 letters are shown, of course, "B". Deletes the guide layer. Select all the letters and change to symbol symbol 1 by F8. Press Ctrl+l to open the Library window, double-click Symbol 1 to enter the editing interface, select a letter, double-click, and change to the letter and color you want. In turn, all the letters are modified, OK, the main project has been completed. The following can be a small test. Create a new layer and delete the original letter layer. Drag symbol 1 into the first frame of the new layer, insert the keyframe in frame 40th, right-click the properties in the first frame, select Motion,rotate to select the clockwise,1 times, and then publish it.

64. How to make a picture keep circulating?

You can do more than one MC in a few layers, each layer to import a map, and then arrange a good order on it.

65. How to make the effect of writing?

Enter the text you want to write for example, say "move" word, choose a good font, adjust the size, break, this is the last frame. Copy, plug in the previous frame. Erase the last stroke of "move" with an eraser, which is the penultimate frame. Copy it again, and then rub it in the reverse order of the stroke, which is the bottom third frame. Here's the same. Every time you rub how much, you can feel, you can also refer to some of the source file writing effect. One thing to note is that the usual place to write when the pause to add one or more keyframes, as long as the speed of the play depends.

66. How to optimize your work?

As little as possible with a large area of the gradient, especially deformation (Shape), the second is to ensure that at the same time the gradient objects as little as possible, it is best to arrange the changes in the various objects at different times.
How to reduce the size of the animation file: fewer bitmap or node-more vector graphics. The borders of a line or widget are as basic as possible, with fewer dashes or other fancy shapes. Try to use Windows with its own fonts, less with odd Chinese fonts, as much as possible to reduce the font type of an animation species. The use of graphic or movie clip should be used in less-frame animation and repetitive movement changes. Animation output, the use of appropriate bitmap and sound compression ratio.

67. How to invoke EXE files in Flash?

Fscommand ("exec", "Path/*.exe")

Path is the pathname and must be an absolute path.

68. Derived from. EXE file how to automatically close?

On the last frame of flash or on a button

Fscommand ("Quit")

69. How do I adjust the font size in the action?

Click the triangle button in the upper-right corner of the action panel, select Font size in the menu, and choose a large size, or medium, depending on your needs, and the system defaults to the small font.

70. How do I prevent the menu, Zoom in (out) function, and complete the full screen when I double-click the SWF file?

Full Screen->fs Command ("fullscreen", true) this full-screen screen is simply full, and the animation part does not enlarge.

Prevent scaling->fs Command ("Allowscale", False)

Prohibit menu->fs Command ("ShowMenu", False)

71. How to send e-mail to others by button?

Add the following statement:

Get url:mailto:yourname@sina.com

72. What is the effect of TV interference?

1. First draw some short white lines (fine, slightly gray), and then do a few key frames, each frame randomly put some, a continuous play will have effect.

2. Use PS to do a TV snowflake picture, and then import into Flash, select the picture, Ann F8 this picture to generate MC, put it into the main scene, named Xh, in the scene of the first frame add:

SetProperty ("XH", _x,random (10)-5);

SetProperty ("XH", _y,random (10)-5);

In the second frame add: gotoAndPlay (1);

.does the stop script in a keyframe play a role?

The Stop statement stops playing only the frame, and does not stop the execution of the action statement for the keyframe where the stop is located.

What is the role of the path in Flash?

If you have used DOS, you can easily understand the path of the flash. Simply put, a path is the way in which a variable or symbol (symbol) can be found in flash programming. The same way as DOS, divided into relative and absolute two kinds.

in action,/: What is the difference between what and when?

/: is a variable that represents a path, such as/:a, which represents the variable a under the root path, and/represents the absolute path.

.how to control the playback of main scene in MC?

Flash5 _root represents the main scene, with _root. Play () to control the playback of the main scene.

77. How to open a new custom browser window in Flash?

Add: Get URL ("Java script:window.open" (' new.htm ', ' newwin ', ' width=320,height=320 '); ")

78. Click a button to put the music, and then click on it to stop music this effect how to do?

The first set gotoAndPlay (), which frame into play sound

Second jump to another frame and stop all sound

79. How to change the size of the SWF after the transfer?

SetProperty ("Mc_name", _xscale, size_x);

SetProperty ("Mc_name", _yscale, size_y);

"Mc_name" As the name implies is that the MC names, "_xscale" and "_yscale" refers to the MC X and Y point position, this position is used to control the size of the MC. Its "size_x" and "size_y" to set the size of the MC specific value.

.How do I change the position of the SWF after it is transferred?

An easy way to do this is to move the MC that has been placed into the Mocie file, and drag it with the mouse, just like we used to change the position of a picture.

Another method is to use SetProperty to change the position of the MC.

SetProperty ("Mc_name", _x, "position_x");

SetProperty ("Mc_name", _y, "position_y");

"Mc_name" is the name of the MC, "_x" and "_y" refer to the X and Y coordinates, and "position_x" and "position_y" are the exact values of the position.

81. How do I get an MC to call a variable set in another MC?

Enter this statement in the MC: (a B are variable names, Mcname is the entity name of MC)

A = _root.mcname.b;

This statement is to make the variable a of this MC call _root.mcname the variable B in this MC

.How do I open a Word document in Flash?

Flash does not support calling Word files, but the browser can open the. doc document directly, then use Geturl to resolve the path with an absolute addressHttp://www..../word.doc

83. How do I invoke MPEG files in Flash?

Flash does not support the invocation of MPEG files, first to install a three-party software, named Swiffcanvas1.0; then open the FLA file, if the MPEG file directory is aa,mpeg file name is BB, then you can add the following statement:

FS Command ("exec", "Swiffexec (Local:aaa\111.mpeg)");

Then the FLA file output as EXE file, and Swiffcanvas open this EXE file, and then set up in Swiffcanvas to complete their own requirements. The final output is the. exe file, which is OK.

Repair: If you think the above method trouble, you can download an auxiliary software Flix (Flash School Software Park), it can be MPEG and other video files into SWF files, and then import Flash or from the external call, external call animation reference under the answer to the question.

.how do I load external animations or other animations in the MC?

We often use the case of loading a child animation (SWF file) in the active drawing. However, when loaded in this way, the animated animation is often not located in the coordinates we need. There is an easy way to solve this problem. Let's build an empty MC first. Drag the MC to the main scene and name it (Instance), such as "BB". Then add action to the corresponding frame in the main scene, fill the URL in the action panel with the SWF file that you want to load, "Target" in the "Location" column, and then fill in the "/bb" in the nil. The Sub SWF file is loaded into the MC with the entity name "BB". Now, as long as we control the position of the MC in the scene, we can control the exact coordinates of the loaded child animation.

How to use JS or Java in Flash?

On (release) {
Geturl ("Java script:alert ' ... '";)
}

On (release) {

thanx= "Thanks";

}

86. How do I enter Chinese in the editing window of ActionScript?

You can change the font of Flash, that is, delete the Windows\fonts\modern.fon, so that the editing window font is much more beautiful.

how does Flash connect to the database?

Only through background files, such as CGI scripts, Active Server Pages (ASP), or Personal home Page (PHP). Transfer value to flash to implement the operation of the database.

. Can I invoke JavaScript in Fscommand?

Fscommand can call the JS function Moviename_dofscommand mount the Flash animation. Moviename is the name of the Flash animation by the embed tag name attribute or object tag id attribute, if the Flashplayer name is Mymovie, you should call the JS function name is Mymovie_dofscommand.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.