I came across this source code for a Photobrowser that uses xml and php. I want to modify it a bit for a website I am doing (my first one!).
However, I want to make use of some of the Flash Player 8 filters and AS 2.0 updates and therefore need to “update” the code to be compliant.
First I am just trying to get the code to work under the new Flash 8 environment. I went into my Publish Settings and changed from Flash Player 6 to FP 8 and from AS 1.0 to AS2.0. I then exported the movie and I got errors about Math.easeinquad* etc not being found. So now I am use Fuse to call these functions.
My “modified” source is in: http://filebox.vt.edu/~gyanez/gallery/
galleryframe1.txt is the AS code on frame 1 of main timeline and galleryframe2.txt is the AS code on frame 2 of main timeline (that is all that exists in the .fla. There is nothing on the stage, etc).
Here are the “changes” I made:
Commented out this in frame1:
Math.easeInQuad = function(t, b, c, d) {
return c*(t /= d)t+b;
};
Math.easeOutQuad = function(t, b, c, d) {
return -c(t /= d)*(t-2)+b;
};
and I made these changes in frame2:
Added this:
import com.mosesSupposes.fuse.*;
ZigoEngine.register(PennerEasing);
& changed Math.easeinquad, etc to PennerEasing.easeinquad, etc.
But when I run the fla my pictures dont flip anymore…
Here is what it should do based on orginial:
http://www.mustardlab.com/developer/test/new/
Any help you guys can give me would be super appreciated. Thanks again.