Hi Justin,

I updated the app to fill out the available space by setting the
Application container to a width and height of 100%.

I uploaded the new swf to: http://www.ardisialabs.com/swfs/TourDeFlex.swf.

Hopefully the swf fills the available space now.  I have posted the code
for this mini-application below in case it is helpful.

- Jake

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx"
   width="100%" height="100%">
 <fx:Script>
<![CDATA[
import flash.net.navigateToURL;
]]>
</fx:Script>
 <s:Panel id="mainPanel"
 width="100%" height="100%"
 title="Ardisia Component Library">
 <s:VGroup horizontalCenter="0" verticalCenter="0"
  width="400"
  horizontalAlign="center"
  gap="20">
<s:Label text="Ardisia Component Library"
 fontSize="13" fontWeight="bold"/>
<s:Label width="100%"
 text="The Ardisia Component Library includes over 70 components, from
performant UI controls to charts, scheduling classes, and much more."/>
<s:Button width="200"
  label="Launch Demo"
  click="navigateToURL(new URLRequest('http://ardisialabs.com/tour-de-flex'),
'_blank');"/>
<s:Image source="@Embed(source='rollup.jpg')"
 click="navigateToURL(new URLRequest('http://ardisialabs.com/tour-de-flex'),
'_blank');"
 buttonMode="true"/>
</s:VGroup>
 </s:Panel>
</s:Application>


On Fri, Oct 31, 2014 at 3:34 PM, Justin Mclean <jus...@classsoftware.com>
wrote:

> Hi,
>
> > Will this swf work as a third party example for the Tour De Flex?
> >
> > http://www.ardisialabs.com/swfs/TourDeFlex.swf
>
> It works and I've added it to the 3rd party list.
>
> I'm am however getting a the panel title and the main heading overlapping
> when the example is shown in Tour De Flex and the swf is not loading to be
> 100% of the width and space.
>
> Thanks,
> Justin




-- 
Jake Knerr - Flex Developer
Ardisia Labs
www.ardisialabs.com

Reply via email to