Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • LitePublisher 5.53
  • Piwigo 2.5.0
  • InK 1.0
  • jQuery RS Carousel 0.11.1
  • WP Catalogue 1.4
  • javascript-video-scrubb...
  • ll.filtrera.js
  • CSS Browser Selector + ...
  • WordPress Nginx 1.6.13
  • Timer alert
  • Home > Scripts > Development Tools

    Cabron Connector 1.1.0

    Download button

    Downloads: 464  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    17 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Attila Egyedi | More scripts
    cabron.sourceforge.net
    GPL - GNU Public License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    PHP
    August 1st, 2007, 06:52 GMT
    C: \ Development Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    Cabron Connector description

    Cabron Connector allows to easily transfer complex data between ActionScript code running in a flash movie, and PHP code running on a webserver, in both directions.

    The Flash remoting allows to easily transfer complex data between ActionScript code running in a flash movie, and PHP code running on a webserver, in both directions.

    In other words, it lets you to call (from ActionScript) PHP functions defined in files on a webserver as if they were defined in your ActionScript code.

    The Cabron Connector does not use the AMF to transfer the data, it uses the LoadVars ActionScript object. So the data is transmitted as a regular POST, after it is serialzied in the CDE (Compact Data Exchange) format.

    CDE is a proprietary text-based format, which tries to minimize the size of the data needed for representing a given structure, and it facilitates timed deserialization.

    This can be useful when transferring huge amount of data from the PHP services to Flash. Because the LoadVars works in the main thread of Flash, the deserialization happens in the main thread, blocking the Flash movie.

    This can lead to:
    - The blocking of the main movie: the graphical elements won't animate for a while, and the interface does not respond to user events - this is the better case
    - The "A script in this movie is causing Flash Player to run slowly..." message can appear. This is the worse case.
    To avoid these nasty situations, you can set the deserialization to be performed not on a single frame, but in a sequence of frames.

    This way the flash movie won't block, but of course there will be a difference between the frame when the data is loaded to Flash, and the frame when the data is deserialized and the Result handler is called.



    TAGS:

    flash programming | php from flash | development tool | flash | programming | development

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM