I have a flex app that I want to hide in a div until the user clicks a link or element of some type. I’ve noticed that embedding the swf in a div with style display:none does not actually hide the swf, so how would I go about accomplishing this?
The goal is to have the flex app loading in the background while the user does other things.
Thanks.
I usually just force the height/width of the container to 1 by 1 px…
Then, when I need the flash, I will re-set the height/width as appropriate. Note, you may want to put this into a parent container if you want to just reset the hw to “100%” which will bind to a parent div, with a “position:relative; height:?px; width:?px” setting.