changing text properties at run time doesn't work

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  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. Similar Questions and Discussions

    1. Changing the Document Properties
      Hi, I want to change the document properties like Page layout, Magnification... My code as shown below: AVPageView avPageView =...
    2. ViewState properties and mapped properties don't work well togethe
      I have a CompositeControl with two types of properties: 1.) Mapped Properties that map directly to a child control's properties (ex.:...
    3. properties not showing in properties window at design time
      I created a usercontrol using vb but the properties will not show in the properties pane however the properties show up in the intellisence list....
    4. Dynamic Changing Properties
      Greetings, Suppose I have a control that by default, all the properties and text rendered is English. If supported, and the user changes to say,...
    5. Time/Date format and changing time to GMT
      Hi All, Sorry if this is the wrong newsgroup to post into, on this topic, if so, please point me in the right direction..... Currently working...
  3. #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

Posting Permissions

  • You may not post new threads
  • You may 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