larryc
09-01-2007, 10:07 PM
Hello folks!
I've searched to sickness :eek: to find out how to set the background of the window component to transparent...
This does not work (content_win is the name of the window instance):
content_win.setStyle("backgroundColor","transparent");
content_win.setStyle("backgroundColor","");
content_win.boundingBox_mc.visible=false;
content_win.boundingBox_mc._visible=false;
content_win.boundingBox_mc._alpha=false;
content_win.back_mc.visible=false;
content_win.back_mc._visible=false;
content_win.back_mc._alpha=false;
I've listed all window component parts with:
for(var things in content_win)
trace(things+" = "+content_win[things]);
and got a list:
drawRoundRect = [type Function]
embedFonts = undefined
textDecoration = undefined
fontSize = undefined
marginRight = undefined
marginLeft = undefined
fontStyle = undefined
textIndent = undefined
fontFamily = undefined
fontWeight = undefined
textAlign = undefined
dispatchQueue = [type Function]
dispatchEvent = [type Function]
removeEventListener = [type Function]
__origAddEventListener = [type Function]
addEventListener = [type Function]
adjustFocusRect = [type Function]
drawFocus = [type Function]
contentLoaded = [type Function]
checkLoadProgress = [type Function]
waitForUnload = [type Function]
prepareToLoadMovie = [type Function]
loadExternal = [type Function]
titleStyleDeclaration = windowStyles
backgroundColor = undefined
visible = true
getVisible = [type Function]
setVisible = [type Function]
deletePopUp = [type Function]
modalWindow = _level0.depthChild1
modalID = depthChild1
_topmost = true
childrenCreated = true
invalidateFlag = true
depth = 3
mask_mc = _level0.depthChild0.mask_mc
onEnterFrame = [type Function]
methodTable = [object Object]
border_mc = _level0.depthChild0.depthChild0
_childCounter = 1
__viewMetrics = [object Object]
stylecache = [object Object]
closeButton = true
def_closeButton = true
__height = 100
__width = 100
popUp = true
mask_mc = _level0.depthChild0.mask_mc
button_mc = _level0.depthChild0.button_mc
back_mc = _level0.depthChild0.back_mc
focusManager = _level0.depthChild0.focusManager
boundingBox_mc = _level0.depthChild0.boundingBox_mc
depthChild0 = _level0.depthChild0.depthChild0
So what to do to set the background to alpha=80? :confused:
Would be great if anybody can help me!
Thanks & greetz from Austria!
Chris
I've searched to sickness :eek: to find out how to set the background of the window component to transparent...
This does not work (content_win is the name of the window instance):
content_win.setStyle("backgroundColor","transparent");
content_win.setStyle("backgroundColor","");
content_win.boundingBox_mc.visible=false;
content_win.boundingBox_mc._visible=false;
content_win.boundingBox_mc._alpha=false;
content_win.back_mc.visible=false;
content_win.back_mc._visible=false;
content_win.back_mc._alpha=false;
I've listed all window component parts with:
for(var things in content_win)
trace(things+" = "+content_win[things]);
and got a list:
drawRoundRect = [type Function]
embedFonts = undefined
textDecoration = undefined
fontSize = undefined
marginRight = undefined
marginLeft = undefined
fontStyle = undefined
textIndent = undefined
fontFamily = undefined
fontWeight = undefined
textAlign = undefined
dispatchQueue = [type Function]
dispatchEvent = [type Function]
removeEventListener = [type Function]
__origAddEventListener = [type Function]
addEventListener = [type Function]
adjustFocusRect = [type Function]
drawFocus = [type Function]
contentLoaded = [type Function]
checkLoadProgress = [type Function]
waitForUnload = [type Function]
prepareToLoadMovie = [type Function]
loadExternal = [type Function]
titleStyleDeclaration = windowStyles
backgroundColor = undefined
visible = true
getVisible = [type Function]
setVisible = [type Function]
deletePopUp = [type Function]
modalWindow = _level0.depthChild1
modalID = depthChild1
_topmost = true
childrenCreated = true
invalidateFlag = true
depth = 3
mask_mc = _level0.depthChild0.mask_mc
onEnterFrame = [type Function]
methodTable = [object Object]
border_mc = _level0.depthChild0.depthChild0
_childCounter = 1
__viewMetrics = [object Object]
stylecache = [object Object]
closeButton = true
def_closeButton = true
__height = 100
__width = 100
popUp = true
mask_mc = _level0.depthChild0.mask_mc
button_mc = _level0.depthChild0.button_mc
back_mc = _level0.depthChild0.back_mc
focusManager = _level0.depthChild0.focusManager
boundingBox_mc = _level0.depthChild0.boundingBox_mc
depthChild0 = _level0.depthChild0.depthChild0
So what to do to set the background to alpha=80? :confused:
Would be great if anybody can help me!
Thanks & greetz from Austria!
Chris