Make a simple class, I need a little advice

I have a simple scroll bar class, but it does not work. Anyone can point out what I'm doing wrong?
I have a movieclip with movieclip instances track_mc and drag_mc to the breast. I create my new class and pass the name of the host element.
In the constructor I can trace the correct clips and drag_mc gets his onRelease function.
When I click it the startDrag() does not work and the drag() works traces undefined for drag_mc, why is this, what I'm missing here?

> he drag() traces undefined function
Problem with simple range. Inside of the callback functions, the members of the class are out of reach. To resolve, use the import statement:
Import mx.utils.Delegate;

and then use:
drag_mc.onPress = Delegate.create (this, drag);

Without the import statement:
drag_mc.onPress = mx.utils.Delegate.create (this, drag);

Tags: Adobe Animate

Similar Questions

  • Need a little advice...

    I'm going back to school, strictly on the line, and my course will be in Business, Marketing, etc.. I absolutely need something where I can do my job as a graphic designer as well. Suggestions and why you think it's the best product to buy, would be most appreciated! (Oh yes, I already have my new printer, whereas covered)

    Hi SoulSeeker15,

    Computers laptops Inspiron would be good for the school, but not so much on graphics work. I suggest that you look at XPS laptops.

    http://pilot.search.Dell.com/XPS%20laptop

  • New blackBerry for BlackBerry smartphones need a little advice on Wi - Fi

    Hi all

    I recently bought my first Smartphone BlackBerry, a Bold 9700 and so far really enjoy.

    I however, have some teething problems with Wi - Fi that I hope you could help me on.

    I have an active data BB Plan (I think that's what it's called) that allows BBM, internet E-mail etc.

    I noticed that my wifi connection during the day is a case of "hit & miss". The night, no problems, solid connection.

    The Orange Signal is very poor here where I live, so I looked forward to the use of the WiFi for UMA, Web mail, etc.

    I was wondering if it is my router (Netgear RangeMax WNR1000), its parameters, the 9700 or my mobile operator (Orange UK)?

    I've updated my 9700 to 5.0.0.86 device software 2 (Platform 5.1.0.175)

    125 MB of space free application memory

    My current router encryption is WPA and using the Legacy Mode (band G I think) at 54 Mbps.

    Can anyone shed light on my intermittent WiFi during the day?

    Thank you very much

    Madaxan

    UPDATE *.

    Well, after scouring the internet and trying to get help from Netgear, my WiFi was still not usable through my Netgear WNR1000 and intermittent.

    Enough was enough. Am in my car and drove to my nearest PC store. I bought a really cheap

    Linksys WRT120N Home router (£30).

    Got home, installed with the default configuration settings. Piece of cake.

    Turned on the BB 9700 wifi... UMA logo and Wi - Fi appeared instantly and securely from the last 24 hours.

    I got 100% UMA BlackBerry Internet signal and Wifi...!

     

    Needless to say, I am now very happy that I can use this phone for its main purpose. The call of my home region that is not a 3 G/GPRS signal.

    So for someone who suffers from the lack of WiFi, UMA or intermittent WiFi signal, I invite you to go and replace your router. I'm so happy I did.

    With so many people have reported problems of WiFi connection, I hope that we can build a list of compatible routers that work with our dear BB.

    Now, I am fully aware that some people say that Wi - Fi standards are the same, 802.11b/g/n, etc., but let me tell you that, on PAPER, they are SAME, how manufacturers interpret this standard and to implement in their products is a whole different kettle of fish.

    Linksys, thank you.

    I hope this helps...

    Madaxan

  • Need to make a simple slide show on Prime Minister 14 adobe elements. Should I set on. eLive. Guided, fast or an Expert.

    Hello and help

    I need to make a simple slideshow on Adobe first 14 elements.  Can I use parameters for, Elive, guided, quick or Expert.   I want to choose the length of a period of 3 seconds on each photo and the transitions anyway instead of having to put in a.   My program did not come with a tutorial. I would buy one if someone has a spare part.

    Concerning

    Annabelle

    [email protected]

    You can see my complete for first elements 14 on lynda.com tutorial, if you're interested. Or you can pick up my more complete "Muvipix.com Guide of first Elements 14" on Amazon.

    Otherwise, I would recommend that you work in Expert mode. Then, before adding your photos to the timeline, resize your photos to not exceed 2500 x 1872 pixel in size (72 dpi). This will save you a lot of headaches later.

    Also, since you want your photos last 3 seconds each, go to Premiere Elements preferences' (under the Edit menu on a Windows computer), then, on the general page, assign still Image duration 90 images (if you are in NTSC. If you use the TV PAL system, set it to 75). Remember that you do it before adding photos to your project!

    Once you have done this, simply use the Add Media / files and folders to collect your photos in your current project, and then just drag in your timeline.

    Like your job, make your timeline (by pressing the Enter key) regularly so that you can see a clear overview of your video.

  • Can I create an action to move the last page to the first?  I can only find how to manually drag the pages, and I need to make it simpler when there are a lot of pages.

    Can I create an action to move the last page to the first?  I can only find how to manually drag the pages, and I need to make it simpler when there are a lot of pages.

    Yes, you can do it using a script. This code should do the trick:

    this.movePage (this.numPages - 1, -1);

  • How to make a simple video with my computer ' s web cam?

    I recently (10 minutes ago) asked a simple question on how to make a video.  For five of the most wonderful years of my life, I have designed critical systems of path for launch Pads 39A & B, the vehicle Assembly building and the robot that went out the candle to the pad.  On paper, a critical path system explained how the engineer, design and build a structure.  In this case, it was activities separate from about 3400 and when, how and how long these activities were to each other.  At the time where the Commander.  I worked and which had been granted to these contracts, had developed the method of the path critical following the guidance system of the Polaris Missile, which was incredibly hard to get a handle.  At the time where manned Apollo lunar Mission has been in place, I was one of only ten people in the world, who knew the process.  We needed honest, some answers to our questions or it would take years to accomplish what Stephen Hawking characterized as "the unique accomplishment largest in human history" you gave me answers to my questions by these 'engineers' for Microsoft on the use of a webcam and had implemented them, would not be there was a second launch of Apollo because the first three astronauts would be dead.  How to make a simple video with my computer ' s web cam?     Al wood

    http://www.WikiHow.com/use-webcam-on-Windows-Movie-Maker

    Movie Maker: http://windows.microsoft.com/en-us/windows-live/movie-maker

    Not tested.  Instructions could be for the old version of Movie Maker, but they probably give you the basics.

    (It's a way of many - that the answer does not depend on your OS, but on the software you use to interface with your webcam.  Camtasia?  Skype?  etc and so on...)

    In addition, to find this information is quite simple.  Once I decided on what software to go with in my response to you (I chose Windows Movie Maker 12 because it's easy to get, free, Microsoft, similar to products that were previously found with Windows) I did a simple search on Google:

    use Windows Movie Maker 12 with webcam

    https://www.Google.com/#q=Use+Windows+Movie+Maker+12+with+webcam

    or more demonstratively:

    http://lmgtfy.com/?q=Use+Windows+Movie+Maker+12+with+webcam

    The first hit seems to be a video market even helps you to download and install the Windows Movie Maker 12 application...

  • Help on Dreamweaver to make a simple Web site.

    Hi all

    I am trying Dreamweaver and honestly, I know very little about it, that's why I would like to make a simple HTML site, but I have some problems with it. I have some original Photoshop files and I would put some text on these circles of photoshop buttons and then link them together, for her, someone could help me?

    Thanks for your time.

    Best regards

    Alejandro Castan

    Try to use interactive images

  • How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD > magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD > magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    1. put the image files you want in the slide show in an album and genre as you want. Follow the Apple document to prepare images for iDVD: iDVD ' 09 (7.x): preparing images for iDVD slideshows

    2 - Launch iDVD and select an older theme, not animated.  You can change the background of the theme by dragging the image file of your choice, black or other, in the display pane for the menu.

    3 - Click on the button '+' and add a slideshow from the menu.

    4. double click on the sideshow button to enter the mode of construction of the slide show.

    5. in the media pane click the Photos button.

    6 - click on iPhoto and find the album you created with selected images.

    7. Select all images in the album and drag to the left in the slide show window.

    8 - Select the transition for the slideshow and the time for each slide on screen

    9 - follow this workflow to help ensure the best DVD video qualty:

    Once the project you want it save it as an image disk via the menu file → save as Disk Image . It will separate from the process of encoding of the burning process.

    To check coding mount the disk image, launch a DVD player and read it.  If it plays OK with DVD, encoding is good.

    Burn burn to disc with utility disk or toasts to the slowest speed (2 x - 4 x) in order to ensure the best quality.  Always use higher quality media: Verbatim, Maxell or Taiyo Yuden DVD-R are recommended in these forums.

  • Cannot download sony HDCam to use with movie maker and make a simple Assembly.

    Cannot download sony HDCam to use with movie maker and make a simple Assembly. can not download the olympus still digital cam video to use in a simple Assembly.

    Hello

    1. are you not able to import files into Windows Movie Maker, or transfer the files on the computer from the devices themselves?
    2. What is the format of the files you want to import into Windows Movie Maker?

    Check if the help of this article.

    Problems with importing files into Windows Movie Maker.
    http://Windows.Microsoft.com/en-us/Windows-Vista/problems-importing-files-into-Windows-Movie-Maker

  • How to make a simple screen of Windows 8

    How do you make a simple screen capture in Windows 8?

    E-mail address is removed from the privacy *.

    Hello

    Check this box:

    Use capture tool to capture screenshots
    http://Windows.Microsoft.com/en-us/Windows-8/Use-Snipping-Tool-capture-screen-shots

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Make a simple user interface in Premiere Pro using Javascript

    I would like to make a simple Panel of modeless user interface where the user can interact with javascript code. I started using the ScriptUI component, but there was a problem with the SnpCreateDialog.jsx example.  I get the error 'window has no constructor. What is the preferred method to have buttons, text boxes and drop-down menus when the script for the Premeiere?

    Thanks in advance!

    I recommend avoiding Eclipse and Extension Builder entirely; You can also develop directly in the/extensions directory. Agency, in order to avoid afin d' eviter no matter what stage of the copy. notebook and Chrome are the way to go.

  • You can save a. CPTX (project) as one. CPTL (model) and convert later than for one. File CPTX? I just need a little clarification on this operation in Adobe Captivate 8.

    You can save a. CPTX (project) as one. CPTL (model) and convert later than for one. File CPTX? I just need a little clarification on this operation in Adobe Captivate 8. Thanks in advance!

    Sorry, but I neglected to include a bit small (but essential) information on this thing cptl.

    A file cptl is a model of Captivate. When you create one and create a new project based on a template, you point to the .cptl file. And at this time, no matter what the .cptl file has inside of it at this time is copied to a new project file. From there, you simply save the project and .cptx is assumed. The CPTL will already have the draft resolution together and many other things. The beauty is that once it is all set up correctly, it allows you to create faster training because you don't have to stop and consider things like the resolution of project, which should show the first slide, which should show the last slide, but also a host of other possibilities.

    The reactive substance, you need to ask one of the new kids on the block who is struck with it. I'm old school and have yet to fully embrace it. It's new and full of contradictions. And I really struggled with how many people ask to see training which normally runs on a large monitor displayed on their tiny phone screens where text messages are often barely legible.

    See you soon... Rick

  • How to make a simple survey

    Hi all
    I would like to make a simple survey in a page of an application, he concludes only two choices: Yes, and no.when, I press the button submit, I can see the percentage displayed as pie chart.how to do this? any suggestions?

    Hello

    Step 1: Create the structure of the Table and relax for the sequence. I have not give code to create the sequence. That you can create with the name DEMO_POLL_SEQ

    CREATE TABLE 'DEMO_POLL '.
    (NUMBER OF 'ID_PK',
    NUMBER OF 'RESULT ',.
    ENABLE 'DEMO_POLL_PK' CONSTRAINT PRIMARY KEY ('ID_PK')
    ) ;

    CREATE OR REPLACE TRIGGER "BI_DEMO_POLL".
    Before Insert on 'DEMO_POLL '.
    for each line
    Start
    If: NEW. "' ID_PK ' is null then
    Select 'DEMO_POLL_SEQ'.nextval in: NEW. "' ID_PK ' from dual;
    end if;
    end;

    /
    ALTER TRIGGER 'BI_DEMO_POLL' ACTIVE;

    Step 2:

    Create a new apex shape type area with table column 'Result' and that his type Radiogroup and select create static lov
    Make sure that, after you have created a region go to branch out and set to clear the cache on the same page. so it clears the value of page element.

    Step 3:
    Create another region with graph and paste after SQL query

    SELECT THE NULL LINK,
    REPLACE (REPLACE(RESULT,1,'YES'), 0, 'NO') LABEL.
    COUNT (RESULT) VALUE
    OF DEMO_POLL
    RESULT GROUP
    ORDER OF RESULT

    Hope that this would be training for you.

    And Yes, you can add me to your friend list.

    Thank you
    Stefan Bosamiya,
    + 91 76000 23053
    [http://jbosamiya.blogspot.com | http://jbosamiya.blogspot.com]

  • A brand new user has need of little help and advice...

    Hello

    I just took the bold gamble in Indesign and it's the first day of my 30 day trial.

    I need help and advice from you folks... Please.

    I have been successfully creating Brochures A5 (A4 folded) using MS Word and print it on a desktop printer. MS Word sorted my order page for me when printing to the correct pages have been implemented.

    I read as much information that I could find, but I'm still able to do the same in Indesign.

    I'm looking forward to you use the advanced functions of layout and have control over what I do, but I need to work on this fundamental step before going any further.

    I hope that what I explained is logical.

    Concerning

    John

    So presumably you create a new document, the portrait of the A5, facing pages. Make sure that your number of pages in the document is a multiple of 4.

    Create, type, twist, meditate, edit, smile, save.

    To create your booklet using InDesign, on the file menu, select print booklet.

    You will probably need to jump back from the button print settings, adjusting the size paper, Orientation, color, and in the print tab booklet for 2-high shot on horseback.

    A large part has been posted on this topic, these are the basics, printing booklet is not the best module ever written Adobe, IMO

  • Implementation of a simple class

    I can't believe that the implementation of a simple class should be so difficult. I'm trying the exa simpleondez described on the Adobe

    Web site: http://www.adobe.com/devnet/flash/quickstart/creating_class_as3/#using

    I copied the code for the class from here to the Greeter.as file in the subdirectory of learning. Then, I created a dynamic text on the stage field.

    Then I inserted the following code in frame 1 of the scenario.

    1 import Learning.Greeter;
    2

    3 / / create an instance of the Greeter named original "Harold".
    4 new myGreeter:Greeter Greeter("Harold") var;

    5 / / say hello to Harold
    output.text 6 = Greeter.sayHello ();

    When I save and run I get this useless error message.

    Scene 1, Layer 'Code', frame 1, line 4 1086: syntax error: expected semicolon before nine.

    Someone at - he already tried this before? How can I solve this problem?

    Thank you

    you forgot an equal sign, and you should probably use the instance of the class (myGreeter), not the class (Greeter) to apply the sayHello() method.  (if sayHello() is a static method, your code is correct.

    1 import Learning.Greeter;
    2

    3 / / create an instance of the Greeter named original "Harold".
    4 var myGreeter:Greeter = new Greeter("Harold");

    5 / / say hello to Harold
    6 output.text = myGreeter.SayHello ();

Maybe you are looking for