Paul
The refreshing clarity and reliability of ActionScript...a welcome break
from wrestling with CSS!
One way is to build a movie clip (e.g.myMC) to contain the text box
(myTB) and simply control the _alpha property (and any other property)
of the movieclip using ActionScript.
For example, using an anonymous function:
_root.onEnterFrame = function() {
with(myMC) {
_alpha -= 1;
x -= 10;
myTB.text = myArray[etc];
}
}
You may want to use setInterval, a named function (which can be re-used
per OOP and different eventhandlers/listener objects) but this may get
you started.
In addition, check out www.wildform.com animation effects for Flash.
Enjoy!
Duncan Jack
Manager
Scottish ColdFusion User Group
promoting e-business excellence
www.scottishcfug.com
+44 (0) 7973 718303
Important Note: This message contains confidential information which is
intended to be passed to the addressee only. Please advise the sender
by telephone on the number shown above if this message has been sent in
error to the wrong address. We acknowledge that e-mail is not an
entirely secure medium of communication and you should be aware of this
when replying. Although we believe that any attachments are free from
any virus, we can give no guarantee.
-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED]
Sent: 04 December 2003 17:07
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] OT: ActionScript
I have a bunch of text in an array. I am cycling over that array and
making
the text come out and also move.
The thing I now want is to be able to fade it in and out. The problem
is
that I cannot figure out how (in actionscript) to do this.
The text will change regularly, so saying something like "make a graphic
of
the text" isn't going to help.
Any ideas? I'm just banging my head against a brick wall!
Paul
-----------------------------------
Paul Johnston
PJ Net Solutions Ltd
http://www.pjnetsolutions.com
[EMAIL PROTECTED]
+44 (0)7866 573013
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]