Fluid Layout - stop changing resize position when movieclip is at certain position

Hello. I have been trying things out for hours, and I still can't get it.
I am following this Fluid Layout tutorial: http://active.tutsplus.com/tutorials/web-design/build-a-fluid-website-layout/
I added a Menu_mc on my stage. Initially, this should be at the center of the stage and when I click on it, it will tween on the upper left corner of the browser. However, when I resize the browser, the Menu_mc goes back to the center of the screen.
I have tried separating a different actionscript file where it is specifically for initialization of the object and another one for resizing. And then when I call it on my main AS file it goes like this:
// Add the symbols to stage
             var Menu_mc = new Menu_MC();
             addChild(Menu_mc);
             // Apply the alignment to the middle
             var Menu_InitParam = {
                 x:0.53,
                 y:0.35,
                 offsetX: -Menu_mc.width/2,
                 offsetY: -Menu_mc.height/2
             new InitFluidObject(Menu_mc,Menu_InitParam);
             var Menu_ResizeParam = {
                 x:Menu_mc.x,
                 y:Menu_mc.y,
                 offsetX: -Menu_mc.width/2,
                 offsetY: -Menu_mc.height/2
             new FluidObject(Menu_mc,Menu_ResizeParam);
But it seems futile. Could anyone please help? Thanks a lot!

Do you have any useful resources that I could perhaps check out? Haven't explored ANY javascript before =)

Similar Messages

  • How do I get Photoshop to stop changing the page when I zoom in or out?

    I was wondering how to stop my screen in photoshop to not change the page when I zoom in or out. When I zoom in the page adjust and make the panel smaller. I would like to leave the screen ful size and just the image zoom in and out

    Argh! Don't you just hate that! I don't know why Adobe set that as default behavior. To stop it go to Photoshop Preferences > General and uncheck "Zoom Resizes Window"
    You can also hit the F key once to enter Full Screen Mode.

  • How to stop changing stroke weights when changing the size of an object in CS5 on Windows 7?

    I'm not sure what I did to make this happen or how to change it back, but for some reason when I change the size of an object/line it changes the stroke weight as well. (For example, if I drew an ellipse with stroke weight 2 pt, and then increased the size the stroke weight would be 2.856 pt or some such number instead of 2 pt.) Does anyone know how to change this back?
    Thanks!

    Take a look at the Scale Strokes and effects preference either in the general programme preferences or in the flyout menu of the Transform palette.

  • How can I stop Yosemite resizing windows when I turn off my screen?

    I have a 2012 mac mini running Yosemite. It's hooked up to an LG TV via the thunderbolt port and an adapter.
    When I turn off the TV and the turn it back on again, all of my windows get moved over to the leftmost 2/3rds of the screen (approx). It's super annoying constantly moving windows back to where I left them.
    Can someone explain why this is happening and suggest how I can fix it?

    Windows stuck in top left hand corner of screen

  • MediaElement can not set Position when file reaches NaturalDuration

    I have created a mediaplayer in which I added a button to go one frame forward.
    I'm getting the total duration after the media is opened with
    mediaPlayer.NaturalDuration.TimeSpan
    In this case the value is {00:02:27.7720000}
    Every time I click on the button I do
    // Add one frame
    var frameTimeCode = TimeCode.FromFrames(1, SmpteFrameRate.Smpte25);
    var newTime = time;
    if (forward)
    newTime = time.Add(frameTimeCode);
    // If newTime is bigger than TotalDurationTimeCode, setting the position should automatically set it to TotalDurationTimeCode.
    // But still checking newTime. Just to be sure
    if (newTime > TotalDurationTimeCode)
    newTime = TotalDurationTimeCode;
    mediaPlayer.Position = TimeSpan.FromSeconds(newTime.TotalSeconds);
    After this, I get the position with
    currentPosition = mediaPlayer.Position;
    If I let it play, it plays until total duration is reached. Same goes for fast forward.
    But if I go frame by frame, I can't get beyond {00:02:26.7720000}
    It seems like I can't set the position once it reaches {00:02:26.7720000}.
    Also, when I rewind one frame from total duration, it skips to {00:02:26.7720000}.
    I tested with another file and that one also has a one second difference in total duration and position.
    - Edit -
    If I get the position right after I set it, than I do get the right position.
    But if I get the position later it will be set to {00:02:26.7720000}, even if I set the position manually to a value between {00:02:26.7720000} and {00:02:27.7720000}, it will jump back to {00:02:26.7720000}

    That was one of the things I found too.
    But that doesn't explain why it does get the right position (and plays to the end) when playing normally or in fast forward.
    The only difference is that I get the current position in a DispatchTimer when playing normal or in fast forward.
    ticker = new DispatcherTimer();
    ticker.Interval = TimeSpan.FromMilliseconds(interval);
    ticker.Tick += delegate
    PositionUpdateIndicator();
    private void PositionUpdateIndicator()
    currentPosition = mediaPlayer.Position;
    // Other code that updates mediaPlayer.Position
    When I get the current position per frame, the DispatchTimer is stopped and I just call
    PositionUpdateIndicator();
    - Edit -
    Oh wait, I see another difference. When I do the frame forward, I also Pause the player.. Maybe that is messing things up. I'll be continuing my research tomorrow.

  • In Dreamweaver 6, I created a new fluid layout. I set up (4) DIVs. In the 3rd div, I changed the font color. The new color shows up on the website when viewed in my computer desktop, but, when viewed in a tablet and a cell phone, the color of the font doe

    In Dreamweaver 6, I created a new fluid layout. I set up (4) DIVs. In the 3rd div, I changed the font color. The new color shows up on the website when viewed in my computer desktop, but, when viewed in a tablet and a cell phone, the color of the font does not change. It's the same in Dreamweaver's Live view. It shows the new color on Desktop view and not in the cell phone or tablet view. Also, I changed the font itself in one of the DIVs and it shows up in the new font on the desktop view and website viewed thru the computer, but, not on the tablet or cell phone. Can someone please explain. I want to be able to change the fonts and colors for viewing in the tablet and cell phone, also. The fonts were all standard fonts. Sans-erif and Verdana and Arial were tried. Thanks.

    I will lock this discussion because of duplicate post.

  • Keep layout position when using Find/Change?

    When using Find/Change in InDesign CS4, each occurrence of the "Found" material is centered in the window, so the page moves around with each find. Is there a way to keep the page in a fixed position when searching through a document?

    Actually, I can think of a shortcut for the hard part: The user uses the
    regular find/change UI to make all their settings. Then, they run the
    script, which will simply use the settings in the UI. Nice, huh! So you
    could get a listBox of all the finds -- select the entry and you get
    taken to the desired location. Click the "change" button and the change
    is made. Here's a proof of concept:
    #targetengine engine20
    var myFinds = app.findText();
    var w = new Window("palette");
    var myList = w.add("listbox", undefined, myFinds);
    var changeButton = w.add("button", undefined, "Change");
    myList.onChange = gotoFound;
    changeButton.onClick = makeTheChange;
    w.show();
    function gotoFound(){
    app.select(myFinds[myList.selection.index].parentTextFrames[0].parent.parent);
         app.select(myFinds[myList.selection.index]);
    function makeTheChange(){
         myFinds[myList.selection.index].changeText();
    Obviously very rudimentary: but this does work in CS4. If the list is
    too long, though, the change button will disappear off the bottom of the
    screen. Also, really once the change is made, the item should be removed
    from the list, but there's a bug in CS4 that makes it impossible to do
    that simply, if I recall correctly (or was that only a tree list?)
    Also, I have found that the only sure way of getting the entire spread
    to show is as I've done it above (and it would need much more error
    checking than this -- for instance, overset text).
    Ariel

  • Urgent HELP! how to resize a layout and change the color from black to white

    Hey!!!
    im in urgent help of someone to answer my questions. I have a huge Indesign exam monday and two of the questions are   
    -resizing a layout
    -changing a color layout to black and white
    I have done many porjects in Indesign but to be honest i don't know what they are refering but resizing a layout or changing the layout color to black and white. If any body can explain me this a little be I be so thankful!
    Thanks,
    Fiama Piccardo

    I've decided to relent a little and give you a hint, so you can do some looking and figure this out for yourself. Everything you need for either of those tasks is accessed from the File menu...
    And a further hint. Indesign does not have a black and white or grayscale working colorspace, so you never truly have a black and white layout, though all of the objects in the file may use only black ink. You can, however, output a PDF, in a couple of ways, that will convert your color file to one that uses only black.

  • Motion path changes gets larger when copied to Shape Position parameter

    Hello There,
    Richard Gerard has been helpful, and well as other people.
    I have sorta figured out how get a stroke to follow a motion path.
    I (so far) am unable to get a shape to follow the same motion path.
    My shape is a small ellipse commonly known as a circle!
    I have seen this post - http://forums.creativecow.net/thread/2/959085, which is interesting,
    but does not work.  My shape layer consists of name, "Blue Circle",  and two properties below that:
    Contents and Transform.  If i copy the path into the Transform-Position property the path is about 2
    times bigger than the path I want to use, and does not start at the correct spot.
    After reviewing the post above - I added a "path" to the ellipse in the "Contents" area, I can see the path, it is the correct size,
    but the circle does not follow this path.  If I try to copy this path to one of the position properties, no dice,
    the path completely displaces the shape to the wrong coordinates.
    I must be missing something basic here, but have yet to find out.
    Any tips will help.
    Thanks,
    eholz1

    The position path is offset because your Black Solid with the mask isn't in the default position. Both Anchor Point and Position must be reset. Parenting can also foul this up. Here's how to fix it.
    First of all, before you copy and paste the path remove parenting and return the solid with the mask to it's default position by resetting Anchoe Point and Position. Now when you paste the path to your Blue Ball it will exactly match the path on the solid layer. Once the path is set you can redo the parenting and reposition the layers but you must include the blue ball. If it were me I'd create a null and make that the parent of the Black Solid, the Blue Ball, and the Map. Now you can animate the position of the null to scroll across the map and the blue ball will follow.
    To match the timing of the stroke to the blue ball you simply drag out the right most diamond keyframe on the blue ball position until it matches the last position of the stroke.. That's all there is it. Your timeline should look something like this:
    One last question. You have a non-standard composition size. It may not render correctly. What is the reason for the odd size. NTSC D1 Widescreen should be 872 X 486, It's acceptable to also have a comp that's 872 X 480. MPEG compression requires an even number of pixels so your 853 dimension is very likely to cause problems or be automatically resized to a standard frame size.

  • I want to import still images to make a stop motion animation, but when I try to change the duration of still images, it isn't reflected in the timeline.  How can I do this?

    I want to import still images to make a stop motion animation, but when I try to change the duration of still images, it isn't reflected in the timeline.  How can I do this?

    Tonaw,
    If you import your still images using iPhoto, then the time you set for each still, using FCPX Perferences works.
    You can set the durantion from 1 frame to as long as you want them view.
    If you do not use iPhoto to import your stills, the default is 10 sec's.
    FYI: This issue was brought up within a month after FCPX was released. They found out by using iPhoto, you had better control of the amount of time your still was viewed.

  • I downloaded Dreamweaver CC 2014.1, started using it but cannot find Show Fluid Grid Layout Guides button, Resize LI.link sizing handle and 'move up a Row' arrow. Where can I find them?

    I downloaded Dreamweaver CC 2014.1, started using it but cannot find Show Fluid Grid Layout Guides button, Resize LI.link sizing handle and 'move up a Row' arrow. Where can I find them?

    You have the latest version (CC 2014.1 or 2014.1.1) in which the interface condenses Design View with Live View buttons in normal layouts.  See screenshot.
    However, in FGLayouts, Live View is the only option which poses some editing problems and has been highly criticized.
    Is there any way to display the Design View in fluid grid pages?
    New Features in CC 2014.1 October Release
    http://helpx.adobe.com/dreamweaver/using/whats-new.html
    New Features in CC 2014.1.1 February Release
    https://helpx.adobe.com/dreamweaver/using/whats-new.html#Enhancements%20to%20Live%20View%2 0editing
    You can disable this restriction by adding an X to the FGLayout CSS.
        Dreamweaver Fluid Grid Properties
        dw-num-cols-mobile:      X 4;
        dw-num-cols-tablet:        8;
        dw-num-cols-desktop:    12;
        dw-gutter-percentage:    25;
    =====================================
    Having said that, it might just  be simpler to revert to an earlier version.  Log-in to Creative Cloud Desktop app.  Go to Filters & Versions > Previous Version.  See screenshot.
    Nancy O.

  • Dreamweaver CC understanding external style sheets when using Fluid layouts?

    I'm attempting to build a website using the Dreamweaver CC Fluid layout feature. I've been using this tutorial:
    http://www.adobe.com/inspire/2012/08/fluid-grid-layouts-dreamweaver-cs6.html
    The bit i'm stuck at is when it comes to attaching a external style sheet to format the text and content. So to be clear, i've already created my fluid layout and created a 'layout.css' file when promted, then using some html 5 class div tags (header, navigation and article) i've built my layout. All doing what I want up to this point.
    Now I need to start adding content and from what I understand its much better practice to set up another external style sheet for the text formatting and styling.
    I used the CSS Designer to 'create a new CSS file', called it 'typography.css' and I can see its linked to the main Source Code file.
    I understand that theory but here is where its confusing for me:
    After creating and linking the new CSS file what do I do next? Do I have to hand code in various text formatting ids or is there a more visual way of doing it? Or do I select my text content in the source code page and then press the '+' button in the 'Selectors' panel to start adding ids that way? And should the class or id names in the new CSS file be the same as in the layout CSS file or different?
    I guess I dont really understand excatly how external style sheets should be created and implemented, all the youtube vids i've watched so far are done with hand coding but i'd like to use the Properties panel to do it in a more visual way if possible.
    Any tips or help greatly appreciated, some basic learning needed. Thanks.

    Giving a detailed explanation of  how to best use CSS goes beyond the scope of what this forum can do.  There are volumes of books, blogs and tech sites devoted to this  topic. 
    A Must Read --  How to Develop with CSS?
    http://phrogz.net/css/HowToDevelopWithCSS.html
    In a nutshell, make the most of your logical HTML tags.  They not only add semantic structure to your content, they serve as  hooks for your CSS styles.   Don't class or ID something unless you absolutely need it.   The goal here is to keep your HTML streamlined.
    /**effects all h2 tags in your site**/
    h2 {font-size: 125%} 
    /**only effects h2 tags inside headers**/
    header h2 {color:orange} 
    /**effects all p tags**/
    p {font-size: 100%} 
    /**only effects p tags inside articles**/
    article p {color:#333}
    Nancy O.

  • How do I stop AE from changing my workspace when loading a project?

    How do I stop AE from changing my workspace when loading a project?  I've looked everywhere and can't find it.  I work on a lot of projects that a peer works on and his screen size is smaller and his workspace is different than mine.  Is there a setting I can change so that when I open one of his projects my AE window doesn't change?

    No. That behavior is intended. The problem is probably that your colleague uses the "Standard" workspace in a custom configuration and since it is matched by name, it emsses up your "Standard" workspace as well. Therefore advise your colleague to create his own workspace with a custom name and/or create your own custom workspace to be able to more quickly reset things.
    Mylenium

  • I suggest you stop changing the layout or give us ...

    Hello Skype. Your new layout is annoying and sucks so bad. I am refraining from cussing but I am very mad at you guys. Stop changing the layout the heck does that even ACHIEVE besides making people that have been here for long periods of time ANGRY. I suggest if you're so dandy with wanting to make new layouts give us an OPTION to change layouts without DOWNLOADING old versions because we think your new layouts suck???? I mean you're just egging everyone on to download old versions from unknown websites to get viruses. Good job. (Sarcasim)

    deidaradoton wrote:
    I mean you're just egging everyone on to download old versions from unknown websites to get viruses.
    I've made this statement in another post but I've found something by dabbling about with the new layout that might ease the stress we're both feeling.
    Quote: NOTE: I've kind of found a workaround: if you go to VIEW and then SPLIT WINDOW VIEW you can then close the second window that appears, it won't will put chats into a separate window or return the way the previous versions worked completely but it'll at least give you the cosmetic layout of the previous versions friend list.

  • Why I can not change the display when I turn the Ipad from horizontal to vertical position ?

    Please help to give me the guide line to solve the problem in my Ipad
    I can not change the display when I move the ipad from horizontal position to vertical position

    Have you got a lock symbol at the top of the screen next to the battery indicator ? If so, then depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can lock rotation either by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085
    If there is no lock symbol then try a reset and see if rotates after the iPad has restarted : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

Maybe you are looking for

  • How to delete the error stack in process chain?

    Hi all, we just want to do the following: - we are loading in FULL daily to our datatarget (data is versionized by 0calday) - we want to use the error-stack in order to analyze wrong data --> but we now encounter the problem that, if data has once be

  • AQ_AD_HOC221 Error while executing the infoset query

    Hi Gurus, I have created one infoset using LDB PNPCE and added custom fields to IT 0021 and 0041. But when I am going to transaction SQ01 and selecting the selection criteria and including the fields from IT 0021 in the output. Now when I press on th

  • Image offset to the right

    Why is the image offset to the right when I try to print in landscape mode? On a print the title block is mostly off the page to the right and it prints like this on both of my printers.

  • Problem With NOTIF_CREATE

    Hi gurus,      Can someone tell me wheter there is a problem with std T-Code NOTIF_CREATE in SAP Solution Manager 7.0 ?     I´ve succesfully configured Service Desk, but when I execute this Transaction, I can´t assign System/IBase to the support mess

  • Can't find Photoshop in Finder, but its in Cloud?

    I've downloaded Bridge, Lightroom, and Photoshop into my Creative Cloud. They are all updated, but I can only find Bridge and Lightroom in my Finder > Applications area in order to open them. Photoshop isn't there. I can't open it. Help!