Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: display results from database - amount of results is a variable |
| From: | Ryan Silva |
| Date: | Tue, 14 Sep 1999 19:57:50 +0100 |
>Re Generator - its almost impossible to (if not completely impossible) to
>find
>hosting service in SA that will host it
>and re the scrolling tex box ...I am afraid that wont work...as one field
>of the
>results need to be clickable - like (click to see picture of the car) ...
>
>But thanks ...what you came up with is what I initially came up with too ....
Here's how we're tackling the problem at the moment, and please let me
know if there's a more efficient way...
First, there is a variable in our database called "count" that that tells
Flash the total number of items that will be listed. We use that to
duplicate a "generic" movie clip that contains text fields for all the
variables pertaining to one item (for instance, title and price of a
movie) including an invisible field in which the item number is set.
Using this method, each duplicate can be populated with different
information and can be individually selected. To the rest of the world,
it looks like one continuous list of information.
At first, we used the Flash 3 method for scrolling the list by masking
out all but the window area (the duplicated movie clips outside that area
would be hidden.) As you can imagine, this quickly turned out to be
unwieldy. In addition, we ran into problems whenever we tried to
duplicate more than ten clips (still don't know why.)
Currently, we are attempting to generate a fixed amount of duplicates
that will fit in the viewing area (less if there are fewer items in the
database) and have those clips simply repopulate whenever you press the
scroll button.
The coding on this is unbelievably ugly, by the way. However, I'm but a
frazzled animator and I'm sure our programmer could do a much better job
of explaining the process but he's understandably busy. I hope that this
at least points you in the right direction.
Finally, this leads me to a feature request- PLEASE Macromedia, PLEASE
include a way to easily print out your code. One of the biggest obstacles
that we've encountered is trying to have a new person take over where
someone else left off. It seems that there's always a piece of hidden
code that keeps the entire swf from working until it's found.
--------------------------------------------------------------------------
Ryan Silva @Ann Magnuson's Web Happening:
ryan
http://www.burningboy.com/ http:// www.annmagnuson.com/
"Monkey, I'm bored..." WILL DRAW FOR FOOD!
--------------------------------------------------------------------------
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
Re: FLASH: display results from database, John Croteau
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

