Skip to main content
Known Participant
April 21, 2017
Question

Is It Possible to Create Two Dialogs in Flash UI.

  • April 21, 2017
  • 1 reply
  • 2063 views

Dear Friends,

  I have Create a FlashUI With 2 Dialogs(With 2 Extension ids in Extension list and Two Separate mxml Files).

When I click a button(Show Sub Dialog)  in main dialog then the Sub Dialog is Shown .

But the Controls Are Not Shown in the Second Dialog(Created as Panel or ModalDialog but Problem not solved).

please give your Suggestion to Solve this Problem.

Thank you Friends,

Nathan.

This topic has been closed for replies.

1 reply

Inspiring
April 21, 2017

What happens if you swap the two mxml files so that the sub dialog is shown first?

Known Participant
April 21, 2017

Dear Friend,

  I try with swapping mxml as you said then the Controls of Second Dialog(only a Button) is Shown in First Dialog.

  I cant judge what is the problem here.

  I am having 2 mxmls :

   1)FreeGridUI.mxml is Same as Illustrator Sample FreeGridUI.mxml.This is the First Dialog.I added a button to show the Sub Dialog.

   2)ShowUI.mxml Is the Sub Dialog's mxml.see the ShowUI.mxml in the below image.

Then the manifest.xml is Shown below

<?xml version="1.0" encoding="UTF-8" standalone="no"?><ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtensionBundleId="FreeGrid" ExtensionBundleVersion="3.0.0.20110105_m_16" Version="2.0">

  <ExtensionList>

  <Extension Id="FreeGrid" Version="3.0"/>

  <Extension Id="ShowUI" Version="3.0"/>

  </ExtensionList>

  <ExecutionEnvironment>

  <HostList>

  <Host Name="ILST" Version="15.0"/>

  </HostList>

  <LocaleList>

  <Locale Code="en_ME"/>

  <Locale Code="pt_BR"/>

  <Locale Code="en_US"/>

  <Locale Code="pl_PL"/>

  <Locale Code="ja_JP"/>

  <Locale Code="ru_RU"/>

  <Locale Code="zh_CN"/>

  <Locale Code="uk_UA"/>

  <Locale Code="ro_RO"/>

  <Locale Code="el_GR"/>

  <Locale Code="pt_PT"/>

  <Locale Code="en_GB"/>

  <Locale Code="en_IE"/>

  <Locale Code="cs_CZ"/>

  <Locale Code="zh_TW"/>

  <Locale Code="he_IL"/>

  <Locale Code="nb_NO"/>

  <Locale Code="fr_CA"/>

  <Locale Code="es_ES"/>

  <Locale Code="ko_KR"/>

  <Locale Code="fi_FI"/>

  <Locale Code="de_DE"/>

  <Locale Code="it_IT"/>

  <Locale Code="en_CE"/>

  <Locale Code="hu_HU"/>

  <Locale Code="fr_FR"/>

  <Locale Code="es_MX"/>

  <Locale Code="ar_AE"/>

  <Locale Code="tr_TR"/>

  <Locale Code="sv_SE"/>

  <Locale Code="da_DK"/>

  <Locale Code="nl_NL"/>

  </LocaleList>

  <RequiredRuntimeList>

  <RequiredRuntime Name="CSXS" Version="2.0"/>

  </RequiredRuntimeList>

  </ExecutionEnvironment>

  <DispatchInfoList>

  <Extension Id="FreeGrid">

  <DispatchInfo>

  <Resources>

  <SwfPath>./FreeGridUI.swf</SwfPath>

  </Resources>

  <Lifecycle>

  <AutoVisible>true</AutoVisible>

  </Lifecycle>

  <UI>

  <Type>Panel</Type>

  <Geometry>

  <Size>

  <Height>226</Height>

  <Width>300</Width>

  </Size>

  <MaxSize>

  <Height>226</Height>

  <Width>300</Width>

  </MaxSize>

  <MinSize>

  <Height>226</Height>

  <Width>300</Width>

  </MinSize>

  </Geometry>

  </UI>

  </DispatchInfo>

  </Extension>

  <Extension Id="ShowUI">

  <DispatchInfo>

  <Resources>

  <SwfPath>./ShowUI.swf</SwfPath>

  </Resources>

  <Lifecycle>

  <AutoVisible>true</AutoVisible>

  </Lifecycle>

  <UI>

  <Type>Panel</Type>

  <Geometry>

  <Size>

  <Height>226</Height>

  <Width>300</Width>

  </Size>

  <MaxSize>

  <Height>226</Height>

  <Width>300</Width>

  </MaxSize>

  <MinSize>

  <Height>226</Height>

  <Width>300</Width>

  </MinSize>

  </Geometry>

  </UI>

  </DispatchInfo>

  </Extension>

  </DispatchInfoList>

</ExtensionManifest>

please give your Suggestion to Solve this problem.

Thank you Friend,

Nathan

Inspiring
April 24, 2017

What code do you use to show the sub dialog when you click on the button in the main dialog?