Embed the font Luke... ... embed the font...
-----Original Message----- From: Paul Johnston To: [EMAIL PROTECTED] Sent: 05/12/03 12:19 Subject: RE: [ cf-dev ] OT: ActionScript Basically, the way I managed it (worst luck) is to do this: 1) create a movie clip 2) insert a textfield into the movie clip 3) insert a box into the movie clip as a graphic (of the same colour as the background) 4) control the _alpha of the graphic The only issue is that you then cannot control the alpha of just the text, but the whole box. This can affect anything beneath it. I just CANNOT figure out how to control the alpha of JUST the text, or even just the movie clip! Any hints would be very much appreciated Paul > -----Original Message----- > From: Colm Brazel [mailto:[EMAIL PROTECTED] > Sent: 05 December 2003 10:23 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] OT: ActionScript > > > Paul, > > Reaaly cool if you manage to do a .swf with these effects, > any chance of showing it plus code if you succeed? Closest I > am aware of to help with this would be to look at the > properties of the TextField Object which exposes lots of > methods and properties including _alpha and turns text into a > kind of movieclip. It can load dynamic data stored in a > variable but don't think it can load complex data stored in > an array, correct me if I`m wrong. MX Designer's Actionscript > Reference I recommend might be helpful. Only other thing I > can think of is some code I got from the above book > > fscommand ("allowscale", "true"); > > moveMe = function () { > this._x += this.dx; > this._y += this.dy; > this.dy += .5; > this._alpha -= 2; > if (this._y>400) { > this.dx = Math.random()*10-5; > this.dy = Math.random()*-10-10; > this._alpha = 100; > this._x =315; > this._y = 200; > return true; > } > }; > for (i=0; i<120; i++) { > nm = "star" add i; > mainstar.duplicateMovieClip(nm, i); > _root[nm].dx = Math.random()*10-5; > _root[nm].dy = Math.random()*-10-10; > _root[nm].onEnterFrame = moveMe; > _root[nm]._x = 275; > _root[nm]._y = 390; > _quality = "high"; > > > } > mainstar.onEnterFrame = moveMe; > stop(); > > I have the above on a page bubbles on www.cbweb.net the > trick would be to change the small circle bubble, mainstar, > which is a movie clip, into a movie clip loading text > dynamically, the code would have to loop through the array, > maybe turn the array into a list, choose first item on the > list,that becomes mainstar above, then loop again and do same > for next item, so you have a geeser of text:-)BTW I havn't > worked out the switch to toggle the above on/off if anyone > can point it out. > > > > Colm > > > > Colm Brazel MA > CB Publications > www.cbweb.net <http://www.cbweb.net> > Macromedia-Dublin UserGroup Manager > http://www.mmug-dublin.com > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > Web Site Design & Development, Cold Fusion, > general publishing including E-Books. > > > The information contained in this e-mail transmission is > confidential and may be privileged. It is intended only for > the addressee(s) stated above. > > If you are not an addressee, any use, dissemination, > distribution, publication,or copying of the information > contained in this e-mail is strictly prohibited. > > If you have received this e-mail in error, please immediately > notify CB Publications by telephone at 353-1-4941625 or > e-mail [EMAIL PROTECTED] and delete the e-mail from your system. > > > > > -----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] > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003 > > > -- > ** 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] -- ** 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]
