A voir également:
- Combox flex
- Chrome os flex - Guide
- Jbl tune flex ecouteur gauche ne fonctionne plus - Forum Casque et écouteurs
- Comment connecter le deuxième écouteur sans fil JBL Free ? - Forum Casque et écouteurs
- En attente de validation free flex 2024 - Forum Free mobile
- Jbl tune flex écouteur gauche ne fonctionne plus ✓ - Forum Casque et écouteurs
onchange="tonPanel.visible = true"
tonPanel = Id du panel?
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:common="com.playadz.common.*"
width="866" height="782" x="248" y="621">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import actionscript.events.PageEvent;
[Bindable]
public var datannonce:ArrayCollection = new ArrayCollection(
[ {label:"annonce", data:1},
{label:"coupon", data:2},
]);
]]>
</mx:Script>
<mx:ComboBox x="165" y="32" width="204" dataProvider="{datannonce}"></mx:ComboBox>
<mx:Label x="10" y="34" text="Type de l'annonce * " textAlign="right" width="127"/>
<mx:Label x="10" y="63" text="Titre de l'annonce *" textAlign="right" width="125"/>
<mx:Label x="28" y="303" text="URL *" textAlign="right" width="107"/>
<mx:Label x="28" y="329" text="Clip vidéo *" textAlign="right" width="107"/>
<mx:Label x="28" y="387" text="Catégories *" textAlign="right" width="107"/>
<mx:TextInput x="165" y="301" width="347"/>
<mx:TextInput x="165" y="327" width="347"/>
<mx:Label x="28" y="361" text="Image *" textAlign="right" width="107"/>
<mx:TextInput x="165" y="359" width="347"/>
<mx:Label x="28" y="92" text="Description *" width="107" textAlign="right"/>
<mx:TextInput x="165" y="61" width="347"/>
<mx:RichTextEditor x="165" y="92" title="Title" height="182" width="347">
</mx:RichTextEditor>
<common:activitiestree x="165" y="389" height="179" width="347"/>
<mx:Text x="165" y="610" text="Cette annonce concerne les établissements suivants :" fontSize="12"/>
<mx:CheckBox x="259" y="641" label="Etablissement 1" fontSize="12"/>
<mx:CheckBox x="259" y="681" label="Etablissement 2" fontSize="12"/>
<mx:CheckBox x="259" y="713" label="Demander la difusion élargie" fontSize="12"/>
<mx:RadioButtonGroup id="radiogroup1"/>
<mx:RadioButtonGroup id="radiogroup2"/>
<mx:RadioButtonGroup id="radiogroup3"/>
<mx:Panel x="537" y="32" width="319" height="340" layout="absolute" title="Gestion des coupons" horizontalAlign="center" id="panel_gestion_coupon">
<mx:RadioButton x="5" y="20" label="Générer automatiquement les codes coupons :" groupName="radiogroup1"/>
<mx:RadioButton x="5" y="179" label="Charger mes codes coupons:" groupName="radiogroup1"/>
<mx:RadioButton x="58" y="110" label="même code pour tous les coupons" groupName="radiogroup3"/>
<mx:RadioButton x="58" y="140" label="un code unique pour tous les coupons" groupName="radiogroup3"/>
<mx:TextInput x="33" y="209" width="119"/>
<mx:Button x="33" y="239" label="télécharger"/>
<mx:Button x="160" y="209" label="file"/>
<mx:NumericStepper x="124" y="80" width="47"/>
<mx:RadioButton x="33" y="50" label="Nb coupon infinie" groupName="radiogroup2"/>
<mx:RadioButton x="33" y="80" label="Nb coupon" groupName="radiogroup2"/>
</mx:Panel>
</mx:Canvas>
je doit afficher cette parie du code
<mx:Panel x="537" y="32" width="319" height="340" layout="absolute" title="Gestion des coupons" horizontalAlign="center" id="panel_gestion_coupon">
<mx:RadioButton x="5" y="20" label="Générer automatiquement les codes coupons :" groupName="radiogroup1"/>
<mx:RadioButton x="5" y="179" label="Charger mes codes coupons:" groupName="radiogroup1"/>
<mx:RadioButton x="58" y="110" label="même code pour tous les coupons" groupName="radiogroup3"/>
<mx:RadioButton x="58" y="140" label="un code unique pour tous les coupons" groupName="radiogroup3"/>
<mx:TextInput x="33" y="209" width="119"/>
<mx:Button x="33" y="239" label="télécharger"/>
<mx:Button x="160" y="209" label="file"/>
<mx:NumericStepper x="124" y="80" width="47"/>
<mx:RadioButton x="33" y="50" label="Nb coupon infinie" groupName="radiogroup2"/>
<mx:RadioButton x="33" y="80" label="Nb coupon" groupName="radiogroup2"/>
</mx:Panel>
une fois que le datannonce = coupon ?
onchange="tonPanel.visible = true"
onchange ça veux dire quoi?
car quand je test il me met cannot resolve attribue resolve
<mx:ComboBox change="myPanel.visible = true;"> <mx:ArrayCollection> <mx:String>Titi</mx:String> <mx:String>Tata</mx:String> <mx:String>Toto</mx:String> </mx:ArrayCollection> </mx:ComboBox> <mx:Panel id="myPanel" visible="false"/>