Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 7th, 2003, 08:54 AM
lulumad lulumad is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 5 lulumad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wink Fading Words

Hi Everyone,

I am new to Flash and I am stuck with what is probably a simple question for you all. But i was wondering if anyone out there knows how to make words fade in and out of view ??

Thanks so much

Reply With Quote
  #2  
Old November 7th, 2003, 10:47 AM
mushie mushie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 58 mushie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
simplest way is with a motion tween -
make the text into a movieclip(hit F8 - movieclip);
position where you want it,;
right click on the frame that contains the clip in the timeline, choose create motion tween;
click in another frame at the length desired and go insert->keyframe or hit F6;
slect the object on the stage in either frame and ste the color drop downn in the properties panel to alpha, pick a percentage.

if you want it in/out then add another keyframe in the middle of the frames span and set the start end frames alpha value to the same amount - i.e. frame 1 - 0%, frame 2 -100%, frame 3 - 0%;

this can also be done more efiiciently using the _alpha property of the movieclip object.

use a movieclip as before, select it before opening the actions panel and attach this action
PHP Code:
 onClipEvent (load) {
    
alpha_change = -1;// change this value to suit rate and initial direction of fade - negative fades out to start 
}
onClipEvent (enterFrame) {
    
this._alpha += alpha_change;
    if (
this._alpha<=|| this._alpha>=100) {//change these values [0,100] to set min and max alpha
        
alpha_change *= -1;
    }


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Fading Words


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT