hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
  Tree menu  Flex 2 Guestbook  Videobox  Simple mp3 player  Videoroom  Moving menu  Flash db board reader  Simple photo gallery  Simplecart and External Interface  Email in Flash II  Photo and Video gallery  New Store  Flash GuestBook V2  Flash-db Miniboard  ActionScript dictionary  Private chat with FlashCom  Flash Whois  An online store  Flash RSS reader  Net Tools - Whois in Flash  Flash Message Board  Flash GuestBook  Email in Flash  Sending Custom Ecards  Simple Live Counter with PHP
    Articles
 Read Full Documentation >>

Simplecart and External Interface (Flash 8)

The ExternalInterface class is the External API, an application programming interface that enables straightforward communication between ActionScript and the Flash Player container; for example, an HTML page with JavaScript, or a desktop application with Flash Player embedded. It replace the JavaScript API with fscommands (TCallFrame, SetVariable, TCallLabel, etc) adding the capability of direct call of Flash functions.

The original idea was to simply explain how to use the ExternalInterface, but since I can reuse the cart from previous examples (see newstore application), was not difficult to add shopping cart capabilitites to a simple HTML catalog.

You should have Flash Player 8 installed to follow this example. Press here to launch the example

 

For a summary explanation, download the source files and continue reading

 Download the Source Files
- Be sure to check the message board for help/support.