My solution is to add tags that can help comment on unnecessary blocks of mxml code in a specific assembly. For example, I want to add different buttons in Android and iOS:
<s:Button id="exitBtn"
label="Exit"
click="NativeApplication.nativeApplication.exit()"/>
script, , Android, iOS
PrepareForIos.cmd
@echo off
"C:\Program Files (x86)\bin\fart.exe" -r -w -- H:\Flash\MyProject\src\* "" "" "-->"
"C:\Program Files (x86)\bin\fart.exe" -r -w -- H:\Flash\MyProject\src\* ""
"C:\Program Files (x86)\bin\fart.exe" -r -w -- H:\Flash\MyProject\src\* "-->" ""
pause
FART -
iOS:
<s:Button id="backBtn"
icon="{SHOW_LIST}"
click="navigator.popView()"/>
:
PrepareForAndroid.cmd
@echo off
"C:\Program Files (x86)\bin\fart.exe" -r -w -- H:\Flash\MyProject\src\* "" "" "-->"
"C:\Program Files (x86)\bin\fart.exe" -r -w -- H:\Flash\MyProject\src\* ""
"C:\Program Files (x86)\bin\fart.exe" -r -w -- H:\Flash\MyProject\src\* "-->" ""
pause