Photoshop Tutorials, Flash Tutorials, 3Ds Studio Max Tutorials, Web Design Tutorials |
Home | Submit Tutorial | Top Sites | Free Templates (NEW) | Website templates | Privacy Policy | Link Exchange | Contact Us |
|
Welcome To ProDesignHost.com Flash Tutorials Area - Set Property
This tutorial is going to cover how to use the
"setProperty" action to change different propeties of an object
using action scripts only.
We're going to use the "scale property" for this tutorial as an example. In addition to that, you're going to be introduced to using "input" text fields to change the values. 1:
Now let's add the following action to your button:
The above action sets the property of flashtext, which is the instance name of our movie clip, to increase its X and Y scales 200% Fig 1 The scale property is only one of the many properties that
can be chosen from a drop-down menu as shown in Fig1. 2: Going well? Ok, let's make this more dynamic now and allow the user to enter whatever value he desires. We're going to use input fields for this.
Notice, we replaced the values with the variable names. This means whatever value is entered into the text fields will be entered there! Make sure the value is set to expression, meaning without the quotation marks "". Test your movie! Conclusion: What we did:
Flash is eaaaasy ;) Download *.fla Author: AEvision
|
|
Premium Partners | |||||
|
|||||
Free website templates and paid web templates are great tools to make your websites look perfect! You will save time and money with our flash templates and free website templates
Our visitors are satisfied with the quality of our free and paid website templates! Please visit our free website templates and paid website templates sections. We offer free web templates, free web layouts, free web page templates and other stuff for free download. All templates come with the html and external css file so you may easily edit HTML with your favorite HTML editor. Feel free to download our free web templates for your personal websites. Terms of use depend upon the website template vendor. |
Home | Submit Tutorial | Top Sites | Free Templates | Website templates | Privacy Policy | Contact Us |