Télécharger pour Windows Premium
Publicité
MXML
MXML
Să vedem codul clasei şi modul în care puteţi utiliza clasa în MXML.
Let's see the code of the class and how you can use the class in MXML.
Aceasta înseamnă că puteţi utiliza un singur fişier MXML şi puteţi afişa în cadrul acestei pagini diferitele stări ale aplicaţiei.
This means that you could use only one MXML file, and display in this page the different states of the application.
Noile fișiere vor avea acum MXML extensie de fișier
New files will now have the file extension mxml
V-aţi putea gândi că în limbajul MXML puteţi utiliza doar componente Flex vizuale (şi anume componente care sunt afişate pe ecran).
You might think that in MXML you can use only visual Flex components (that is, components that end up being displayed).
Atunci când cunoaşteţi toate stările diferite posibile pentru o componentă puteţi utiliza MXML States pentru a defini stările diferite pentru aceeaşi componentă sau aplicaţie.
When you know all the different possible views for a component, you can use MXML States to implement different states for the same component or application.
În cadrul unei aplicaţii Flex utilizaţi MXML pentru a stoca şi specifica rapid structura/înfăţişarea aplicaţiei.
In a Flex application you use MXML to quickly lay down the structure/appearance of your application.
Ca şi în HTML, stilurile pot fi definite inline (în interiorul codului MXML) sau într-un fişier separat.
As in HTML, styles can be defined inline (inside of the MXML code) or in a separate file.
În acest caz avem doar un singur namespace pentru limbajul MXML şi pentru componentele Flex: mx.
In this case I have only one namespace for the MXML language and Flex components: mx.
În orice aplicaţie Flex aveţi cel puţin un fişier MXML care reprezintă aplicaţia principală.
In any Flex application you have at least one MXML file, which is the main application.
În următorul exemplu am adăugat codul ActionScript în interiorul codului MXML al componentei pentru a defini două variabile care memorează etichetele utilizate de butoane.
In the next example, I added ActionScript code inside of the MXML code of the component to define two variables that store the labels the buttons used.
Puteţi crea un fişier ActionScript (în acest exemplu numele fişierului este buttons.as) pe care să-l includeţi în fişierul MXML.
You can create an ActionScript file (in this example, the name of the file is buttons.as), and include this file in the MXML file.
Este mult mai uşor să păstraţi codul scris prin utilizarea limbajului MXML decât codul scris sub forma a sute de linii în ActionScript 3.
It is much easier to maintain code that is written using MXML than code written as hundreds of ActionScript 3 lines.
Am inclus din ce în ce mai multe coduri ActionScript în aceste exemple deşi vă vorbesc încă despre limbajul MXML.
I've been including more and more ActionScript code in these examples, although I am still talking about the MXML language.
Aucun résultat pour cette recherche.

Synonymes et analogies de "MXML" en roumain

Publicité

Résultats: 29. Exacts: 29. Temps écoulé: 29 ms.