set the viewSourceURL property by using MXML
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" viewSourceURL="http://localhost:8100/flex/assets/AppSourceURL.txt"> <mx:Button /> </mx:Application>