This content has been marked as final.
Show 3 replies
-
1. Re: prblm in scrollPane
niki tsanov Jan 21, 2008 7:45 AM (in response to AScracker)Put your onPress function into onLoadInit() that mean target_mc.onPress=function().Or the other way is to put onPress into the movieclip in library "mcHolder" in the first frame put this.onPress.And the last is to make function for press that mean
function pressed()
{
trace(this)
};
mcMain.onPress=pressed;
and i think you get the correct path to your new movieclip :) -
2. Re: prblm in scrollPane
AScracker Jan 21, 2008 8:16 AM (in response to niki tsanov)Hi Niki ,
i have written onpress function for the mcHolder which is in the library....
and where i need to place this code
function pressed()
{
trace(this)
};
mcMain.onPress=pressed;
can u help me once again bcoz i tried this more than an hours.... -
3. Re: prblm in scrollPane
niki tsanov Jan 21, 2008 9:32 AM (in response to AScracker)this.onPress=function()
{ trace(this) }
just put this for your movieclip into library on first frame.That "this" mean you get the instance name of new attached movieclip.
