I can't get ScrollPane.invalidate() to work.  Need help on this one.

I have a dynamically created scrollpane who's content comes
from a movieclip in the library.
When I add this content from the library, I can't for the
life of me get the scrollpane to correctly render the scrollbars.
This is the code that I have. The movieclip in the library is
linked as mc1 (width 100 height 46)
import fl.containers.ScrollPane;
import fl.controls.ScrollPolicy;
import fl.controls.DataGrid;
import fl.data.DataProvider;
var aSp:ScrollPane = new ScrollPane();
aSp.verticalScrollPolicy = "on";
aSp.horizontalScrollPolicy = "on";
var aBox:MovieClip = new MovieClip();
drawBox(aBox);
aSp.setSize(300, 300);
aSp.source = aBox;
addChild(aSp);
function drawBox(box:MovieClip):void {
var myMc1:mc1 = new mc1();
myMc1.y = 50;
myMc1.x = 50;
box.addChild(myMc1);
var mymc2:mc1 = new mc1();
mymc2.x = 200;
mymc2.y = 50;
box.addChild(mymc2);
}

I figured it out. Nevermind.

Similar Messages

  • Only one of my earbuds on my bose headphones works with my ipad, iphone and macbook- if I hold them there the right earbud will work, but for the life of me, I can't get them to both work. Why is this? And is Apple doing anything about this?

    Only one of my earbuds on my bose headphones works with my ipad, iphone and macbook- if I hold them there the right earbud will work, but for the life of me, I can't get them to both work. Why is this? And is Apple doing anything about this? While Apple's headphones have (finally) admittedly gotten better of late, I still prefer the much more comfortable headphones & sound quality that Bose makes and that I spent the money for.

    Bose Product Support

  • I can't get the product i bought need help NOW doesn't let me connect when i have good internet

    i can't get the product i bought need help NOW doesn't let me connect when i have good internet

    [personal information should not be posted - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    https://www.adobe.com/account.html to check your subscriptions
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

  • TS1398 bought a mini and also have an IPAD2  have used ITunes to download all programs to the mini but have NOT BEEN ABLE TO have the connection to the Internet and CAN NOT get any emails. I NEED HELP!!!!!!!

    I thought when I bought a MINI that all I'd need to do is sync up with ITunes to get all apps and setting to the Mini. I was wrong as I can not connnect to the internet and can not get any emails. Have tried just about all suggestions under support  but need to reach out to actual users who may have run into similar prblem. I must be missing something as I have to believe that Apple would make it as simple/easy as possible to connect to the interne. I still have my internet connect with my Ipad2.
    appreciate any help on this one as MY WIFE is driving me crazy as she wants to use the internet with HER MINI!!!
    Thx  Wayne

    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Can not get my iphone to work please help

    i done every thing to get my iphone to work with straight talk please help me i need a phone i have bad health famiy members

    https://discussions.apple.com/message/23872549#23872549

  • I updated my ipod touch to ios 5 and now it wont restore and i can't get anything back...need help please!

    I updated to IOS 5 tonight on my ipod touch 4th gen and now it won't restore.  I can't get it to restore from a backup either.  It either says "iTunes could not restore the iPod "____" because the backup session failed or i get error -50.  It appears all of my songs and apps are in iTunes, but I guess I don't know where to go from here to get things back to how I had them before.  Is there a way to access an early backup to try that? or am I going down the wrong path? Any help would be greatly appreciated.

    don't ask me why this worked, but it did for me last night.  In iTunes, where your device shows up on the left side, I double clicked on it.  It then allows you to change the name like you can for changing file/folder names.  I changed 1 letter on the name of the ipod and hit enter.  I then right clicked on the new ipod name and chose restore from backup.  My choices for backup was the original name of the ipod only and not the name i had just changed it to.  I told it to go ahead and backup from the old name figuring I would get the same results, but not the case.  It restored it with all app, music and pictures with one exception...all of the settings, email setup and information within the apps was lost.  Atleast that an easier fix than starting all over.  Hope this will work for you guys too with the same issue.

  • Can't get onto ichat. connection timeout. need help

    I have been using ichat on my computer for about 9 months now with no real problems, but now I simply cannot get onto my account. My internet connection is working fine, but when I try to get onto my screenname, it tell me that the connection has timed out. I can log onto my friends screenname using ichat on the same computer, but I can't get onto my own. What do I do?

    It's AOL. They know about the issue...
    http://discussions.info.apple.com/thread.jspa?threadID=2417383&tstart=0

  • Can't get EJB injection to work, Please Help!

    I'm new to EJB 3.0, so I tried the "sample" EJB 3.0 stateless session bean sample from Oracle for JDev. (I'm using JDev 10.1.3.1.0 bld. 3984), very simple stuff:
    package project1;
    import javax.ejb.Remote;
    @Remote
    public interface Hello {
    void sayHello(String inStr);
    and
    package project1;
    import javax.ejb.Stateless;
    @Stateless(name="Hello")
    public class HelloBean implements Hello {
    public HelloBean() {
    public void sayHello(String inStr) {
    System.out.println("Hello " + inStr );
    I can deploy the Bean w/ no problems to the embedded OC4J (in JDev) by just clicking "Run" on it, and I can successfully run the "Client" based on the "Older" implicit JNDI look up as follows:
    package project1;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class HelloClient {
    public static void main(String [] args) {
    try {
    final Context context = getInitialContext();
    Hello hello = (Hello)context.lookup("Hello");
    Call any of the Remote methods below to access the EJB
    hello.sayHello("John Doe");
    } catch (Exception ex) {
    ex.printStackTrace();
    private static Context getInitialContext() throws NamingException {
    // Get InitialContext for Embedded OC4J
    // The embedded server must be running for lookups to succeed.
    return new InitialContext();
    The above client code works fine, too.
    But when I try to run the following client (It compiles fine):
    package project1;
    import javax.ejb.EJB;
    public class HelloClient {
    @EJB private static Hello hello;
    public static void main(String [] args) {
    try {
    hello.sayHello("John Doe");
    } catch (Exception ex) {
    ex.printStackTrace();
    It DOES NOT work, the @EJB private static Hello hello seem to never get executed, as "hello" is always null and I get a null pointer exception on (hello.sayHello("John Doe"));.
    I even tried to be more explicit and tried:
    @EJB(name="Hello"") private static Hello hello
    with no luck either.
    What am I doing wrong?
    I read all the threads here and no one seems to have problems w/ the provided sample, I even did a fresh re-install of my JDev with no help.
    Thanks,
    Reza

    Hi,
    duplicate post of
    OC4J don't FULLY support injection of EJB implementing multiple interfaces?
    Frank

  • I can not get my iTunes to work, please help

    ok when i click to open itunes, i get the window asking me whether or not I agree to the Itunes software license agreement. I click agree and then i get an error message stating that "The itunes application could not be opened. An unknown error occured [-48].
    Can somebody please help me or if anyone even knows a number i could call for support regarding itunes, i would greatly appriciate that.
    Thank you

    Do you have a valid payment method entered in your account? If yes then contact iTunes.
    Contact iTunes

  • Trying to get ricochet mechanics to work, need help!

    Hey, for a project I'm doing, I'm making a ricochet game with Actionscript 2.0, where the player shoots a bullet and it bounces off objects trying to hit the opponent. It's working decently so far, but my problem is I'm having a VERY hard time getting it to work right.  Sometimes when I shoot at a box, the bullet will tunnel through it, bouncing off of invisible walls on its way. I just want the bullet to bounce off of the edge all around, but it is tunneling as I'll show you in a video I uploaded. Here's the code I'm using currently, but it's having this tunneling problem.
    if (bullet_fired.hitTest(boxobject)) {
                    if (bullet_fired._y<=184 || +bullet_fired._y>=214) {
                        bullet_fired.diry *= -1;
                        bounces += 1;
                    }else {
                        bullet_fired.dirx *= -1;
                        bounces += 1;
    where 184 is the top of the box and 214 is the bottom.
    Am i approaching this completely wrong or what am i doing wrong.
    Here's the video I uploaded of me demonstrating my problem. http://www.youtube.com/watch?v=O9dwW4_UcFM
    Please help me and give any suggestions you have, I'm pulling my hair out!!

    you're repeatedly satisfying both your hittest and your y constraints when the bullet is shot at a shallow angle.  ie, the y-property of your bullet does not change enough with the initial hit to prevent a 2nd, 3rd etc hit.
    again, to remedy, use:
    if (bullet_fired.hitTest(boxobject)) {
                    if (bullet_fired._y<=184 || +bullet_fired._y>=214) {
                        bullet_fired.diry *= -1;
    bullet_fired._x=previousX;  // you need to define previousX and previousY
    bullet_fired._y=previousY;
                        bounces += 1;
                    }else {
                        bullet_fired.dirx *= -1;
                        bounces += 1;

  • Can't get form to send data, need help...

    Heya,
    So if you visit
    http://www.typhoonsaloon.net
    and fill out the form, if you were the reciever of that info, you'd
    find that the two drop down menus don't appear in the email that is
    sent via email.php. I'm not quite sure what to do, can anyone help?
    All the files can be accessed as follows:
    http://www.hookmedia.biz/typhoon_saloon/intro.fla
    " " intro.swf
    " " email.php

    If its brand new it should have come with Lion already installed. Up the top menu click on the Apple symbol on the left and see what system it is running, eg. 10.6.8.  10.7.3. etc.
    Pete

  • I am trying to access important info about my state unemployment but I am getting a green padlock.I need help with this so I can reply back to in.gov/dwd abou

    Hello and thanks for your help. My name is Lonnie. I am currently receiving unemployment from the state of Indiana. I realize this info is very secure and I am grateful that it is, however, I need to retrieve a message pertaining to my unemployment benefits but there is a green padlock that Is keeping me from retrieving this info. What can I do, if anything? Thanks again, Lonnie

    Where is the green padlock?
    When this appears in Firefox's address bar, it generally indicates that the site has a special kind of secure certificate that required the site to prove its identity (which is stated in the address bar). This shouldn't block you from using the site, it just indicates that Firefox has a secure connection to the site.

  • Hi  Just got photoshop elements 12 and can`t get photomerge panarma to work?

    can`t get photmerge panarma to work any help?

    Hi,
    It may be that your not in the Expert mode in the pse 12 editor.
    Enhance>Photomerge>Panorama is greyed out if your in the Guided or Ouick modes.

  • I just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please

    i just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please

    Hey I've been all over and can't get any help. I'm well aware its not an Apple product but its an app for Mac OS so I thought I'd try here. I bought 2 new iMacs yesterday for my parents (5K) and I'm just trying to get them some help as there in their 70's and AOL is all they know.
    But hey thanks for your help,

  • My iPhone is using my work email to sign in to the cloud, but my apple id and password are with my "personal" email address.  I can't get rid of my "work" email address on my iPhone 4S

    My iPhone is using my work email to sign in to the cloud, but my apple id and password are with my "personal" email address.  I can't get rid of my "work" email address on my iPhone 4S

    Hi Sister Kate,
    If you change the Apple ID you are using on an iPhone or other iOS device, there are several places you need to change it on the device. See this article -
    Apple ID: What to do after you change your Apple ID
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

Maybe you are looking for

  • Both Ipod Touch and Macbook Pro Stolen, how do I get the photos in my photostream back at least?

    My house was burglarized yesterday and I lost my Macbook Pro and my 3rd gen iPod touch with many photos and videos on it. I did have the photostream turned on but the computer that it was linked to was stolen. I want to get these photos back if possi

  • Using Time Machine to back up two HDs

    My current setup: I have a 70GB or so internal hard drive that's more or less full, and an external 100GB hard drive that I use to store less frequently used data. I want to go out and buy a new external hard drive to use for Time Machine backups. My

  • About andriod support ActiveSync

    Hi All I install ZMM 2.7.0 and install iOS / Andirod smartphone to server. iOS device could full support ActiveSync (I could immediately send command to ZMM Client through ActiveSync); but I find Andriod seem could not full support completed. I send

  • AT NEW in ALV list

    Hi all, I am displaying an ALV list. I want my output to display the department in a new line for every new department. Example: no           name              dept department D1 1             abc                 d1 2             xyz                

  • JList data model, MVC, is there an example?

    I have a JList, constructed from an AbstractListModel based on an ArrayList, tucked into a JScrollPane. The data model changes frequently en masse, not element by element. I have studied the API documentation of ListModel, ListDataListener, and ListD