Flash MX help! press a button to show some text

Soldato
Joined
18 Oct 2002
Posts
15,177
Lo all,

I'm having some real trouble with this and it's starting to nark me off.

I've got a couple of buttons linked to a place holder so that on the button press and image shows where the place holder is set. I also want a button that will show up some text in the same place. I've converted the text to a movie clip (mchtext) and tried the script

on (release) {
loadMovie("mchtext", "placeholder");

but it says it cant find it. It's in the library so how do i link to it?

Can anyone get me out of this stupid problem.

Cheers

Panzer
 
You need to use

Code:
attachMovie ([linkageName], [stageName], [depth]);

Ensure that the item you want to appear on the stage has a linkage set in its library properties (usually hidden by the advanced button) - check "Export for Actionscript" and give it a name, use this as [linkageName] in the attachMovie method.

Or look this stuff up in the helpfiles, it probably has a better description than me. :)
 
Thanks for the fast reply. That gets the text into scene. It's not where I want but it's a start :) cheers.

Just need to position it where the place holder is...

Panzer
 
Back
Top Bottom