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

  1. #1

    Default Flash MX or MX2004

    The help with Flash MX isnt very good.. Flash MX 2004 help is a lot better and more detailed.

    I am using Flash MX2002 and am trying to configure a list box.

    I have been trying to retrieve the total number of elements in the list, ie listbox.length

    (I found the above source in the Flash MX2004 help, along with a lot of other actions)

    Can these actions be applied to MX2002 or only MX2004.


    I only ask this becauese the .length still doesnt seem to be working...

    perhaps there is something else i need to add to flashMX2002 syntax?

    Thanks in advance.

    Bless this forum.



    equinox007 webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. illustrator CS and Flash mx2004 don't like each others ?
      hi everybody :) so here's the issue : since I've installed flash mx 2004 illustrator is acting weirdely, sometimes it starts and sometimes it...
    2. Flash MX2004
      Where can I find some help on creating slides and defining transition between slides (.Fade, .Fly, etc.)?
    3. Flash MX2004 and Director MX
      I've just finished the master copy of a director CD - I have imported a Flash MX2004 animation (a simple one with no passed variables - just waits...
    4. Flash MX2004 defficiency
      MACROMEDIA in it's infinte wisdom has removed the Normal/Expert Modes for Action Scripting and will not support customers needing crossrefrence...
    5. [MX2004] Flash MX Reflection like .NET
      Hi, I'm trying to retrieve out all the properties and methods of an object (mx.screens.Slide for example). in Flash MX you could do this...
  3. #2

    Default Re: Flash MX or MX2004

    I can understand your frustration with the flash help system. But straight out of the reference panel under Flash UI Components > FListBox > Methods you will find myListBox.getLength();

    Availability

    Flash Player 6.

    Usage

    myListBox.getLength()

    Parameters

    None.

    Returns

    An integer.

    Description

    Method; returns the number of items in the list box.

    Example

    The following code returns the number of items in phoneList.

    phoneList.getLength();


    To find the reference panel go under Window>Reference or press [shift]+f1.

    Cheers.

    check out the STC fontBrowser

    STC Associates

    jerome@STC webforumsuser@macromedia.com Guest

  4. #3

    Default Re: Flash MX or MX2004

    Thankyou so much for your help!

    You have saved me a lot of time and trouble

    Cheers!


    equinox007 webforumsuser@macromedia.com 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