I have a code that has a roll over it expands then shows a text with html=true but hen i roll over the link it minimizes the mc that when its big then shows the html. that was kinda confusin mabey my code will help:
ab._visible = false;
setInterval(about,1);
caption1._visible = false;
mc.onRollOver = function(){
startDrag(_root.caption1, true);
caption1._visible = true;
clearInterval(bigg);
}
mc.onDragOver = function(){
startDrag(_root.caption1, true);
caption1._visible = true;
clearInterval(bigg);
}
mc.onDragOut = function(){
smalll = setInterval(small,1);
caption1._visible = false;
clearInterval(bigg);
}
mc.onRollOut = function(){
smalll = setInterval(small,1);
caption1._visible = false;
clearInterval(bigg);
}
mc.onRelease = function(){
if(mc._width == 95){
bigg = setInterval(big,1);
caption1._visible = false;
}
clearInterval(smalll);
}
function big (){
if(mc._width < 190){
mc._width += 190/100;
updateAfterEvent();
}
if(mc._height < 86){
mc._height += 86/100;
updateAfterEvent();
}
}
function about (){
if(mc._width >= 185){
ab._visible = true;
ab._x = mc._x + 25;
ab._y = mc._y + 25;
}
if(mc._width < 185){
ab._visible = false;
}
}
function small (){
if(mc._width > 95){
mc._width -= 190/100;
updateAfterEvent();
}
if(mc._height > 43){
mc._height -= 86/100;
updateAfterEvent();
}
if(mc._height == 43){
clearInterval(smalll);
}
}
ab.abo.html = true;
ab.abo.htmlText = "<a href='www.google.com' target='_blank'>About</a>"