xml - Flash Builder not showing desktop Application -
while learning flash builder, testing simple application runs in browser, code so:
<?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="600">
<fx:script>
<![cdata[
private function dosomething():void
{
mypanel.visible = false;
}
]]>
</fx:script>
<s:panel id="mypanel" x="32" y="38" width="445" height="316" title="my panel">
<s:label x="206" y="34" text="label"/>
<s:hslider x="171" y="121"/>
<s:button click="dosomething()" x="182" y="198" label="goodbye"/>
</s:panel>
</s:application>
when run application in browser if show fine, when set project settings desktop application can't getting show up. have no problems listed in problems view. have advice on why don't see compiled application.thanks
first thing convert flex web project desktop application flash builder :
then change tag <s:application />
<s:windowedapplication />
(flash builder suggest default change tag when changing project type)
your project :
<?xml version="1.0" encoding="utf-8"?> <s:windowedapplication 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="600"> <fx:script> <![cdata[ private function dosomething():void { mypanel.visible = false; } ]]> </fx:script> <s:panel id="mypanel" x="32" y="38" width="445" height="316" title="my panel"> <s:label x="206" y="34" text="label"/> <s:hslider x="171" y="121"/> <s:button click="dosomething()" x="182" y="198" label="goodbye"/> </s:panel> </s:windowedapplication>
Comments
Post a Comment