This content has been marked as final. Show 12 replies
you need to ensure loading (of customer.xml) is complete before trying to use the data that it contains. ie, use preloader code to ensure loading is complete before enabling Client Login.
Ok, how do I do that? I have already added the following to ensure my XML is refreshed on the browser each time:
id = ((Math.random()*15)+"ie43");//just to keep the xml fresh
Now, how do I make sure it's loaded before I let the movie progress?
if the only way your project uses the xml data is after ClientLoginBtn is pressed you could use:
Cool. I am going to give this a shot. On the FLA file, would I put this code on the CLIENT_SCR to ensure that the code has loaded? Or, does this somehow fit on the initial STEELEIMAGINGLTD_SCR?
Let me know what area to put the code....
If this works, have a paypal account so I can send the $$
the function preloadF() should appear on a frame that plays no later than the code that's above it and should be on the same timeline as the setInterval() function.
and the code above that defines the XML() object etc should appear where you currently instantiate your XML() object and should replace the code that looks exacly the same except is lacking the setInterval() function and line that disables your button.
Thank you for the help. I have not forgotten about you, I just havent been able to figure out how to set up your code. Would it be easier if I were to send you my FLA file?
you can post a link to your fla and i'll check it.
You will need to click on the client tab and enter the username of: guest
It may take 8 to 10 times when you enter the user name for the SWF file to "catch" it... if this happens to you, this is the exact problem I am trying to correct.
Please let me knoe when you have it so I can take it offline. My personal email is email@example.com
i keep getting a pop-up that shows a 404 error. the flash shows my log-in is accepted but there doesn't appear to be anything available for download.
Can you provide an email address? I log on and in and it works fines...
i sent an email via your website.
your edited file that preloads your xml file before enabling your login button is at:
www.gladstien.com/new/steele imaging - final_2006.zip
i'm unable to test to see if this resolves your issue. but if you test and find that the login button is not clickable for a while after entering a user name and that when the button is clickable all works well, you'll probably want to polish your presentation so user's don't get frustrated trying to click an unclickable button.
but first see if your issue is resolved.