Jump to content

Get php from flash...


UlrikN

Recommended Posts

Hi,

 

A while ago i made a homepage with a friend. Im missing a php file, i remember it to be a simple one, but i just cant figure it out..

 

Its called from flash and the action in flash looks like this:

 mcl.image_url = SCALER_URL + "?img_id=" + image_node.attributes.id;
    mcl.image_mc = _loc3.image;
    mcl.old_mc = _loc7;
    mcl.loadClip(mcl.image_url, mcl.image_mc);
    mcl.onLoadError = function (mc, error)
    {
        if (error != "URLNotFound")
        {
            this.loadClip(mcl.image_url, mcl.image_mc);
        } // end if
        saveFade(null, mc._parent, 100, FADE_IN_EASE);
    };
    mcl.onLoadInit = function (mc)
    {
        mc._x = (FULL_VIEWPORT_WIDTH - mc._width * FULL_VIEW_SCALE / 100) / (2 * FULL_VIEW_SCALE / 100);
        updateThumbnails();
    };
    mcl.onLoadComplete = function (mc)
    {
        saveFade(null, this.old_mc, 0, FADE_OUT_EASE);
        var _loc3 = saveFade(null, mc._parent, 100, FADE_IN_EASE);
        _loc3.onMotionFinished = function ()
        {
            _root.container.full_scroll_enabled = true;
        };
    };
    setViewMode(1);
} // End of the function
stop ();
BASE_URL = "http://xxxxxxxxxx.com.";
SCALER_URL = BASE_URL + "/scaler.php";
SMALL_HEIGHT = 155;
MEDIUM_HEIGHT = 190;
FULL_HEIGHT = 900;

 

Can anyone help me recreate the scaler.php?

 

The image id's are taken from and XML file :-)

 

 

Link to comment
https://forums.phpfreaks.com/topic/146925-get-php-from-flash/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.