Oh, I forgot to metion... you can't access "this" in your XML.onLoad() because in your example, there is no object for 'this' to reference. The 'success' argument that is generated and passed to the function you define for your onLoad is just a true/false boolean value, NOT an object...
in your javascript (I assume you are calling a javascript function to do the pop-ups) make each window pop with a unique name by adding a counter-type thing to the window name:
windowCount = 1;
function popWin(myLocation,myWidth,myHeight){
windowCount++;
newWinName =...
Dependnig on your target browser(s) you can write in a dynamic height / width for the Flash movie based on the current browser width in javascript.
Something like:
theWidth = screen.wdith;
theHeight = screen.height;
myHeight = (do any math you need to);
myWidth = (do any math you need for the...
Here is the "proper form" for do an XML onLoad:
myXML = new XML();
myXML.load("someXMLfile.xml");
myXML.onLoad = doSomething;
function doSomething(success){
if(success){
trace("The XML loaded!");
}else{
trace("XML did not load");
}
}...
Any variable in a Flash movie can be passed to a CGI, and the results of said CGI passed back into Flash using the loadVariables() Method. You can send your current vars to a script, and read the return back in... so if the user entered their name/passwd into two text fields you named...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.