Project
IntelliJ IDEA
Priority
Normal
Type
Feature
Fix versions
No Fix versions
State
Open
Assignee
Maxim Mossienko
Subsystem
Flex Support
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Alexander Podkhalyuzin
    2 years ago (28 Jun 2009 00:14)
  • Updated by   Alexander Podkhalyuzin
    2 years ago (29 Jun 2009 11:39)
  • Jira: IDEA-23524
    (history, comments)
 
IDEA-23524 Add inspection to disable using Application.application before application creation.
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
Using in vars initializers you can simply find. For example this code threw exception on runtime:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()">
    <mx:Script><![CDATA[
        public var initialText: String = Application.application.parameters.initialText;

        private function init(): void {
           myText.text = initialText;
        }
    ]]></mx:Script>
    <mx:TextInput id="myText"/>
</mx:Application>


Environment: Flex SDK 3.3
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments