HostaDesigner
Technical User
Is it possible to set a dynamic text field to a literal phrase such as "picture1.swf" in order to use the loadMovie action as an expression rather that using the loadMovie as a literal to refer to one specific swf file?
The reason is, I have a page of thumbnail buttons loaded onto level 1 of my movie. On rollover of each thumb a dynamic text value on level 0 is set to the name of the seperate swf that each thumb references.
Example:
on (rollOver) {
_level0.x = "picture1.swf";
}
x being the dynamic text variable. On release, each thumbnail refers to the same target movie clip on level 0 to start playing.
Example:
on (release) {
tellTarget (_level0.pictureLoad) {
gotoAndPlay (2);
}
}
The reason is, I have a page of thumbnail buttons loaded onto level 1 of my movie. On rollover of each thumb a dynamic text value on level 0 is set to the name of the seperate swf that each thumb references.
Example:
on (rollOver) {
_level0.x = "picture1.swf";
}
x being the dynamic text variable. On release, each thumbnail refers to the same target movie clip on level 0 to start playing.
Example:
on (release) {
tellTarget (_level0.pictureLoad) {
gotoAndPlay (2);
}
}