Popup with fixed window size

Hey, i'm really stuck with this and keep hitting a dead end.
i've got a button in my flash website and i want it to open a popup
window of 600x400 pixels when clicked. The popup contains a
background image of this size so i dont want any white space in the
background. I've tried putting the following into the actions
window with the button selected but nothing happens when i click
the link in the website.
on (release) {
getURL ("javascript:openNewWindow('
http://www.mysite.co.uk/support.html','thewin','height=400,width=600,toolbar=no,scrollbars =no');");
If I attach a behaviour to the button to geturl, it works but
brings up the page full size. I'm new to flash so am just going on
scripts i'm finding on various websites. Is there a simple way to
do this? Its pretty straight forward in Dreamweaver but i cant see
where to specify popup dimensions in flash. Thanks, Dren

I found a script that works. If anyone comes across this post
this is what you need:
on (release) {
var jscommand:String = "window.open('
http://www.yourdomain.com/yourpage.html','win','height=600,width=800,toolbar=no,scrollbars =no');";
getURL("javascript:" + jscommand + " void(0);");
}

Similar Messages

  • Fixed window size

    Is there a way to create a fixed browser window size in
    html/dreamweaver?
    I don't mean opening a fixed size popup from clicking on the
    main page....I mean creating your main page so that it when it
    opens is lets say 200x400 pixels with scroll bars.
    Is this possible and if so could someone explain how?
    If not....I wonder why....seems like a simple, reasonable
    thing to have control over.
    TIA!

    Javascript, not Java.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Nevermynd" <[email protected]> wrote in
    message
    news:fm5s58$g8a$[email protected]..
    > Well, As my screen name says......nevermind! I should
    have searched before
    > posting as I now see there is in fact no way to do
    it.....or at least no
    > EASY
    > way without tons of java code etc.
    >
    > On the other hand, let me know anyway if something comes
    up.
    >
    > In the meantime I am posting a new post to ask about a
    possible workaround
    > to
    > my issue.
    >

  • SNP quota arrangement with fixed lot size

    Hi all,
    i have a question regarding quota arrangement for external procurement in snp heuristic. Whe have 2 sources of suppy created by info record. The quota is 25% for the first and 75% for the second one. In product master there is maintained a fixed lot sice of 500.000. Im wondering that the snp heuristic creates 2 requisitions of 500.000 for each sos at the same day. So we get an serios excess. Any ideas?
    Kind regards,
    Christian

    Hi,
    thanks for reply. Ok, normally net requirement calculation works properly. In case of a shortage the heuristic shall apply an receipt with the fixed lot size wich is maintained in material master. However, in out particular case it generates the double receipt quantity which is not needed at the receipt date.
    The heuristic should do the following:
    Day 01 Stock 100   
    Day 02 DepDmd 20 
    Day 03 DepDmd 20 
    Day 04 DepDmd 20
    Day 05 DepDmd 20
    Day 06 DepDmd 20
    Day 07 PurReq 100 !! Source 1!!
    Day 08 DepDmd 20
    Day xx PurReq 100 !! Source 2!!
    and not:
    Day 01 Stock 100   
    Day 02 DepDmd 20 
    Day 03 DepDmd 20 
    Day 04 DepDmd 20
    Day 05 DepDmd 20
    Day 06 DepDmd 20
    Day 07 PurReq 100 !! Source 1!!
    Day 07 PurReq 100 !! Source 2!!
    Day 08 DepDmd 20
    In this example 100 would be the fixed lot size from material master.
    Best regards,
    Christian

  • Open in new window with different window size

    Does anybody know of a way to make a hyperlink and the window open to a new page where the window size is different from the page before? I want to open to a new page where it's a quicktime thats just in a smaller window.
    thanks!

    David:
    Yes. See this demo page: Opening Item in a New, Precisely Sized Window.
    This demo page has 7 such QT movies on it: PhotoPresenter Animated Slideshow Themes.
    OT

  • Histogram with fixed interval size

    Hi Dear All,
    I need to build a histogram and what I want to achieve is all histograms to have fixed width. But I can't control the width of bins and they have different width at graph.
    I have two arrays, in one stored the number of items, in another count of each item.
    I have read this article as well, but have not succeed.
    http://forums.ni.com/t5/LabVIEW/histogram-interval-size/m-p/879242/highlight/true#M397722
    Please take a look on attached picture and vi.
    Any help will be appreciated,
    Thanks in advance.
    Attachments:
    Histogram.png ‏114 KB
    Histogram.vi ‏12 KB

    Hello Tigran,
    If you want equal sized bins your item array has to be equispaced as well. This is because the elements of item array are taken as the centre point of the bin and the width is decided by the difference between 2 consecutive elements of item array. Since your item array has 100 and 101 the bin size of those 2 bins is the minimum.
    While giving the input you should ensure that your item array is equispaced event though the corresponding count is 0. You can do this programmatically as well. The easiest way to do this is to always assume bin size as 1 and therefore always give the item array as 90, 91, 92, 93....112, with corresponding count array as 20,0,0,0...10. 
    A more involved method can be to determine the minimum bin size at run time. This can be the greatest common denominator of the differences between the consecutive elements of the item array. For example, if your item array is 90,94,98,102,114, then the consecutive differences will be 4,4,4,12. The GCD of these differences will be 4. Therefore the maximum bin size can be 4. Therefore you should change your item array to 90,94,98,102,106,110,114 before plotting.
    Hope this helps.
    Regards,
    Chinmay
    Chinmay Anand Misra
    CLD
    Technical Marketing Engineer
    NI IndRA

  • LabVIEW 5.0.1fl solaris fixed window size

    I have just upgraded to LabVIEW 5.0.1fl on Solaris 2. Now, once a vi has been saved, closed and re-opened, I cannot reduce the size of the front panel or block diagram windows. I can increase the height or width but not decrease it.

    Depending on how you have the VI properties set you can get the front panel to exhibit this sort of behaviour, but if the block diagram is doing it to there is definately some thing hosed. It migth be time to uninstall everything LV-wise and reinstall from scratch.
    What version of LV were you upgrading from? Does the same thing happen with new VIs that you create? Anything else changed in the system lately--new drivers for example?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Fixing Window Size

    Hi All,
        I'm having a Group in which i have placed the UI Elements.Inside the Group one Tabstrip with two tabs are there . Both Tab will contain One Table Each. But the number of Columns Present in the first Tab is greater than the No of columns present in the Second Tab.
    So while i navigating between the Two Tabs the Group size is changing based on the Values.
    I want to Fix the Group Size so that if the Tabstrip size changes it wont affect the Group Size.
    Regards,
    Padmam.

    Hello Padman,
    just use a fixed size (width/height properties) for the container inside of the tab, like 50pts or 200px.
    Best regards,
    Thomas

  • Fighting with Finder Window sizes

    Is there any way to set and keep the size of Finder Windows and the width of their columns? The windows keep coming up very small and the columns very narrow. I keep resizing them, but if they get closed I have to resize them all over again when I next open them. It's a terrific waste of time. Is there some way to set a default size for the Finder Windows and their columns?
    Thank you.

    Daniel
    Yeah, that's a real pain in the * and the number of clicks/mouse movements necessary to find anyy file, every time, was giving me serious RSI (repetitive strain injury) problems, which was affecting my work. Especially on the small screen of my MacBook. I therefore reverted to the once-superb Mac OS9 hierarchical filing system, which requires NO mouse clicks, involves NO columns, facilitites lightning-fast back-and-forth movement, and speeds up my work. Thanks to Classic Menu, this earlier and much better navigation system was brought back. Anyone can install it and need never look at those pesky columns again ! Give it a try anyway.
    http://www.sigsoftware.com/classicmenu/
    Well...ok... two mouse clicks- but only two

  • QR Code capacity with fixed rendered size and dynamic data

    There's a paper forms barcode and symbology is QR Code, layout is 46mm x 46mm, error correction level is M, module width is 0.592mm, and max capacity is Chinese(UTF8) x 88 or number x 627 or uppercase A x 380 or lowercase a x 263, and QR code renered size is about 30mm x 30mm when max capacity.
    So, my question is, if I want to ALWAYS keep this QR code renered size is same as max capacity(30mm x 30mm), but my daya is dynamic and mix numeric, alphanumeric and byte mode, is there any formula to calculate how may character such as space should be appended?
    thanks

    The more data you stuff into the barcode, the bigger it will be. I am not sure that there is a formula you can use to calculate how much buffer space you need to keep the barcode the same size. At least I have not seen one.
    For Designer, we offer these guidelines when using paper forms barcodes: http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000342.html

  • Issues regarding (default) window size.

    hello...
    i have a problem with the sizes of windows.
    how can i have a fixed window size for my index page?
    i will probably be using flash menus for the index, so i just
    want THAT to appear....
    i dunno if im being clear...sorry
    and thanks

    > i will probably be using flash menus
    You know what a bad idea this is?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "oneirocrite" <[email protected]> wrote in
    message
    news:esd1sk$6ee$[email protected]..
    > hello...
    > i have a problem with the sizes of windows.
    >
    > how can i have a fixed window size for my index page?
    > i will probably be using flash menus for the index, so i
    just want THAT to
    > appear....
    >
    > i dunno if im being clear...sorry
    > and thanks
    >

  • Portlet window size changes in Webcenter

    We have a custom portlet that is deployed in Webcenter in AviTrust using the Application Page Template. As we step through the screens in the portlet, the width of portlet window changes. The portlet content itself is in a div and does not specify a specific pixel width.
    I'm fairly new to this but the way I understand the DIV tag, the width of the DIV tag is determined by the enclosing container. This would imply that the width of the Webcenter containers enclosing the portlet content is not fixed.
    I know one can fix the size fluctuation by setting the size of the portlet after it is added to a page. Is there any other way to stop the size change without actually specifying a fixed width in pixels?
    Much appreciated if anyone could comment on this behaviour in Webcenter so I can be sure of the possible fixes for this issue!
    Thanks heaps.

    Thanks.
    I dont like full screen mode, I prefer to keep the window at a size which is comfortabe for me to work.
    From what you have said, it seems as if I cant prevent the main window from constantly changing size each tyime I select fit to screen.
    I am baffled, because I have been using Phtotoshop CS4 with a window size setting which stays the same regardless of how I zoom the image/canvas. Odd isn't it?
    Regards

  • Remeber window size

    How can i make Pages remember the window size. it usually comes up with a window size that doesn't fit the entire page?
    Also i'd love to have the page centred (as in iWeb) while increasing the window width instead of having it fixed to the left. can i do that?
    Thank you in advance for your suggestions!

    Harpo Marx wrote:
    How can i make Pages remember the window size. it usually comes up with a window size that doesn't fit the entire page?
    Can't. I haven't figured out yet how it is working all this out. Very unMaclike.
    Also i'd love to have the page centred (as in iWeb) while increasing the window width instead of having it fixed to the left. can i do that?
    In a word. No.
    All of these are thorns in the side of users' productivity. I have commented before on the oddly bad functionality in Pages, where superficiality and obscurely hidden features win out over getting the job done.
    Still it all looks pretty for the few minutes the customer tries it out before buying.
    Try:
    +Menu > Pages > Provide Pages Feedback+
    But I wouldn't raise my hopes.
    Peter

  • Too small window size in standalone flash player in FLEX

    Hello,
    I have unchecked the option "generate html wrapper file" so I
    don't have to bother about closing the browser tab each time I make
    a small change to the code and rerun the application.
    This works fine as the standalone flash player closes when I
    terminate the application from Flex. However, the standalone flash
    player always starts in a fixed window size smaller than my
    application size so that I cannot see the whole application. So I
    have to enlarge the window size of the standalone flash player each
    time which is annoying!
    Is there a better solution?
    Maybe get Flex to close the browser tab after I terminate the
    application. I still prefer to use the standalone flash player
    during development as my application doesn't depend on the browser
    though.

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - About the Flex development tools:
    Adobe Flex Software Development Kit (SDK) primarily provide
    XML files that you use ... When you use the debugger version of
    Flash Player or start your AIR
    Link:
    http://livedocs.adobe.com/flex/3/html/building_overview_2.html
    Adobe - Flex 3:
    While Flex applications can be built using only the free Flex
    SDK, developers can use ... Alert This content requires Flash.
    Download Flash Player now
    Link:
    http://www.adobe.com/products/flex/
    Flex.org - Rich Internet Application Development:
    I would like to extract data from my Flex application to a
    CSV file for loading into Excel. However, the current Flash player
    does not allow direct access
    Link:
    http://flex.org/
    Adobe - Flex Developer Center:
    Supports visual and code-centric development, code hinting,
    visual debugging, and so forth. Includes the Flex 3 SDK and Flash
    Player 9.
    Link:
    http://www.adobe.com/devnet/flex/
    moockblog: Flash Player 9, Flex 2, ActionScript 3.0: A Survey
    of:
    Flash Player 9's main new feature is full support for
    ActionScript 3.0 (but older ... Flex Builder 2 also includes a
    development framework known as the Flex
    Link:
    http://www.moock.org/blog/archives/000189.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • Fixed Lot Size and Assemby Scrap

    Hi Gurus,
    I've an issue using a Material with Fixed Lot Size (MRP View) and Assembly Scrap.
    The system doesn't increase the base quantiy (creating a Process Order) with the Assembly Scrap defined in the Material Master, if you change manually the quantity in the COR2 quantiy will be recalculated correctly.
    Anybody can help me?
    Thanks
    Marco

    >
    Marco Spinell wrote:
    > Hi Gurus,
    > I've an issue using a Material with Fixed Lot Size (MRP View) and Assembly Scrap.
    >
    > The system doesn't increase the base quantiy (creating a Process Order) with the Assembly Scrap defined in the Material Master, if you change manually the quantity in the COR2 quantiy will be recalculated correctly.
    > Anybody can help me?
    >
    > Thanks
    > Marco
    dear marco,
    One changes in my earlier post
    IF fixed lot size is 1000, and  assemby scrap as 10 %
    if the pir is for 900
    after running MRP system will create a plan order for 1000
    In MD04 , you can see the receipt reqmt as 900 and scrap as 100
    i.e System will allocate the scrap with in the fixed lot size
    Once the plan  order is converted in to process order you can see
    the total qty as 1000 and scrap 100
    for other lot size system will add the PIR reqmt +assembly scrap %,
    Yes you can change the qty in COr2, system will update as per the scrap qty , i.e system will allocate the qty for scrap
    for ex , if you are changing the  total qty as 10000, system will propose 1000 as scrap,
    when you save the order and see the mD04
    you can see the receipt/ reqmt qty as 9000 and scrap as 1000
    i.e system will allocate the 1000 qty from total qty
    Hope you are clear how the fixed lot size is working for assembly scrap

  • MRP planning Purchase REQ per fixed lot size

    Folks,
    I have materials which have MRP type PD with fixed lot size of 20 pieces. Safety stock = 200 pieces. MRP run results in 10 preqs of 20 pieces each. I would like to have 1 Preq of 200 pieces. How can this be achieved?
    Regards,
    MdZ

    Hi,
    This is because of Lot size "FX" you maintained as 20.
    For FX lot size system will divide the total qty as per the fixed lot qty & throw that much of PR for that stock.
    So Safety stock = 200, FX =20 so PR will be 200/20 = 10 PRs
    If you want 1 PR for your safety stock, then change the Lot size to "EX" then system will throw 1 PR for 200 qty as per your Safety stock
    rgds
    gsc

Maybe you are looking for