RESIZING TO WINDOW

Hi, does anyone know how I would go about to achieve
something like this here:
http://www.brook-pifer.com/
Resize to window, and constrain an image's width/height to
the window's width/height?
I'm a total n00b to flash, but some insight would be GREATLY
appreciated

Hi,
No I've come really close to an answer but as with most threads i receive, I'm none the wiser. I'm not that proficient in Flash so I have trouble deciphering the advice on here.
There's a few options really that i've come across, but the best way of achieving multiple scaling options is to do it all within Flash and use something called scaleMode (in AS3). However, I have yet to get it to perform exactly the way I want it to. If you search scaleMode in Flash Help it will point you in the direction and a simple tutorial to get it working. This also didn't work outside of the swf, i.e didn't work in a browser, so back to square one.
Another method is to create 2 swf files (one for your background, and another for the rest of your site) and layer them with div tags (you have to set the top swf with a transparent background). I scaled my bottom layer Div to 100% (also the swf) so it fits the entire window and also scales. The only problem i had with this method is that if you don't want the top layer to scale and the window provides a scroll bar to view the rest of the swf, suddenly the bottom layer decides to stop filling the screen (this method, although probably not the most efficient would have done the trick if the bottom Div Tag didn't behave this way)
I really think this effect is brilliant and makes good use of Flash output rather than having a great looking and working site display in a boring window constrained by the basic UI settings flash has to offer (it can also be used for video, which looks amazing) I'm sure there's some easier advice on how to get it working, so if anybody has better insight please post it!

