As far as I know, rotation and rotationZ are the same. X, Y and Z are the three axes/dimensions that you can rotate an object along to. Frames with AS code in them show a little 'a' in the timeline.įor rotation, there are four methods that you can use. The actions panel will open up, here you can put the AS3 code. Then select the frame where you want the code to run. You could use myText or texty for example. It can be anything, but always try to avoid standard things like 'text', since this is already an AS3 predefined type. Select the text, then in the Properties tab (somewhere in a sidebar probably, depends on your Flash UI layout), fill in an instance name. You start by giving the text or image that you want to rotate an instance name. as files work, I'd go with the second option. For the sake of ease, if you don't know how external. as file, or in the 'action panel' within the. Then, to add the AS3 code, you can either put this in an external. There are three versions of AS, you'd do best to use AS3 (common abbreviation of Actionscript 3) if you're going to learn it from scratch anyway.Īs for AS3, make sure your. In ActionScript, the basics of doing this is quite simple.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |