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”?你有问题吗?