Great effect, need help

Hi, I'm trying to achieve an effect, I'm hoping someone can
help me with.
I want an image to fill the entire screen of a browser window
& automatically resize to fill the window area no matter the
size of the browser; here is the exact effect I'm looking for:
http://www.thewreckers.com/
You'll notice that if you resize the browser window on the x
axis, the image gets smaller, but if you resize on the y axis, the
image
stays the current size and only moves up and down, keeping
the blonde singer's eyes centered on the page.
I'm not a scripter, so exact syntax or even better, a sample
FLA would be amazing! The only complaint I have about the sample is
on Safari, the browser scroll bars show up.
I'm using Flash 8 (AS 2), not CS3
Thanks!
C

one thing this site doesn't do, but the hm site does, is
limit how far you could shrink the flash file down before it forced
the browser to use scroll bars. try stretching the wrecker's site
window to be about 100x100, the background and everything
shrinks/squishes ungracefully.
a way around this is to include some javascript to enforce a
minimum window size rule so that you can preserve the integrity of
the site's minimum boundaries. so say, you know the site looks
weird when seen below 400x300, force the browser to put scroll bars
up accordingly under minWidth and minHeight.
like so:
function onWindowResize( agentaction ) {
var minWidth = 980, minHeight = 600;
var myWidth = 0, myHeight = 0;
if( self.innerHeight ) {
myWidth = self.innerWidth;
myHeight = self.innerHeight;
} else if( document.documentElement &&
document.documentElement.clientWidth ) {
myWidth = document.documentElement.offsetWidth;
myHeight = document.documentElement.offsetHeight;
} else if( document.body &&
document.body.clientWidth ) {
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
if( myWidth < minWidth ){
myWidth = minWidth;
if( myHeight < minHeight ){
myHeight = minHeight;
// update content div size
var contentDiv = document.getElementById("flashcontainer");
contentDiv.style.width = myWidth + "px";
contentDiv.style.height = myHeight + "px";
"flashcontainer" is the name of the layer itself
i shamelessly poached this from hm.com... there i said
it

Similar Messages

  • Filmstrip photo gallery scrolling effect, need help...

    Heya,
    If you visit
    http://www.hookmedia.biz/cabinet_source/v4_f
    and goto the photo gallery you'll notice that the photo gallery
    works well except that the filmstrips doesn't scroll left or right.
    Now, I built this one based off of a Kirupa tutorial, and when the
    photo gallery is in a sepereate .swf it works great. But as soon as
    I copy the frames to my site that particular effect, and only that,
    stops working. Can anyone help me? Thanks!
    You can access the fla at
    http://www.hookmedia.biz/cabinet_source/v4_f/index.fla

    Thanks aniebel, but I think that'll be a last resort for me
    considering I'm nearly done with this one, I just need help fixing
    whatever the issue is. But thanks a ton anyway!
    PS The link to the tutorial is:
    http://www.kirupa.com/developer/mx2004/thumbnails7.htm

  • Filmstrip Magnify Effect, need help...

    Heya,
    So if you visit
    http://www.hookmedia.biz/cabinet_source/v4_f
    then you'll see that on the gallery page there is an area for a
    filmstrip. This filmstrip works great except that I need the images
    to magnify a little when you mouseover them. Can anyone help?
    Thanks!

    Hey thanks for the reply, but unfortunately I couldn't get
    that to work. I should have mentioned that in the first frame is
    the following AS:
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    image = [];
    description = [];
    thumbnails = [];
    total = xmlNode.childNodes.length;
    for (i=0; i<total; i++) {
    image
    = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
    description
    = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
    thumbnails
    = xmlNode.childNodes.childNodes[2].firstChild.nodeValue;
    thumbnails_fn(i);
    firstImage();
    } else {
    content = "file not loaded!";
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("images.xml");
    listen = new Object();
    listen.onKeyDown = function() {
    if (Key.getCode() == Key.LEFT) {
    prevImage();
    } else if (Key.getCode() == Key.RIGHT) {
    nextImage();
    Key.addListener(listen);
    previous_btn.onRelease = function() {
    prevImage();
    next_btn.onRelease = function() {
    nextImage();
    p = 0;
    this.onEnterFrame = function() {
    filesize = picture.getBytesTotal();
    loaded = picture.getBytesLoaded();
    preloader._visible = true;
    if (loaded != filesize) {
    preloader.preload_bar._xscale = 100*loaded/filesize;
    } else {
    preloader._visible = false;
    if (picture._alpha<100) {
    picture._alpha += 10;
    function nextImage() {
    if (p<(total-1)) {
    p++;
    if (loaded == filesize) {
    picture._alpha = 0;
    picture.loadMovie(image[p], 1);
    desc_txt.text = description[p];
    picture_num();
    function prevImage() {
    if (p>0) {
    p--;
    picture._alpha = 0;
    picture.loadMovie(image[p], 1);
    desc_txt.text = description[p];
    picture_num();
    function firstImage() {
    if (loaded == filesize) {
    picture._alpha = 0;
    picture.loadMovie(image[0], 1);
    desc_txt.text = description[0];
    picture_num();
    function picture_num() {
    current_pos = p+1;
    pos_txt.text = current_pos+" / "+total;
    function thumbNailScroller() {
    // thumbnail code!
    this.createEmptyMovieClip("tscroller", 1000);
    scroll_speed = 10;
    tscroller.onEnterFrame = function() {
    if ((_root._ymouse>=thumbnail_mc._y) &&
    (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
    if ((_root._xmouse>=(hit_right._x-40)) &&
    (thumbnail_mc.hitTest(hit_right))) {
    thumbnail_mc._x -= scroll_speed;
    } else if ((_root._xmouse<=(hit_left._x+40)) &&
    (thumbnail_mc.hitTest(hit_left))) {
    thumbnail_mc._x += scroll_speed;
    } else {
    delete tscroller.onEnterFrame;
    function thumbnails_fn(k) {
    thumbnail_mc.createEmptyMovieClip("t"+k,
    thumbnail_mc.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
    target_mc._x = hit_left._x+(target_mc._width+5)*k;
    target_mc.pictureValue = k;
    target_mc.onRelease = function() {
    p = this.pictureValue-1;
    nextImage();
    target_mc.onRollOver = function() {
    this._alpha = 50;
    thumbNailScroller();
    target_mc.onRollOut = function() {
    this._alpha = 100;
    image_mcl = new MovieClipLoader();
    image_mcl.addListener(tlistener);
    image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);

  • Code does not make any effect:need help

    hello friends,
    now i am going to describe the problem i am phasing
    actually i have embedded japplets in a jsp page(appletjsp) and want to communicate japplets indeed jsp to a servlet in the diffrent derectory but in same context root.
    moreover, i have written code at applet and servlet side both. actually there is a next button in one of japplets(embedded in appletjsp) and i have written the code(for servlet communication) inside button's mouse clicked event. and at servlet side, as usual i have got an inputstream from request and want to forward this request(after getting request dispatcher) to another jsp page(proposing to display this jsp page after clicking next button inside appletjsp ).
    now the problem that made me a bit confused is that when i click next button after running jsp page(containing japplets) then neither there is any error/exception at server/IE's sun java console nor any effect of code at servlet side.
    actually i am not sure that the servlet side code does not make any effect rather it is ony my assumption.
    although i am very new in java and as what i know, to send back response to client side, servlet class needs to be run at server side and probabbly for that there must be a sepreat request from client's applet to server(please dont flame me if i am wrong).
    so please tell  me how can i get running another jsp page running(to which i trying to get request dispatcher inside servlet) after clicking next button?
    applet code
            try{      
            String[] data    ={"santosh","kumar","tripathi"};        
            String strwp ="/UASProject/RegistrationData";              
            URL jspURL = new URL(getCodeBase(),strwp);             
            System.out.println(jspURL);
            URLConnection jspCon = jspURL.openConnection();               
            jspCon.setUseCaches(false);
            jspCon.setDoOutput(true);
            jspCon.setDoInput(false); 
            jspCon.setDefaultUseCaches(false);   
            jspCon.setRequestProperty("Content-Type", "application/x-java-serialized-object");      
           BufferedOutputStream bos=new BufferedOutputStream( jspCon.getOutputStream());
            ObjectOutputStream oboutStream = new ObjectOutputStream(bos);             
            oboutStream.writeObject(data);         
            oboutStream.flush();        
            bos.close();
            oboutStream.close();        
         //  getAppletContext().showDocument(new URL(getCodeBase().getProtocol(),getCodeBase().getHost(),getCodeBase().getPort(),"/UASProject/faces/Editpage.jsp"),"_self");        
         }catch(Exception e) 
           {System.out.println(e);}servlet code
             try { 
                    //    response.setContentType("application/x-java-serialized-object");
                         BufferedInputStream bis=new BufferedInputStream( request.getInputStream());
                        ObjectInputStream inputFromjsp = new ObjectInputStream(bis);                                      
                        reg_data = (String[])inputFromjsp.readObject();                             
                        out.println(reg_data[1]);
                        bis.close();
                        inputFromjsp.close();    
                       HttpSession session =request.getSession(true);
                      session.setAttribute("first_name",reg_data[0]);
                        getServletContext().getRequestDispatcher("http://localhost:8084//UASProject/faces/Editpage.jsp").forward(request,response);
                   } catch (Exception e) {e.printStackTrace();}    although this topic has been made too long, even then please fix my problem.
    thanks

    When you formatted the system you erased everything on the harddrive, obviously, and so its just a matter of putting back the Apps and data that you want from your Backup that you made, BEFORE reformatting the harddrive.  You did make a backup, didn't you??   Your Time machine or other external harddrive backup can be used with Migration Assistant to return the iLife Apps to the iMac.  If he indeed purchased the iLife Apps from the App Store, then you would need to use His Apple ID account to redownload them; not yours.
    Oh, and to answer your other question, no, iLife is not a part of any version of OSX itself.
    Hope this helps
    Message was edited by: Radiation Mac

  • Gelly circle shape effect, need help.

    Hi, would you please help me to create in AE a "gelly" effect applied to a circle shape? I've tried to use a combination of wiggle path properties and time displacement with linear wipe transform but I'm not able to get something similar with this example.
    https://www.youtube.com/watch?v=s0xtwD9D9zw&feature=youtu.be    I just captured this sample from other video but it's for personal use.
    Thank you!

    If you want to use effects, a simple Ripple effect would be more appropriate. Otehr than that you may simply have to keyframe the path shape...
    Mylenium

  • Accordion effect, need help...

    Heya,
    So I want to create an extremely simple accordion effect. I
    tried styling the default accordion component but I couldn't remove
    the Halo styling to it, so unless someone can tell me how to do
    that I'm looking for basic AS to show and hide a particular MC on
    click. Anyone help?
    Thanks!

    Hi Spencer,
    Getting away from halo (something I've been working at for
    the last three days) isn't simple, but it's definitely doable.
    First, I followed the instructions in Flash help on *creating
    a new theme.* As part of those instructions, you'll copy two files:
    default.as and AccordionHeaderSkin.as. Through trial and error, you
    can fiddle with these two files and pretty much completely define
    your own colors, fonts, etc. for all components. I changed my open
    header to a gradient, and the closed headers to a different
    gradient. It has worked much better and more reliably than using
    the getStyle approach.
    Search for "theme" and "styles" in help, and follow the
    instructions--they worked for me.
    But once you get it all hooked up properly and can see your
    changes when you Publish Preview your movie, don't freak out if you
    make changes to the .as files that don't show up right away. I
    found I had to close Flash and open again before most changes
    appeared.
    Good luck!

  • Mirror Effect - Need help

    I have seen a lot of design comps for mobile apps that have a mirror effect.   the phone is 1/2 reflected...  Is this an effect with Photoshop or is it more of a 3rd party template?
    Any help would be apreciated.

    Are you talking about something like this?
    It is called a 'Reflection'.
    You have many plug-ins that can do this for you within Photoshop.
    Also, you can create it manually. There are lot of tutorials. Here's one that does exactly what you see in the image above: http://abduzeedo.com/photoshop-quick-tips-13-creating-reflection
    -ST

  • Nice effect, need help

    Hi, I'm trying to achieve an effect, I'm hoping someone can
    help me with.
    I want an image to fill the entire screen of a browser window
    & automatically resize to fill the window area no matter the
    size of the browser; here is the exact effect I'm looking for:
    http://www.thewreckers.com/
    You'll notice that if you resize the browser window on the x
    axis, the image gets smaller, but if you resize on the y axis, the
    image
    stays the current size and only moves up and down, keeping
    the blonde singer's eyes centered on the page.
    I'm not a scripter, so exact syntax or even better, a sample
    FLA would be amazing! The only complaint I have about the sample is
    on Safari, the browser scroll bars show up.
    I'm using Flash 8 (AS 2), not CS3
    Thanks!
    C

    I'm not sure this will help you. I was poking around under
    the Actionscripting forum and found a post similar to yours. Go to
    the Flash Actionscripting forum and type in "browser window" in the
    search box. The post is called" Flash Re-sizing to Browser window
    Size".

  • Photoshop Droste effect -Need Help-

    Hi Adobe
    I'm a begginner in photoshop
    i want to make a Droste effect just like this pic
    any 1 can help ?
    thanks in advanced

    Welcome to the forum.
    I second Curt's suggestion to trash Prefs. They can become corrupted, and uninstalling/reinstalling will NOT change the Prefs file.
    You say that you have not made any changes, but how do you have your OS set, regarding updating?
    Did not catch your OS, but with Windows, the default is to automatically update, and this is usually transparent, in that the user never even knows that an OS was performed. The problem with this is that a simple OS update, or hot-fix, can render, say a video driver obsolete. If one is using OpenGL, an obsolete video driver can create issues. I would check your make/model of video card/chip, and then the installed driver. Go to the mfgr's Web site, plug in your model of card, and your OS, and check to see if you have the very latest video driver. If not, download that, follow the instructions carefully (usually just install and reboot, but check), and install. I think that Mac OS updates include video driver updates, but am a PC-only guy, so do not know for certain.
    Good luck, and hope that trashing the Prefs gets it back for you,
    Hunt

  • New to After Effects - need help with text manipulation!

    Hi all, I'm new to AE and this forum and I'm looking for some advice. I've been asked by the boss at work to create a short video clip, around 10-15 seconds, where text is displayed on the screen (3 words), after the few seconds, I want a 'forging' noise to happen and the final word in the text to be changed to another word and have a metallic effect applied, similar to the effect in this tutorial:
    Create Hot Metallic Text in After Effects - After Effects - macProVideo.com Hub
    Will this be difficult to do and do you guys think a complete beginner like myself can do it? I've got a lot of experience with the likes of PS, so I'm not too shy with Adobe software.
    Thanks,
    John

    johnster1991 wrote:
    Thanks for the advice, I appreciate it. So will it be difficult to have one word of text come onto the screen and overlay on top of the existing text, as if it's crashing over it? Any ideas on the steps I would use to do this? Thanks
    As you begin your career of using AE, you will change your vocabulary. Overlay will be replaced with spatial references like in front or behind.
    Designing text with surface styles like chrome or metal is not difficult. You can even import them from Photoshop if you have some PS chops or friends who can do it quickly.
    TEXT ONE can be easily replaced with TEXT TWO in any of dozens of different ways but to drop TWO in front of ONE is easy, you're just setting position keyframes. The finesse of animation, though, lies in the illusion of motion, exaggeration, overshooting and recoil. Your TWO could fall and squish and rebound and bounce or it could raise a dust cloud as it hits or it could make the camera wiggle. These are the things that separate simple key framing from animation and motion graphics.

  • When I view videos on YouTube, the videos hang again and again. I fail to understand why? My net speed is super great. Need help. I hv an ipad2.

    When I watch videos on YouTube it hangs a lot. I hv ipad2 a newly bought one. My net speed is very good so fail to understand why.

    If the same when using Safari as with the YouTube app, YouTube's servers play a significant part in this.

  • After upgrade to iOS8, very slow, no volume slider bar, no volume through the iPad although the headphones work. My volume slider bar now reads"Sound Effects"?? Mute is off, need help. So frustrated!

    I need help! After upgrading to iOS8.1.2 , my volume slider bar disappeared and is now "Sound Effects" ??? I have no external sound. Do have sound through headphones. Mute is off. Have tried resetting several times with no luck. Frustration level is building as I have wasted hours now on this. Any help would be greatly appreciated!

    I do not think apple will do much to help you under warrenty,  as this was caused by a fall.  (alas!)
    I think the case is, as you suggest, jamming the rocker down, and it may have damaged the swith itself.  Can you carefully lever it out of the way?   Very very carefully.   If it is already broken, there is not much harm you can do by trying. 
    If it is just the switch being jammed, you might be able to move it out a little.  If it is the swith itself, you will need some real service after your three hour drive.  You might check your loacl area for a closer service repair source.

  • Need help installing adobe after effects CS5 free trial

    i cant install adobe after effects CS5 trail it keeps giving me an erorr that says "error occured with connection with adobe.com (error 107), how do i restart adobe download assingment,and the bar at the bottom tells me to sing in when i already have, anyways i need help, can u guys helpme install adobe after effects CS5 trial?

    http://kb2.adobe.com/cps/898/cpsid_89867.html
    Mylenium

  • Hi, Hi, Hi  I have the old MacBook Pro. Upgraded to Mountain Lion which completely wrecked the system. So downgraded to Snow Leopard. The updated the combo update. Now stuck on blue screen at start-up. Need help. Greatly appreciated. Thank you.

    Hi,
    I have the old MacBook Pro. Upgraded to Mountain Lion which completely wrecked the system. So downgraded to Snow Leopard.
    Then updated the combo update. Now stuck on blue screen at start-up.
    Need help. Greatly appreciated. Thank you.

    Downgrade Lion/Mountain Lion to Snow Leopard
      1. Boot from your Snow Leopard Installer Disc. After the installer
          loads select your language and click on the Continue
          button. When the menu bar appears select Disk Utility from the
          Utilities menu.
      2. After DU loads select your hard drive (this is the entry with the
          mfgr.'s ID and size) from the left side list. Note the SMART status
          of the drive in DU's status area.  If it does not say "Verified" then
          the drive is failing or has failed and will need replacing.  SMART
          info will not be reported  on external drives. Otherwise, click on
          the Partition tab in the DU main window.
      3. Under the Volume Scheme heading set the number of partitions
          from the drop down menu to one. Set the format type to Mac OS
          Extended (Journaled.) Click on the Options button, set the
          partition scheme to GUID then click on the OK button. Click on
          the Partition button and wait until the process has completed.
      4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

  • I have a big problem at the installation of after effects CS4 ! NEED HELP

    HEY all i need help I want to install AFTER EFFECT cs4 and i do all AV hijack and usb fix scan nothing fond >>NEED HELP
    ERROR CODE:
    Adobe Dynamiclink Support
    Erreur:
    Error 2.
    Adobe Dynamiclink Support
    Erreur:
    Error 1605. Cette action n’est valide que pour les produits actuellement installés.
    THANKS

    I know the problem is  i have an old AE cs4 and i don t uninstall correctly  but i have another problem with twixtor effect  i register my twixtor but i have the orange CROSS on my video --' and THIRD PARTY installer won't  install my new effect "say uninstall and install correctly with serial number ..."
    i have CORE2 DUO E6320 GTS8600XFX 2GO RAM DDR2 ASUS MOTHERBOARD (bad) WINDOWS 7 32BIT ULTIMATE for the DYNAMIC links probleme i use ccleaner REGEDIT and cs4 cleaner tools .

Maybe you are looking for

  • What is use of catalog command ?

    I am not able to understand the use of CATALOG coomand using RMAN ? Is someone can explain using any short example. Thanks ~Keyur

  • Will Apple replace NVIDIA graphics card for free?

    I've read a lot of discussions on here about the failing NVIDIA cards and Apple having to replace the entire motherboard. Some users have had the experience of Apple replacing the card free of charge, others have had to pay a hefty price. Is there an

  • POI default font size

    Hello, I am using the POI API to generate an Excel workbook. Is there a way to apply a font size over the entire workbook? or at least on a sheet by sheet basis? For instance, it seems to always default the size to 10, but I'd like it to be 8 pt.

  • How to use keyboard shortcut OPTION SHIFT COMMAND PLUS?

    The application I am using has two keyboard shortcuts for changing the KERN of some text: TIGHTEN = OPTION + SHIFT + COMMAND + MINUS LOOSEN = OPTION + SHIFT + COMMAND + PLUS The TIGHTEN command works fine but the LOOSEN command doesn't. If I plug in

  • .Mov Files

    I upgraded to 10.6 on the first day and Quick Time has been hit or miss for me. I have Flip 4 Mac and Quick Time 7 on the machine in addition to Quick Time "X". .Mov files do not open; I get either "The movie could not be opened. A necessary data ref