Wednesday, October 20, 2010

Flash, ActionScript variables and several examples to explain (7)


Tell Target command

Tell Target's role is to be from the external control movie clip, this command is easier, allow you to control every arbitrary movie clip, now we can start a simple exercise to do it!




Production of symbols:
To get started, create a two button symbols, one above the words stamped Play, the other marked Stop. Then do a movie symbol, which make a simple animation, can be more simple, as long as it moves on the line.

2. Arrangements Scene:
Now you have a video and two buttons on it, these three symbols are thrown into the scene up, let them stand in the location of the station, and then double-point the video symbol in the Instance Name field, type in this round. Instance Name on behalf of the object's name in the scene, with the name you can control the object, of course, you can type any name, but the two movie clip can do the same with the name.



3. Set command:
Then we let the button to pass commands to the video symbol to go inside, and then control its playback.
Two-Point Play of the button, open the Properties dialog and tap Actions panel, press Select Tell Target, on the right will see you as the movie clip taken from the Instance name, you can choose to control which symbols, we are here, of course the selection round, followed by adding a directive Play, to note is that the sort order, Play must be caught in the Begin Tell Target End Tell Target and between, if you want to adjust the order, you can press this button to control the order up or down a layer.



Hei hei! You have completed the Play button, Stop button to another command is the same, just have to replace Stop Play commands, such as left.



're Done, now do Test Movie to see out of the fruit.






Recommended links:



E-cology in the Pan Micro Series 14



Alert! Memory PART of the address damage caused by crash



WMV TO MPEG



C + + / CLI object of speculation recorded the Object Layout



installing operating system on hp mini 210 netbook



Delphi And Mixed Programming Language FORTRAN



HR in the eyes of professional managers should prepare QUALITY



Simple Education



TOD to WMV



New Curriculum for Primary and secondary breakthrough multi-media teaching



Flash highlights examples of forms PRODUCED (7)



Install And Setup for you



AVI to MOV



Lightning fast shortcut keys used to grasp Thunder 5.9



Psychosomatic SYNDROME after holiday revelry



No comments:

Post a Comment