 Michał Wróblewski
|
<p>AbstractLoader:setParam method returning this as a AbstractLoader would allow to do setting params like this.</p>
<p>
Code:
var xmlLoader:XMLLoader = new XMLLoader(request)<br />
.setParam(Param.PREVENT_CACHE, true)<br />
.setParam(Param.CHECK_POLICY_FILE, true)<br />
.setParam(Param.RETRIES, 3)
</p>
|
 Matan Uberstein
|
Hi Michal,
Great idea, although it would rather return an ILoader instead of AbstractLoader. This will require an update to the ILoader interface, which is something I don’t like to do, because modular apps will go out of sync with each other if the dev decides to upgrade.
But yes, accepted. v2.5.0 will include this.
Thanks again!
Matan
|