all groups > flash actionscript > august 2005 >
You're in the

flash actionscript

group:

Disappearing radio button


Disappearing radio button CF_crazee
8/10/2005 9:33:00 PM
flash actionscript: I have a weird issue. I am adding some radio buttons using actionscript and
everything is great. My problem is the first time the option button is selected
and then you mouse over the selected radio button it disappears. If you select
another radio button it comes back. The problem is not repeated the next time
you select the radio button it doesnt disappear when you mouse over.
I dont know whats wrong . Anyone else encounter any similar problem?

Re: Disappearing radio button mandingo
8/10/2005 11:15:32 PM
Re: Disappearing radio button CF_crazee
8/11/2005 12:00:00 AM
Heres the function thats the click handler for the option button

//This function will toggle ActiveLayers when the option buttons are clicked
toggleActiveLayer = new Object();
toggleActiveLayer.click = function(evtObject){
for (var layer in activeLayerOptions){
if (layer != evtObject.target.data){
_root.activeLayerOptions[layer].selected = false;
}
}
_global.ActiveLayer = evtObject.target.data;
trace(_global.ActiveLayer);
trace("Active Layer :" + _global.Layers[_global.ActiveLayer]["name"]);
_root.HelpFrame.activeLayer.htmlText ="<b>Active Layer :</b> " +
_global.Layers[_global.ActiveLayer]["name"];
}
AddThis Social Bookmark Button