Difference between revisions of "Flex"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
+ | MXML : langage déclarative des interfaces |
||
− | MXML |
||
<pre> |
<pre> |
||
<s:Applicationxmlns:fx="http://ns.adobe.com/mxml/2009" |
<s:Applicationxmlns:fx="http://ns.adobe.com/mxml/2009" |
||
− | xmlns:s="library://ns.adobe.com/flex/spark" |
+ | xmlns:s="library://ns.adobe.com/flex/spark" |
− | xmlns:mx="library://ns.adobe.com/flex/mx"> |
+ | xmlns:mx="library://ns.adobe.com/flex/mx"> |
− | <s:Panel> |
+ | <s:Panel> |
− | <s:Labeltext="Label" /> |
+ | <s:Labeltext="Label" /> |
− | <s:Buttonlabel="Button" /> |
+ | <s:Buttonlabel="Button" /> |
− | </s:Panel> |
+ | </s:Panel> |
</s:Application> |
</s:Application> |
||
</pre> |
</pre> |
||
Line 19: | Line 19: | ||
− | ActionScript |
+ | ActionScript: langage de script ECMAScript |
+ | </pre> |
||
+ | package fr.imag.air.sample.flex{ |
||
+ | public class MyClass interface MyInterface{ |
||
+ | public function MyClass() { |
||
+ | } |
||
+ | public function doSomething(): String { |
||
+ | } |
||
+ | } |
||
+ | } |
||
+ | </pre> |
||
Revision as of 18:33, 22 February 2011
Flex est devenu en quelques années un canevas RIA fort apprécié.
MXML : langage déclarative des interfaces
<s:Applicationxmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:Panel> <s:Labeltext="Label" /> <s:Buttonlabel="Button" /> </s:Panel> </s:Application>
ActionScript: langage de script ECMAScript
package fr.imag.air.sample.flex{
public class MyClass interface MyInterface{ public function MyClass() { } public function doSomething(): String { } }
}
Outils
Liens
- Building complex and modular RIAs with OSGi and Flex http://france.osgiusers.org/wiki/uploads/Meeting/fornaciari-osgi-flex.pdf