blob: 4863a0f17bb50f20248bd1ffae6b70e784078471 [file] [log] [blame]
<!--
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.
-->
<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Callout.mxml</title>
<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
</head>
<body>
<pre><span class="MXMLProcessing_Instruction">&lt;?xml version="1.0" encoding="utf-8"?&gt;</span>
<span class="MXMLComponent_Tag">&lt;s:View</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Callout Sample</span><span class="MXMLDefault_Text">" viewDeactivate=&quot;<span class="MXMLString">callout.close()</span>&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
<span class="MXMLSpecial_Tag">&lt;fx:Declarations&gt;</span>
<span class="MXMLComponent_Tag">&lt;s:Callout</span> id="<span class="MXMLString">callout</span>" height="<span class="MXMLString">250</span>" horizontalPosition="<span class="MXMLString">middle</span>"<span class="MXMLComponent_Tag">&gt;</span>
<span class="MXMLComponent_Tag">&lt;s:VGroup</span> paddingTop="<span class="MXMLString">10</span>" paddingBottom="<span class="MXMLString">10</span>" paddingLeft="<span class="MXMLString">10</span>" paddingRight="<span class="MXMLString">10</span>" horizontalAlign="<span class="MXMLString">center</span>"<span class="MXMLComponent_Tag">&gt;</span>
<span class="MXMLComponent_Tag">&lt;s:Label</span> text="<span class="MXMLString">My Story</span>" fontWeight="<span class="MXMLString">bold</span>" fontSize="<span class="MXMLString">30</span>" color="<span class="MXMLString">0xAA0D0A</span>"<span class="MXMLComponent_Tag">/&gt;</span>
<span class="MXMLComponent_Tag">&lt;s:TextArea</span> text="<span class="MXMLString">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur accumsan felis ac tortor aliquam iaculis. Phasellus hendrerit viverra enim, sit amet scelerisque lectus dictum at. Aenean sodales nisi sed leo congue et porttitor ligula vehicula.
Pellentesque turpis massa, suscipit vel fermentum quis, dignissim sed ipsum. Nulla aliquet libero adipiscing risus lobortis eleifend quis at velit. Duis at leo urna.
Praesent facilisis faucibus neque, ut ullamcorper lacus gravida a. Donec vel iaculis sapien. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur accumsan felis ac tortor aliquam iaculis. Phasellus hendrerit viverra enim, sit amet scelerisque lectus dictum at. Aenean sodales nisi sed leo congue et porttitor ligula vehicula.</span>" width="<span class="MXMLString">80%</span>" height="<span class="MXMLString">100</span>" editable="<span class="MXMLString">false</span>"<span class="MXMLComponent_Tag">/&gt;</span>
<span class="MXMLComponent_Tag">&lt;/s:VGroup&gt; </span>
<span class="MXMLComponent_Tag">&lt;/s:Callout&gt;</span><span class="MXMLComment"></span>
<span class="MXMLSpecial_Tag">&lt;/fx:Declarations&gt;</span>
<span class="MXMLComponent_Tag">&lt;s:Label</span> id="<span class="MXMLString">lbl</span>" x="<span class="MXMLString">270</span>" y="<span class="MXMLString">240</span>" fontSize="<span class="MXMLString">40</span>" text="<span class="MXMLString">Click Me</span>" click="callout.open(lbl)"<span class="MXMLComponent_Tag">/&gt;</span>
<span class="MXMLComponent_Tag">&lt;/s:View&gt;</span></pre></body>
</html>