UlrikN Posted February 25, 2009 Share Posted February 25, 2009 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 More sharing options...
UlrikN Posted February 25, 2009 Author Share Posted February 25, 2009 This is what its calling in the browser: http://xxxxxxxxxxx.com/scaler.php?img_id=99&height=190 Link to comment https://forums.phpfreaks.com/topic/146925-get-php-from-flash/#findComment-771358 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.