Flex - Script tag - red code in inline item renderers

The <Script> tag always appears red in inline item renderers. I have been experiencing this with both Flex 3 and 4 SDKs.
Can I do something about it, or just wait for a fix? :)

Comment actions Permalink

Please attach sample screenshot or full code example. Couldn't reproduce so far.

Comment actions Permalink
Code Example
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

        <fx:XMLList id="employees">
                <name>Christina Coenraets</name>
                <name>Joanne Wall</name>

    <s:VGroup left="10" right="10" top="10" bottom="10">
        <mx:DataGrid id="dg" width="100%" height="100%" rowCount="5" dataProvider="{employees}">
                <mx:DataGridColumn dataField="name" headerText="Name"/>
                <mx:DataGridColumn dataField="phone" headerText="Phone"/>
                <mx:DataGridColumn dataField="email" headerText="Email"/>
                <mx:DataGridColumn dataField="active" headerText="Active">
                                    import mx.controls.Alert;
                                    private function  clickHandler() : void {
                                        Alert.show("Click");Header 1
                                    <s:HorizontalLayout paddingLeft="10"/>
                                <s:CheckBox click="clickHandler()"/>



Comment actions Permalink

Thank you. I'm afraid you need to wait for the fix. Fortunately EAP builds are released almost every week. Please open an issue http://youtrack.jetbrains.net/
And please paste an example for Flex3 also.


Please sign in to leave a comment.