Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all articles
Browse latest Browse all 70427

flex in a week: run the mxml but nothing shows

$
0
0

hi

I am doing the flex in a week course. Pain in the butt to see the design view is gone but hey no worries.

Anyway, I run the mxml and nothing shows up. I also ran the swf that was produced and yes - empty. However the code seems to be fine so I am confused.

 

</s:Application>

<?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"

               minWidth="955" minHeight="850">

   

    <!-- Exercise 1.01: Setting up your project files -->

   

    <!-- Styles ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

   

    <fx:Style source="Styles.css"/>

   

    <!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

   

   

   

    <!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

   

    <fx:Declarations>

        <!-- Place non-visual elements (e.g., services, value objects) here -->

    </fx:Declarations>

   

    <!-- UI components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

   

    <s:Label x="10" y="34"

             width="690" height="40"

             text="Employee Portal: Vehicle Request Form"

             styleName="titleHeader"/>

   

    <s:Form x="10" y="70">

       

        <s:FormItem label="Employee:">

            <s:DropDownList/>

        </s:FormItem>

       

        <s:FormItem label="Office Phone:">

            <s:TextInput/>

        </s:FormItem>

       

        <s:FormItem label="Mobile Phone:">

            <s:TextInput/>

        </s:FormItem>

       

        <s:FormHeading label="Dates Requested"/>

       

        <s:FormItem label="Pickup Date:">

            <mx:DateChooser/>

        </s:FormItem>

       

        <s:FormItem label="Return Date:">

            <mx:DateChooser/>

        </s:FormItem>

       

        <s:FormItem>

            <s:Button label="Submit Request"/>

        </s:FormItem>

       

    </s:Form>

   


Viewing all articles
Browse latest Browse all 70427

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>