Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Window Component: Why transparent??

Window Component: Why transparent??

2004-02-26       - By Maarten Huybrighs

 Back
A" is a very simple SWF file that just loads SWF "B" into an empty movie
clip (this is done because of a preloader).

In "B", there's a button that opens a Window-component in which a
printer-friendly version of the normal content in "B" is shown.

When I run "B" standalone, there's no problem: the window is displayed
with a white background. However, when I open "B" by first starting "A",
this window opens with a TRANSPARENT background, and NOT on top of the
original SWF but below it.

Here's my code that opens the window:

var window = mx.managers.PopUpManager.createPopUp(_root,
mx.containers.Window, false);
window.contentPath = "PrintVersion"; //THIS IS A SELF-MADE COMPONENT
window.setSize(790,570);
window.background = true;
window.backgroundColor = "0xFFFFFF";
window._alpha = "100";
window._x = 0;
window._y = 0;
window.title = "Printer Friendly Version";
window.closeButton = true;
window.click = function(evt_obj:Object)
{
window.deletePopUp();
}
window.addEventListener("click",window);

As you can see I tried setting a bg-color, alpha, etc,
none of it works.

Who can help me?

=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105301
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)




Earn $52 per hosting referral at Lunarpages.