Using gsap haxelib


#21

GREAT!
Let me… sorry… US know how it works! Are you including the latest GSAP?


#22

Hi, @GiG!

I’m using GSAP v2.0.1 in my dependencies (as you can sorta see from my code above), and everything seems to be working fine, but I’m having issues with easing.

(I’m still very new at using haxe/openfl, and I’m running into a lot of problems re: syntax; I suspect that may be the root of my problems with easing. I dunno…)

ASIDE:
If anyone’s wondering why I’m obsessing, it’s because most of the portfolio samples on my website are dependent on Flash, and I need to convert them to html5 in order to better my chances at getting a job. (It’s a major setback if potential employers can’t view your work. DOH!)

And, of course, I chose the most challenging piece as my first endeavor. (Circa 2011… DERP!)

I have a VERY long way to go, but if you wanna see what I have so far…
http://www.shigimcp.com/Xstage/AX/AXX_FA11_openfl/Export/html5/bin/


#23

What kind of issues?


#24

DumDum Alert!
I forgot to add the line:

import com.greensock.easing.*;

It’s working fine now!


#25

:sunglasses:

What’s the next level? Heavy test of performance? Did you test the events? onUpdate, onComplete, onStart, onRepeat etc…?


#26

I am so far away from that, @GiG! LOL!

I’m still very new to this, so I’m taking a really ham-fisted approach to the code just to get it to look like the [outdated] Flash microsite (http://www.shigimcp.com/Xstage/shigimcp_2018/img/ax/flash/fa11_axx/index.php).

TBH, I haven’t even thought about how I’m going to get from one section to the next; I just wanted to see if I could get it to work on a basic level!


#27

Ok ok, no need to rush.