Articles tagged with: HTTPService
ActionScript 3.0, Adobe, Flex 3, PHP »
In this sample we’ll use the Flex HTTPService class to make a PHP call and get the file list from a webserver folder. Then we’ll display them populating a List component and we’ll enable the mouse click on each item to save them on your disk (using FileReference.download() method)
Try the online demo
Adobe, Flex 3, PHP »
In questo esempio vedremo come inviare una variabile da Flex a PHP e come restituire a Flex un risultato sulla base del suo contenuto.
Le operazioni che effettueremo saranno le seguenti:
- Invio della variabile NOME_UTENTE da Flex a PHP
- Recupero del suo valore da PHP, analisi del nome utente e invio a Flex dell’indirizzo email corrispondente.
- Visualizzazione in Flex dell’email dell’utente


