How do I call up the content in a scrollpane?

I'm having trouble calling up the content in my scrollpane in a simple quiz application.  I'm a graphic designer so I'm not real proficient with AS3 yet.  I created a scrollpane object called Scroller1 and I'm trying to scroll a movie object called Movie1 inside the scrollpane.  The code I used from the Adobe site calls up an external file, but I want to call up an internal movie so I changed the Scroller1.source = to the movie name, but it doesn't work.
Here is the code I have on the frame that contains the scrollpane:
import fl.events.ScrollEvent;
Scroller1.setSize(300, 200);
function scrollListener(event:ScrollEvent):void {
    trace("horizontalScPosition: " + Scroller1.horizontalScrollPosition + 
     ", verticalScrollPosition = " + Scroller1.verticalScrollPosition);
Scroller1.addEventListener(ScrollEvent.SCROLL, scrollListener);
function completeListener(event:Event):void {
    trace(event.target.source + " has completed loading.");
// Add listener.
Scroller1.addEventListener(Event.COMPLETE, completeListener);
Scroller1.source = "Movie1";
Is there some other way I need to call this up?  The movie is a contents list that has buttons to take you to various frames in the application and it's too long for one page.
Thanks for the help!

If the Movie1 object is on the stage and you have assigned it the instance name "Movie1" (in the Properties panel), then it should be loaded into the scrollpane if you use...
Scroller1.source = Movie1;

Similar Messages

  • How to proceed on transferring the content of an external hard drive into the time capsule.

    I just bought a new MBP and a 2T time capsule but i don’t know how to proceed on transferring the content of an old external hard drive into the brand new time capsule.
    The old external hard drive is a carbon copy of another external HD which was my time machine backup but unfortunately someone stole it from me…  so I was thinking about transferring the content from the old external hard drive to the time capsule and then set time capsule as the new time machine backup.
    Is there anybody whose can give me a hand and tell what is the best to do?
    Thanks
    sb

    Configure Time Machine preferences. Be sure to remove the external drive from the Exclude list.
    Mac Apps - Apple Support
    Mac Basics
    Welcome to Mac Support

  • HT1386 How do I back up the content of the iPad on the new computer or the cloud?

    The computer I have been using for backing up my iPad died! 
    My iPad is fine. 
    All the music on the iPad came from CD's. 
    How do I back up the content of the iPad on the new computer or the cloud?

    Do this:
    - iTunes: Back up your iTunes library by copying to an external hard drive
    and restore/copy the iTunes library to you new computer.
    - Connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up
    - Restore the iPod from that backup.
    Note that the iPod backup that iTunes makes does not included synced media like apps and music.

  • How do I make sure the content fits the browser?

    I'm having a little trouble making content on a website fit in different browsers. It seems to be making extra space on the right side in safari and a LOT of extra space on the right side in firefox. How do I make sure the content will fit and be centered?
    Thanks in advance!

    That question is a little like asking "how do I build an airplane?"  It's just too vague and open ended for us to give you a meaningful answer. 
    Answers to layout questions are contained in your HTML and CSS code.  For quickest help, please post a link to your online page.
    Nancy O.

  • How do I tag all the contents of a folder?

    How do I tag all the contents of a folder?
    I'm trying to add an archive tag to a lot of files and folders, and is it possible to just tag the parent folder and all files and folders within it to adopt this tag, so that when I come to search for a document later on, and it has an archive tag, I know to dismi

    Ideally, the program you want to delete has an 'uninstaller' application and that should delete all the files. If that isn't available you could download and run this free app: http://www.freemacsoft.net/appcleaner/
    Probably not as thorough but it will do the job of ridding you mac of most of the files associated with the app you no longer want.

  • How do I partially delete the contents of the "trash"

    How do you partially delete the contents of the "trash"?

    By dragging the items you wish to keep out of the trash first.
    Apple has a trash bin for trash.:)
    MS has a recycle bin that seems to be used as a spare folder.

  • How can I print out the contents of my hardrive

    I have a hardrive with about 200 video clips and need to print the titles for cross refrerencing. I was just going to "grab" screenshots but this will take about ten sheets of paper. How can I print out a list of all the files on the drive?

    I tried this Finder drag method & discovered that it is very important to set the blank TextEdit document to plain text before the drag (from the format menu or with Cmd-shift-t). If you don't, TextEdit attempts to load the content of the files!
    Once I discovered this, I tried the method with Find (Cmd-F) results & it works for that, too. This means that by choosing the right combination of search location(s) & search criteria, you can extend the method to filter the list to just about any files you want, which could be very handy.
    For instance, set the "Kind" criteria to "QuickTime Movie" & location to "Computer" & you get a list of every QT movie. Or set the search location to the folder containing the movies of interest & you get all of them, including ones in subfolders. You could also use the 'date created' or other search criteria to filter the list to a specific subset of movies (or whatever).
    If you need to do this often, you could create one or more 'Smart Folders' with the criteria preloaded for each search.
    The only drawback I see for either Finder based method is the full path one. If you are getting results from just one or a few folders, Find & Replace can delete any of the path name fairly easily, but it becomes a chore if there are a lot of different ones. Some other text editor, like TexEdit Pro, that supports grep searches would be handy here, but since I'm not up to speed on grep, someone else will have to explain how to use it for this, if they want.

  • How can I encrypt all the content of my Ipad 2?

    Hello,
    I am looking for a solution like CheckPoint FDE in order to encrypt all the content of my Ipad 2?
    Does anyone know a similar solution?
    Thanks

    According to apple's spec sheet it is encrypted at rest. I was also on a conference call on Monday with an Apple security analyst and he confirmed that is is encrypted at rest. Make sure you set the passcode lock and  use a strong password and make sure if you back it up to your hard drive that you choose encrypt on backup.

  • How do I remove a the contents of a movie clip created using loadClip?

    I have a Flash site that loads specific SWFs into a movie
    clip called "content_mc" based on a button click. I do this using
    the "loadClip" method. I then remove (I thought) the SWF from the
    movie clip with "unloadClip" and replace it with a new SWF using
    "loadClip." All seemed to be working fine, but now I see that
    scripts from a SWF that I thought I unloaded are still running.
    I'm sure this is due to my lack of understanding of what
    "loadClip" and "unloadClip" are doing. And there certainly may be a
    better way to do what I want to do... but such is life. What is the
    method to delete a the contents of a movie completely from memory?
    or is there a better way to do what I want to do?
    Thanks for your help,
    David

    Nope you understand more or less correctly. unloadClip takes
    away the contents that loadClip placed. However there are certain
    things that don't go away.
    My guess is that you have some setIntervals. Those must be
    cleared (clearInterval) before you do the unloadClip.
    Or perhaps you have set up some listeners? Again those must
    be removed.

  • How to import and make the content of the original PDF document editable and preserves the pdf appearance and retains existing fields and formatting in LiveCycle

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

  • How PLM documents saved in the Content Server or in the database.

    Hi All,
    Please tell me the concept about given below scenario:
    Normally PLM documents are either saved in the Content Server or in the database.
    What if we have neither configured a database nor a content server. Where are they being stored then.
    what exactly Document serever , how the PLM document save on Content Server or in data base server.
    Thanks
    Narendra Vikram Vishwakarma

    Hi All,
    Please tell me the concept about given below scenario:
    Normally PLM documents are either saved in the Content Server or in the database.
    What if we have neither configured a database nor a content server. Where are they being stored then.
    what exactly Document serever , how the PLM document save on Content Server or in data base server.
    Thanks
    Narendra Vikram Vishwakarma

  • How to change call to the function module in the standard program

    Hi Guru,
    My requairment is to create the new Z function module  ZJ_1B_IM_NF_DOCUMENT_FUNCTION in the MM07MFJ1 program.
    I have created the Z Funtion module,
    plz provide me the info how to change the call to the new custom FM from the standard program.
    Points will be given to the ans.

    You use SE38 to change out the code.  When you try and change it you will get a popup asking you for a Key, since you are changing SAP Code.  If you have a Developers key you have to go to the SAP Service Marketplace and tell SAP that you are changing this code in order to get they key.  After this every time you do support packs you run the risk of this getting overlaid and you will have to change it back, also if you have a problem and SAP sees that you customized this code they probably won't spend any time on your problem.

  • How to design and modify the content area in Dsktop Inerpage?

    hello:
         I have created my New Portal Desktop,but I don't know how to modify the content area in Dsktop Inerpage?
       Anyone can help me ?
       Thanks
        lexian

    Hi Le,
    What exactly do you want to modify. The Desktop inner page consists of your detailed navigation and the <b>Content Area</b> iview. The content area iview renders all the iviews, pages and whatever you add to your roles.
    So do you want to change the layout of this section or something else?

  • I need to restrict printing but keep the Content Type and Page Extraction allowed. How do I keep both the content type and page extraction displaying allowed?

    When I change the settings to allow for the content type and page extraction and save it, it shows allowed.  When I close the pdf, reopen it, review the security properties, it shows the content type as allowed and the page extraction as disallowed. I need both to stay at allowed, how do make this happen?

    The moment that you select not to allow any kind of change done to the file then pages extraction is automatically not allowed as well. There's no way around that.

  • How to add styles to the content on the screen

    Hi All
    I am able to dispaly the content of a .txt file on the screen using inline frames(11g adf using content repository- file system) . But 'm able to add styles to it like displaying it in bold letters. Any help on how to add templates
    Link which i followed http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10148/jpsdg_content.htm
    8.3.1 How to Add Content as an ADF Inline Frame
    code
    <af:inlineFrame id="inlineFrame1"
    source="/content/conn/Test/path/test1/Test.txt"
    inlineStyle="height:100px; color:Aqua;"
    styleClass="AFStretchWidth">
    </af:inlineFrame>
    Thanks,
    Tim.
    Edited by: 831631 on Feb 16, 2011 11:00 PM

    hi Tim
    831631 wrote:
    Yes.
    • Consider a file Sample.txt file contains the text – “Hello World. Welcome”
    • Display “Hello World” in bold and display “Welcome” underlinedI don't think that adding style to a plain text file (as such) will be possible, you should probably use HTML or another document format.
    success
    Jan

Maybe you are looking for

  • Inspection lot creation after receipt of certain quantities?

    Gurus, My user requires the creation of an inspection lot of 1 piece after the receipt of 200 pcs in stock as a kind of audit. This is not a goods receipt feom production as it will be done for each piece. .but was is needed is an event to create a l

  • IMAP Implementations - Some work / some fail - Please help!

    Hello friends - We have an application using mail to exchange information between a master site and remote locations. Due to firewall /political restrictions at originating location, we have been forced to use email on some non standard ports (> 1500

  • Gsm IQ data capture

    Hi, Am using a GSM toolkit to try capture GSM IQ data for analysis. My user interface values are as the fig attached. When i run the app i get the following error -1074118626 full details in the image attached. I tries to lower the trigger level but

  • Layout Variant Locked

    Hi all. When I create a variant for a layout (ALV) the user-specific flag is locked. How can I unlock this flag for deselect it? All layout that I create are like user-specific. Thanks (Obrigado). <b>Pedro</b>

  • How to deploy JRA file for MI?

    Hi! In the MI configure guide , it says "start the deploment tool". I look into SDM but I cannot find what is mentioned in the guide, such as "Deployer", etc. Could you clarify is it SDM or something else? Thanks! Points!