PDA

View Full Version : Frameless Popup For Flash MX


spyyder
Dec 31, 2005, 09:22 PM
How do I create a frameless popup window for/in flash MX? (e.g. no titlebar, statusbar, etc). I need to know how (as in what to type into a buttons properties) to open up an internet browser popup window (but frameless/containerless) to a URL.
Thanks!:)

KAOSKTRL
Jan 1, 2006, 11:26 AM
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_43.html

This kind of thing?

spyyder
Jan 1, 2006, 11:33 AM
Just like example 'e'... but for flash (those only work for html/non flash pages).

KAOSKTRL
Jan 1, 2006, 12:10 PM
I recommend asking the author of the script
I would think you can slice the image map and create events I have only been working with DWswf/fw for 15 minutes so that's a guess
http://www.bosrup.com/web/overlib/

LTheobald
Jan 3, 2006, 02:56 AM
I'm not too sure this is possible from Flash.

Create a completely bordless window (no title bar) requires a fair bit of coding I believe. If you are willing to accept the title bar it's easy (examples here (http://www.flash-db.com/PopUp/JavaScriptPopUp.php?page=1)). But to get rid of that title bar involves a lot of work. I'll try and find an example for you.

Does it have to be an external web page you are loading? Could it just be something within Flash that you can just simply show/hide on the button click?

spyyder
Jan 14, 2006, 05:38 AM
Well... no... its just... OK this is simple though...

I just need a button that when clicked, opens (just flashes in.. Nothing fancy) a window (textarea with scrollpane) within the same area/timeline...

LTheobald
Jan 16, 2006, 06:50 AM
Well I think the easiest way to do this would be to create a rectangle (this will be you window), place a textarea in it, then select both the rectangle & scrollbar and covert this to a symbol (F8). Set it's type as a movie clip and give it a name (I've used myPopUpWindow for this example).

Then I believe you can hide it with something like (not I don't do much Flash so this syntax might be off slightly):


_root.myPopUpWindow._visible = 0;

To hide the "window". Enter the above code so that it runs when the movie loads (so it hides the window on startup). Then you just need to call the same code but with 1 instead of 0 to show the window when you need it.

AskMrVideo
Feb 28, 2007, 09:54 AM
You can get a frameless flash player here: AskMrVideo.com (http://www.AskMrVideo.com) Included is the html you need to accomplish this. Basically, all you need to do is have an FLV with transparent background. Embed the swf player using WMODE=TRANSPARENT.

mmumshad
Aug 29, 2009, 01:35 AM
1. Create a new symbol by selecting Insert > New Symbol.
2. Set the name to TitleBackground.
3. If the advanced view is not displayed, click the Advanced button.
4. Select Export for ActionScript.
5. The identifier is automatically filled out with TitleBackground.
6. Set the AS 2.0 class to mx.skins.SkinElement.
SkinElement is a simple class that can be used for all skin elements that don't provide their own ActionScript implementation. It provides movement and sizing functionality required by the version 2 of the Macromedia Component Architecture component framework.
7. Make sure that Export in First Frame is already selected, and click OK.
8. Open the new symbol for editing.
9. Keep this symbol Blank
10. Click the Back button to return to the main timeline.
11. Drag the Window component to the Stage.
12. Select Control > Test Movie.