Stretch a graphic/layer only horiztonally

Hi all,
So here's my problem. I'm designing a site where a small
beige box serves as the background for the content of each page on
the site. However, my problem is that, while I'd like the rest of
the content and images and shapes on the page not to scale due to
larger/smaller windows, I would like the single box to stretch
horizonally across the page, so it fills it from side to side. I do
not want it to scale vertically, however.
You can view my project here:
goldinroute.com/macgregor/master.html
Click on "About." Yes, I know the design is hideous. I'm
trying to get this figured out before I work any further on it
(though I'm open to design suggestions as well!). Does anyone know
how I can do this?

Amy,
Thanks SO much for your help! Your code has definitely put me
on the right track, but I could your (or anyone else's help)
figuring out everything. Here is the code I now have:
Stage.align = "TL";
Stage.scaleMode = "noScale";
stop ();
boxmovie._width = Stage.width + 100;
boxmovie._x = 0;
sizeListener = new Object();
sizeListener.onResize = function() {
boxmovie._width = Stage.width;
Stage.addListener(sizeListener);
Problem is, as you can see at
(goldinroute.com/macgregor/about.html) that the box has some
strange margins around it. Initially there is a margin on the left.
Then, when you resize the window, a margin appears on the left.
This occurs in Flash preview as well as when I load the html file
into a browser, so I know it's just the browser inserting margins.
Obviously, I'd like no margins to appear at all. Any ideas?
Second, while I got essentially what I wanted to happen in
the about..swf file, the problem is that this resizing and the
stage.width attributes don't show up when this swf is loaded into
my master swf. You can view that at
goldinroute.com/macgregor/master.html. This is the key. Any ideas?
I imagine it's because it's referring to the stage in about.swf,
which doesn't take into account how bout master.swf is. The code I
use to load in about.swf is:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myMCL.loadClip("splash.swf", 20);
Thanks!

Similar Messages

  • [AS] Making "keep overrides" the default graphic layer option for all placed graphics?

    If I relink thisLink when it is missing, and update link option was set to keep overrides, everything is fine. But if it was set to application settings, I am in a world of hurt, because suddenly all my Unit numbers will show 1-32 piled on top of each other (all layers visible in Photoshop) or the wrong one (just one layer visible in Photoshop) or nothing at all!
    The catch-22 is that until I relink missing links, update link option only shows "unknown" as the result. Arrrgh?
    set myLinks to every link whose status = missing
    repeat with thisLink in myLinks
        get update link option of graphic layer options of parent of thisLink
            -->Returns "unknown" instead of "application settings" or "keep overrides"
        try
            set update link option of graphic layer options of parent of thisLink to "keep overrides"
            relink thisLink to newLinkPath
            update thisLink
        on error
            -->This always errors on the set update link option line
        end try
    end repeat
    Anyone know a way around this or should I just change my name to Yossarian?
    Thanks in advance,
    Eric.

    Well, I give you points for creativity! Unfortunately, relink is destructive and overwrites any info with the default (which in CS2 is application settings).
    What really kills me is that InDesign has some Sooper Seekrit internal list that only the Links palette knows about. So if you *manually* try and relink the document and then revert it, it automatically relinks against all the paths you've tried since launching it and therefore, the second time all the links show as linked and the process is non-destructive, unlike the "relink" command.
    Argh.
    I will think on it some more though. Thanks for your input!
    PS: Adobe apparently broke the ability to relink against a string in CS4 from what I can tell. In spite of the fact that the dictionary specifically lists alias or string or string (yes, says or string twice in the dictionary), only alias really seem to work.
    So...
    set newLinkFolder to "" & path to home folder & "Pictures:"
    set newLinkPath to newLinkFolder & name of thisLink
    try
    relink thisLink to newLinkPath
    on error
    display dialog "FAIL!"
    end try
    try
    relink thisLink to newLinkPath as alias
    on error
    display dialog "No fail. You'll never see this message!"
    end try

  • Graphics layer over video Layer problem

    Hello!
    we are blu-ray applications developers and we have a problem with repainting graphics layer over video layer. In MHP this problem is solved using the method call repaint() to the HScene. This Method remove all graphics and paint again. But in Blu-ray is not work correctly. When you have a graphics over video, this graphics don´t disappear when you paint other graphics, because don´t refresh the HScene and all the containers get painted over the others.
    what is the solution of this problem?
    Thanks a lot for your help!
    Regards

    Thanks for your reply.
    As far as I know, targas can only be RGB. I couldn't find a way in Photoshop to work in YCbCr. I have Photoshop CS, so its pretty old, but even on my work computer, which has CS3, I didn't see anything. Next week I'll be installing CS4, so there might be something in that.
    I won't be able to test anything until late tonight, but I'll try several formats to see if they make a difference. I'm wondering if there might also be some kind of option in FCE to convert imported graphics to the correct color space.
    When keying graphics over video in your projects, how do you save them(formate,color space, etc)? Ever see this issue?
    Thanks for your help
    Colin

  • Video and Graphics  Layer

    i want to display an video in the background and some images and text in the graphics-layer?
    plze help to seel the Video and Graphics Layer to be transparent in order to see the Video?
    thanks&regards
    vipin

    Do not use timelines as menu transitions. Timelines are placed in a different physical location on the disc, often times AFTER your main video. So when you are on the menu, the laser is reading in one spot of the disc, then for the transition, it might have to seek all the way to the other side of the disc, causing delays and possible blackness while is searches.
    For my Pro Motion Menu Kits which incorporate advanced motion menus created in after effects, I use a different process.
    For the intro sequence, you obviously can't use a menu transition as there is nothing to transition from. The better method is to use a MENU as the intro sequence. Create a blank menu and set the intro animation as the motion background. Set it's end action to the main menu, and make sure you configure it to not loop. This will physically place the intro video with the other menus on the disc when it is built, and minimize any delays caused by seeking.
    As for the transition, you can use the menu transition feature of encore. With the button selected, go to the transition tab under properties and set it to your transition animation asset. You can only select a single asset, so a good way to include audio with the transition is to create an after effects composition with the audio and video, then import it into encore as a dynamic linked asset, and use it for the transition.
    If you want a complete walkthrough tutorial on how to set all this up in encore, I have created one for my Pro Motion Menu Kit products. It is freely available to anyone from the tutorial section of my site, and even if you aren't using my products, it can still be extremely helpful in how to implement custom motion menus using intros, moving backgrounds, and transitions that all seamlessly flow together.
    Message was edited by: Jon Geddes

  • When I am merging a Pages document, the header and graphic is only printing on every other page?

    I have make a Merge file from Pages.  When I go to print this, the Header and Graphic is only printing on every other page.  Can anyone advise?

    That is very hard to follow.
    We have no idea what you are merging, nor what header or graphic you are referring to as we can not see the document.
    My guess is that you are talking about something like a letterhead which has a logo and address only on the first page and none on the following pages.
    Each merge is probably running over the 1st page and onto a following blank page. If you want the "Header and Graphic" to appear on subsequent pages as well then you will need to create master pages/objects for the following pages to suit.
    This is how you go about doing it for a standard letterhead and follower:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&highlight=letter head&mforum=iworktipsntrick
    Just add the graphics to the follower pages as well.
    Peter

  • "Play Base Layer Only" Is Only RT Choice Not Greyed Out?

    Just opened FCE 4 on my G4 eMac and when trying to select "Unlimited RT" find that every option other than "Play Base Layer Only" is unavailable.
    I've searched the menus and made new sequences to no avail.
    I know I'm going to kick myself, but what am I doing wrong?

    Thanks for confirming it's unavailable.
    As for the old eMac, it is very good and pretty fast even though RT with AIC is unavailable.
    I suppose I never noticed the absence because I only used HDV briefly on it in FCE 4 and FCP 5.1.4. Seems to work fine apart from that.

  • Selecting a Graphic Layer with Apple Script

    I'm trying to build on a very helpful post by sstanleyau showing how to choose different layers in a placed PSD or PDF. Unfortunately, I'm stuck in my test script. It seems so simple …
    Here's what the script should do after an image is placed in a text frame:
    1. "Read" the names of each of the graphic layers in the placed graphic.
    2. If one of the names contains a string, then
    3. Turn current visibility of that layer on
    4. Turn the visibility of every other layer off.
    However, my script seems to come up with a different result each time I run it and often fails to "find" a layer that I know is there. Is it possible that my script can't access the name of a graphic layer if its visibility is set to off?
    Here's why I've got
    --before running, user selects a test frame containing a placed PDF with multiple layers named blue, red and green.
    tell application "Adobe InDesign CS4"
    set theFrame to item 1 of selection
    set glOptions to graphic layer options of graphic 1 of theFrame
    set theName to text of "blue"
    repeat with z from 1 to count of graphic layers in glOptions
    if name of graphic layer z of glOptions contains theName then
    repeat with d from 1 to count of graphic layers in glOptions
    if current visibility of graphic layer d of glOptions ≠ false then
    set current visibility of graphic layer d of glOptions to false
    end if
    end repeat
    if current visibility of graphic layer d of glOptions = false then
    set current visibility of graphic layer z of glOptions to true
    end if
    end if
    end repeat
    end tell

    Im NOT sure if you have just made this a little over complicated… This works just fine for me. Tested with about a dozen psd layers…
    tell application "Adobe InDesign CS2"
    tell active document
    tell rectangle 1
    tell graphic 1
    tell graphic layer options
    set GLC to count of graphic layers
    repeat with i from 1 to GLC
    if name of graphic layer i ≠ "Blue" then
    set current visibility of graphic layer i to false
    else
    set current visibility of graphic layer i to true
    end if
    end repeat
    end tell
    end tell
    end tell
    end tell
    end tell
    This variant also works as I would have expected too… Retaining visibility from a list…
    tell application "Adobe InDesign CS2"
    tell active document
    tell rectangle 1
    tell graphic 1
    tell graphic layer options
    set On_List to {"Red", "Aqua", "Orange"}
    set GLC to count of graphic layers
    repeat with i from 1 to GLC
    if name of graphic layer i is not in On_List then
    set current visibility of graphic layer i to false
    else
    set current visibility of graphic layer i to true
    end if
    end repeat
    end tell
    end tell
    end tell
    end tell
    end tell

  • Can you make an adjustment layer only affect specific layers?

    I'd like to use adjustment layers to affect some layers in my project, but not have them change every layer underneath.  Is there a way to make an ajudstment layer only affect a specific layer (or layers)?
    Thanks.

    To make an Adjustment Layer only affect the layer directly beneath it,  hold down
    Alt, and move the cursor between the Adjustment Layer  and the underlying layer. When the cursor changes into two overlapping  circles, click. 
    This will use the underlying layer's transparency as a mask for the  effect. In other words, it will only apply the adjustment to the  underlying layer.

  • Making an adjustment layer only affect one layer

    How is this done?  Whenever I select an adjustment layer when I'm on an existing layer, I think it's going to link itself to that layer but it doesn't.  How can I make an adjustment layer only affect the one beneath it, or even link it to it?

    - Hold option and click between the two layers (your cursor will change shape)
    - Have the adjustment layer active and create a clipping mask (command-option-g)
    - Put both layers in a group and change the group blending mode to normal
    The first two are the same way to get a clipping mask. More about them here:
    http://help.adobe.com/en_US/Photoshop/11.0/WSfd1234e1c4b69f30ea53e41001031ab64-7853a.html

  • Unlimited RT vs. Play Base Layer Only

    I'm cutting on a 2x2.4GHz Quad-Core Intel Xeon MacPro with 32GB of RAM, using Final Cut Pro 6. Sometimes I have the option of Safe RT or Unlimited RT and sometimes when I click on the "RT" panel, I'm only given "Play Base Layer Only" and below that, under "Record To Tape" is "Use Playback Settings" and "Full Quality".
    How does setting up my project affect whether Unlimited RT is available? How can I ensure that Unlimited RT will be available? This current project is SD, but I'm still forced to render anytime I make a change.
    Thanks

    If you use a natively supported sequence codec (DV, DVCPROHD, XDCAM HD, ProRes etc) then you'll have use of FCP's RT platback engine (you get Unlimited RT) ... but if you use an unsupported one (Animation, Photo JPEG, None etc) then you don't.

  • Possible BUG: duplicating a shape layer only duplicates previously selected points - PS CS6

    Unless PS has been updated to make this a feature, i may have found a bug. Now (in CS6 vs. previous versions) when you duplicate a shape layer, if you had previously selected specific points of the shape (for example with the direct selection tool) only those points will be duplicated in the new layer. This is true no matter what tool you are currently using.
    What I did was make a rounded-corner rectangle shape -> then direct selected all points on one side to stretch the rectangle without distorting the rounded corners -> then switched to the move tool so no points were selected anymore and only the layer was selected-> duplicate layer (with the intention of duplicating the whole shape). what i got was just the rounded corners on a new layer.
    It seems the only way to duplicate the shape layer in its entirety is to go back with the direct select tool -> select ALL points of the whole shape -> change to move tool -> dupe layer.
    If that's the intended new functionality, it's a bummer because if you intend to only duplicate certain points, you can already do that while using the direct select tool. Using the move tool, it shows no direct selections and therefore you should be able to duplicate the whole layer.
    Maybe I have some weird default option checked that I'm not familiar with? This is not how any previous versions of PS worked and will add friction to my workflow if this is new.

    Yes, this is an issue with CS6 and the first release of CC.  You have to make sure you deselect all nodes in a path, or you will get the result you describe.  I believe Adobe has made some corrections and improvement in the use of shape layers that will hopefully be released soon.  However, if you're sticking with CS6, you've got to make sure to deselect on Win the esp key works great.

  • Photoshop elements 10 animated gifs show one layer only

    I don't like this new version of photoshop elements (photoshop elements 10). When I try to edit an animated gif file, it says I can only view one layer and the rest will be lost. Why is this?

    Known issue. This is actually because Photoshop CSx used a GIF plug-in that didn't support opening GIF files as layers. That same plug-in was sent over to PSE in version 9. You can get the plug-in from earlier versions to fix this:
    Can't open animated GIF files as layers | Photoshop Elements 9 | Windows
    http://helpx.adobe.com/photoshop-elements/kb/cant-open-animated-gif-files.html

  • OS X starting in graphic mode only - no single user, no recovery

    My intel-mac (2008, Yosemite 10.10.2) is suddenly only starting in graphic mode. No keyboard-commands during start-up are working - neither "r" for recovery-mode nor "alt" for chosing the startup-disk nor "s" for single-user-mode.
    What may be wrong here? How can I fix it?
    Thanks a lot!
    Rainer

    In addition, I found out that in 3 of 4 boot-processes the booting comes to a halt with a white screen. Nothing happens, I can wait for a long time.
    Now, I re-installed OS X Yosemite and the trouble seems to be gone.
    What could have happened to cause this?
    I'm not very frequently installing new software or removing software...

  • How do I save only an outline so I can layer ONLY black and white outlines?

    I am drawing cartoon outlines and then layer them in Photoshop Elements and color then in.  I want to save the file of each individual outline as ONLY the outline, not the outline and background.  Using the magnetic lasso to cut out the outline is very hard because it is complex.  I would rather just be able to save the outline with no background and I can then layer them.  Can anyone tell me if this is possible and what type of file do I use? TIFF? 

    Try making your drawing on a transparent layer. From Expert Mode choose:
    File >> New >> Blank File
    Set your document size (width & height) and choose a resolution of 72. Set background to white and click OK.
    Go to the menu and choose:
    Layer >> New >> Layer >> OK
    Now draw your cartoon on layer 1.
    When finished, highlight the background layer below layer 1 and click the trash can icon at the top of the layers pallet. Click OK to delete the layer.
    To save your drawing go to:
    File >> Save For Web
    From the dropdown list (near top right) choose PNG 24 which will preserve the transparency. Then click Save. Choose a file name & folder and click Save.
    You can now upload your drawing to any web page or send by email etc and the background page color will show through the transparency. Or it is ready to be colored in

  • How to make MacBook Pro use intel Graphic card only?

    When unpluged, my 15' pro always use AMD praphic makes my battery only work for 2-3 hours. Is there a way to stop computer using AMD graphic card when i'm not playing game???

    Try using this software (It is 3rd party but it is safe)  called gfxCardStatus. It just places itself on the top bar or side bar (not the dock) it will probably be a d in italics (this is italics for those who don't know) or an i. Just click on it and click on the Integrated Only option in the bar which will switch the card to the original integrated graphics card. Also, check for dependencies bellow the "Dynamic Switching" option (if there isn't just skip this) dependencies can cause changes to your graphics card usage and may be the problem; for me it was but who knows it might be some internal error. If you don't trust me I totally understand just putting it up there for those who want it. You can follow the above option by "ds store" which might also work.
    Link:  http://codykrieger.com/gfxCardStatus

Maybe you are looking for

  • Ipad not playing videos on the internet

    when i try to play an mp3 file or mp4 video from safari browser it said download or play in media player when i click media player it plays only the sound but i don't see the video or controls how do i fix this?

  • Trying to solve the hashtable problem;

    this is a test of a part of my programming, trying to solve the hashtable i took out the erronous part and change some of it.i'm trying to print out a table of data with 4 column import java.util.*; public class test {      // creating a global hasht

  • How to factory reset HP 2170p?

    I have to use discs that offers me to create a program "HP Recovery Disk Creator", or there is another easier way? I just need to return the laptop to factory condition, removed absolutely all data, programs and settings.

  • What is the Optional(other than Case or Decode)

    Hi friends, i need to refer an image to the corresponding blob content in my report for each and every row. i tried with case or decode but it is helpless as the case and decode does not support BLOB format, instead what is the other optional i can u

  • Wrong remaining space in iTunes when i tick anything before sync

    Hello, my iPhone4 16 gb with 4.3.3, when connected with iTunes shows 2.9 gb which is the correct free space. When i try to click on Movies or ibooks or Photos or anything, it instantly changes to 5.5 gb or 5.9, making it impossible to calculate what