Hello, I am new to this forum, and work in some flash/php/html applications
right now I am doing a dynamic list of data, wich means that I am doing several loadvars to different domains, reading their html, looking for the values I want and present them.
The problem is that, for some reason, since flash player 9 is installed, the flash doesn't work in the browsers (neither ie, neither firefox), at best it gives me a warning for trying to access another domain
I have seen this kind of problem before, on flash menus with external linking. But this was solved with a little program you could download from adobe (troublesome as it is, it worked).
However, now that there are no symbols on the stage, and the actionscript is more complex, the code works while testing the movie alone, but not in browsers.
I have tried:
1.adding to the actionscript
System.security.allowInsecureDomain("*");
System.security.allowDomain("*");
2.adding to the html the allowScriptAccess=always and allowNetworking=all, I added it everywhere, even to the AC_RunActiveContent parameters, knowing it is not implemented within the javascript
3.running the program adobe provides (LocalContentUpdater), wich works on menus, but not in the more complex projects I am in.
4.swearin on adobe/macromedia (didn't work either)
As a matter of fact, I don't wan't the web user to need to specifically allow this flash (solution suggested by adobe. My users are not computer experts, if prompted about anything, a few will know understand what to do. most will not)
If anyone knows how to solve this, I will be deeply grateful
Thank you
the function that fails to work is the next:
I have flash 8 pro, and have installed flash player 9,0,28,0 internet explorer 6.0.29, and firefox 15.0.9
When in browser, it loads firstdomain (mostly), but not seconddomain
right now I am doing a dynamic list of data, wich means that I am doing several loadvars to different domains, reading their html, looking for the values I want and present them.
The problem is that, for some reason, since flash player 9 is installed, the flash doesn't work in the browsers (neither ie, neither firefox), at best it gives me a warning for trying to access another domain
I have seen this kind of problem before, on flash menus with external linking. But this was solved with a little program you could download from adobe (troublesome as it is, it worked).
However, now that there are no symbols on the stage, and the actionscript is more complex, the code works while testing the movie alone, but not in browsers.
I have tried:
1.adding to the actionscript
System.security.allowInsecureDomain("*");
System.security.allowDomain("*");
2.adding to the html the allowScriptAccess=always and allowNetworking=all, I added it everywhere, even to the AC_RunActiveContent parameters, knowing it is not implemented within the javascript
3.running the program adobe provides (LocalContentUpdater), wich works on menus, but not in the more complex projects I am in.
4.swearin on adobe/macromedia (didn't work either)
As a matter of fact, I don't wan't the web user to need to specifically allow this flash (solution suggested by adobe. My users are not computer experts, if prompted about anything, a few will know understand what to do. most will not)
If anyone knows how to solve this, I will be deeply grateful
Thank you
the function that fails to work is the next:
Code:
function expee(maindata) {
var valuefirst:LoadVars = new LoadVars();
valuefirst.load("[URL unfurl="true"]http://firstdomain.com/scripts/valuefirst.php?varobjective="+maindata);[/URL]
valuefirst.onLoad = function(successc) {
var supradata:LoadVars = new LoadVars();
supradata.load("[URL unfurl="true"]http://seconddomain.org/secondary.php?valuethat="+valuefirst.valuefirst+"&varobjective:"+maindata);[/URL]
supradata.onLoad = function(success) {
var suprastring = supradata.toString();
//function to get the variable finalvalue from suprastring, too long to put here
var my_lv:LoadVars = new LoadVars();
my_lv.load("targetphp.php?error=0&expee="+finalvalue+"&varobjective="+maindata);
rankfinal.htmlText = finalvalue;
trace("ranking = "+finalvalue);
};
};
}
I have flash 8 pro, and have installed flash player 9,0,28,0 internet explorer 6.0.29, and firefox 15.0.9
When in browser, it loads firstdomain (mostly), but not seconddomain