|
-
Unfortunately the project is on our intranet so I can't give a sample...
But it works the way I want it to thru Netscape (4.08) every time, but not in IE5.5. I've tried clearing the cache and shutting down/restarting the browser. I thought Netscape was the one with caching issues!
Anyway, details: simple search form and results page (2 separate scenes). The search scene posts the Name of the person to search for (as entered by the user in a regular input box) into Results.cfm where it then does a query on it (see script1). Then it reads values spit back from the Results.cfm file. The Flash result page is just a bunch of dynamic text boxes named appropriately calling those fields (see script2) and it works great in Netscape. In IE, it doesn't even call up the fields.
Script1:
on (release, keyPress "<Enter>") {
inputme = inputme; //name of input textbox
loadVariables ("Results.cfm", "", "POST"); //use inputme for query string
gotoAndPlay ("ShowResults"); //play next scene for results
}
Script2:
//clear all fields before populating
resultszero = "";
namebox = "";
phonebox = "";
emailbox = "";
managerbox = "";
deptbox = "";
positionbox = "";
contractbox = "";
pagerbox = "";
pinbox = "";
//load variables to populate fields
loadVariables ("Results.cfm", "");
Now this takes a good 2 seconds to process because it has to do a DB query, but it comes up correctly every time after 2-3 seconds in Netscape. In IE, it never comes up at all... all blank fields.
Any ideas or a more efficient way to code? I'm thinking it has something to do with targets and levels. Should I be loading variables into Level0? Right now, it's set to Target(blank) as per a sample tutorial I found at NVIMedia.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|