| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2001
Posts: 2
|
Just a simple question: is it possible to animate (tween) dynamic text in Flash 5? My text content is being sucked into the Flash movie from a SQL database via an ASP.
This is quite cool but the cream on the cake would be if I could animate the text once it has arrived in the movie. At the moment whenever I try to tween a dynamic text object the 'variable' field in the text options window gets greyed out. Any guidance would be appreciated! |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
You can't motion tween a field. TO motion tween it you must put it within a movie clip and motion tween the movie clip. Note that when you do this the path changes from:
_root.textVariable to _root.mcInstanceName.textVariable And to answer the basic aspect of your question - yes it's very possible. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2001
Posts: 2
|
i'm also trying to motion tween some dynamic text from asp.
i have a dynamic text field inside a movie clip with a variable name of "user", just 1 frame. then i have that movie clip inside another movie clip, which then tweens the original. i load variables from my asp ie. user=orv but it's not working ![]() it works just with a simple text field, but not when it's inside another clip and tweening. i saw your example of _root.mcInstanceName.textVariable but i'm not sure of how that applies to my situation. i've tried, _root.grr.user = user; where grr is the instance that contains my text field (user) any help would be greatly appreciated. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jul 2001
Posts: 2
|
ah, got it
![]() used the debugger for the first time, i guess thats what it's there for. _level0.usermovie.movie.grr.user |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Feb 2001
Location: UK
Posts: 9
|
Hello people,
I know that this might be a stupid question, but I hope you would be able to answer it. I am trying to put up a site where the content as far as text is concerned I want it from some type of external file. Now I don't have the money to affor the Macromedia Generator Server thing, and my Hosting doesn't provided either. So I am asking if there is another way. Also can it be done with images??? Thanks in Advance, this will really get me started!!! Cheers, Gyftus |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
read up on loadVariables which will load in text from external sources. there are also free apps to convert images to importable SWFs on the fly. Swift Generator is free for personal use I believe. look into JPEG2SWF and GIF2SWF.
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Feb 2005
Posts: 1
|
I am trying to import text from a flat .txt file and tween it but can't get it working.I have a mc named 'tween' and a dynamic text field on layer 1 of the mc named "data". In layer 2 I have some AS:
"loadVariables("text2.txt","_root");" text2.txt looks like this: &data=Lorem ipsum dolor sit amet, consectetuer adipiscing elit It works great when the AS and the field are in Scene 1, but inside of a mc, it doesn't load. What am I doing wrong? |
|
|
|
|
|
#8 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Check out the Paths and Advanced Pathing tutorials. particularly the part in Advanced Paths about relative paths. The issue is that the path to you are always telling the variables to load at the _root level, but your field isn't on the _root when it's within a MC; it's in the MC, which is a sub element of root.
Try this instead: ActionScript Code:
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Oct 2005
Posts: 6
|
Hi all
![]() Let me share my findings... The movie clip+dynamic text tween works, as you all know. What DOESN'T work (at least right away) is the combination mask+movie clip(with the dynamic txt field in it) tween. To get around this, try embedding the characters in your movie. Worked for me. Hope I've helped. cya |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jul 2005
Posts: 66
|
yeah, here are couple rules about animating dynamic text
first, always put whatever dynamic text into a movie clip so it's easy and clear where the text is and how to do stuff to it you want to include the font outline for any text you animate (even if it's arial cause ya never know what people won't have) you cant mask device fonts - if you want to animate small readable text, get pixel fonts. pixel fonts (like at fontsforflash.com) are sharp and readable and can be masked and animated |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calling a PDF file in Flash | AudryLucy | Projectors and CDs | 20 | 12-30-2006 02:43 PM |
| Help with dynamic text. | Cell Shaded | ActionScript 1.0 (and below) | 1 | 06-08-2004 06:47 PM |
| loading dynamic text via movie clip | case | ActionScript 1.0 (and below) | 3 | 05-19-2003 12:05 AM |
| animating dynamic text | matt poole | Animation and Effects | 3 | 08-09-2002 01:27 PM |
| passing dynamic text | jake88 | ActionScript 1.0 (and below) | 2 | 12-22-2000 07:12 AM |