Fixed size browser window pop-up from flash?

Hi there... I'm finishing off a flash website for a band and
I've created a little music player that's 380 x 250 pixels...
There's a "launch music player" button in my site and when pple
click on it, I'd like the music player (which is a flash file
embedded in an html file) to pop up in it's own little browser
window. I know how to make normal full size windows pop up (by
using the: getURL("location", "_blank").... function) but I need a
browser window that doesn't scroll and isn't resizeable, with a
fixed size of 380 x 250 to pop up. I know how to do this in HTML
(dreamweaver), but not in flash - can anyone help?
Mal

Using the getURL function you can call a specific javascript
function where you can create a new window with specific size:
getURL('javascript:FUNCTION();');
Cheers,
Gorka

Similar Messages

  • Unsolicited ad inserted behind main browser window (pop-under)

    Unsolicited ad inserted behind main browser window (pop-under) every time TheBlaze.com is visited.
    ENVIRONMENT
    Win7 SP1
    Firefox 34.0 (Pop-up windows are blocked)
    DESCRIPTION OF PROBLEM
    Once the requested home page, from theBlaze.com server, is received by Firefox on your PC, your first mouse click will trigger the pop-under creation process. Pop-under ads are similar to pop-up ads, but the ad window appears hidden behind the main browser window rather than superimposed in front of it. The ad window is located in a new copy of Firefox. Additional mouse clicks may produce cumulative pop-under ad window creations. So, you may end up with multiple pop-under ad windows, each in a new copy of Firefox. According to many marketing “genius” this method of presenting unsolicited ads is much less abrasive than pop-ups used to be, and now recommend the use of pop-unders.
    The HTML source file received from TheBlaze.com server contains (in clear) between line 158 and line 202 , the JavaScript code needed to generate the pop-under windows and also contain the URL of the advertiser.
    Line numbers may vary from user to user, but look in the source file and locate the beginning and the end of the script at:
    BEGIN ADSUPPLY →
    the script is located here (approx 44 lines of code)
    <!-- END ADSUPPLY →
    The fact that the advertiser URL is contained in the source file indicates that, this is a well organized advertizing business. In the examined case the advertiser was "gorgonkil.com".
    SOLUTIONS TO STOP POP-UNDERS
    This pop-under unsolicited ad plague can originate from any Web site, not only from TheBlaze.com. This is not hidden malware, but highly visible in the HTML page received from the unscrupulous Web site. Be aware that using the “block pop-up windows” parameter in Firefox > Tools > Options > Content > will not solve this problem.
    InternetExplorer 11 also falls victim of the pop-under unsolicited ads. SlimBrowser7 survives elegantly and no pop-under windows are opened.
    In the proposed 2 solutions, you will need to receive a first unsolicited ad, then take note of the advertiser URL and insert it in the Win7 Firewall or in the BlockSite Firefox extension.
    If the unscrupulous Web site sends a large number of new and different advertiser URLs during one browsing session, then you will need to find a more elegant solution to the problem.
    WIN7 Firewall
    The received ad normally contains the advertiser URL (e.g. gorgonkil.com).
    The Win7 firewall has the capability to block IP addresses.
    The fact that Win7 Firewall requires IP addresses be expressed in dotted-decimal notation (e.g. 172.16.254.1) makes it less attractive. But, should you decide to use the dotted-decimal notation, it should work perfectly
    Block Site 1.1.8 Firefox extension
    Install Firefox extension “Block Site 1.1.8”. It is working very well for me.
    You need to go to Block Site “Options” and “add” the URL (e.g. gorgonkil.com) you want to block.
    Once enabled, the Block Site extension will display a small window for 3-4 seconds (lower right position) every time a pop-under creation is attempted by any unscrupulous offender and the pop-under will not be created.
    My own “Options” file now contains more then 18 advertiser URLs (over 3-4 months).
    I have stopped visiting TheBlaze.com Web site as of yesterday.
    WEB SITE REPUTATION & REVIEW SERVICE
    You may obtain a reputation rating for many Web sites by installing a Fiirefox extension: Web of Trust - WOT
    WOT adds intuitive traffic light-style icons next to search results and URLs to help you make informed decisions about whether to visit a site or not.
    A review has been submitted to WOT (12-19-2014) pertaining to TheBlaze.com. The rating is in bright red “I don't trust” (Ads/Pop-ups).
    deBeaujeu

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • How do I make my website fit in all size browser windows?

    Hi there,
    I should start off by saying that I am very new to web design, and have very limited knowledge of CSS and HTML.  I understand what they are and the nature of what they do, I'm just not code savvy. 
    Now that that's out of the way, I've been designing/attempting to build a website using Dreamweaver.  I have all of the components and layout that I want designed and ready to go, but I desperately need help with translating that into Dreamweaver.  I've been researching information all over the web, but with one person suggesting one thing and another suggesting something completely different I'm afraid my brain is about to melt.
    Here's what I've done so far:
    Because I want everything fully customized and to use a less common font style, I saved everything from the graphics, photos, and links as .png files.  I then inserted each of those images into an AP Div Tag in Dreamweaver and arranged them appropriately.  That's absolutely all I've done.  It works great, except I have no idea how to configure everything so the site layout shows up centered in any size browser window, instead of sitting awkwardly in the corner.
    Here's a link to what currently exists: http://ikikatawares.com
    I've read dozens of articles and forum responses about building tables, but I'd like to avoid that since to me they seem clunky and kind of a hassle to deal with.  Can anyone please help me?  Thanks.
    Beth

    You need to put only the bold part into your code.
    Immediately after your starting <body> tag add in
    <div id="wrapper">
    and immediately before your ending </body> tag add in
    </div>
    Then at the end of your css, you currently have...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    Change that to...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    #wrapper {
         position:relative;
         width:1005px;
         margin:0 auto;

  • How to set the fix size jframe window

    when I run the jframe ,the jframe window size is very small
    1)how to set the fix size jframe window??
    2)how to set the jframe cannot change the window size??
    thx~~

    1. You can set the size by calling JFrame's method setSize. There are two versions of this method: (1) setSize(int width, int height) and (2) setSize(Dimension d). Note, that when you use this method to set the frame size, you don't have to call JFrame's pack method.
    2. JFrame has a method called setResizable(boolean resizable) which you can call with the argument false.
    Without any ill intent, these questions are regarding something that is very easily answered by looking at the documentation for the JFrame class. I suggest to anyone working with swing to at least look briefly through the base classes they're extending before giving up. In my experience it is always more gratifying to figure things out on my own than asking someone. But please don't take this the wrong way, I respect people who seek out help in order to further their knowledge, instead of just giving up.

  • How to have web page open in same browser window after redirect in Flash video placed in Dreamweaver?

    Hello,
    Would be grateful if anyone can help me.
    website: www.Paris-Pet.com
    Currently, a flash video plays on the index page. The following action is placed in the last frame of the video in Flash:
    navigateToURL(new URLRequest("http://www.paris-pet.com/home.html"));
    This is working as intended with one exception: Instead of directing to the home page from the index page when the video is completed, it opens up the home page in a second browser window, leaving the empty browser window of the flash movie. This is not the seamless design I was hoping for, and I've also been told on some computers, blocking pop up windows is preventing them from smoothly transitioning to the rest of the web site.
    I would like the redirect to open the home page in the same browser window as the movie in the index page played.
    Please help. Print designer in over her head.
    JM

    Brilliant, Jon. Thank you so much. For those of you who stumble on this, I did have a tiny bit of trouble when I edited the actionscript; the video didn't play as expected. After trial and error, this is the code that worked both in playing the video and opening up in the same browser window:
    navigateToURL(new URLRequest("http://www.paris-pet.com/home.html"),"_self");
    The difference seems to be this:  ")     before the comma prior to "_self");
    Again, Jon -- thanks!
    Jack

  • Resizing a browser window to that of Flash

    Hi,
    With the help from Nadia my Flash files now play on the server.  The only issue I have now is that the Browser window opens full screen instead of the size of the flash player. Is there a way to make the browser only open to the size of the flash player?
    Thanks,

    Hi,
    Thanks again for the feedback.  Pondering the issue at home last night I came to the same conclusion as Nadia, make the background the same colour then all will be good.  So I created a new page with a div to auto the margins, and it looks good to me now.
    http://www.gatekeeper-systems.com/viperfish/deepVideo.html
    Thanks again for the assistance, appreciate the thought about not re-sizing visitors broswers.
    Mark.

  • How to center page in any size browser window

    How do I center a page in any size browser even if page is too wide to display - I still want the page displayed from the center and hide the edges as the browser width gets narrower. E.g. I have 3 columns and want to always see the central column - the outside columns will be visible only on a wide screen, but only the central column is visible on a narrower screen such as a smartphone. I have set the margins of my wrapper div to auto, but this only centralises the page until the wrapper width is the same width as the browser window. Help me please !

    Thanks Nancy O,
    Using the % as a width does now allow the page to remain centred.
    Is there a way to keep the web page size as original even when the window gets smaller - i.e.you will only see the outside edges of the page by using the slidebar left or right if viewing in a smaller window. Ioriginally set the wrapper div width to 700px rather than 90%, but when I reach a browser window of 700px, the page then reduces in width towards the left rather than reducing it centrally.
    I don't know how to link to my page as it is not yet a live page, so can't show you specific code. Hope the above explains what I am trying to do. Basically, the two outside columns will be less important info, so I don't need this to always be visible, but if viewing my page on a smartphone, I want the central area to be seen in full (approx. 450px wide), and not reduce in size.
    Thanks for your help,
    ActivePlanner.

  • E-Mail Browse Window Has Wrong From Information

    I have recently started having a problem with the message browser window in the latest version of Mail (Tiger installed, with updates through 10.4.5) where the FROM column does not accurately reflect the name of the sender on multiple messages. When I started this inquiry my inbox reflected multiple messsages FROM Ester Ferreira. (Not all of the messages, just messages that had no address book entry WHEN THEY ARRIVED.) However, when I highlight each of these messages the text of the messages themselves indicate that none is from Ester Ferreira. Indeed, a search for Ferreira using the Mail search tool shows no messages EVER from or to Ester Ferreira. However, the incorrect name is not ALWAYS Ester Ferreira. Earlier today the messages were from WorldWinner and before that from some other name having no connection with me nor my computer (none of the names so far has shown up in my Address Book nor even in a Spotlight search of my hard disk). A moment ago, all the messages appeared to be FROM Donut Offer. NOW they all appear to be from A New Years Gift For You.
    There seems to be some relationship between me switching to look into different mailboxes and the switching of the names appearing the FROM area.
    I have tried running disk utility to fix permissions and repair the disk (there are always erroneous permissions, especially related to Widgets, and the disk never needs repair). I have also tried rebuilding my mailbox and just quitting and restarting Mail. While I thought fixing permissions was having a positive effect, I now believe that was just coincidental, as the problem quickly resurfaced after permissions have been fixed when that helped, and recently fixing permissions has not helped at all.
    G5 Dual 2 and PowerbookG4 1.33 GHz 17   Mac OS X (10.4.5)  

    Click "Options" (top-right of Mail web page), then "More Options".
    Select "Accounts" from the menu on the left and then the relevant account from the column in the middle. Mine's called "BT Yahoo!". In the right-hand pane you should now be able to change both the Reply-To and the 'From' name.

  • Pop ups from Flash Player?

    I installed Flash Player and now I have unwanted pop-ups!!!  How do I get rid of them?

    They DON'T come from Flash Player.
    They come from "adware" and the adware uses Flash Player to display the popups (sometimes).
    You need to run a thorough system scan.

  • Window popping up from hovered photo

    Good day, I have a picture with text which is illegibly small at that size, so I would like to add a balloon or pop-up window with the text that appears when a user hovers over the photo. How does one do that if one is not adept at javascript?
    Thank you,
    Magoeba

    Pure CSS Disjointed Image Rollovers
    (aka CSS Tooltips)
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    Pure CSS Disjointed Image Gallery
    (with opacity)
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Gallery.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web-design.blogspot.com/

  • Cannot stop "restore windows" dialog box from flashing. Please help!

    Finder not working! Bouncing finder icon and flashing 'restore windows' box are driving me slowly insane. I tried a few tricks like rebooting Lion 10.7.5 and deselecting "restore' in prefs but nothing has worked. Haven't found right terminal command yet either. I shut down my Mac with Safari open and maybe Google Chrome also, and when I turned it back on...my odyssey began. If you have ANY suggestions your help would be greatly appreciated.

    I got the same problem: I just purchased Office 13. When I tried to open a Word file that came viaOutlook I got the dialog box "Word can't open this file because a dialog box is open" but when I clicked further it opened the file OK and gave
    me the option to remove "Protected View" which I did and everything was OK. I called MS Support and the person who answered had a very thick accent that I could barely understand. When I told him my problem he did not understand it and said the program
    is trying to prevent me from opening viruses. I asked, why didn't it say instead of giving me the "open dialog box" error message? He had no answer and suggested I buy Microsoft support for $149 a year of $99 per incident. Great customer service,
    eh? Then I tried this solution by unchecking "Enable Protected View for Outlook Attachments" in the Trust Center and the Word files opened normally. I am very disappointed in Microsoft but thank Mike_obe for his excellent help
    Dave

  • Browser window without toolbars from Servlet ?

    I have a JSP page which POSTs to my servlet a form that requires a query on a database. When the result is received from the database I dynamically build the HTML results page in the servlet by transforming it using a stylesheet. I then write out the result page in to a new window (target set to "_blank").
    How can I get the results window to have no toolbar, status bar, and set it's size to exactly match that of the result page data ?
    In my servlet I have code similar to :-
    PrintWriter writer = response.getWriter();
    response.setContentType( "text/html" );
    writer.println( htmlResults );
    I've tried to do a "response.setHeader( 'toolbar', 'no' )" but that doesn't remove the toolbar from the result window.
    Thanks.
    Sarah.

    Thanks. I've just been mucking about with some Javascript and have got this to work by using a a window.open() command and then setting the menu "target" to be my new window.
    Works a treat.
    Sarah.

  • Creating Windows Application Installer from Flash

    Hey,
    hope someone can help me out
    Im trying to find out with there is a possibility to convert or make a flash .exe file into a Windows Application and have it installed on the the computer.
    I mean when you click the file it starts to instal on the computer like an application, creates shortcuts and so on. im guessing it has soming to do with AIR but cant seem to get it.
    Any help will be much appriciated. Thanks in advance!
    pavel

    Ya i googled it and came up with many results, I was
    just wondering if anyone thought one was better than
    othersAh.
    Well, it would have been good if you'd stated that in the first place. That might have engendered some discussion.
    Better still would be if you tried out two or three of them, formed your own opinion, then posted that here and asked if other had similar experiences, or if there were any major issues that you might have missed in your testing, etc.

  • Running OS 10.8.2, Safari . Trying to watch video on CNN, It is blocked an window pops up Adobe flash player out of date. Is this real or an attack

    Should you download adobe flash player after Adobe flash player out of date, Is this an Apple message or an Adobe message.

    Welcome to the Apple Support Communities
    Safari users are seeing a message telling them to update Flash Player. That's because Apple has blocked Flash because of a security problem that was being used to hack PCs and Macs.
    In your case, accept to download the Flash update and it will take you to the Flash Player download website. If you aren't sure, you can download Flash manually > http://get.adobe.com/flashplayer After installing the update, restart the Mac

  • Opening a new browser window from flash

    Does anyone know of a method fo opening a link in a new
    window in firefox from within flash that isn't blocked by the popup
    blocker. It seems like the security in FF 2.0.0.6 (I'm on 2.0.0.11)
    has been tightened to prevent any _blank or window.open calls from
    flash getting through. I've tried the standard getURL, fscommand
    and ExternalInterface call to a javascript window.open method.
    Nothing now works.
    I understand the need for the popup blockers, but this is a
    legitimate popup only invoked on user interaction (click) - the
    same window.open call in an onClick event outside of flash works
    fine and I guess it is blocked from within flash because there is
    no way of knowing if the call is invoked from user interaction or
    automatically - but seems a shame.
    So any other way of getting a new browser window to open from
    within flash in firefox?

    Use target="_blank" in your form declaration.<FORM METHOD=POST ACTION="someAction" TARGET="_blank">The _blank keyword tells the browser to load the results in a new window.
    If you need more control over your window (size, address bar, etc.) you'll need to use javascript.<SCRIPT>
    function submitForm(windowName){
       newWin = window.open("",windowName, "menubar=no,resizable=no,...");
       document.myForm.target = windowName;
       document.myForm.submit();
    </SCRIPT>
    <FORM NAME="myForm" METHOD=POST ACTION="some.jsp" TARGET="">
    <INPUT TYPE=BUTTON VALUE="Submit" onclick="submitForm();">
    </FORM>

Maybe you are looking for