Free beer, if you make this work....

Provided that you come and collect it yourself.....
First of all, new to flash, so I have properly made this all
wrong
First look
here
What I want to make is a scroller that can scroll movieclips,
so I use a scrollPane and adds a empyt MC (a contentHolder) to it.
I fill the contentHolder with the MC's i have. Then I made my
own scrollbar what works with %, so when it is at the top the value
is 0% and at the bottom 100%. A onEnterFrame on the scrollbar makes
sure it is always updated.
Used this solution before and it works pretty ok. But now the
movieclips can change size (when you expand the news) This change
in size makes it jump...
I spend days now, so i need some else to look at it, to see
if you can help me.
problem: The position of the scrollbar changes when a mc is
expanded.
cause: The overall size of the contentholder changes, but I
can't seem to get the scrollbar dragger placed correct.
what i want: when you expande a movieclip, the movieclip
stays where it is, and the scrollbar dragger is resized and placed
accordingly.
how: I can't do the math...
Hope it is not too confusing... and the code is properly
messy!
HEEEELP, and free beer to the guy/girl who solves it...
mr.morton

Even if it might take a while, I might come to Denmark and
collect that beer - if that is I can solve the puzzle.
But befor i try to do so, my first question would be: Why do
you use a scrollpane at all, as far as my first glance goes, a
simlpe Mask would have done the job as well. Am I right, or is do I
miss something important.
The next questioin would be why use on enter frame and not
just onMouseMove.
Like always in such situations, I not sure if i sound to
smartass, and how far my "teaching" should go. For the moment I'll
try to fix the problem (as I understand it) with as little changes
to your stuff as I can manage.
We might discuss other approches as you like afterwards -
ok?

