blob: 23dce97241d9a909f5dfeeda7d81ee244ec2021b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
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.
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" height="400" viewSourceURL="srcview/index.html">
<mx:Script>
<![CDATA[
import mx.controls.dataGridClasses.DataGridColumn;
import mx.controls.Alert;
import mx.controls.*;
import mx.charts.*;
import mx.charts.series.*;
import mx.charts.effects.*;
public function testFunc(val1:String = "defaultParam" ):void
{
Alert.show(val1, "called remotely");
}
// these just force datagrid to be linked into the application
public var refs:Array = [DataGrid, DataGridColumn, ColumnChart, ColumnSeries, LineSeries, CategoryAxis, SeriesInterpolate, SeriesSlide, SeriesZoom ];
]]>
</mx:Script>
<mx:Panel width="100%" height="100%" id="panel" paddingLeft="20" paddingTop="20" >
<mx:Text width="100%" height="16">
<mx:text>
Refer to the controls below, via javascript, as slider(), check(), and button() respectively
</mx:text>
</mx:Text>
<mx:CheckBox x="49" y="34" label="Checkbox" id="check"/>
<mx:HSlider snapInterval=".01" id="slider" liveDragging="true"/>
<mx:Button id="button" label="generic button" />
</mx:Panel>
<fab:FABridge xmlns:fab="bridge.*" />
</mx:Application>