OK, I have narrowed down the problem... but I still need HELP!!!
First, the version problems were related to case sensitivity. (fixed)
Second, the dynamic XML data still does not load (in time). It appears that
the CFM file is not loading quickly enough and the flash file generates before
it gets any/all the data. I believe this is the case because when I load the
file the first time in IE none of the data appears but if I refresh then the
correct data displays. I thought that I had written the AS to wait for the
onLoad to finish loading the file before proceeding. (see attached code)
This also begs the next question, why is IE caching the dynamic data? The
reason that I am using a CFM page is that I want it to be up to date. In
FireFox I never get the data to display because it appears to be getting the
data each time.
One other thing, how do you debug in the browser? I am using dynamic data off
the server and therefore can't debug it until I upload the file to the server.
I tried downloading the Flash Player 9 debugger but that appears to only work
for Flex. Is this correct?
Thanks again to all!
var OrgsXML = new XML();
OrgsXML.ignoreWhite = true;
OrgsXML.onLoad = function(success:Boolean) {
if (success) {
// trace("Load Status: Sucess");
_global.x = States();
} else {
trace("Load Status: error");
}
};
OrgsXML.load("states.cfm");
> Second, the dynamic XML data still does not load (in time). It appears
> that
[quoted text clipped - 6 lines]
> correct data displays. I thought that I had written the AS to wait for the
> onLoad to finish loading the file before proceeding. (see attached code)
If this is the case, tell the timeline not to proceed until it is loaded.
> This also begs the next question, why is IE caching the dynamic data? The
> reason that I am using a CFM page is that I want it to be up to date. In
> FireFox I never get the data to display because it appears to be getting
> the
> data each time.
IE loves to cache anything it can. IE doesn't know that your content is
dynamic, try putting a random variable at the end of your load.
randomVar = Math.random();
OrgsXML.load("states.cfm?random="+randomVar)
> One other thing, how do you debug in the browser? I am using dynamic data
> off
[quoted text clipped - 3 lines]
> work
> for Flex. Is this correct?
Yeah, you can't see the cfm dynamic data until it is processed by cfm, which
is on the server. If you had cfm on your local machine as well as the
source data, then you could do it. Until then, you'll have to do your
testing on the server.

Signature
Dan Mode
--> Adobe Community Expert
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog