Video playback on the control and regressive
Related Tags:
It is through the effect of buttons to control the playback or retrogression in the film. In fact, judging by the value of variables to control broadcast Sadakazu. Although a simple reason, I think that for beginners, or help me to talk about the practice of below 1 bar. Button two new components, namely "forward" and "a step backward." Entered the main scene, the establishment of three layer, a set of a period of animation, 2-placed buttons, and layer 3 is empty, used to place the code. Figure:

2. Remaining work is to add the code. Layer 3 in the first Fok, add the code:
Stop ();
P = false; / / p given to a preliminary false
_root.onEnterFrame = Function () (
If (! P) (
A;
Else ()
A -;
)
_root.gotoAndStop (A);
) / / Fok circle implementation: If the p value was false, then on a constant increase of 1 to achieve progress effect. If the p value was true, then on a constant minus 1, in the final realization of a regressive effect Fok added
P = false; / / p given to a preliminary false
_root.onEnterFrame = Function () (
If (! P) (
A;
Else ()
A -;
)
_root.gotoAndStop (A);
) / / Fok circle implementation: If the p value was false, then on a constant increase of 1 to achieve progress effect. If the p value was true, then on a constant minus 1, in the final realization of a regressive effect Fok added
Stop ();
Select "forward" button, add:
Select "forward" button, add:
On (press) (
P = false;
A = _currentframe; / / p variable pointing to the current Fok) choice "regressive" button, and added:
P = false;
A = _currentframe; / / p variable pointing to the current Fok) choice "regressive" button, and added:
On (press) (
P = true;
A = _currentframe;
) Oh, That's all. The process is very simple, but I still feel useful, and we therefore used (especially newcomers) share Download the document
Related articles:P = true;
A = _currentframe;
) Oh, That's all. The process is very simple, but I still feel useful, and we therefore used (especially newcomers) share Download the document
- Flash components [Flash Video Guide]
- Loading picture [Flash Video Guide]
- Dreamweaver MX 2004 Video Collection Guide (4)
- Dreamweaver MX 2004 Video Collection Guide (14)
- Dreamweaver MX 2004 Video Collection Guide (11)
- Flash Video Guide: Adding stop
- CSS Guide [to]
- Video Guide: Dreamweaver to create websites Album 2
- Video Guide: Dreamweaver to create a Web site Album
- Flash Video Guide: Sports animation
- Flash Video Guide: Rolling the ball
- Dreamweaver MX 2004 Video Collection Guide (2)
- Dreamweaver MX 2004 Video Collection Guide (8)
- Flash Video Guide: 288 words
- Dreamweaver MX 2004 Video Collection Guide (17)
- Video Guide: How to change the color of hyperlinks to
- Flash Video Guide: Start and interface
- Chinese version of the Flash 8 Video Guide (20) video
- Flash Video Guide: Tools lines
- Dreamweaver MX 2004 Video Collection Guide (20)
Tomcat JMS applications under development skills

[Abstract] in the framework of a number of development projects such as the spring, if we use the JMS, although SPRING provided some support for JMS but after some time I found the application, OO package in some places has become the development process The obstacles. JMS as p...
Not css, the simple method forms borders

The key lies: = 1 and cellSpacing. Table_list (background-color: # A4B6D7;) Set a background form, and then cellSpacing does not mean 0, then forms the background color on the show, appeared on a frame <style Type="text/css"> <! --...
Induction how to make animated mouse menu

Many netizens: Mouse-and will boost the production of the menu is how? In fact, this is the turn with two pictures show the effect of specific use javascript scripting language. Slightly more complicated because the need to explain in detail. You want t...
WEB2.0 site needs to draw on the seven traditional profit model

WEB2.0 tide seems to be over, but the concept of building a WEB2.0 many small sites, but still have mushroomed general flourish. In the year 2006, many people are racking their brains thinking or discussion WEB2.0 Website profit model, but what can be profitable? 2007 has been o...
Right banned website break another law

Encountered on the website exquisite pictures or text to preserve brilliant, we are usually selected targets by right in the pop-up menu, select "Save Picture As" or "copy" to achieve our objective. However, there are many web-pages were shielding the right m...