Can anyone please help.
I am developing a maths project. All I need to do is change a
text member's text property for each lesson. I am using this
particular text member to store a database field's text (the lesson
title) in order to save a record. It is working the first time I
use the function, but on the second the text member remains blank,
thus causing an error in the database record.
Or is there a behaviour that changes a text member's text
Many Many Thanks
You don't really need to go through the variable. Cast
members and their
content are global to the movie. So you can get the text of
member at any place in the movie.
There are three things that I can think of that may cause
code to not work. The first is that the variable that you are
ThisLesson, for instance is falling out of scope from the
that you use to the second time. If you are declaring the
inside a function, then that variable will only have a value
function. If this is a property variable, then it will only
value in one behavior window. The variable will have to be
order to have it's value available in more than one location
The second possible problem is that the variable is being
reset to a new
value at some point from where you are setting it where you
to use it.
The third possible problem is that you have more than one
"title" or "CurrentLesson".