Ask a Question related to Macromedia Director Basics, Design and Development.
-
Jason Wolfe #1
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
-
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. -
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... -
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... -
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... -
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... -
JB #2
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
-
Jason Wolfe #3
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



Reply With Quote

