Forum Discussion
MathNotermans-9
5 years agoCommunity Member
Storyline360, Animation and GSAP ( Greensock )
Hi,
Trying to figure something out in SL360 i stumbled upon the ds-bootstrap.min.js file thats added to the lib/scripts folder when publishing a Storyline360 file. In that file are GSAP(Greensock...
JĂĽrgen_Schoene_
Community Member
storyline don't use the normal unicode points for "f" and the "f"-ligatures
f: \uE000
ff: \uE001
fi: \uE002
fl: \uE003
ffi: \uE004
ffl: \uE005
I have not found any other special cases so far
MathNotermans-9
2 years agoCommunity Member
Alas this still doesnot work.
Given this text: "Bladibla vanillevla end of a line %Some specific character on next line"
let textStr1 = gsap.getProperty(collection[1], "textContent").replaceAll("\uE000", "f");
console.log("t1: "+textStr1);
let textStr2 = textStr1.replaceAll("\uE002", "fi");
console.log("t2: "+textStr2);
The 'fi' in specific still fails..probably because it aint a ligature but just 2 characters...