Ok basically i want the 'lorem ipsum' text for each section to come from an external file. I've changed the text field to dynamic in section 1 with the variable being named HomeContent. This is my text file (named meka.txt):
&HomeContent=Howdy partner&
Under scene 1 I have the following script:
onFrame (1, afterplacedobjectevents)
{
trace("load variables from a text file");
loadVariables("meka.txt");
}
onFrame (49) {
stop();
}
This should work right? I'm a noob so i'm at peace with the probable fact that I'm wrong. Please enlighten me.
Can't get loadvariables to work with this template
Started by shybru, Jan 07 2008 01:42 PM
1 reply to this topic
#1
Posted 07 January 2008 - 01:42 PM
#2
Posted 07 January 2008 - 02:05 PM
...that won't work, it will interfere with the rest of scripting of the template, this template is not designed to load external text. External text is a "Device" font and device fonts can not be masked and/or effects applied to - and both have been used for the text fields.
...unless your scripting skills are advanced enough to change and re-design the set-up of the template and use something like this...
SWiSHmax: Scrollbars for Dynamic Text
wolf
...unless your scripting skills are advanced enough to change and re-design the set-up of the template and use something like this...
SWiSHmax: Scrollbars for Dynamic Text
wolf
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












