flash data integration:
My problem is a little unusual. I have a perl script that does this great job, but I want to make a flash interface for it. The thing is that I don't want the flash to load any new pages or pop-ups when executing the script and so looking as if the flash does it all. Is there a way of NOT opening the results in a window?
Your Perl script should not return any HTML or white space (tabs, spaces, returns). It probably should return some data such as URL Vars or XML so that the Flash Movie knows the results and can inform the user the action's status.
I take it that you are using the loadVars() class to load your script. Instead put all your variables into one movieclip and then use: myMovieClip.loadVariables("myScript.cgi", "POST"); If you are moving to a newframe (such as the next frame) after you have sent your variables, you have to wait for the data to be sent. So what I would do (this is all assuming you are using AS 2.0) is apply the following actions to the myMovieClip movieclip: onClipEvent(data) { this._parent.nextFrame(); } JAMES
Don't see what you're looking for? Try a search.
|