Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / November 2005



Tip: Looking for answers? Try searching our database.

bindFormatStrings - undefined

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jermany - 15 Nov 2005 10:30 GMT
This is driving me nuts!! I have an app that was written in FlashMX. It uses
the Flash Remoting technology to call a DB and populate a list box.

When trying to do the same thing in Flash MX2004, I will get wierd results
when using dataglue to bind the result set to the list box.

1. The label shows up, but has the word undefined at the end of it.

2. No scroll bar shows up on the listbox component.

Here is the code that binds it. The only change I made in the app is that I
deleted the MX List box out of the movie, and draged a V2 listbox component to
the stage and gave it the same instance name (lb_datacardlist).

function get_allcards_Result(result) {
DataGlue.bindFormatStrings(lb_datacardlist, result, "#listname#", "#id#");
}
vinnievango - 23 Nov 2005 23:09 GMT
Hi Jermany,

I've had a problem something like yours and it's been driving me nuts too.  I
managed to fix part of it.  I have Studio 8 on my computer.  I have some files
from my professor made in MX Prof 2004.  When I loaded them on, most of the
files trying to load text gave me a undefined message.  I moved the files
closer to the Flash 8 folder, and believe it or not, it made some of them work
when they didn't work before.  

Now I have a file where I only changed one thing -- and it won't get me to the
URL using the combo box.  The prof's file gets to the URL using the same code.  
As you guessed, the message is undefined when I try to load it.  It seems as
though Flash is not compiliing the code correctly.  I tried different publish
settings, and tried looking at the case sensitivity.  It's a short script so
that's not it.  

Tech support said compiling programs in different areas is sometimes a
problem.  Try moving your files close to the Flash 8 folder -- who knows why
this worked for some of them and not others.  

Let me know if you come up with something -- please!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.