Dynamic Labels Flash CFMX7

Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Dynamic Labels Flash CFMX7

    Well, I've been working almost all of my datafield problems and I realized I
    need to put info on the form that updates when a button is clicked. (the info
    should just be a label - not an editable textbox)

    How to I add a label that can be updated with the onclick event in a Flash
    form?

    Thanks

    ArtNirvana Guest

  2. Similar Questions and Discussions

    1. labels in cf flash forms
      :confused;I want to set the labels for all fields to be on the top of the field, like as possible with input type=image, but I want to do it for all...
    2. CFMX7 and dynamic query --Need to maintain single quotes
      I have a cfquery select that is built from a search form. When the form is processed, it builds a searchstring like this: <cfset searchstring =...
    3. CFMX7 and Flash FLV
      Anyone else having any issues getting flash video files to play in CFMX 7? I had everything work, upgraded to CFMX 7, and now only swf plays, no...
    4. Frame labels in Flash
      Is there any equivalent actionScript to replicate any of the lingo commands below frameLabel, label(), marker(), markerList, and labelLis ...
    5. Dynamic add labels to a form.
      I have this in code: Label myLabel1 = new Label(); myLabel1.Text ="Pick the Row you need changed in the Database"; myLabel1.Enabled = true; ...
  3. #2

    Default Re: Dynamic Labels Flash CFMX7

    I believe it's onclick="mydatafield.value = 'mylabel';">
    You might need to have the attribute label="" in the datafield before you
    are able to change the label. mydatafield.text (if I'm not mistaken) is the
    value being passed.

    --
    Ian O'Betz
    Clear Results Sytem Operator
    [url]www.clearresults.net[/url]


    "ArtNirvana" <webforumsuser@macromedia.com> wrote in message
    news:cv6apg$5aq$1@forums.macromedia.com...
    Well, I've been working almost all of my datafield problems and I realized I
    need to put info on the form that updates when a button is clicked. (the
    info
    should just be a label - not an editable textbox)

    How to I add a label that can be updated with the onclick event in a Flash
    form?

    Thanks


    Ian O'Betz Guest

  4. #3

    Default Re: Dynamic Labels Flash CFMX7

    I think you misunderstood me, I didn't exactly write it out well.

    I DO NOT want to use an editable text box or text field. I am trying to put
    information on the form that I can update, but the user cannot (a text box
    implies they should be able to edit it).

    Hence, lables. (Not the label attribute of an editable textbox - a label all
    by itself)

    There are form element such as a CFFORMITEM that allows text content to be
    added to a form; however, it seems to lack an ID or Name that I could reference
    to dynamically update it.

    How, do I add a label to a form that can by dynamically updated. For example,
    a User ID is generally autmatically assigned - I want to display the ID as a
    label and NOT as a text field or I may want one message to diaplay if option a
    is selected or another if option b is selected.

    Is there a way to refer to CFFORMITEM's to change their properties or is their
    another element that works on FLASH forms that acts as a synamic label?

    Thanks

    ArtNirvana Guest

  5. #4

    Default Re: Dynamic Labels Flash CFMX7

    Simple answer - not directly.

    You can bind a cfformitem to a variable (a hidden field) and then change the
    value of the hidden field via actionscript.

    or you can set editable="false" on a text field.

    hth,
    ---nimer



    "ArtNirvana" <webforumsuser@macromedia.com> wrote in message
    news:cvd97i$mfa$1@forums.macromedia.com...
    >I think you misunderstood me, I didn't exactly write it out well.
    >
    > I DO NOT want to use an editable text box or text field. I am trying to
    > put
    > information on the form that I can update, but the user cannot (a text box
    > implies they should be able to edit it).
    >
    > Hence, lables. (Not the label attribute of an editable textbox - a label
    > all
    > by itself)
    >
    > There are form element such as a CFFORMITEM that allows text content to be
    > added to a form; however, it seems to lack an ID or Name that I could
    > reference
    > to dynamically update it.
    >
    > How, do I add a label to a form that can by dynamically updated. For
    > example,
    > a User ID is generally autmatically assigned - I want to display the ID as
    > a
    > label and NOT as a text field or I may want one message to diaplay if
    > option a
    > is selected or another if option b is selected.
    >
    > Is there a way to refer to CFFORMITEM's to change their properties or is
    > their
    > another element that works on FLASH forms that acts as a synamic label?
    >
    > Thanks
    >

    Mike Nimer 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