Professional Web Applications Themes

changing text properties at run time doesn't work - Macromedia Flash Actionscript

when I try to increment the text itself like myText._x ++; it will only move one pixel! it wont keep moving like a movie clip. I know that this problem can be solved by making the text a movie clip, but I also want this text to fade out. when I used mytext._alpha --; the text wouldn't fade. so I tried converting the text into a movie clip and used this code... onClipEvent(enterFrame){ myMCText._alpha --; } it still wouldn't fade. I then tried putting a circle in the MC to see if it would fade. It did! but it left ...

  1. #1

    Default changing text properties at run time doesn't work

    when I try to increment the text itself like myText._x ++; it will only move
    one pixel! it wont keep moving like a movie clip.
    I know that this problem can be solved by making the text a movie clip, but I
    also want this text to fade out. when I used mytext._alpha --; the text
    wouldn't fade. so I tried converting the text into a movie clip and used this
    code...

    onClipEvent(enterFrame){
    myMCText._alpha --;
    }

    it still wouldn't fade. I then tried putting a circle in the MC to see if it
    would fade. It did! but it left the text unfaded.

    if you have any solutions of suggestions let me know. I really can't use the
    tweening, but give me your suggestions any way. thanks for any help

    -kit

    kit_hoffman Guest

  2. #2

    Default Re: changing text properties at run time doesn't work

    your clip event is probably failing because you have a path reference error to
    the movieclip myMCText which i'm guessing is not a child of the movieclip to
    which that _alpha decrement is attached or you're not embedding your font.

    kglad Guest

Similar Threads

  1. keep lines together doesn't work with text wrap!!
    By Carolyn_Finnell@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 1
    Last Post: September 30th, 04:22 AM
  2. Design time doesn't update when changing collection
    By pedrobernabeu@hotmail.com in forum ASP.NET Building Controls
    Replies: 0
    Last Post: October 18th, 10:31 PM
  3. Properties pane of custom control doesn't change in design time
    By George in forum ASP.NET Building Controls
    Replies: 4
    Last Post: January 19th, 01:48 AM
  4. Display text in text box - should be simple, doesn't work
    By Jim Owen in forum ASP.NET General
    Replies: 1
    Last Post: July 24th, 05:37 AM
  5. design-time rendering doesn't happen unless properties changed
    By Oleg Ogurok in forum ASP.NET Building Controls
    Replies: 0
    Last Post: July 11th, 04:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139