Jamal,
You can not use this code change if you are only using the ArcGIS Viewer Application Builder. When you use the App Builder or the compiled Flex Viewer you are ONLY configuring the application though XML changes. When people in these forums talk about code changes they are speaking of using the AGS Viewer for Flex source code and some Flex IDE, like Flash Builder.
Robert