天道酬勤,学无止境

gumbo

Complex Maven2 with Flex4 Setup

I have been struggling to get Maven2 to cooperate with me, and was wondering if anyone out there had any ideas on how to get this working.... I am working on a Flash project, and we are considering switching from our hybrid Flex4/FlashCS4 to a pure Flex4 solution. We would like to use the Maven2 build system, so that our developers do not have to manually download, install, and configure Flex4 on their machines. I have managed to create a single-module project using Maven2 with Flex4 (I am using the Sonatype FlexMojos Plugin and their Maven2 repository located at http://repository.sonatype.org

2022-03-19 15:06:15    分类:问答    apache-flex   maven-2   gumbo   flex-mojos   sonatype

如何制作顶部有锯齿边缘的 TileGroup 布局?(how do I make a TileGroup layout that has the jaggy edge on top?)

问题 我有包含按钮的 spark.components.TileGroup。 我希望按钮在它们提供的 ViewStack 顶部显示为选项卡 目前,如果我在 TileList 中有 6 个项目,它会将其布置为 2 行,顶部有 4 个项目,底部有 2 个项目,因此锯齿状边缘位于底部 [ITEM 1][ITEM 2][ITEM 3][ITEM 4] [ITEM 5][ITEM 6] 我希望它看起来像这样,锯齿边缘在上面 [ITEM 5][ITEM 6] [ITEM 1][ITEM 2][ITEM 3][ITEM 4] 项目的顺序并不重要 我该怎么做? 回答1 定义一个新布局,以您想要的方式布置图块。 一些让您入门的链接。 http://www.adobe.com/devnet/flex/articles/spark_layouts.html http://insideria.com/2009/05/flex-4-custom-layouts.html

2021-12-21 20:31:20    分类:技术分享    apache-flex   flex4   tilelist   gumbo

how do I make a TileGroup layout that has the jaggy edge on top?

I have spark.components.TileGroup that contains buttons. I would like the buttons to appear like tabs on top of the ViewStack they serve At the moment, if I have 6 items in the TileList it lays it out as 2 rows with 4 items in the top tow and 2 in the bottom, so the jaggy edge is at the bottom [ITEM 1][ITEM 2][ITEM 3][ITEM 4] [ITEM 5][ITEM 6] I would like it to look like this, with the jaggy edge on top [ITEM 5][ITEM 6] [ITEM 1][ITEM 2][ITEM 3][ITEM 4] The order of the items is not important How would I do this?

2021-11-26 18:05:14    分类:问答    apache-flex   flex4   tilelist   gumbo

Flex 4 中的自定义预加载器?(Custom Preloader in Flex 4?)

问题 有没有人在 Flex 4 中成功实现自定义预加载器? 根据我的经验,当我在 Application 标签中使用 preloader="com.foo.MyPreloader" 指定自定义预加载器时,预加载器在 SWF 完全下载之前不会显示,这违背了预加载器的目的! 也许这是仍处于测试阶段的 Flex 4 框架中的一个错误? 回答1 我一直在许多 Flex3 项目中使用这个例子。 它仍在使用 Flex4 sdk: 我记得我从哪里得到的。 当你说这个脚本不引用任何东西很重要时,你是对的...... <s:Application tag ... preloader="com.YYY.XXX.shell.view.CustomPreloader" 自定义预加载器 package com.YYY.XXX.shell.view { import flash.display.Sprite; import flash.events.Event; import flash.events.ProgressEvent; import flash.events.TimerEvent; import flash.utils.Timer; import mx.events.FlexEvent; import mx.preloaders.DownloadProgressBar; public final

2021-11-18 17:01:10    分类:技术分享    apache-flex   flex4   gumbo   preloading

Custom Preloader in Flex 4?

Has anyone successfully implemented a custom preloader in Flex 4? In my experience, when I specify a custom preloader using the preloader="com.foo.MyPreloader" in the Application tag, the preloader does not display until the SWF is completely downloaded, defeating the purpose of the preloader! Perhaps this is a bug in the still-beta Flex 4 framework?

2021-11-15 14:14:23    分类:问答    apache-flex   flex4   gumbo   preloading