Free Flash Tutorials

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Flash Tutorial - Input boxes

 

Free Flash Tutorial


Page 4     <<   Previous    1   2   3  4   5    Next   >>       >>   Webwasp Mates

 

Step Four: Giving the setProperty Buttons Actions

Width Button

  1. Right click on the Width button and select: Actions
  2. Select Normal Mode from the View Options button .
  3. Click on the Plus button:
  4. Select: Actions > Movie Clip Control > setProperty
  5. In the Options above the action script go to properties and select width from the drop down arrow.
  6. In the options go to Target and type: _root.frogie
  7. In the options go to Value and type: _root.textbox
  8. In the options go to Value and select expression in the tick box on the right.

    Your action script should look like this:

    on (release) {
    setProperty("_root.frogie", _width, _root.textbox);
    }


    Note: The "frogie" has quotation marks because it is an instance name, textbox does not because it is not an instance but a variable name. This is controlled selecting/deselecting the expression tick box in the action options.

  9. Save and test your movie to see if it works.

    Other setProperty Buttons

  10. Do as above but select the appropriate property according to which button it is.

         

Page 4     <<   Previous    1   2   3  4   5    Next   >>       >>   Webwasp Mates


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

73389 visitors to this page since Jan 04

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.