Professional Web Applications Themes

Flash MX or MX2004 - Macromedia Flash Actionscript

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? ...

  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. #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

  3. #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

Similar Threads

  1. Flash MX2004
    By Sumski in forum Macromedia Flash Actionscript
    Replies: 1
    Last Post: March 2nd, 07:05 PM
  2. Flash MX2004 and Director MX
    By Flashster in forum Macromedia Director Basics
    Replies: 1
    Last Post: February 9th, 12:45 AM
  3. Flash MX2004 defficiency
    By RCran98053 webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 1
    Last Post: January 28th, 06:36 PM
  4. [MX2004] Flash MX Reflection like .NET
    By Uritsukidoji in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: January 15th, 02:13 PM
  5. just bought Flash Mx2004
    By enutty webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: October 13th, 09:58 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