|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Best approach for this...
Hi-
New to Flash basically. I have about 4 paragraphs of text that I want to rotate on screen. I'd like to rotate these 4 chunks of text in one spot say every 35 seconds or so. I think I can revolve them by fading them out with tweening... but it would be cooler if I could say for example take a single vertical line, swipe it across the text to change the paragraph out. Is this possible? What might be the best approach for that? OR... The best approach in general for this project? Any help is appreciated! M
__________________
never know null |
|
#2
|
|||
|
|||
|
you just need to put the textfield object within a movieclip then tween that clip - either motion or alpha tween or a tween that has another clip "growing" over the top of it, appearing to erase the text below. so if the movieclip with the text in it starts of with 100/whatever frames of just sitting there then a tween that fades out (for example) the text at the end of the timeline, then starts again you could have code like this:
Code:
//frame 1 allText = ["paragraph 1.........","paragraph 2........,"paragraph 3.....","paragraph 4......."]; count = -1; //frame 2 count = (count == allText.length-1) ? 0 : count++; myTextField.text = allText[count]; //last frame gotoAndPlay(2); |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Best approach for this... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|