w3schools
Search W3Schools :  
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

Free Website Templates
Free Website Templates

Flash Tutorial

Flash HOME
Flash Introduction
Flash How To
Flash in HTML
Flash Tweening
Flash GuideTween
Flash TintTween
Flash ShapeTween
Flash Button 1
Flash Button 2
Flash Animation
Flash Sound

 

Flash Tint Tweening

home next

With Tint Tweening you can change the color of an object.


Example

In this example you will learn how to change the color of an object.

Example

Step 1
Choose Insert > New Symbol.

Note: To add Tint effects the object must be a symbol.

Step 2
Name the symbol "changecolor" and select the Graphic option in Behavior. Click OK.

Note: You will now be taken to the symbol generator in the Flash program. Here you create symbols. Symbols can be dragged to the stage of your movie after you have created them.

Step 3
Choose the Text tool in the left toolbox. Choose Text > Size > 36 from the top menu to make the text big. Choose Text > Style > Bold to make the text thick.

Step 4
Click in the work area and write "Color Changing Text".

Step 5
Jump back to the movie. Do this by choosing Edit > Edit Movie.

Step 6
Insert the symbol you just created into the movie. Choose Window > Library. Select the "changecolor" symbol and drag it into the middle of the Stage.

Step 7
Insert a keyframe in Frame 15 and in Frame 30.

Step 8
Go to Frame 15. Right click on the text in the Stage. In the pop-up menu, choose Panels > Effect.

Step 9
Choose Tint from the drop down menu. A color map will show. Set the colors to: R=0, G=255, B=0.

Step 10
Click on the Timeline any place between Frame 1 and Frame 15. Then right click and choose Create Motion Tween.

Step 11
Click on the Timeline any place between Frame 15 and Frame 30. Then right click and choose Create Motion Tween.

Step 12
Choose Control > Test Movie from the top menu to test your Flash movie.


home next


Altova® MissionKit® - Integrated Suite of XML tools

Altova MissionKit

The Altova MissionKit, recent winner of the Jolt Product Excellence and Productivity Award for Best Development Environment, is an integrated suite of tools ideal for:

  • XML development
  • Web & Web services development
  • Data mapping & integration
  • Rendering & publishing XML & database data
  • XBRL validation, taxonomy editing, transformation & rendering

The MissionKit for XML Developers includes XMLSpy®, MapForce®, and StyleVision® plus 3 additional tools for less than the price of 2.

Try all 6 products free for 30 days!

Download a fully-functional free trial

  Altova Missionkit


 
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
WEB BUILDING
Website Templates
Flash Templates
Website Builder
Internet Business Opportunity
Get a Freelancer
Download XML editor
FREE Flash Website
FREE Web Templates
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display
W3Schools.com HOME | TOP | PRINT | FORUM | ABOUT
W3Schools is for training only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user.
While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright 1999-2009 by Refsnes Data. All Rights Reserved.