View Full Version : Mysterious inconsistencies (no, not a band name)

03-27-2001, 06:41 AM
I have a Flash <->ColdFusion <-> Database search tool. Works great! Well, most of the time....

The search results return to a text box in a movie clip. I am looping over a couple frames waiting for "loaded=1" from the loadVariablesNum call to the coldfusion page. When this is true, I go to the "results" frame which contains the text movie clip.
There is an onClipEvent(data) call on the movie clip to reset the scrollbar as well.

I would say that 80% of the time, this works as it should. It is the other 20% that bothers me! I get the "loaded=1", a "status" textbox is updated to show the record count, and we go to the movie clip. But there is no text in the movie clip! Hit <enter> a couple more times, and eventually the text loads. No errors from the server, so I figured it had to be in my flash app. ?? But I can't for the life of me understand why it is so inconsistent....it is just me here on my own machine with my own database....and with the exact same queries!

Any ideas? I can make the code available if asked.

Thanks in advance,

03-27-2001, 03:03 PM
hi örenot,

can you describe your problem in particular? Which scrollbar? The onClipEvent(data) react only on one receiving of a variable (if you believe the macromedia help).

Wir wünschen dir viele neue Flash-Seiten!!!

03-27-2001, 09:58 PM

I am trying to have the search form and results show in the window at the same time. THis is working, except for every now and then the text results box will not show the results! No errors, all other data is returned from the database. I have a loop after the user clicks "search" or hits <enter>:

if (loaded=="1"){
} else {

"Results" reveals the textMC , which has the following action:

onClipEvent (data) {
_root.loaded = "";//to reset the "loaded" var
scroller.gotoAndPlay("Reset"); //this resets the scrollbar

Code is here, if you wanna look: http://members.nbci.com/japanmoran/other/code/

Some of it is ugly, I warn you. I am learning this as I go.

I bit too big to post on the board, I thought.

Sorry, can't put it somewhere to test due to password restrictions on my company's database site.... :-(

I appreciate the help.