A number of questions!

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default A number of questions!

    Hello All,

    1. I have a script that basically resizes a text field so that it appears to
    work like a 'pop-up'. The only problem is that the list within the text
    field is too long to fit within the movie's area. I considered limiting the
    size of the pop-up (which currently grows to fit the entire list) but then I
    don't have the ability to scroll to see the list elements that don't fit
    within the smaller field. Does anyone have a good script that would allow
    me to operate it just like an HTML pop-up that would not only open, but
    scroll to see all of the elements. The main difficulty that I see is just
    that there are limited mouse options to control the behavior of the field.
    Mousedown currently opens it, while mouse up makes the selection, so even if
    I make the field scrollable, I can't grab the scroll bar to move it without
    making a selection and the field shrinking back to original size.

    2. I am using a db engine (V-12) retrieve property listings based on a
    multi-criteria search. If I were doing this with some kind of server side
    scripting (Like ASP) I could just use if statements to display graphics that
    represent amenities that these hotels may have. How would I use lingo to
    display a graphic or not based on an if statement. I haven't run across
    that kind of control with lingo. I want to basically say 'if
    field(thisamenity) = y then display this amenity graphic.

    3. I have a banner rotation script that grabs banners (within the cast) and
    displays them at random. I need to put all banners in a folder and then
    everytime the movie is loaded, dynamically make a list of the banners in the
    directory and display them at random. is it an xtra that I need to
    inventory the contents of a folder or can it be done with lingo.

    THANKS FOR THE INFO VERY MUCH!



    --


    Jason Wolfe
    InfuseLabs
    [email]jason@infuselabs.com[/email]
    [url]http://www.infuselabs.com[/url]



    Jason Wolfe Guest

  2. Similar Questions and Discussions

    1. int Number to text Number Function / UDF ?
      Is there a function that converts e.g. 3 to Three? Probably not but I just thought I'd ask.
    2. sort from the smallest number to the highest number
      Hi Just say I want to sort the row by using the fifth column data as reference from the smallest the largest number, if using sort, It will give...
    3. sh: bad number
      Hi, I compiled a simple program with perl. But I ran into some problems. sh: campusUnderAttack.out: bad number I try to execute a program and...
    4. tty-dev-number <-> /dev/pts
      In article <3f4895e5$0$49103$xs4all.nl>, Casper H.S. Dik <COM> writes: > Uwe Wolfram <freenet.de> writes: > >>Hi, I'm writing a program under...
    5. 2 questions :) - portal questions
      Say the portal displays a relationship that uses the Box_ID field as the match field on both sides. In the child file (items in the box), add two...
  3. #2

    Default Re: A number of questions!

    1.
    there is a scrolling behavior in the library palette, it's a special
    purpose one but a start.

    a tailored scroller could set the scrolltop propery of a fixed size
    text member, a script could auto-scroll if the mouse is within 20 pixel
    of the top or bottom of list


    2.
    if you have a 'placeholder' image sprite on stage, you can
    dynamically change the member with sprite(5).member = viewmember


    3.
    the free filextra4 xtra can create a list representing a directory
    contents.

    without an xtra you can build a director list with getnthfileinfolder,
    incrementing file num until you are returne empty.
    JB Guest

  4. #3

    Default Re: A number of questions!

    Also, for number 4. How do you use the list to load the files into a cast
    so that they can be used in the movie.

    --


    Jason Wolfe
    InfuseLabs
    [email]jason@infuselabs.com[/email]
    [url]http://www.infuselabs.com[/url]
    1742 Champa St. 4B
    Denver, CO. 80202
    o. 303.295.3010
    c. 303.522.4756
    "JB" <lingoguy@sbcglobal.net> wrote in message
    news:lingoguy-5DDA45.12173309102003@forums.macromedia.com...
    > 1.
    > there is a scrolling behavior in the library palette, it's a special
    > purpose one but a start.
    >
    > a tailored scroller could set the scrolltop propery of a fixed size
    > text member, a script could auto-scroll if the mouse is within 20 pixel
    > of the top or bottom of list
    >
    >
    > 2.
    > if you have a 'placeholder' image sprite on stage, you can
    > dynamically change the member with sprite(5).member = viewmember
    >
    >
    > 3.
    > the free filextra4 xtra can create a list representing a directory
    > contents.
    >
    > without an xtra you can build a director list with getnthfileinfolder,
    > incrementing file num until you are returne empty.

    Jason Wolfe 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