Professional :: Retain Background Picture In Full Dimension While Restore Down Window?
Apr 6, 2011
i want to minimize window to not-fullscreen (i ment restore down (icon in the top right corner betwen - and x) browser window and ajusting size of window manually over arrows in the corners of the window) and retain background picture full size (i need to picture proportionally follows screen minimizing). The site is [URL]
i want to minimize window to not-fullscreen (i meant restore down (icon in the top right corner betwen - and x)) browser window and ajusting size of window manually over arrows in the corners of the window) and retain background picture full size (i need to picture proportionally follows screen minimizing).
I am trying to build an AS3.0 flash site with a full browser background imagethat scales proportionally like in [URL] I found some stuff online but nothing on how to do it with AS3.0
I have a window, the window I programmatically change the size of the window depending on the current view it is displaying. The user cannot resize the window them self, but they can maximize the window.
The problem is if the view is changed while it is maximized, the maximized window size changes, I do not want this, I want it to only change the size of the non-maximized window.
My first thought is to just check if the window is maximized, and if so do not resize it...but the issue there is then when it is restored at a different view then when it was maximized it will not restore to the new size it should be.
I am building a flash website with a full-window resizing background, but as part of this project I need to be able to calculate certain elements in the image based on the original resolution of the image.For example, if I have an image that is 1600x1200px and there is an element at x=500 y=1000 then I need to track that element when the image is resized to. Say the image is resized to 1200x900px (scale always remains the same, btw) then the element would be at x=375 y=750, by my calculations.This seems easy enough to figure out on paper, but I haven't been able to figure out a formula for this. I am quite certain that this has to do with the fact that the ANCHOR POINT FOR THE IMAGE IS IN THE MIDDLE OF THE IMAGE and not in the top left corner.The code is quite simple:
Okay, since my stage doesn't take up the whole window when viewing it on the Internet, is there a way to tile a picture in the background? So no matter how big someone's screen is, in the background they will see a tiled picture.
I want to load it always to fill the whole screen but to retain the aspect ratio. So far I am able to stretch it to 100% of the screen but the aspect ratio is not preserved. The instance name of the mc in which I load the background image is "back".
Here is an example of what I need: [URL] Try to resize browser window to see how the background image preserves its ratio.
PHP Code:
function loadFunc(What, Where) { var LoadingObject = new MovieClipLoader(); var NewObject = new Object();
I'm having a little problem with my resize event... I created a component myself, and this component, at each resize event, runs a complex method. Here is the problem: When I maximize or restore my window, this event is called several times in a real short period of time, not letting enough time to my method to run completely before another one starts... I'd like to know if there is anyway of only run this method in the end of each resize movement.
Basically, I've built an application which is working fine. I have a 'settings' button that overlays a settings window, semi transparent, over the main application, that has some buttons on it.The problem I'm having is that the buttons on the main window are still selectable, which I don't want. How can I get it to stop tracking the buttons underneath my overlay window?
I have a white stage and my background is non-solid/non-uniform. My flash project will be my whole website, therefore when a browser window is larger than my stage, the stage color (white) shows in the background. Its basically a white border on the left and right. I wish I could continue my background image to cover the whole browser window. What I want to do is: if needed (if the browser window is larger than my stage) continue my background on both sides by taking a copy of my background image, flipping it horizontally, and placing it on both sides of my background. If you can imagine it, this will give a more uniform continuation of the background. I'm guessing actionscript would be the best bet?
I'm working on a small flash site and I want the swf file to have "bleed" or to go to the very end of the window so that the swf isn't just ploped over top of a background. [URL]
The issue I'm having is that I have a main "wrapper" 100x100 (but it could be any size) - it's just there to hold and display whatever content, swf, gif, etc we may want to throw into it. As long as the loaded content doesn't have 3D animation like rotationY going on, it displays fine. But when it does, the 3D "anchor" properties (like projectionCenter) of the loaded swf inherit those of the main timeline (i.e. 100x100 (main) vs 728x90 (loaded)). If I change the dimension of the main "wrapper" in Flash IDE to match what's coming in - the 3D behaves fine, but I won't know what the dimensions of the content will be until it comes, so I need a way (if there is one) to dynamically alter the main "wrapper" or root display object through AS. Stuff like "this.width = loader.width" or "stage.width = loader.width" or "root.width = loader.width" etc doesn't work. Flex has the hBox and vBox
Anyway, what I want to accomplish is as follows:I have a background layer that is an imageI have a middle layer that is all whiteI have a top layer that has a rectangle on itI want that rectangle to see through the white layer to the background. In other words, I want full transparency for the rectangle, but not to the layer immediately below it, but to the background layer
1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?
2) How do they do the menu bar here at this site:[URL]
I am making a web page with about 13 buttons. some are dropdown menu Items.I would like to have a background linked to each of the buttons, such that when I click on a new button the background fades into the new background.
example: I am at my home pag, and the background picture is a tree. you click on my about button, and the background fades into a picture of a book. you click on my contact button and the picture fades to a house. then you click back on the home button and the tree fades back in. If you are at home and you click on the home button the picture should fade into the same picture etc.how to do this without creating each one of the fade transitions manually.
I want to load a big background-picture into my Flash, and then I want it to be resized so it fits the screen-resolution that the user has on his/her browser.[url]...
it loads perfectly, and - from what I can see - keeps it's dimensions.but it does not resize to the size of the browser as it should....if you go to the link, and then manually resize the browser-window, you'll get the resizing of the background-picture going on, though.[code]...
I'm testing this idea of mine, but so far I've not been awarded succes.so, here's what's my idea about:I want to load a big background-picture into my Flash, and then I want it to be resized so it fits the screen-resolution that the user has on his/her browserit loads perfectly, and - from what I can see - keeps it's dimensions.but it does not resize to the size of the browser as it should....if you go to the link, and then manually resize the browser-window, you'll get the resizing of the background-picture going on, though.here's how it's all build:I have a test100.fla with a test100.as Document Class
I am trying to create an HTML page that is showing a video (SWF file calling an SFV file). The video is the exact size of the SWF file. When I embed the SWF in the HTML page, I have set up width at 100% and height at 100% Though the result is not the one I want, as I would like the movie to match the biggest window dimension, not the smallest. A good example can be found here : [URL]
I pretty much got it working. The only problem I'm having is that it's only full screen based off of the width. I want the picture to maintain it's scale, so I need it to fill the height if necessary and cut the sides off of the picture. You can see what I mean by clicking [URl]. Resize the browser so it's a lot taller than it is wide and you'll see what I mean. I want it to fit both height and width no matter which is taller. I've played around with it all morning and nothing.
Code: // pic_mc is the movieclip that I used to load my full-screen background image. function bgResize() { pic_mc._width = Stage.width; pic_mc._yscale = pic_mc._xscale; if (pic_mc.height >= _yscale) { pic_mc._x = (Stage.width)/2; pic_mc._y = (Stage.height)/2; [Code] ......
I have visited the [URL]. I like the most of the things in this site but the only thing which really amazed me is the navigation bar. On mouse over the menu the background picture transition take place. I guess there are three pictures, and they are doing it with the Action script.
I want to create a website with a background that will auto-resize according to the stage size using AS3.But what i need to know before I do it is: What is the right resolution for the background picture?I want people with resolution starting from 1024x768 to view the website correctly and I also want people with 24'' monitors to view the background with good quality so I guess the image needs a high resolution. I started with 1936x1288 but when I resize the stage to fullscreen the bottom of the image gets cut off.
I'am searching for a gallery with thumbnails which will load from xml file, and each thumb will open pop-up window with big picture. Does anoyone have fla for something like that or tutorial ? I had searched ultrashock and this forum, but every gallery is much more complicated than that what i'am searching for.
I would like to use an Illistrator file as a repetitivepattern for the background of my flash web site.I couldn't find any pointer in the documentation.