URGENT: How to identify Parent movie when we're inside the COMPLETE event

Hi all
I have try it for 4 days for a Solution, I don't know how to solve this problem.
Well, I'll explain the Situation. I'm list creation of thumbnail using AS3 coding. Everything will work well.
After the loading of the thumbnail, I want to resize the thumbnail to fit the size of the thumbnail. To set the exact size that I have to get the sample size movie that is placed inside the MC sticker, I can't able to get the name of the Instance. Here with, I have attached my sample Code. Please help me on this

Try this code in onThumbLoaded:

Tags: Adobe Animate

Similar Questions

  • How to stop screen flashing when I go to the itunes store?

    How to stop screen flashing when I go to the i tunes store?

    It is not very useful, but it seems that this problem has been resolved by only showing is not the store at all!

    Not 'progress' I was looking for. Issue still ' live'.

  • Hello! I ve a problem with the complete abo... How can I activate illustrator after regulation time? the complete abo is already saved for the last month...

    Hello! I ve a problem with the complete abo... How can I activate illustrator after regulation time? the complete abo is already saved for the last month...

    [Duplicate message deleted... post the same question more than once is confusing... MOD]

    [This is an open forum, not a direct line to Adobe support... you have to wait a response]

    Hello

    Please see: -.

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

  • Hi, I was wondering how is Adobe plans a subscription for 1, 2 & the complete costume but no option for say 3 applications software for individual users?

    Hi, I was wondering how is Adobe plans a subscription for 1, 2 & the complete costume but no option for say 3 applications software for individual users?

    In fact they have plans for simple applications overall, with one exception where they offer Photoshop with Lightroom for less than what the combination of would cost them separately.  You're probably not going to get an answer to your question, but... it's probably a part of their marketing strategy that is aware of the management of the Adobe - no information to share to the public.  It is unlikely that anyone who knows why will visit these forums, or are allowed to share this information, even if they did.

  • How to remove fixcleaner? When I go into the Control Panel, it does not work!

    Original title: how to remove fixcleaner

    functions, programs and program says Control Panel does not exist when I try to remove it. How can I get rid of him?

    You could try Revo Uninstaller or maybe CCleaner could get rid of it.

    http://www.revouninstaller.com/revo_uninstaller_free_download.html

    OR

    You can get their directions complete here.

    NB: Check the q: how to uninstall FixCleaner? about three quarters of the way to the bottom of the page.

  • How I change DEP? When I go to the 'systems' and 'Advanced... '. "and finally access, it is gray and allow me to change

    When I go to the 'systems' and 'Advanced... '. "and finally access, it is gray and allow me to change

    Hello

    did you follow these methods?

    How to enable or disable DEP in Vista and Windows 7

    http://www.Vistax64.com/tutorials/120778-DEP-enable-disable.html

    How to enable DEP on or off for a program in Vista and Windows 7

    http://www.Vistax64.com/tutorials/65790-DEP-turn-off-programs.html

  • How can I stop ads when I'm on the internet

    When I'm on the internet I get bombarded ads how can I stop this

    Hi Don,

    What version of Internet Explorer is installed on your computer?

    You can still block the pop up that allows you to limit or block most pop-ups. You can choose the level of blocking you prefer, to block all pop-up windows to allow the pop-ups you want to see. When pop-up Blocker is enabled, the InfoBar displays a message saying "pop-up blocked. To display this pop - up or other options click this link:

    Blocker
    http://Windows.Microsoft.com/en-us/Internet-Explorer/IE-security-privacy-settings#IE=ie-11
     
    Back to us for any problem related to Internet Explorer. We will be happy to help you.

  • Why no animation visible layered on top a movie when you preview in the browser?

    • I use the latest version of EA CC (2014)
    • Import video
    • Converted to a symbol
    • Added a controller... plays very well on his script, or preview in browser

    Then, I made the following...

    • Double click on the symbol of the video
    • Created an animation to play on
    • Everything shows fine Preview on the chronology of the coast

    This is the problem...

    • When I saw in the browser, the video plays well, but the animation I layered on top, is not visible at all
    • Please advise, thank you.

    Hi Eddie,.

    I think I understand. Here's the thing: video element controls has nothing to do with the chronology of symbol - it is only intended to control the video element (this is in fact the native media controller that every HTML5 browser provides for video & audio - you may have noticed it's different in different browsers). So when you stop your video, the scenario of the symbol continues to play.

    It is critical to make default controls for the video? Otherwise, I omit them and just to control video playback with the playback actions, or with your own code. With a few buttons and the code, you can pause/play the video element as well as the chronology of the symbol in same - button clicks is the best way to keep the video editing and symbol in sync.

    HTH,

    Joe

  • extend ListField, how to get a valid result of getSelectedIndex inside the method object?

    Hi all

    I have replace the method object to extend ListField to create my own color ListField.

    I need to avoid the double drawRow between the method object

    and the drawFocus() method.

    inside the method object, I always get the 'bad' selectedIndex (previous)

    (or rectangular previous on getFocusRect()).

    my questions are:

    1. how to get current selectedIndex (or FocusRect) inside the method object when we extend ListField?

    2. is there any other method called before object, the method which returns SelectedIndex valid?

    3. how to avoid the double drawing between object and drawFocus()?

    Thank you.

    If everything you do is add your own color, and then you can do this by using a fillRect in the drawListRow method.  In there.  I have the code that did this, but only for lines not targeted, as it detects with:

    If (listField.getSelectedIndex ()! = index) {}

    //

    }

  • How to communicate a button to a movie_clip inside the component UiLoader using AS3?

    Hi, I do a flash app to test various paintings, for a company.


    I have a movie clip on stage with buttons on the left side and a uiloader side that loads an external swf file on button (thumb_01) click-target. In main movie clip, there are two buttons. 1 trigger a function to choose a wall and a 2nd trigger a function to select the roof. External file swf (movie_01.swf) has two clips 1 is a wall (mask_01) and the 2nd is roof (mask_02). Now the problem is I want to click a button to select the wall inside the external swf file to change its color. I am sure that the problem is in the path by which I try to choose a film of wall that is inside UiLoader. Can someone tell me what will be the path to trigger a function to a clip inside Uiloader?



    Here is my code for the button to select a wall or roof .




    import flash.events.MouseEvent;

    Import fl.motion.MotionEvent;



    var targetObj:Object;


    selectWall_btn.addEventListener(MouseE... selectWall);


    function selectWall(evt:MouseEvent):void {}

    targetObj = uiloader.movie_01.mask_01; <-I think the problem is in this way...

    trace ("wall is selected!');


    }





    Here's the code for uiloader =...



    Import fl.containers.UILoader;



    Object (this). slider_mc.thumb_01.addEve,... loadMovie_01);


    function loadMovie_01(evt:MouseEvent):void {}


    trace ("film is loading!");


    var uiLoader:UILoader = new UILoader();

    uiLoader.source = ' movies/movie_01.swf ";

    uiLoader.scaleContent = false;

    uiLoader.x = 291;

    uiLoader.y = 19;

    addChild (uiLoader);




    uiLoader.addEventListener(Event.COMPLE... completeHandler);

    function completeHandler(event:Event) {}

    trace ("number of bytes loaded:" + uiLoader.bytesLoaded);

    }

    }

    Error is the following...

    Scene 1, Layer 'Forth', frame 1, line 431120: access of undefined property uiLoader.



    Can someone help me?

    Part of the problem is due to declare the uiLoader inside a function.  When you do that limit its scope within this function.  You must declare outside any function if you need to access it in more than one function.

    import flash.events.MouseEvent;

    Import fl.motion.MotionEvent;

    var uiLoader:UILoader;

    var targetObj:Object;

    Other issues I consider the line that you point.  This is not spelling the name, with a small 'l '. Also, if you want to target that contains the UILoader, you should target its 'content' property, as in...

    targetObj = uiLoader.content.mask_01

  • Move data directly from inside the loop

    Is it possible to move data directly from inside a loop outside the structure of matter in real time? I would like a chart of the data in a structure of matter in real time outside the structure of the case. Ideally, it would include information of the real deal and then the waiting period as a '0' for false case. Attached is a version simplified VI I'm working. I tried the local variables, but they only read the first item for loop puts each cycle T/F. One idea is welcome including a complete change in the structure of the VI.

    Thank you!


  • If it is usual for the test materials must be installed when you paid for the complete products?

    I paid for creative photography Cloud with LR and Psalm I downloaded and installed products. However, they are products of test and count backwards to the days. When I click on the license request you a code that I have not been given. Is this normal behavior? It will convert complete products soon?

    Hi Pete,.

    First of all, disconnect, then back into creative cloud, using adobe id to pay for your subscription.

    Connect and disconnect activate Cloud Creative applications

    Then, if you launch any product of CC 2015 and the pop up still shows a trial message window, please check this link for the resolution:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

    Hope this helps!

  • How can I email PDF as an attachment inside the Muse?

    I want to include a form to fill out on a page of Muse. Once the person fills in, how can I have them send the filled form to inside the Muse page?

    I would advise against trying to send the PDF by email. It is generally improper to be many, many reasons. For HTML forms, an experienced web developer needs to rewrite the end server (ASP, CGI, PHP,...). PDF forms are not simple.

    I would use a widget in muse. Go to your menu on the right Muse, select widget library, select Forms.

    from there, you can create any field and insert your own content. This will allow you to send content to your e-mail address, once completed by the end-user.

    Concerning

    Shane

  • Need help with security when AS3 running inside the browser

    Hello

    I'm relatively new to flash, but a fairly skilled programmer.

    I've created a game that works perfectly and communicates with a WinSock server on port 4000 to publish his final to score. With the help of simple XMLSocket and Send.

    When I start the game in the stand-alone flash player everything works perfectly as it should

    However, when I embed in an HTML page or similar this is wrong. The game works fine, but the final display on the WinSock socket server fails. I got the error message.

    ioErrorHandler: [SecurityErrorEvent type = "securityError" bubbles = false cancelable = false eventPhase = 2 text = "Error #2048"]

    My server is a local server run me IIS 6. Everything works very well by the stand-alone flash player, so I know that the ports are clear and firewalls is not the problem.

    Searching around google and forums I discovered in 9,0,124,0 (flash I'm short) that they brought security enhancements, namely you must validate a cross-domain file.

    My file is sitting in the wwwroot in my Web server where my flash swf is hosted and looks like

    < cross-domain-policy >
    < allow-access-from domain = "" * "safe ="false"/ >"
    < / cross-domain-policy >

    I also tried adding to article 1 of the swf file

    Security.loadPolicyFile (" http://mydomainname.com/crossdomain.xml");

    I tried all the bottlenecks, but I can't get the flash to communicate with the server socket when it inside a web browser.

    If I run it in the stand-alone player, everything works perfectly.

    Can someone help me please. I've been googling and ripping my hair out for centuries. It's the last step in my project and I failed the final step.


    Just to add.

    My server and the test computer are on the same domain, the web server is a win2003 server and my tests and server coding is a XP machine running IE7. They are connected by a router ADSL, sharing the same external IP address, but rather through the DHCP addressing. Everything works fine for winsocket port port forwarding.

    Just for emphasis, I think that this configuration is correct, because everything works fine when I run in the flash player.

    Thank you very much

    I fixed it later.

    In version 9.0.124.0 flash they force now you have a server running on port 843 XML socket server somewhere if you want to use XMLSocket in a browser.

    Nothing to do with the domain or crossdomain.xml files.

    You must also call

    Security.loadPolicyFile ("xmlsocket://x.x.x.x:843") before opening the socket.

    to load into the XML file that defines what is allowed.

    Google search for AS3 and socket server port 843 and you will find examples and even a simple Java based server to use.

  • How can I get my slider to move when I click on the Groove

    TheI created a simple movie, Adobe Flash, which is to act as a slider control. The code I've written is shown below. I am able to grab the slider and move it to any position on the Groove, but I also want to be able to click anywhere on the Groove so that the cursor will jump and lock in this position.

    I created a function:

    groove_1.OnMouseDown = function() {}
    trace ("you clicked on x = ' + this ._x");

    slider_1._x = this ._x;
    }

    the problem is that this coordinated ._x returns the left edge of groove_1 and not be set that the user has clicked on this control.

    Can someone tell me how to get this information out of the mouse to the bottom of the event?

    The code of the file is:

    slider_1.onPress = function(){
           
    this.startDrag(true, _root.groove_1._x, _root.groove_1._y, _root.groove_1._x + 520, _root.groove_1._y );
    }
    slider_1
    .onRelease = function(){
           
    this.stopDrag();
    }
    slider_1
    .onMouseMove = function(){
            newPoint
    = new Object();
            newPoint
    .x = this._x;
            newPoint
    .y = this._y;
           
            _root
    .groove_1.globalToLocal(newPoint);
    }
    groove_1
    .onMouseDown = function(){
            trace
    ('You clicked x = '  + this._x);

           
    //slider_1._x = this._x;
    }

    The source file is contained in the attached zip file

    You probably want to use either:

    slider_1._x = _xmouse; allure of mouse position

    OR

    slider_1._x = groove1._xmouse; position of the mouse on groove1

    I think the first applies because your cursor is based on the position of groove1, but haven't thought far through it.  At least you know that you must use the mouse position to determine where you clicked.

Maybe you are looking for