Professional Web Applications Themes

text in button in movie clip - Macromedia Flash Actionscript

I have a text field in a button (labeling the button) inside a movieclip. I am dynamically creating instances of the movieclip (and thus, the button) and want to rename the text field inside the button each time the movieClip is duplicated. I'm not sure the best way to do this. Any suggestions? Thanks....

  1. #1

    Default text in button in movie clip

    I have a text field in a button (labeling the button) inside a movieclip.

    I am dynamically creating instances of the movieclip (and thus, the button)
    and want to rename the text field inside the button each time the movieClip
    is duplicated.

    I'm not sure the best way to do this. Any suggestions? Thanks.


    Andy Petroski Guest

  2. #2

    Default Re: text in button in movie clip

    _root.movieclipname.buttonname.label=
    Jim Esteban Guest

  3. #3

    Default Re: text in button in movie clip

    understand root and movieclipname and buttonname. What is label. Is that
    the instance of the text field or is it the variable to which the dynamic
    text field is attached?

    If I'm duplicating movie clips with this text field and button in it, will
    that affect the way I need to reference the text field other than the
    movieclipname?

    Thanks for the help.

    "Jim Esteban" <webforumsusermacromedia.com> wrote in message
    news:c1vshh$7qs$1forums.macromedia.com...
    > _root.movieclipname.buttonname.label=

    Andy Petroski Guest

  4. #4

    Default re: text in button in movie clip

    understand root and movieclipname and buttonname. What is label. Is that
    the instance of the text field or is it the variable to which the dynamic
    text field is attached?

    If I'm duplicating movie clips with this text field and button in it, will
    that affect the way I need to reference the text field other than the
    movieclipname?

    Thanks for the help.

    "Jim Esteban" <webforumsusermacromedia.com> wrote in message
    news:c1vshh$7qs$1forums.macromedia.com...
    > _root.movieclipname.buttonname.label=


    Andy Petroski Guest

Similar Threads

  1. Movie clip to button with actionscript
    By scourtaud in forum Macromedia Flash Actionscript
    Replies: 1
    Last Post: February 23rd, 01:52 PM
  2. button scripting a movie clip
    By Massive3215 webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 7
    Last Post: January 29th, 12:08 PM
  3. how do you get a button to function inside movie clip ?
    By RadWall webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 2
    Last Post: January 22nd, 02:31 AM
  4. Controlling a nested movie clip with a button???
    By Amy G in forum Macromedia Flash
    Replies: 1
    Last Post: January 7th, 05:27 AM
  5. Movie Clip Button
    By Thundercat webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: September 18th, 06:54 AM

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