Home » Archive

Articles tagged with: PHP

Adobe, Flash AS 3, Flex 3, PHP »

[12 Sep 2009 | No Comment | ]

Reading RSS feeds from Flex or Flash often generate some security issues when the origin domain doesn’t contain a crossdomain.xml file to manage the policy settings.
A little workaround is create a PHP proxy to read the feeds and pass the content to the Flex script.

ActionScript 3.0, Adobe, Flex 3, PHP »

[3 Sep 2009 | No Comment | ]

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

ActionScript 3.0, Adobe, Flash AS 3, PHP »

[2 Sep 2009 | 6 Comments | ]
Create a contact form with file attachment in FLASH CS, AS 3.0 and PHP

In this post I’ll show you how to create a form with a file attachment using Flash CS3/4, ActionScript 3.0 and PHP. The trick is use the FileReference class to upload a file from your own hard disk and at the same time send the input- field values.

ActionScript 3.0, Adobe, Flex 3, PHP »

[14 Jan 2009 | One Comment | ]

In questo tutorial sfrutteremo le nuove classi URLRequest e URLVariables fornite da ActionScript 3.0 per passare le variabili al file PHP con un metodo più elegante e strutturato.
Le operazioni che effettueremo saranno le seguenti:
- FLEX: Invio delle variabili username e password da Flex a PHP
- PHP: analisi del contenuto delle variabili per verificare la corrispondenza dei dati acquisiti. Nel caso i dati fossero corretti verrà inviata a Flex una variabile status per indicare se l’utente ha effettuato il login con successo o meno
- FLEX: Visualizzazione del risultato dell’operazione in una …

Adobe, Flex 3, PHP »

[13 Jan 2009 | No Comment | ]

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

Adobe, Flex 3, PHP »

[12 Jan 2009 | No Comment | ]

In questo articolo utilizzeremo il componente HTTPService di Flex 3 per caricare delle
semplici variabili da un file PHP nel formato var1=valore1&var2=valore2&.