Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Actionscript 3 在flex的自定义布局下,滚动条不工作_Actionscript 3_Apache Flex_Flex4.6 - Fatal编程技术网

Actionscript 3 在flex的自定义布局下,滚动条不工作

Actionscript 3 在flex的自定义布局下,滚动条不工作,actionscript-3,apache-flex,flex4.6,Actionscript 3,Apache Flex,Flex4.6,我已经创建了一个自定义布局并应用如下代码: <mx:Accordion x="10" y="10" width="292" height="417"> <s:NavigatorContent width="100%" height="100%" label="Electronics Symbols"> <s:Scroller x="0" y="0" width="200" height="300"> <

我已经创建了一个自定义布局并应用如下代码:

 <mx:Accordion x="10" y="10" width="292" height="417">
      <s:NavigatorContent width="100%" height="100%" label="Electronics Symbols">
        <s:Scroller x="0" y="0" width="200" height="300">
            <s:Group width="100%" height="100%">
                <s:layout>
                    <local:gridLayout/>
                </s:layout>


                <inductors:Inductor mouseDown="mouseDown(event)"/>
                <inductors:IronCoreInductor mouseDown="mouseDown(event)"/>
                <inductors:LongInductor mouseDown="mouseDown(event)"/>
                <inductors:VariableInductor mouseDown="mouseDown(event)"/>

                `

`

这里的gridLayout是我的自定义布局。当我使用flex layouts scroller时,它可以工作,但在此布局上它不工作。

只需要围绕Navigator内容下使用的任何组件进行包装。

尝试在Grouphow i wrap上设置ClipanEnableScrolling=“true”?你有问题吗?