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

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 16th, 2002, 03:52 PM
Slither95 Slither95 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 4 Slither95 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question dynamic text boxes

I've been trying to do an off-shoot of the 3rd part of Ben's flash series, altho i was trying to do a dynamic text box that fades in. For some reason tho, I am unable to get flash to allow me to set fade in a dynamic text box. The same setup works fine for a static text box. As a matter of fact, i can get it to fade in / fade out if i just press enter and play it in the current scene, but if i try to preview it in a browser (IE 6.0) or hit ctrl+enter to play the movie in a full window in flash, neither one works.

To make the text fade in, i create a dynamic text box, set it to whatever text properties i like, and then make it a symbol ( i choose to make it a graphic). Then i select that symbol in the first frame and set the alpha to 0%... then lets say in frame 24, i created a keyframe and set the alpha for that symbol to 100%... after adding a motion tween, it works fine in the scene preview, but fails to work in a browser. Any ideas? by the way... it does successfully pull the info from the mysql database.

Thanks!

Rich

Reply With Quote
  #2  
Old September 16th, 2002, 10:41 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
instead of setting the alpha back to 100% select none from the menu and try that, what you mentions sounds right tho?? weird

Reply With Quote
  #3  
Old September 16th, 2002, 11:25 PM
Slither95 Slither95 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 4 Slither95 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the reply Ben... I just tried your suggestion, but got the same results. I thought it was weird as well :-( I'm clueless on this one...

Rich

Reply With Quote
  #4  
Old September 17th, 2002, 08:44 AM
Slither95 Slither95 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 4 Slither95 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok guys... found some info on another site about this problem. It seems that flash requires you to have outlines on any editable text boxes when you are creating effects such as the alpha effect I mentioned above. The way to fix this in MX is to create your text box and in the properties inspector, set your type of text to dyanmic text and on the right side, click on character. Then choose Embed Font Outlines for ***ALL CHARACTERS***. This allows the alpha effects to work after you make the text box into a symbol. It does have a slight tradeoff, it slightly increases the file size. Happy coding!

Reply With Quote
  #5  
Old September 17th, 2002, 09:23 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Weird, i have never had to do that for my fade in/out?? its very strange that you should have to do that

Reply With Quote
  #6  
Old September 17th, 2002, 10:54 PM
Slither95 Slither95 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 4 Slither95 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
it's only for dynamic text...static text works fine the other way. supposedly this fix is something that macromedia has published... i've finally got it working tho it's a fade in/fade out version of what you did Ben with a database connection (Flash - Part 3). Once it's fine tuned, i'll post the finished code... Thanks for all your tutorials, they've really helped me to think in areas that i never would have before. By the way... what happened to the coding contest?

Reply With Quote
  #7  
Old September 17th, 2002, 11:06 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
the coding contest got canned. not enought ppl!

oh well, anyway im currently developing a script section for devarticles, its almost done, just need to test it and make a few cosmetic changes. Should be up soon, so stay posted

Reply With Quote
  #8  
Old September 21st, 2002, 03:22 PM
andrewcb andrewcb is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 5 andrewcb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
fading dynamic text in flash

hiya slither,
i came across this problem a while ago, there is a work around solution which basically works on the "KISS" method.
on the layer above the dynamic text box create a rectangle the same colour as the background of the movie and the same size as the dynamic text box you want to fade, convert it to symbol, pick graphic, then goto the effects panel for the rectangle insert some keyframes in the timeline where you want it to fade add a tween and jsut change the alpha from 0-100% or vicesaversa deprnding on which way you want it to fade, another option is to put the graphic into a movie clip,(for example frame 1 graphic set at aplha 100% with stop action, frame 10 set alpha to 0% with stop action in frame, frame 20 set alpha to 100% with stop action in frame, and motion tweens between 1-10 and 10-20) then you can make it either fade in or out using some simple actionscript. telling the mc to play from 1 or from frame 10
this is basically the only way you can achieve the effect your after with a dynamic text field.
hope that helps
andrew

Reply With Quote
  #9  
Old June 14th, 2005, 09:22 AM
flashcomponent flashcomponent is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 1 flashcomponent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 52 sec
Reputation Power: 0
dynamic text without embedded fonts

Take a look at www.flashcomponent.nl
alpha without embedded fonts, dynamically loaded text.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignFlash Development > dynamic text boxes


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 4 hosted by Hostway
Stay green...Green IT