Yes I have already made that configuration in flex-config.xml but to no use.
Is there any argument I could use in the ant task:-
Look at 'target-player=player_version' row. So it would look like this:
<arg line= "-player_version=10.0.0" /> or this: <arg line= "-target-player=10.0.0" />
What do you mean by, "...it fails to deliver the required results"? Do you get compile errors when you do an Ant build or something doesnt function in your application? Also I am unsure what you mean by "...required build version...". Are you refering to debug/release builds?
What I mean by incorrect response is that if in the code I have:-
browserManager = BrowserManager.getInstance();
"", "Welcome to Dashboard");
when the init mehtod is called over here it is expected that it would initialize the browserManager object such that
would contain the the url posted in the address bar. When in Adoble flex builder I changed:-
Project>Propoerties>Flex Compiler>Require Flash Player Version
value from 9.0.0 to 9.0.124
it started working properly however with ant build though it compiled successfully it always displays null.
I also tried
<arg line= "-player_version=10.0.0" />
<arg line= "-target-player=10.0.0" />
where with arg player_version it failed to compile with ant build while -target-player siccessfully compiled but didn't give the desirable results as mentioned above.
Well, after doing some research, I found that in order for deep linking to work, the application needs to have the "Enable integration with browser navigation" option checked. And also, the application's HTML wrapper needs to have: history.css; history.js; historyFrame.html.
So check your application's HTML wrapper. If that doesnt help, I suggest to use Adobe Flex Ant.
Here is my source:
The issue isn't related to the flash player version. It's the template and subfolders that need to be added as per:
"If you use Flex Builder, you must choose one of the HTML templates that support the BrowserManager. Go to the project's Properties dialog, select "Flex Compiler" and ensure that the "Enable integration with browser navigation" is checked.
If you don't use Flex Builder, you should modify one of the index.template.html files in a template folder that ends with "with-history". You'll need to copy the support files in the subfolders as well. "