How to create a draggable text with a scroll bar box?

I am trying to create a dynamic text box which can be moved around the screen using AS3.  The problem is that I need a scroll bar on the text because of the amount of text box.  I can create the text box and set the scrollbar component and turns everything into a movieclip.  However, when I do the draggable movieclip, he scrollbar becomes unusable.  If I do just the area of movable text inside the movieclip, then the scroll bar works, but not draggable and I get an error "Error #1069: property not found stopDrag on flash.text.TextField and there is no default value.»

How to create a draggable text box that has a scroll bar attached?

:

Transcript_mc.fontBar.addEventListener (MouseEvent.MOUSE_DOWN, downF);

Transcript_mc.fontBar.addEventListener (MouseEvent.MOUSE_UP, upF);

function downF(e:MouseEvent):void {}

Transcript_mc.StartDrag ();

}

function upF(e:MouseEvent):void {}

Transcript_mc.stopDrag ();

}

Tags: Adobe Animate

Similar Questions

  • How to move several scrollbars field with a scroll bar

    Hello

    Does anyone know if there is a property node available where I can use the axis scroll bar x on a plot to control several bars scroll to the category axis at the same time?  I have three plots and I want all scroll to the time where I drag the scroll bar on one... I've been going through the nodes of property but fails to do so.

    Thank you very much!

    I think that the only way to do this is to monitor the range of the scale X, as the beginning of the beach. If the user clicks the scroll bar, changes in range if you can it detect this way. You can then set the scale on the other graphics to match.

  • How to create a photo album with ms office?

    How to create a photo album with ms office? I tried to use picasa, but I don't know how to make an album. I also want to add a text below.

    Click on the Forums link at the top of the page and go on the forums of office to ask. But, if you can not understand Picasa, you'll probably some luck using nothing else. Consider going on the forums of Picasa and get help.

  • How to create a menu manual, WITH dropdowns

    How to create a menu manual, WITH dropdowns

    You can use the "Composition" widget with these settings:

    Note: Use triggers to place your text. You can use each box to add all your links on the page in question.

  • How to create a recovery disc with all vista updates?

    original title: how to create a recovery disc with all vista updates without starting from scratch, so I can replace my hard drive?

    My hard drive seems to be dying.  I would replace the drive.  I reloaded vista from scratch with all the updates, but it took forever.  I would like to make a record of recovery with all updates.  IAM on vista Home premium.  32 bit

    If you want a good backup program that backups image, I recommend Acronis True Image 2010:http://www.acronis.com/homecomputing/products/trueimage/.  It offers a free trial, so you can test and if you want it's only about $30 for the original version.  A lot of people I know this program and use it instead of Vista even in versions of Vista that offers imagery as this program does a better job.  Of course you also need a place to put the backup (which will take a lot of space), so also consider.  The best choice would be a USB external hard drive at least as large as the readers you want to back up (not only the data on them, but the entire available disk space, so you miss when you add more information about the disks).

    You cannot use IMGBURN do - it can't do anything like that.  It must be the imagery of backup software.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to create a new project with other page with the new version of Muse layouts?

    Hello
    If someone would continue to operate as before with the inadmissible Muse version... is - this posible to have both versions installed? or how to create a new project with other page with the new version of Muse layouts?
    Or how to download third party) 3 different configurations (desktop/tablet/mobile) under the same url with a clean result, like up yet with the Muse does not?

    Thanks for any help,

    Patrick

    Use the new version! What you want to achieve, will work! Go to the 'Page' menu and choose 'Add another Layout' and the missed buttons are in plan view.

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • How to make columns of text with adobe muse

    Hi, how to make columns of text with adobe muse (like InDesign)?

    As Brad has already indicated, the columns are a difficulty.

    Set a text box to separate visually in separate (with a nice gutter) columns does not seem so difficult, but the problem lies in how to manage the flow of text in regards to positions, simple lines ugly upstairs and down a column, deliberate column breaks, how to connect to the text of subsequent block etc. The developers of W3C and browser have not yet agreed on this issue. (Look for the clear green statutes in the table: http://caniuse.com/#search=columns)

    As a matter of fact, Adobe has proposed and developed an alternative for wounds and flawed of current columns, at the W3C long meetings: 'Régions' (which could also leave the text to "wrap" around a box or even an irregular shape). But their effort was in vain. ' Technically too much, too soon, to be treated by the mobile browser engines ", was the comment of Google . So the W3C put this contribution on the shelf.

  • How to create the new domain with lookup?

    How to create the new domain with list of choices like terrain dDocType system?

    Administration/Admin Applets tab / SCCM / information fields.
    Add field or edit a custom field if you have one.
    The name field (the name will be prefaced with the lowercase letter x behind the scenes, if ever, you write the code to call it if you name this Fruit it will xFruit for code)
    Define your values for the field, but the important thing for a menu drop-down list or list of selection will be to list the Option activate the checkbox.
    Then, you perform one of the 3 main things to put data in the list.
    1. manually fill in a list of options
    2. use a DB or DB table view to view Configuration Manager
    3. create a complex tree (read the documentation on which I him have not used)

    If this does not answer your questions, click the help button in the applet.

  • Two part question... Several fields of text through 1 scroll bar scroll. Deletion of commas is displayed in the list of tables.

    I've been scripting this profile flash card that pulls data from multiple XML files. The problem I have is when it comes down to pull this 1 set of information that accesses attributes of an array of XML specific nodes to display a comma after the first input element before each item.

    My code:

    -------------------------------------------------------------------------

    xmlData = new XML ();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load ("'... / xml profiles / test.xml");

    --------------------------------------------------------------------------

    function loadXML (load)
    {
    If (loaded)
    {
    xmlNode = this.firstChild;

    image = [];

    id_array = [];
    Total = xmlNode.childNodes.length;
    for (i = 0; i < total; i ++)
    {

    image [i] = "... / people/photos /" + xmlNode.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [1].firstChild.nodeValue + ".jpg";

    id_array [i] = xmlNode.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [10] Sublst.ChildNodes(1).ChildNodes(0);
    }
    firstImage ();
    }
    on the other
    {
    Content = "file not loaded! ';
    }

    -------------------------------------------------------------------------
    }

    firstImage () function
    {
    If (load == filesize)
    {
    Picture._alpha = 0;
    picture.loadMovie (image [0], 1);
    associate_array = id_array [0];
    populateLists (associate_array);
    picture_num ();
    }
    }

    ---------------------------------------------------------------------

    function populateLists (xml_array)
    {
    ID = [];
    associatelist = [];
    locationList = [];
    for (n = 0; n < xml_array.length; n ++)
    {
    var identnumber is xml_array [n] .attributes;.
    ID [n] = identnumber.occurence + "\n";
    associatelist [n] = identnumber.associate + "\n";
    locationList [n] is identnumber. Location + "\n";
    occurence_txt. Text = ID;
    associate_txt. Text = associatelist;
    location_txt. Text = locationlist;
    }
    }

    Code red is the data displayed by commas after the first item. I couldn't find a solution anywhere... but saw dicussion: nested tables, often with commas.

    example.jpg

    It's just a preliminary version of the layout that I used to pull up false data... to show the commas.

    If anyone knows how to remove the commas that would be great.

    Finally, I wonder if it is possible to control the 3 text fields with 1 scroll bar or I'd better learn how to create columns in 1 text field to view these lists.

    Thanks in advance!

    .. few days I need to learn AS3

    I have not the slightest idea of XML (I'm still at the stage of the embryo on that one half-a tutorial) BUT,.

    to connect without a comma, you can do something like that. My table was called aHiragana (Japanese letters)

    var sHiragana:String = aHiragana.join(""); Kill the comma
    Words.Text = sHiragana.toString (); work, note "s" not 'a' in front of Hiragana.

    no idea if this is compatible with XML.

  • How to create a cursor image with text in motion.

    I tried to create a cursor image with text that slides with images. I use the jquery.cycle2 slider plugin that works very well for a slider I have on a different cursor on the same page. I'm not sure why it does not work. If someone could help me that would be great. The code is below:

    HTML:

    < div class = 'fluid wmud' id = 'wmud_img' data-cycle-fx = 'scrollLeft '.

    data-cycle-pause-on-hover = "true".

    data-cycle-speed '4000' = >

    < div class = "fluid wmud_img" >

    "< img src ="... /morris_construction/images/slider4.png"/ >

    < div class = "fluid wmud_text" >

    < h3 > Pro Active: < / h3 >

    < p > we have highly qualified staff and a thorough knowledge of the industry is thus able to add value by providing solutions to customers proactively; often even before that questions arise.                We are also very receptive to requests from the client and provide quick turnaround times, often to meet extremely tight deadlines. < /p >

    < / div >

    < / div >

    < div class = "fluid wmud_img" >

    "< img src ="... /morris_construction/images/slider5.png"/ >

    < div class = "fluid wmud_text" >

    < h3 > Pro Active: < / h3 >

    < p > we have highly qualified staff and a thorough knowledge of the industry is thus able to add value by providing solutions to customers proactively; often even before that questions arise.                We are also very receptive to requests from the client and provide quick turnaround times, often to meet extremely tight deadlines. < /p >

    < / div >

    < / div >

    < div class = "fluid wmud_img" >

    "< img src ="... /morris_construction/images/slider6.png"/ >

    < div class = "fluid wmud_text" >

    < h3 > Pro Active: < / h3 >

    < p > we have highly qualified staff and a thorough knowledge of the industry is thus able to add value by providing solutions to customers proactively; often even before that questions arise.                We are also very receptive to requests from the client and provide quick turnaround times, often to meet extremely tight deadlines. < /p >

    < / div >

    < / div >

    < / div > <!--end of wmud-->

    JavaScript:

    " < script src =" http://malsup.github.com/jQuery.cycle2.js "> < / script > .

    < script type = "text/javascript" >

    {$(function()}

    $('#wmud_img').cycle ({}

    FX: 'scrollLeft ',.

    });

    });

    < /script >

    Try these demos:

    Cycle2 overlays

    Cycle2 Caption2 Plugin

    Nancy O.

  • PSE10: how to create the white text box with text in black? [was: question]

    trying to create a white text box in photo shop element 10 and black text, so write pop can not understand

    Open your photo in the complete edition

    In the top menu click Layer > New > layer & OK

    Select the rectangle Selection tool

    Drag a box on the top you photo where you want to place the text

    Ensure that the chip of high color at the bottom of the tool palette is set to white or press D to default to black & white, and click the rotation arrow to move the black chip behind the white chip

    Select the paint bucket tool and click in the middle of your rectangle to fill with white

    Go to the layers palette (window > layers) and put highlight the top layer then lower the opacity to around 50% slider

    Select the T tool and type in black, then save.

  • does anyone know how to create a slider text on board

    I need to know how to create a textslider of edge (two arrows on each side of the text when you click on the arrows that they scroll the text)

    somehow if someone could ell me how or better still create a textslider of work on board and place it by downloading it would be great.

    Dear Sabermaster28

    I made the example especially for you

    Now you can add a lot of additional text that you want, just need to change 1 thing

    First - you need to change your text height in symbol of Div to the length of your text size

    at the moment the text length is 753 to see all the text in the text box, this length is sufficient, but if you add more you need to resize the length of the text box, so you can see the text is first things you should do

    Note: you increase size height of the area of text besides it in stages

    for example if you want to add additional text, your text height size would be more with your step number

    now the size of the text height is 753 should be more with 251 and new text size height would be 1004...

    Second - in the scene, you have the Variable named Step, the number you give to the stage corresponds to the size of your Div symbol

    for now the Div symbol height is 251 our approach would be 251

    In the future if you want to have diving taller you should change your step too

    isn't this easy?

    Link to project: http://www.mediafire.com/download.php?d99hxibjjd92k2d

    If you liked my example my Correct post brand

    Zaxist

  • How to create a vector text

    Shame to ask for help.

    But I need to know how to create (convert) to vector text created the Flash CS4 text tool.

    Thank you for not laughing, it of ok, you did

    Yet once, click your textfield with text and click on change, to break, change, to break.

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

