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 February 8th, 2003, 12:00 PM
colpaarm's Avatar
colpaarm colpaarm is offline
300lb Bench!
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2001
Location: New York
Posts: 2,191 colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 5 h 8 m 19 sec
Reputation Power: 11
Ideas on creating writing simulation with flash

Hi guys. I'm not a flash guy and do mainly programming. However, I need to come up with a way to make three big letters look like they're being written and need ideas on how to accomplish this. Currently I have a jpg that contains the words in white on a purple background. I was thinking of putting that jpg on one layer and placing a purple layer right above it. Then I'd slowly make the top layer disappear over the letters, thus making it look like the letters are being drawn. My questions are:

1. How do a make the top layer disappear a little at a time to show the letters below?
2. Is this even the way to go?

Any help or advice that you could give me would be greatly appreciated.

Reply With Quote
  #2  
Old February 8th, 2003, 12:19 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
As jpegs are big (speaking about bytes), not scaleable, and flash has built-in font functions, you should use these.

Make a text on one frame. vectorize it (to avoid having to embed the font).
Put a white (or purple, does not matter) rectangle over one letter on a new layer, make this rectangle a symbol (F8). Add some frames (F5) and make the last frame a key-frame (right-click menu).

Then you can tween it, aka right-click, "tween", select first picture, "effects/alpha" should be 100%, select the last frame and set "effects/alpha" to 0%. this would fade-out the rectangle - the letter would fade in

(you could also go the other way, make each letter one symbol and tween from 0% to 100% if this seems more logical to you )

[edit]
i think i misunderstood the effect you want to create. move the rectangles instead of changing alpha in the tween to get what you described.
[/edit]
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old February 8th, 2003, 07:33 PM
wannabe wannabe is offline
=) wannabe?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2002
Location: florida
Posts: 2,153 wannabe User rank is Lance Corporal (50 - 100 Reputation Level)wannabe User rank is Lance Corporal (50 - 100 Reputation Level)wannabe User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 21 h 58 m 25 sec
Reputation Power: 8
Send a message via AIM to wannabe Send a message via Yahoo to wannabe
like this? it may not be the best way to do it, plus you have to have flash 6 plugin to view the .swf. still =)
Attached Files
File Type: zip letterdraw.zip (4.8 KB, 498 views)

Reply With Quote
  #4  
Old March 4th, 2003, 12:18 PM
Rob B Rob B is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Ottawa
Posts: 23 Rob B User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
That works,

However, another way to do it that might be easier depending on what you're doing. If you're using typed fonts the way you did it works but I think it would be a lot of work for each letter. If you're using handwritten fonts you could: 1) create the layer with the entire word on it 2) use another layer above the type as a mask that reveals the letters as they're "being written" to make it look like a pen is writing them on screen. You might have to look into masks in the help section to see how its done.

Don't know if that suggestion helps or not.

Reply With Quote
  #5  
Old March 11th, 2003, 01:26 PM
wa90 wa90 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 12 wa90 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The best looking way to achieve this in my opinion is by good old fashioned frame by frame animation. It won't be easy to edit later, so get the text agreed first.

(although if you did bother to make each letter separately, you could make a handwriting "component"...).

Start by writing out the whole text you want using flash's drawing tools, or by vectorising a handwriting font like comic sans. Then, create a keyframe in the next frame and delete bits back through the order they would've been written. Keep going till you're left with no text, then reverse all the keyframes.

It's pretty labourious, that's why it's rarely seen (unlike the matrix style typing effect and swirling in letters you see all over the web these days).

Reply With Quote
  #6  
Old March 12th, 2003, 04:47 PM
rec rec is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: houston
Posts: 94 rec User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 40 m
Reputation Power: 6
Try something like this. To really make it look convincing I would break up the letters so that you could draw them a piece at a time like people actually write. You know, one leg of the “A” and then the next leg and then the cross bar. For the circular parts you could use a pie shaped mask and if you have the math write the code to make it grow in a circular path. See the “Math” object in the help files for the properties and methods of the Math object.

The mask can be a movieclip which means you can attach code to it (on stage select the mask and look at the code in the actions window) Remember to work on an object it has to have a name (instance name) By using an onClipEvent (enterFrame) you can cause an action to be repeated over and over at whatever the frame rate is for example causing an object to grow by 3 pixels 12 time a second. And also remember it grows from the “0” position. In the case of a movieclip that is the “0” position inside of the movieclip.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Ideas on creating writing simulation with flash


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway