scopa
April 12, 2006, 11:51pm
1
Hey all, im still new to actionscript, so please bear with me.
I followed the dynamic text tutorial on this site, and it worked perfect in my test .fla, however it isn’t working in my actual implementation…
Basically, I have a movieclip that is several layers deep into the movie that I want to load the text, but for some reason its not loading…
I take the same movie clip, and I put it on the main stage and it works just fine.
So somehow the placement of the MC in the flash movie is screwing the linking… any idea how I fix this?
its probably not that - its probably the referencing that you are getting wrong…referencing stuff is always a cause of problems…
test your movie then go to the Debug menu and pick “List Variables” - chances are your text files variables are in there somewhere - do a Ctrl-F to search for them if you have to…
theres no reason why it shouldnt work if your inside several movie clips.
scopa
April 13, 2006, 4:02am
3
matthewjumps:
its probably not that - its probably the referencing that you are getting wrong…referencing stuff is always a cause of problems…
test your movie then go to the Debug menu and pick “List Variables” - chances are your text files variables are in there somewhere - do a Ctrl-F to search for them if you have to…
theres no reason why it shouldnt work if your inside several movie clips.
Ok, I think I found the problem… and it doesn’t make ANY sense (to me at least)
The basic structure is this:
Stage>MC1>MC2 (with two layers, one is acting as a layermask)>MC3>TextBoxes
If I delete the layer mask, suddenly it all works!
But I need the mask…
so any ideas?
Thanks
it sounds like u have set the mask mannually…
if you want to mask dynamic Text you have to set the mask dynamically
eg
myTextLayer.setMask(maskLayer)
scopa
April 13, 2006, 6:14am
5
aha! The setMask worked!
I have a whole new set of issues I need to figure out, but this helped a ton! Thank you!