Similar Messages

  • I updated SCCM 2012 R2 from CU3 to CU4. Where can I find good directions on what else I need to do to make this work?

    I updated SCCM 2012 R2 from CU3 to CU4. Where can I find good directions on what else I need to do to make this work? I'm assuming I have to deploy the new clients?
    Thanks,
    James
    James A+, Network+, MCP

    You have to create different collections (x64 vs x86 clients) because the .msp to be deployed is architecture specific.
    "Distribute content" just distributes binaries to distribution points. You can select a collection there, but that has nothing to do with clients. It just distributes content to DPs that are assigned to collections.
    Torsten Meringer | http://www.mssccmfaq.de
    Ok. That is helpful. I appreciate the response. I hate to ask another question, but I', still learning the product. In the Step-by-Step SCCM 2012 R2 CU4 Installation Guide from System Center Dudes, it says to create the collections by using their predefined
    queries. I tried to enter these as queries but I think I am doing so in the wrong area of the collection creation process. Could you break it down for me?
    Do you know of any good training (free) that is video based an breaks SCCM 2012 R2 down into smaller more detailed steps?
    Thanks,
    James
    James A+, Network+, MCP

  • I just bought my 10 year old autistic daughter an IPOD touch that she needs to take to school with just limited music on it but she also also has an IPAD mini for home that is fulllyloaded with apps .  How do I set up Itunes to make this work

    I just bought my 10 year old autistic daughter an IPOD touch that she needs to take to school with just the music (no apps) on it but she also also has an IPAD mini for home that is fullly loaded with apps.  The last time I tried to connect 2 devices to Itunes I ended up loosing my own music library so I am a bit hesitant to start setting up this new IPOD touch with outsome help. Anyone have any ideas on how I set up Itunes to make this work and not loose her IPAD apps and media?

    Open itunes, connect ipad, select what you want, sync.
    Connect ipod, select what you want, sync

  • TS2634 I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I have the same problem.
    Two similar discussions:
    https://discussions.apple.com/message/23081658#23081658
    https://discussions.apple.com/message/23281391#23281391
    I have not yet seen any official response to the question: "Is the Apple AV Composite cable fully supported with 30pin connector devices upgraded with iOS7 - specifically ? - eg. iPad 2, iPhone 4, iPhone 4s"
    If it is not currently supported is that then due to a bug / oversight and in that case is it something that will be fixed in the near future?
    Please let us know what feedback you got from asking Apple support.

  • I'm new to mac. Just started out. Have OS 10.8.3. I have an HP 1315 printer.  It prints and copies, wont scan.  I see old threads on this, nothing recent.  ?can i make this work, or do i need a new printer??

    I'm new to mac. Just started out. Have OS 10.8.3. I have an HP 1315 printer.  It prints and copies, wont scan.  I see old threads on this, nothing recent.  ?can i make this work, or do i need a new printer??

    Hi Newbie111
    I see that you are unable to scan with the Photosmart 1315.
    What driver are you using?
    The driver listed in the url below is a basic print driver that will allow you to print only.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ps242muc&c c=us&dlc=en&lc=en&os=1006&product=61956&sw_lang=
    You can try using the apple drivers in the url below.
    http://support.apple.com/kb/DL907
    If you have any further issues please let me know.

  • I want to use my DVD from my WIndows 7 Computer to install Office 2011 for Mac.  How do I make this work?

    I want to install Mac Office from my DVD drive located on my Windows 7 computer.  How do I make this work?

    Well, it sounds as though you are trying to install Windows software on a Mac computer.
    If that's really what you want to do, you have another project to do first. You could use Apple's Boot Camp software or 3rd party software such as Parallels or VMWare. If so, you have some reading and research to do.
    Or maybe you are trying to use Remote Disc? Here is a link to using Remote Disc for Windows:
    http://support.apple.com/kb/HT1777
    I hope that this gets you started. Good luck.
    dick glendon

  • How do you make imessage work? The icon is there. You can type in the recipient but are not allowed to hit the send button

    How do you make imessage work? We upgraded to verision5. The icon is there. You can type the message but the send button is not available.

    There is some instability in  iMessage.  It is a versatile and confusing app even though there are so few options in its use. 
    I had issues trying to get iMessage work on both my iPads and my iPhone. 
    ON the iPhone, turning off WiFi service and then trying iMessage fixed the problem.
    On the iPad 2, same thing.  Turning off WiFi service fixed it.
    On the iPad 1, I took a suggestion from zoomzoom and changed the WiFi network configuration on the iPad to use 8.8.8.8 as a DNS server and then use iMessage.  That fixed it.   Now I put the DNS back to default and it still works.
    I suspect the iPod Touch will have the same fix as the iPad.
    If you have a WiFi and 3G iPad or iPhone, try turing off WiFi and see if that fixes it. 
    Why?  (beware, some of this is guesswork)
    iMessage can talk SMS to cellphones and smartphones (that are using the cell-network).  It can also talk Apple iMessage format to iPhones and iPads whether they are on cell-network or on WiFi.  If you are talking to an SMS cellphone, iMessage figures that out and blindly sends your message.  If you are talking to a iOS5 device, iMessage figures that out too, checks to see that they are on-line, and then does something different if they are or are not on-line.  If you type in an email address, and not a phone number, I think iMessage attempts to see if the email address is registered with Apple (or iCloud or whatever) and if it is not, it does something to let you know, possibly by making the Send button not light up. 
    In order to register iMessage and an email, you have to let the iOS device see whatever service it is that iMessage uses.  That is where the problem happenes.  zoomzoom suggested manually setting the WiFi DNS to google's 8.8.8.8 IP address, then run IMessage, and that seemed to fix the problem.  Setting the iOS device to use 3G-only (by turning off WiFi) also fixed the problem.  I suspect going down to StarBucks or McDonalds and using their WiFi would also fix the problem.  Once the problem is fixed, it doesn't seem to come back so I can't test these 'fixes'. 
    To change the DNS on your iPad find your WiFi networks configuration, click on the blue arrow, touch DNS, backspace over the number that is shown, type in 8.8.8.8    Then click on the WiFiNetworks button at the top of the screen.  Now go run iMessage.  After that, you can delete the DNS entry again and leave it blank.  Your iPad will fill it in from the WiFi router when it needs it.

  • Can i make this work with a number specified in the constructor?

    Hi everyone
    I posted a couple of days ago and i have managed to advance a bit since then.
    Here i have a class called "flower" and it draws a flower with two leaves and 12 petals using the classes "petal and "leaf".
    However, ideally i would like to be able to make this work with a number of petals specified in the constructor, not just 12.
    is this possible or do i need to rewrite the entire class?
    import java.awt.*;
    import java.awt.geom.*;
    public class flower {
        private Shape circle;
        private Shape stem;
        public flower()   {
            circle = new Ellipse2D.Double(-25, -25, 50, 50);
            stem = new Line2D.Double(0.0, 0.0, 0.0, -200.0);
        public void paint(Graphics g) {
        Graphics2D g2 = (Graphics2D)g;
        g2.setPaint(Color.green);
        g2.setStroke(new BasicStroke(5)); // Line width 8 pixels
        g2.draw(stem);
        // Add the petals
        petal P = new petal(Color.red);
        // Scale, translate and rotate the petal into place.
        AffineTransform orig  = g2.getTransform();
        AffineTransform T = AffineTransform.getTranslateInstance(0.0, -25);
        for (int k = 0; k < 12; k++) {
          double angle = k*Math.PI/6.0;
          AffineTransform A =  AffineTransform.getScaleInstance(1.0, 1.0);
          A.preConcatenate(T);     // Scale, then rotate
          AffineTransform R = AffineTransform.getRotateInstance(angle);
          A.preConcatenate(R);     // Scale, translate and then rotate
          g2.transform(A);
          P.paint(g);
          g2.setTransform(orig);     // Restore original transform
          g2.setPaint(Color.yellow);
          g2.fill(circle);
          leaf L = new leaf();
          AffineTransform B = AffineTransform.getTranslateInstance(0.0, 0.0);
          B.translate(340, 425);
          B.scale(1.0, 1.0);
          B.rotate (Math.PI/6);
          g2.setTransform(B);     
          L.paint(g);
          g2.setTransform(orig);     // Restore original
          leaf L1 = new leaf();
          AffineTransform C = AffineTransform.getTranslateInstance(0.0, 0.0);
          C.translate(285, 430);
          C.scale(1.0, 1.0);
          C.rotate (Math.PI/-6);
          g2.setTransform(C);     
          L1.paint(g);
          g2.setTransform(orig);     // Restore original
    }I am tempted to make "flower into a class that extends "petal" would this make it easier for me to achieve my goal?
    Any help would be great
    Thanks Carl

    Your NewFlower class extends petal. You NewFlower constructor calls super( color, petnum ), so the petal constructor is invoked. In the petal constructor, you ignore petNum. You do nothing else in the NewFlower constructor, so petNum is ignored there as well.
    What makes you think that in this orgy of ignoring petNum, that any petNum variable will magically get set, or that your flower will now magically have the right number of petals?
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Under PHOTOs on my iPat there is an option to send to email. I cannot make this work. Help

    Under PHOTOs on my iPat there is an option to send a picture  to an email address.
    . I cannot make this work. Help

    When viewing an image full screen you can tap on the icon, and then on Mail to send the image over Email.  Note that you must have an email account setup in Settings->Mail, Contacts, Calendars->Accounts
    Alternatively you can tap and hold anywhere on the body of an Email in the Mail App, and then choose the "Insert Photo or video" option to add one to the email. You may need to tap on the arrow on the left of the context menu options to bring the insert option into view.

  • Why Don't You Make This A Sticky??

    Hi You can edit the name of my message to what ever you think is appropriate; but why can't you make this message a sticky and save advisiors the problem of having to repeat this message every day??
    When creating your message and asking for help on the Toshiba forum, always post your model name so we can  help you better. Your model number can be found on the bottom of your lap top. Thank You!
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.
    Attachments:
    Capture40.JPG ‏419 KB

    Thanks Peter. That's good news. That should really help. Thanks for all you do here. I know it's a lot of work and you are appreciated.
    Dokie!!
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.

  • I have a Mac desktop OSX Version 10.7.4  upgraded to Lion to use iCloud.  Now my Parallels Desktop 5 for Mac/Build 5.0.9376 using Windows 7 does not open.  What upgrade of Parallels do I need to make this work?

    I have a Mac desktop OSX Version 10.7.4  upgraded to Lion to use iCloud.  Now my Parallels Desktop 5 for Mac/Build 5.0.9376 using Windows 7 does not open.  What upgrade of Parallels do I need to make this work?  Or what do I need to do at this point?

    Thank you Shootist007.  I appreciate it!

  • HT4571 i cannot text messages using my ipad. please explain what i need to do to make this work

    i have an ipad wifi celluar and cannot text. Is there something i need to do to make this work?

    You can only use iMessage by turning on in settings, sign up with your email.
    You can only text other Apple users that also turn on iMessage.   You must use their email unless they have an iPhone.
    You can't text to non apple devices.

  • I have a generation 3 ipod 80 gig.  When I updated itunes to 11.1.11 and tried to sync the ipod it erased it and now wont recognize it.  I can't seem to make this work  I have reset the ipod, reloaded itunes all to no effect.  Any ideas?

    I have a generation 3 ipod 80 gig.  When I updated itunes to 11.1.11 and tried to sync the ipod it erased it and now wont recognize it.  I can't seem to make this work  I have reset the ipod, reloaded itunes all to no effect.  Any ideas?

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • I'm trying to watch a movie from my iPad on my tv with Hdmi  cable.  Do I need to do anything to the tv to make this work?

    I'm trying to watch a movie from my iPad on my tv with Hdmi  cable.  Do I need to do anything to the tv to make this work?

    Not really. Using the correct Digital Av adapter and connecting the iPad to the Tv through one of its HDMI ports is all it takes. Of course making sure the correct input is selected in the Video source selection on the TV.

  • HT4356 I have an older HP connected to the usb port of my Time Machine, and have it shared.  I want to print from my iPhone on the network, but it can not be found in airport?  How do I make this work?

    I have an older HP connected to the usb port of my Time Machine, and have it shared.  I want to print from my iPhone on the network, but it can not be found in airport?  How do I make this work?

    AirPrint printers connected to the USB port of the Apple AirPort Base Station or Time Capsules are not supported with AirPrint.
    Read through this for information about Airprint printers and how to use them:
    http://support.apple.com/kb/ht4356

Maybe you are looking for