Is it possible to get a reference to the main timeline in an external class?

Hello
After spending over 2 hours on google on how to access the pit of the main timeline an external class
I have not found any solution.

Anyone know how to the main script in an external class to access?
And you can see a movieclip (the name of the instance) of a clip that is drawn on the scene and not
place dynamically with addChild in an external class?

I hope to hear from anyone.

I discovered a solution. Don't know if it's good, but it works for me.

What you have to do is on your movie fla on any keyframe:
Hello from the var: YourExternalClass = new YourExternalClass ();
hello.someFunction (this);

and in your external class, make a public service:

public void someFunction (mainTimeLine): void {}
trace (mainTimeLine);
mainTimeLine.getChildByName("instancenameofyourmovieclip").alpha =. 5;
mainTimeLine.getChildByName("instancenameofyourmovieclip").rotation = 30;
}

See you soon!

Tags: Adobe Animate

Similar Questions

  • Satellite Pro L10: Is it possible to get a copy of the original installation discs

    Hi I'm new to the forum.

    Is it possible to get a copy of the original installation for my laptop Toshiba Satellite Pro L10 diskettes?

    Concerning
    Anno2

    Hello

    Of course, it of possible to get the Toshiba Recovery CD!
    You can order it from the service provider authorized in your country!
    Simply call the guys and order! It shouldn't be very expensive!

  • Equium A60: Is it possible to get a copy of the Windows XP Home CD?

    Can someone tell me if it is possible to get a copy of the Windows XP Home CD that the recovery DVDs were made with that came with my Equium A60?

    Hi Matt

    The Toshiba Recovery CD, you can buy from the Toshiba service partner in your country.
    I don't know that it is not very expensive.
    The database with the right ASP, you will find on the page of Toshiba.

    Another possibility is to install the OS from the original Microsoft Windows, then install all the drivers needed and utilities Toshiba.
    These applications you can find on the page of the Toshiba driver.

  • How to get a reference to the delivery of the program (not at base of LV)?

    Hello

    I need to create a LV application which will be:

    -Run external executable and not on LV. It has a window of the UI which will open

    -Open PS (no title, menus, etc.) and position it under the user interface

    -If the user moves main UI, LV app FP follows the window

    -If the user closes the main user interface, LV app closes and ends.

    App - LV does not display in the bar of tasks

    So, basically, I need to develop an application that will add-on to an existing GUI, so that together they look and behave like a single user interface.

    The main thing I am struggling with now is how to get a reference to the execution of UI that I call using the exec.vi system

    Help, please!

    What operating system? If you are on Windows, you can try to use the Windows API. Specifically, FindWindow to get a reference to both windows and SetParent to set the parent of one of the windows. This example gives you the basic idea.

  • Is it possible to get physical disks for the version the creative cloud Lab?

    Is it possible to get physical disks for the Lab (lab license) of the creative cloud version? Download times to download most of the following CC are crazy. Physical disks would be useful.

    It is possible to obtain copies of DVD of installers of regions with poor communications infrastructure. Please contact your Account Manager, dealer or contact Customer Care - Adobe Support

  • How can I get my reference of the AdobePS free CS2 series?

    How can I get my reference of the AdobePS free CS2 series?

    It is not free.  downloads are intended for authorized users of cs2.

  • I have no need of the full Photoshop CC - is possible to get in place of the PSE on the monthly plan?

    I have no need of the full Photoshop CC - is possible to get the last PES instead (on the monthly plan)?

    Hello

    Unfortunately only creative apps Cloud and CC are available on monthly payment options.

    Reference:-Creative Cloud price and membership plans | Adobe Creative Cloud

  • Is it possible to get a list of the refnums all ActiveX objects loaded into memory?

    Specifically, I want to programmtically save and close an open excel workbook which has not yet been registered and I don't know the name of. LabVIEW.

    I know how to manipulate the workbooks I open from a saved location, but don't know how to take any workbook is open on my computer and save it to a known location.

    Thank you!

    I saw this post and thought it might be a similar method for ActiveX objects to vi:

    http://forums.NI.com/T5/LabVIEW/is-it-possible-to-get-a-list-of-refnums-to-all-vis-loaded-into/TD-p/...

    DaveRines wrote:

    Specifically, I want to programmtically save and close an open excel workbook which has not yet been registered and I don't know the name of. LabVIEW.

    I know how to manipulate the workbooks I open from a saved location, but don't know how to take any workbook is open on my computer and save it to a known location.

    Thank you!

    I saw this post and thought it might be a similar method for ActiveX objects to vi:

    http://forums.NI.com/T5/LabVIEW/is-it-possible-to-get-a-list-of-refnums-to-all-vis-loaded-into/TD-p/...

    This should work:

    If you want to change the path or to have more control over the options, you can replace '_Workbook/Save' method with

    In this case, if you want to avoid pop-ups, make the 'Visible' and 'DisplayAlerts' FALSE properties when you open the Application in the first node of ActiveX

  • ActiveX - Get a reference to the control

    Hi all

    I need raise a value change event in a VI ActiveX of LabVIEW interface.

    To do this, I think that I need to retrieve the reference to the control and then use the (signalling) Value property of this control.  Does anyone have any idea on how I could get the reference to a control through the ActiveX interface?

    Any other suggestions on how I can trigger a change of value programmatically event are certainly welcome.  I tried the 'SetControlValue' call function but that does not raise the value changes.

    Thank you

    Zach

    I don't know if I understand, but it looks like you are trying to control LabVIEW via its interface ActiveX from another program, such as C. In order to get the reference to a control so that you can access the value property (signs), you must first access reference front panel of the VI and then get the list commands (which is an array of references). You can walk through this table until you find the one you want, and then set the Value property (signs).

  • is it possible to get to info on the cost (and period or number) programmatically conversation/SMS?

    Hi, I was wondering - is it possible to get information programmatically:

    -number of SMS Messages sent

    -number of sent mms

    -How long the user has been talkig

    -How much paid for talk/sms/mms-fondant on filling up the user. is it possible to get the user rate programmatically?

    Kind regards

    To count the number of outgoing sms and mms; implement SendListener.

    From the call duration use call log.

    and take the callcost/min, cost/sms, mms/cost as user input to first launch your application. I have thin in this way you can do your necessary things.

    Press the button Bravo thank the user who has helped you.

    If your problem has been resolved then please mark the thread as "accepted solution".

  • BlackBerry Smartphones Reg: is it possible to get map location by the way to and from the address?

    Conditions-1 

    I use Blackberry8300 Simulator & JDE 4.5, at my request, I am passing to go and to address how can I get card?

    I worked on a few samples, but it using only the Longitude and the Latitude.Is it is possible to get the card to the address.

    Condition-2

    Otherwise it is possible to get the Latitude and longitude in passing the address in blackberry...

    Give feedback as soon as POSSIBLE...

    k, sridhar,

    a clarification more, how u use google api to get lat and long address?

    What are the steps followed u

    Regarding

    Karthik.J

  • Is it possible to get an impression of the Firefox Help screens? How can I do?

    I'm not a geek and I am struggling to get my head around the use of Firefox with Windows 7. It might be easier if I could print the help screens to create a manual that I could follow in step by step mode.
    How would I do that?
    Thank you in advance.
    John Crawford.

    Select the text that you wan't to print.
    Then ctrl + c and open word or notpad, meadows
    and press ctrl + v, and then print it out.

  • Is it possible to get 4 to recognize the raw files of my 7 d Mark 2 of lightroom?

    I have searched here for a few days now, but can't seem to get my head around the answers I received a brand new 7 d 2 a few weeks ago.  When I got to download my photos from the card that I was only slightly surprised, they were unreadable - I forgot to format the card in the camera.  Not much, I thought, gleefully removing photos that Lightroom could not read and formatting the card.  But now that I formatted the card, I'm kindof upset that Lightroom always can not read files in all.  I downloaded the DNG Converter and updated all my software, but if the files are not played at all, how do I convert them?

    What am I supposed to do? I can see the photos on the camera itself - I usually shoot in Raw and JPEG to cover me, but this time, Lightroom is not read either format.  If I only shoot in JPEG I can download them without problem, but together (jpeg and raw) I do not either.

    Wise tech, I have a hp laptop, 4 GB RAM, 2 TB hd (separate), Windows 7 64-bit os, 4 of Lightroom and Photoshop elements 12.

    Help me please?

    Thank you

    I downloaded the DNG Converter and updated all my software, but if the files are not played at all, how do I convert them?

    The DNG Converter (version 8.7 or later) allows you to convert RAW format to DNG. It is a separate step, outside of Lightroom, before importing. Then th DNG will be able to import in Lightroom 4.

    I usually shoot in Raw and JPEG to cover myself, but this time Lightroom is not read either format.

    If your card has the JPG and RAW, Lightroom is not read jpg files? Can you give the error message or describe what's happening? Also, make sure the option to treat the JPG next to RAW as distinct pictures is checked. Lightroom help | Set preferences to import

  • Is it possible to get a backdoor without the extended battery?

    My battery door became very weak and creaky because I do so many battery pulls. I have the long battery life, and it seems the only way to get a new one, is to buy another battery. My back door just stays on. Also, are there any plans on commercialization of skins for the external battery? This would make the phone feel more solid and protect the bezel of the scratches.

    Yes

    http://www.Amazon.com/Motorola-SJHN0692-Bionic-extended-battery/DP/B005OQICTQ/ref=sr_1_3?ie=UTF8&QID...

  • Is it possible to get JavaScripts automatically from the old version of the player running continuous?

    Some of our customers use JavaScripts inside their reader q. Now, we (they) have a problem with the installation of the new CD player: they lose all the JavaScript files.

    Is it possible to automatically enter the JavaScripts the old version of the CD player, perhaps even within the installation process?

    The need for JavaScripts to be moved from the old installation folder to the new location of the installation.

    I don't know if it is possible to automate while installing; It may depend on your operating system and how you install the new version of the player.

Maybe you are looking for