Maybe you are looking for

  • Impossible to add/remove contacts

    Difficulties:1. When you try to add the new contact/s for the contacts list2. When you try to delete a contact from my contact list.3. on both occasions when I press on save tracking is displayed; The address has not been heard. Firefox does not know

  • Made by Satellite A100-912 supports internal microphone

    Dear Sir. I have a Satellite A100-912.Next to the volume control, I can see a small opening, I thought at the beginning that the microphone.But unfortunately it wasn't, or I don't know. I opened my settings and I have not found any installed micropho

  • 7 OS Smartphones blackBerry compatibility

    Hello need help on the compatibility of the operating system 7, regarding current operating system on my handheld is 7.0.0.319 and I wanted to upgrade a.464 but my carrier here in the Philippines (globe Telecom) does not have this version of the OS.

  • BlackBerry Smartphones keeping old calendar events in Outlook and Storm2

    Is there a way to keep all appointments, regardless of age on Outlook and my Storm2? Just got my Storm2.  Downloaded/installed the latest office software.  Allowed to update the Storm2 OS via USB, the desktop software.  Desktop software configured to

  • TrustedInstaller questions

    I try to delete the Internet Explorer My Program Files (x 86) folder because I use Firefox and it's too much space in my SSD. I get an error saying that I need permission from TrustedInstaller to be able to delete the file. I found a way to get the o