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: John Croteau
Date: Tue, 14 Sep 1999 20:59:34 +0100

Hi Ryan,

> 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.
It doesn't sound like you are using variables very efficiently.
Have you looked at the List Box in the Widgets.fla?
Help > Samples > Widgets

> 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.
If you can't use Generator then the code could become quite complicated
though it shouldn't be ugly. If your programmer uses Calls for common
functions and doesn't try to make the basic code too structured,
reuseable and modifiable then the code should be quite fluid. One of the
keys to complex programming in Flash is the mastery of the simple array
and use of Eval in evaluating those arrays.

Actions should normally be kept in a separate (top) layer called Actions
this should eliminate the need to hunt for stray Actions and code. If it
is neccessary to put an action(s) in another layer then a comment should
be put in to mention it.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: helpatchinwag [dot] com
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-manageratshocker [dot] com


Replies
  RE: FLASH: display results from database, Ryan Silva

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]