Similar Messages

  • Text runs of the page / doesn't resize with window

    Hi,
    I have seen this before but cant figure out how to fix this:
    In Mail and other applicaitons that involve typing text the sentenses run off the "page".
    When I resize the window the lines dont' adapt to the window.
    I am stumped, please help :-)
    Rogier

    Howdy. See if this helps:
    https://discussions.apple.com/thread/5298047?tstart=150

  • How do webpage developers get Firefox to use the windows.resize or windows.moveTo javascript functions that seem to now be passed over?

    Before V7, this code worked and did as requested every time the page was run. Now, it does not work and no error is reported. Google Chrome and Internet Explorer are able to produce th correct result.
    <script type="text/javascript">
    window.resizeTo(325,700);
    window.moveTo(1150,10);
    </script>
    I have a site where I use window.open to create a login window with minimum chrome.
    On successful login, the window that created the login window updates itself to another page. The login window is supposed to resize itself and move to create a console panel to the right of the screen.
    I have tried to update the window from its parent at the point of successful login (flagged by a database change, checked frequently). I have also included code in the new window itself to resize itself to no avail.
    The new code seems to be failing on both the conditions laid out!

    Some conditions were added in 7.0 to avoid abuse of the resize and move functions:
    #Can't resize a window/tab that hasn't been created by window.open.
    #Can't resize a tab if the tab is in a window with more than one tab.
    * https://bugzilla.mozilla.org/show_bug.cgi?id=565541#c24
    There's still some discussion on the bug - including some solutions and troubleshooting for pages that were affected that shouldn't be - and it's being tracked to make sure it doesn't have any adverse effects.

  • Using javascript to resize the window

    I've got a project that I would like to resize depending on which slide the learner is viewing.
    I' aware that the javascript method:
    window.resizeTo(width,height)
    can be used to resize a window.
    In my case I want it to be for the tall window:
    window.resizeTo(1016,650)
    and for the short window;
    window.resizeTo(1016,165)
    I'm also aware that you can tell a button (or anything else) to execute javascript.
    I'm having trouble making it work, tough.
    I've tried putting the method directly into the Script_Window for the button.
    I've tried writing a function in the published file, then having the button call that function.
    Can you paste javascript snippets into the Script_Window? Or do you need go the whole 9 yards and write the entire function, name the button instance, and tell the Captivate button to call that function?
    I'm just now sure how much Captivate knows how to do and how much I need to tell it.
    Thanks in advance!
    Joe           

    Thanks for your response, Jim.
    My window was created by a previous window using the code:
    <script language="JavaScript">
    function newWindow() {
    TheNewWin = window.open("main.htm","newWin","status=no,resizable=yes,left=0,top=0,width=1014,height=6 50");
    TheNewWin.focus()
    </script>
    I tried the code above in the ScriptWindow of a Captivate button (running in a Captivate SWF in the new window). It didn't work.
    I also tried:
    TheNewWin.resizeTo(1016,165);
    and
    newWin.resizeTo(1016,165);
    neither of which worked.
    Any other guidance would be appreciated.

  • Resizing IE window makes game errors

    I am running Windows Vista and the latest Java Run Time, If I open up runescape in full screen the game plays with no problems, if I then resize the window (smaller) visually it looks fine until I try to click somewhere with the mouse, and I end up clicking an inch or so under where I wanted, if I resize back to full screen it is fine again.
    Conversely if I open the screen window in small the game works fine, if I then resize (larger) I get the image the same size as the small screen and the rest of the screen is white and once again the mouse does not click in the right place.
    I have the latest driver from NVIDEA, however this may have something to do with it, I updated the driver because the older driver kept failing and closing the game window down, I no longer get that problem, just replaced it with a new one.
    Any suggestions would be appreciated, thanks for reading.
    Edited by: Athelstan1 on Sep 23, 2008 8:27 AM

    Hi Isla
    Your message is really, very, very long. I think its too long to read it twice ;)
    . Regarding all your issues on this notebook well. it looks like you have installed many 3rd party programs and applications. In such case its not easy to say if such issues are software or hardware related. But I presume its software.
    I checked your screenshot pic but I have never seen such error message. But it looks like something wrong with the graphic card driver. The message says something about Live Kernel Event
    A kernel's services are requested by other parts of the operating system like graphic card driver for example.
    In such case I would recommend updating the graphic driver. According to you message its a Intel GPU. So you could check the Intel page for the compatible graphic chip driver.
    Regarding the FN key issue;
    The Toshiba FlashCard utility controls the FN key functionality. I have read in this forum that this application does not run smoothly and in some cases it causes some issues. The new update should solve the problems. You should check the Toshiba driver page. The FlashCard Utility is a part of the Toshiba Value added package.
    So finally one more hint:
    You should always check for the Vista updates on the Microsoft page. This OS is not perfected and Microsoft releases very often patches and fixes
    Hope it could helps a little bit.
    If necessary just ask for more info :)
    Regards

  • Cannot resize safari window

    i can't resize the safari window by hovering over the bottom right corner of the window. I am working on a Macbook Pro and Yosemite.
    thanks!

    When you hover over the corner do you not see the cursor change to a slanted heavy line with arrows at each end? Do you then click down and then resize the window?

  • Cannot move or resize any window

    Hello there,
    I have a brand new rMBP which I could be very happy with ... unless for whatever reason I cannot move or resize any window at all.
    Cannot resize/move Finder, Safari, Preview, ... anything !!!
    How the **** is that ?
    I have googled a bit but found nothing.
    Anybody can help ?
    It's OSX Lion 10.7.4
    Thanks

    ok found it
    preferences > universal access > mouse & trackpad > trackpad options > dragging
    I had to check that box !!
    I really wonder why it was not checked by default, but anyway I am happy now.

  • Cannot Resize Finder Windows

    Since  a couple of days I have sometimes trouble resizing Finder windows in Lion (10.7.1).
    Clicking on the green plus-icon does not change anything and trying to resize by going to the edges or corners does not work either. The curser changes to an arrow but nothing happens when dragging.
    The other two icons (red and yellow) still work as normal. Closing the window an re-opening the same directory "solves" the problem. The new window is fully resizable again.
    Any idea what causes this issue?

    I have a feeling SMB might have something to do with it. I used to have problems with permissions behaving correctly when accessing SMB servers in the past. but this is a kind of difficult problem to further diagnose.
    On the other hand maybe it is just .DS_Stores making mischief... would it be any harm to delete all the .DS_Stores on the network volumes?
    I used to do this periodically with a script because OS X has a habit leaving a trail of both these and apple double files behind for non HFS volumes.

  • Resizing labview window that has been converted

    I just would if it is possible to resize a labview window once it has been converted to a different version. I have labview 7.1 and converted to 6.1 and I am trying to resize the window but it doesn't let me. Is there another way around this?

    You should be able to resize any vi even though it has been converted.  Go to the File Menu and select VI Properties.  Then select Window Size in the Catagory box.  Make sure that zeros are entered for the Minimum Panel Size, and that the "Set the Front Panel to the width and height of the entire screen" checkbox is unchecked.
    - tbob
    Inventor of the WORM Global

  • Resize the window by some other place except corner

    hi,
    Is there any way to resize the window except by corner. like "realplayer10"
    in which when play video we can resize the window by right-bottom of video image this place not corner of that window

    I've chosen not to use the new Photos app, so I can't be of any help with it - I will ask the hosts to move this to the Photos forum where more knowledgeable people hang out.

  • How do U resize a window in start up

    Im making an applet that draws somehting and my drawing is bigger than my applet i want to only view it in a n applet viewer so how do i resize the window automaticly so at start up i get a big enough window to fit my drawing in.

    try n add this in ur html file.
    hope it helps.
    An applets width and height properties are only available in Internet Explorer 4 - and then they are only read only.
    The only possible way is to trap the resize event using the documents onResize event handler in Netscape Navigator 4 and Internet Explorer 4 to reload the page:
    <HTML>
    <body onResize="document.history.go(0)">
    <applet width="100%" height="100%">
    </applet>
    </body>
    </html>

  • Hi, i wanted to resize my windows partion. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partion from the backup. Is this possible?

    hi,
    i wanted to resize my windows partition. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partition from the backup. Is this possible?

    I see youhave gotten recommendatons for using WinClone or CampTune.  I have used both and they both work well.
    You have asked about using the WIndows 7 utility to backup your drive and restor it onto a larger partition.  I will tell you fro experience that this will probably not do what you want, and may do something that you don't want.  You can use the Windows 7 native backup tool to make a backup of your Windows 7 partition.  It will most liekly end-up making a dive image of the whole drive.  When yourestore that backup, it will try to re-create teh partitions of exactly the same size as they were when the backup was taken, so it won't increase your partition size for you.  Worse, since Windows doesn't natively know how to read./write HFS+ volumes, the backup will make a partition for your MacOS (replacing any you may have now), except that the copy restored by WIndows will be totally worthless, and you will not be able to boot MacOS from it, or even read it under MacOS.
    Now I will tell you that I've also had some fairly good success working with the free tool CloneZilla.  Since it hasn't been mentioned yet, and everything else mentioned does cost you money, I thought I would throw it out.  CloneZilla is not as easy to use as the tools mentioned, but it has worked for me int hte past, so it is something to consider.  I tend to use CampTune myself, but that was because I purchased a bundle deal for them and it was included in that deal.

  • How do I resize the window of pages in the new version? It takes up most of my desktop. I would like to make it tall and narrow, which was possible in the old pages, but I cannot seem to do it in the new version.

    How do I resize the window of pages in the new version? It takes up most of my desktop. I would like to make it tall and narrow, which was possible in the old pages, but I cannot seem to do it in the new version.

    I agree it is a very bad and wasteful design especially for users on small laptop screens.
    You can drag it to whatever shape you want from the bottom left corner.
    Click on the paintbrush to make the Format side panel disappear. However you will need to use that side panel for most formatting.
    Peter

  • [CS2/CS3] - Resizable dialog window

    Hello,     I would like to create resizable dialog window with only few widgets, please does anybody have some sample of resources, how to do it or some link ?  Thank you for all answers, marxin

    Could you please advise me where to place additional widgets like TreeView and so on ?
    Here is my resizable dialog resource with treeview on it:
    resource AI2DialogWidget (kSDKDefDialogResourceID + index_enUS)
        __FILE__,
        __LINE__,
        kAI2DialogWidgetID, // WidgetID
        kPMRsrcID_None, // RsrcID
        kBindAll, // Binding
        Frame(0,0,406,412) // Frame (l,t,r,b)
        kTrue,
        kTrue, // Visible, Enabled
        kFalse, // erase background
        kInterfacePaletteFill, // fill color
        kAI2DialogTitleKey, // Dialog name
            ErasablePrimaryResourcePanelWidget
                __FILE__,
                __LINE__,
                0,
                kPMRsrcID_None,
                kBindAll,
                Frame(0,0,290,400) // Frame
                kTrue,
                kTrue,
                kFalse, // Erase background
                kInterfacePaletteFill, // Erase to color
                    /* Tree view for tests! */
                    AI2SectionsTreeViewWidget
                        kAI2SectionsTreeViewWidgetID,
                        kPMRsrcID_None, // WidgetId, RsrcId
                        kBindAll,
                        Frame(0,0,289,399) // Frame
                        kTrue,
                        kTrue, // Visible, Enabled
                        kTrue, // EraseBeforeDraw
                        kInterfacePaletteFill, // InterfaceColor
                        kFalse, // Display root node
                        kTrue, // Use H Scroll bar
                        kTrue, // Use V scroll bar
                        20, // fVScrollButtonIncrement
                        20, // fVThumbScrollIncrement
                        20, // fHScrollButtonIncrement
                        20, // fHThumbScrollIncrement
                        2, // Items selectable, 0 = No Selection, 1 = Single Selection, 2 = Multiple Selection
                        kFalse, // Allow children from multiple parents to be selected
                        kFalse, // Allow discontiguous selection
            //<FREDDYWIDGETDEFLISTUS>
            DefaultButtonWidget
                kOKButtonWidgetID, // WidgetID
                kSysButtonPMRsrcId, // RsrcID
                kBindRight, // Binding
                Frame(309,14,389,34) // Frame (l,t,r,b)
                kTrue,
                kTrue, // Visible, Enabled
                kSDKDefOKButtonApplicationKey,  // Button text
            CancelButtonWidget
                kCancelButton_WidgetID, // WidgetID
                kSysButtonPMRsrcId, // RsrcID
                kBindRight, // Binding
                Frame(309,44,389,64) // Frame (l,t,r,b)
                kTrue,
                kTrue, // Visible, Enabled
                kSDKDefCancelButtonApplicationKey, // Button name
                kTrue,  // Change to Reset on option-click.
            //</FREDDYWIDGETDEFLISTUS>
            DialogOnlySizeBoxWidget
                kDialogWindowSizeBoxWidgetID,
                kSysWindowSizeBoxPMRsrcId,
                kBindRight | kBindBottom,
                Frame(389,394,407,412)
                kTrue,
                kTrue,
                kADBEIconSuiteButtonType,

  • Cuatom Forms: Loosing the Vertical scrollbar when resizing the Window

    Hi All
    I have developed a Custom Form. In that there is a Content Canvas and on the top of that I have put a Stacked Canvas so that i can get both the Horizontal and Vertical scrollbars. the form has more than 40 fields to display.
    Folder tool functionality has also been added to the Form.
    The form works absolutely fine and scrollbars too.
    But when I am resizing the window (making the window size bigger or smaller by dragging the window on the Oracle Apps screen), at that time I am loosing the vertical Scrollbar. Other than Vertical scrollbar everything works fine.
    Is there any way (any code) by which the Vertical Scrollbar will not disappear.
    I would really appreciate if any one could guide me on this.
    Thanks
    Madhu

    Madhu,
    Please post your message in the Oracle E-Biz forum. This forum is for Non-EBS Forms development and everyone here may not have EBS Forms development experience.
    That having been said, I encountered this about a year ago. If I remember correctly, we were able to resolve the issue by applying a Forms server patch to the Apps Tech stack. Please check Metalink to verify.
    Craig...

  • Resizing a Window and proportionately varying the size of all it components

    Hi,
    I am writing a java application in which I am creating different componets like Panels, Canvas, ScrollPane etc. on a Frame. When I resize this Window, I want to proportionately vary the sizes of all its components. Any idea how I can do that ?
    Thanks,
    Arun

    Panels, Canvas, ScrollPane etc. on a FrameThose are all AWT Components. This is a Swing forum.
    Also its about time you learned to respond to the suggestions you've been given in the past so people know if the advice given is helping or not. Otherwise we will just stop answering questions since it appear you are ignoring all the suggestions.

