Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A Demo of a component that makes using FXG Images in Flex easy.
git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/whiteboard@1310637 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Jeffry Houser
committed
Apr 6, 2012
1 parent
dfa8d96
commit 36a5516
Showing
885 changed files
with
71,948 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Licensed to the Apache Software Foundation (ASF) under one or more | ||
// contributor license agreements. See the NOTICE file distributed with | ||
// this work for additional information regarding copyright ownership. | ||
// The ASF licenses this file to You under the Apache License, Version 2.0 | ||
// (the "License"); you may not use this file except in compliance with | ||
// the License. You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
Component contributed by Jeffry Houser (jhouser@apache.org) | ||
Date: 4/6/2012 | ||
|
||
|
||
This is a demonstration of a component, named FXGImage, which was created as a simple way to use an | ||
FXG Asset inside of a Flex Application. I've used it to dispaly background images inside of | ||
mobile applications. | ||
|
||
The submission is a Flash Builder Workspace which includes two projects, one is a library project and the | ||
second is a Flex Project. You should be able to import the workspace into Flash Builder; or just use | ||
the code to create your own projects in alternate IDEs. | ||
|
||
|
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file added
BIN
+6.86 KB
jhouser/FXGImage/Workspace/.metadata/.plugins/com.adobe.flash.profiler/10/ProfilerAgent.swf
Binary file not shown.
Binary file added
BIN
+6.86 KB
jhouser/FXGImage/Workspace/.metadata/.plugins/com.adobe.flash.profiler/11/ProfilerAgent.swf
Binary file not shown.
Binary file added
BIN
+2.24 KB
...plugins/com.adobe.flexbuilder.codemodel/SwcCache/FXGImageLibrary.swc275850161/library.swf
Binary file not shown.
162 changes: 162 additions & 0 deletions
162
...ns/com.adobe.flexbuilder.codemodel/SwcCache/advancedgrids.swc232392449/defaults-3.0.0.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
/* | ||
/////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Copyright ("C") 2003-2005 Macromedia, Inc. All Rights Reserved. | ||
// The following is Sample Code and is subject to all restrictions | ||
// on such code as contained in the End User License Agreement | ||
// accompanying this product. | ||
// | ||
/////////////////////////////////////////////////////////////////////////////// | ||
*/ | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGrid | ||
//------------------------------ | ||
*/ | ||
|
||
AdvancedDataGrid | ||
{ | ||
alternatingItemColors: #F7F7F7, #FFFFFF; | ||
columnDropIndicatorSkin: ClassReference("mx.skins.halo.DataGridColumnDropIndicator"); | ||
columnResizeSkin: ClassReference("mx.skins.halo.DataGridColumnResizeSkin"); | ||
headerColors: #FFFFFF, #E6E6E6; | ||
headerDragProxyStyleName: "headerDragProxyStyle"; | ||
headerBackgroundSkin: ClassReference("mx.skins.halo.DataGridHeaderBackgroundSkin"); | ||
headerSeparatorSkin: ClassReference("mx.skins.halo.DataGridHeaderSeparator"); | ||
headerHorizontalSeparatorSkin: ClassReference("mx.skins.halo.AdvancedDataGridHeaderHorizontalSeparator"); | ||
headerStyleName: "advancedDataGridStyles"; | ||
sortArrowSkin: ClassReference("mx.skins.halo.DataGridSortArrow"); | ||
stretchCursor: Embed(source="Assets.swf",symbol="cursorStretch"); | ||
verticalGridLineColor: #CCCCCC; | ||
disclosureClosedIcon: Embed(source="Assets.swf",symbol="TreeDisclosureClosed"); | ||
disclosureOpenIcon: Embed(source="Assets.swf",symbol="TreeDisclosureOpen"); | ||
defaultLeafIcon: Embed(source="Assets.swf",symbol="TreeNodeIcon"); | ||
folderClosedIcon: Embed(source="Assets.swf",symbol="TreeFolderClosed"); | ||
folderOpenIcon: Embed(source="Assets.swf",symbol="TreeFolderOpen"); | ||
paddingLeft: 2; | ||
paddingRight: 0; | ||
/* sort item renderer's font styles */ | ||
sortFontFamily: "Verdana"; | ||
sortFontSize: 10; | ||
sortFontStyle: "normal"; | ||
sortFontWeight: "normal"; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGridItemRenderer | ||
//------------------------------ | ||
*/ | ||
|
||
AdvancedDataGridItemRenderer | ||
{ | ||
paddingLeft: 5; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGridSortItemRenderer | ||
//------------------------------ | ||
*/ | ||
AdvancedDataGridSortItemRenderer | ||
{ | ||
paddingTop: 0; | ||
paddingBottom: 0; | ||
paddingLeft: 0; | ||
paddingRight: 0; | ||
horizontalGap: 0; | ||
|
||
color: #0B333C; | ||
icon: ClassReference("mx.skins.halo.DataGridSortArrow"); | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGridHeaderRenderer | ||
//------------------------------ | ||
*/ | ||
AdvancedDataGridHeaderRenderer | ||
{ | ||
paddingTop: 0; | ||
paddingBottom: 0; | ||
paddingLeft: 2; | ||
paddingRight: 2; | ||
horizontalGap: 0; | ||
horizontalAlign:center; | ||
verticalAlign:middle; | ||
|
||
color: #0B333C; | ||
|
||
backgroundColor: #FFFFFF; | ||
backgroundAlpha: 0.0; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// .advancedDataGridStyles | ||
//------------------------------ | ||
*/ | ||
|
||
.advancedDataGridStyles | ||
{ | ||
fontWeight: "bold"; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedListBase | ||
//------------------------------ | ||
*/ | ||
AdvancedListBase | ||
{ | ||
backgroundColor: #FFFFFF; | ||
backgroundDisabledColor: #DDDDDD; | ||
borderStyle: "solid"; | ||
dropIndicatorSkin: ClassReference("mx.skins.halo.ListDropIndicator"); | ||
paddingBottom: 2; | ||
paddingLeft: 2; | ||
paddingRight: 0; | ||
paddingTop: 2; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// PrintAdvancedDataGrid | ||
//------------------------------ | ||
*/ | ||
|
||
PrintAdvancedDataGrid | ||
{ | ||
alternatingItemColors: #FFFFFF, #FFFFFF; | ||
borderColor: 0; | ||
columnResizeSkin: ClassReference("mx.skins.halo.DataGridColumnResizeSkin"); | ||
headerColors: #FFFFFF, #FFFFFF; | ||
headerSeparatorSkin: ClassReference("mx.skins.halo.DataGridHeaderSeparator"); | ||
headerStyleName: "advancedDataGridStyles"; | ||
horizontalGridLineColor: 0; | ||
horizontalGridLines: true; | ||
sortArrowSkin: ClassReference("mx.skins.halo.DataGridSortArrow"); | ||
stretchCursor: Embed(source="Assets.swf",symbol="cursorStretch"); | ||
verticalGridLineColor: #000000; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// PrintOLAPDataGrid | ||
//------------------------------ | ||
*/ | ||
|
||
PrintOLAPDataGrid | ||
{ | ||
alternatingItemColors: #FFFFFF, #FFFFFF; | ||
borderColor: 0; | ||
columnResizeSkin: ClassReference("mx.skins.halo.DataGridColumnResizeSkin"); | ||
headerColors: #FFFFFF, #FFFFFF; | ||
headerSeparatorSkin: ClassReference("mx.skins.halo.DataGridHeaderSeparator"); | ||
headerStyleName: "advancedDataGridStyles"; | ||
horizontalGridLineColor: 0; | ||
horizontalGridLines: true; | ||
stretchCursor: Embed(source="Assets.swf",symbol="cursorStretch"); | ||
verticalGridLineColor: #000000; | ||
} |
160 changes: 160 additions & 0 deletions
160
....plugins/com.adobe.flexbuilder.codemodel/SwcCache/advancedgrids.swc232392449/defaults.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
/* | ||
/////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Copyright ("C") 2003-2005 Macromedia, Inc. All Rights Reserved. | ||
// The following is Sample Code and is subject to all restrictions | ||
// on such code as contained in the End User License Agreement | ||
// accompanying this product. | ||
// | ||
/////////////////////////////////////////////////////////////////////////////// | ||
*/ | ||
|
||
@namespace "library://ns.adobe.com/flex/mx"; | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGrid | ||
//------------------------------ | ||
*/ | ||
|
||
AdvancedDataGrid | ||
{ | ||
alternatingItemColors: #F7F7F7, #FFFFFF; | ||
columnDropIndicatorSkin: ClassReference("mx.skins.halo.DataGridColumnDropIndicator"); | ||
columnResizeSkin: ClassReference("mx.skins.halo.DataGridColumnResizeSkin"); | ||
headerColors: #FFFFFF, #E6E6E6; | ||
headerDragProxyStyleName: "headerDragProxyStyle"; | ||
headerBackgroundSkin: ClassReference("mx.skins.halo.DataGridHeaderBackgroundSkin"); | ||
headerSeparatorSkin: ClassReference("mx.skins.halo.DataGridHeaderSeparator"); | ||
headerHorizontalSeparatorSkin: ClassReference("mx.skins.halo.AdvancedDataGridHeaderHorizontalSeparator"); | ||
headerStyleName: "advancedDataGridStyles"; | ||
sortArrowSkin: ClassReference("mx.skins.halo.DataGridSortArrow"); | ||
stretchCursor: Embed(source="Assets.swf",symbol="cursorStretch"); | ||
verticalGridLineColor: #CCCCCC; | ||
disclosureClosedIcon: Embed(source="Assets.swf",symbol="TreeDisclosureClosed"); | ||
disclosureOpenIcon: Embed(source="Assets.swf",symbol="TreeDisclosureOpen"); | ||
defaultLeafIcon: Embed(source="Assets.swf",symbol="TreeNodeIcon"); | ||
folderClosedIcon: Embed(source="Assets.swf",symbol="TreeFolderClosed"); | ||
folderOpenIcon: Embed(source="Assets.swf",symbol="TreeFolderOpen"); | ||
paddingLeft: 2; | ||
paddingRight: 0; | ||
/* sort item renderer's font styles */ | ||
sortFontFamily: "Verdana"; | ||
sortFontSize: 10; | ||
sortFontStyle: "normal"; | ||
sortFontWeight: "normal"; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGridItemRenderer | ||
//------------------------------ | ||
*/ | ||
|
||
AdvancedDataGridItemRenderer | ||
{ | ||
paddingLeft: 5; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGridSortItemRenderer | ||
//------------------------------ | ||
*/ | ||
AdvancedDataGridSortItemRenderer | ||
{ | ||
paddingTop: 0; | ||
paddingBottom: 0; | ||
paddingLeft: 0; | ||
paddingRight: 0; | ||
horizontalGap: 0; | ||
|
||
color: #0B333C; | ||
icon: ClassReference("mx.skins.halo.DataGridSortArrow"); | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedDataGridHeaderRenderer | ||
//------------------------------ | ||
*/ | ||
AdvancedDataGridHeaderRenderer | ||
{ | ||
paddingTop: 0; | ||
paddingBottom: 0; | ||
paddingLeft: 2; | ||
paddingRight: 2; | ||
horizontalGap: 0; | ||
horizontalAlign:center; | ||
verticalAlign:middle; | ||
|
||
color: #0B333C; | ||
|
||
backgroundColor: #FFFFFF; | ||
backgroundAlpha: 0.0; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// .advancedDataGridStyles | ||
//------------------------------ | ||
*/ | ||
|
||
.advancedDataGridStyles | ||
{ | ||
fontWeight: "bold"; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// AdvancedListBase | ||
//------------------------------ | ||
*/ | ||
AdvancedListBase | ||
{ | ||
borderStyle: "solid"; | ||
_creationPolicy: "auto"; | ||
dropIndicatorSkin: ClassReference("mx.skins.halo.ListDropIndicator"); | ||
paddingBottom: 2; | ||
paddingLeft: 2; | ||
paddingRight: 0; | ||
paddingTop: 2; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// PrintAdvancedDataGrid | ||
//------------------------------ | ||
*/ | ||
|
||
PrintAdvancedDataGrid | ||
{ | ||
alternatingItemColors: #FFFFFF, #FFFFFF; | ||
borderColor: 0; | ||
headerColors: #FFFFFF, #FFFFFF; | ||
headerSeparatorSkin: ClassReference("mx.skins.halo.DataGridHeaderSeparator"); | ||
headerStyleName: "advancedDataGridStyles"; | ||
horizontalGridLineColor: 0; | ||
horizontalGridLines: true; | ||
sortArrowSkin: ClassReference("mx.skins.halo.DataGridSortArrow"); | ||
stretchCursor: Embed(source="Assets.swf",symbol="cursorStretch"); | ||
verticalGridLineColor: #000000; | ||
} | ||
|
||
/* | ||
//------------------------------ | ||
// PrintOLAPDataGrid | ||
//------------------------------ | ||
*/ | ||
|
||
PrintOLAPDataGrid | ||
{ | ||
alternatingItemColors: #FFFFFF, #FFFFFF; | ||
borderColor: 0; | ||
headerColors: #FFFFFF, #FFFFFF; | ||
headerSeparatorSkin: ClassReference("mx.skins.halo.DataGridHeaderSeparator"); | ||
horizontalGridLineColor: 0; | ||
horizontalGridLines: true; | ||
stretchCursor: Embed(source="Assets.swf",symbol="cursorStretch"); | ||
verticalGridLineColor: #000000; | ||
} |
Binary file added
BIN
+333 KB
.../.plugins/com.adobe.flexbuilder.codemodel/SwcCache/advancedgrids.swc232392449/library.swf
Binary file not shown.
Binary file added
BIN
+286 Bytes
....codemodel/SwcCache/advancedgrids.swc232392449/mx/controls/AdvancedDataGrid.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+643 Bytes
...odemodel/SwcCache/authoringsupport.swc-457906583/flash_component_icon_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+323 Bytes
...odemodel/SwcCache/authoringsupport.swc-457906583/flash_container_icon_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.7 KB
...ugins/com.adobe.flexbuilder.codemodel/SwcCache/authoringsupport.swc-457906583/library.swf
Binary file not shown.
Oops, something went wrong.