Tag Archives: ActionScript

About the overloading in Flex

Those days I’m looking a new job related to Java and Flex… Seems that this is a popular interview question, I event didn’t encounter it in the ACE. Bu

More…

Posted in ActionScript, Flex | Tagged , | Leave a comment

Let the Flex thread sleep for a while

Sometimes we use thread.sleep to let the thread stop running for a while in Java, but in Flex, we can’t  control the thread, but sometimes we wan

More…

Posted in ActionScript, Flex | Tagged , | Leave a comment

Flex Event stopimmediatepropagation VS stoppropagation

What’s the difference ? Here is the test codes:
We will create a button in a Group, and listen the button click event(MouseEvent.Click):
protected f

More…

Posted in ActionScript, Flex | Tagged , , | Leave a comment

Flex 自定义Event 低级错误一例: 未重写Clone方法, 导致类型转换失败

自定义Event必须及时重写Clone与toString方法….

Posted in ActionScript, Flex | Tagged , , , | Leave a comment

Flex4 Spark TextArea 设置自适应大小及派发鼠标滚动事件

记得在使用Flex4之前, 看过一篇介绍TextArea自适应高度的文章, 监听Event, 动态改变高度.  很少用TextArea, 也没用过. 在Flex4, 使用Spark界面时, TextArea可设为自动适应.
设置heightInLines = NaN -  如果

More…

Posted in ActionScript | Tagged , , | Leave a comment