Maybe you are looking for

  • Have more miles ran in Itunes, than what are synced to my nike running account?

    Hello everyone, I use an ipod nano generation 5 to run with. Ever since I installed itunes 10 to my pc I have experienced difficulties in transferring my runs from itunes to the Nike+ website. Under itunes it says that I have ran more miles than what

  • Trouble with socket gateway and an as3 xmlsocket connection

    I succesfully set up the socket gateway and am able to conect to the CF socket gateway and send data from flash to the gateway. The error I keep getting is when I add return value to the "onIncomingMessage"... cf error always logs "Cannot send outgoi

  • SQL in Script Question

    I am using the SQL below in the AftExportToDat event script, and I am receiving a data access error message(2147467259). The error log states ORA-00936 - Missing Expression. strSQL = "SELECT PartLastExpFile FROM tPOVPartition WHERE PartName=" & strLo

  • ESW: Implementing the ESW Systems in own SLD

    Hello, we've finally managed to get our PI 7.1 running and would like to get to know eSOA by modelling some enterprise services in our ESB. Therefore in order that we can include and choose from a lot of services, is it possible to access all the ser

  • Cross side scripting in Flex

    Hello, We are using flex 3.0 in our project with java1.5 and during our security testing (by a tool) we found that the Cross side scripting can be acheived in flex. We are able to inject java scripts inside parameter AMF.Message.0.null.flex.messaging