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
Apache flex 有没有办法在运行时使用Flex 9片缩放?_Apache Flex_Actionscript 3 - Fatal编程技术网

Apache flex 有没有办法在运行时使用Flex 9片缩放?

Apache flex 有没有办法在运行时使用Flex 9片缩放?,apache-flex,actionscript-3,Apache Flex,Actionscript 3,我还没有在网上找到这个问题的答案。有没有一种方法可以在运行时对加载的图像使用9层缩放 为了澄清这一点,我们假设我构建了一个应用程序,它允许用户使用他们想要的任何图像对按钮进行蒙皮。这将是一个不嵌入swf的图像。有没有办法将运行时图像设置为背景并使用9-scaling 谢谢 您可以指定一个矩形作为包含图像艺术的movieClip的scale9grid 现在,要在Flex中使用MovieClip(它是一个Flash组件),您必须将其加载到UIComponent中:

我还没有在网上找到这个问题的答案。有没有一种方法可以在运行时对加载的图像使用9层缩放

为了澄清这一点,我们假设我构建了一个应用程序,它允许用户使用他们想要的任何图像对按钮进行蒙皮。这将是一个不嵌入swf的图像。有没有办法将运行时图像设置为背景并使用9-scaling


谢谢

您可以指定一个矩形作为包含图像艺术的movieClip的scale9grid

现在,要在Flex中使用MovieClip(它是一个Flash组件),您必须将其加载到UIComponent中: