[Checkins]
SVN: z3c.reference/branches/flash/src/z3c/reference/browser/
new version of imagetool without save button
Manfred Schwendinger
manfred.schwendiger at lovelysystems.com
Sun Sep 9 08:51:38 EDT 2007
Log message for revision 79536:
new version of imagetool without save button
Changed:
U z3c.reference/branches/flash/src/z3c/reference/browser/crop-image-widget.pt
U z3c.reference/branches/flash/src/z3c/reference/browser/resources/imagetool.swf
U z3c.reference/branches/flash/src/z3c/reference/browser/resources/reference.editor.js
-=-
Modified: z3c.reference/branches/flash/src/z3c/reference/browser/crop-image-widget.pt
===================================================================
--- z3c.reference/branches/flash/src/z3c/reference/browser/crop-image-widget.pt 2007-09-09 12:35:09 UTC (rev 79535)
+++ z3c.reference/branches/flash/src/z3c/reference/browser/crop-image-widget.pt 2007-09-09 12:51:37 UTC (rev 79536)
@@ -11,6 +11,7 @@
return str;
}
+// stores flash information into input field
function cropImage(crop_x, crop_y, crop_w, crop_h, size_w, size_h, rotation){
var url = "@@processed?";
url = url + "remote.adjust.rotate=" + rotation;
@@ -42,7 +43,7 @@
so.addVariable('original_w', '600');
so.addVariable('original_h', '400');
so.addVariable('zoomfactor', '0.33');
- so.addVariable('rotation', '90');
+ so.addVariable('rotation', '0');
so.addVariable('keepAspectRatio', '${view/keepAspect}');
var ok = so.write('image-tool-target');
">
Modified: z3c.reference/branches/flash/src/z3c/reference/browser/resources/imagetool.swf
===================================================================
(Binary files differ)
Modified: z3c.reference/branches/flash/src/z3c/reference/browser/resources/reference.editor.js
===================================================================
--- z3c.reference/branches/flash/src/z3c/reference/browser/resources/reference.editor.js 2007-09-09 12:35:09 UTC (rev 79535)
+++ z3c.reference/branches/flash/src/z3c/reference/browser/resources/reference.editor.js 2007-09-09 12:51:37 UTC (rev 79536)
@@ -54,6 +54,7 @@
javascript API for the z3cimage Flash Tool.
functions to call methods inside the SWF via JavaScript
*/
+/*
function tellFlash(command){
// a seperator which is not allowed to exist inside the command or any value
@@ -81,8 +82,8 @@
function save(){
tellFlash("saveChanges");
}
+*/
-
/**
* SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
*
@@ -222,7 +223,8 @@
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;
-
+/*
function cropImage(crop_x, crop_y, crop_w, crop_h, size_w, size_h, rotation){
alert(crop_x + "-" + crop_y + "-" + crop_w + "-" + crop_h + "-" + size_w + "-" + size_h + "-" + rotation);
-}
\ No newline at end of file
+}
+*/
\ No newline at end of file
More information about the Checkins
mailing list