Changing the properties of the charger added as child

I have a movieclip holder on the screen, then I create a loader, to load an external SWF into the charger and addChild on my support:

var bgloader1:Loader = new Loader();
bgloader1. Load (new URLRequest ("myExternalFile.swf"));
bgloader1.x = 0;
bgloader1.y = 0;
MyHolder1.addChild (bgloader1);

It works in all the

Presents all works.  Now if I want to come back later and change the position or alpha, I get an error:

None of these work:
MyHolder1.bgloader1.alpha = 0;
MyHolder1.bgloader1.content.alpha = 0;

TypeError: Error #1010: a term is undefined and has no properties.

at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

Could someone please help me understand what I am doing wrong?

If you are trying to target the content until it's loaded, you miss the mark because he's not here.  If you plan to immediately attack the loaded file, then you will need add a listener for the charger for it so that you know when it's loaded and ready, and then use the function handler for this listener to do what you plan...

var loadedSWF:MovieClip;

var bgloader1:Loader = new Loader();

bgloader1.contentLoaderInfo.addEventListener (Event.INIT, changeMC);
bgloader1. Load (new URLRequest ("realm1.swf"));

function changeMC(evt:Event):void {}

myHolder.addChild (bgloader1);

loadedSWF = MovieClip (bgloader1.content);

loadedSWF.myTarget.alpha = 0;

}

Tags: Adobe Animate

Similar Questions

  • How can I change the password of my child?

    The password is no longer allows its connection.  There is no provision in settings/profile to

    EDIT/CHANGE the password.  Under his username, it is said: reset password.

    But he then asked a disk must be inserted (which I have not) before allowing the

    Ed.  Help!

    Click 'Start' WHERE?  I have a whole upward in Windows Live Family Safety...

    With 'Start', I mean the round world of early. It is usually located in the lower left corner of your screen. When you move the mouse pointer, a speech bubble said 'Start '.
  • How to change the Id of a child element that is created dynamically?

    Hello

    I would like to change the id to the dynamically created elements to work easily with their more later. Currently, edge automatically generate a random id as "eid_1376057792551" for each item.

    There's my code:

    sym.setVariable ("labels", {}

    Content2: "visitor."

    Content3: "exposing."

    content4: "Organizer."

    content5: "Contact."

    content6: 'connection '.

    });

    Clear initial state

    sym.getSymbol("tab").deleteSymbol ();

    Find all the great symbols library

    var prefix = "content"; Content1 content2... content99

    allTabs var = [];

    var symbolDefns = sym.getComposition () .symbolDefns;

    for {(var in symbolDefns key)

    If (symbolDefns.hasOwnProperty (key) & & key.search (new RegExp(prefix+"[0-9]{1,2}"))! =-1) {}

    tab var = sym.createChildSymbol ('tab', 'navigation');

    tab.setVariable ("contentId", key);

    allTabs.push (tab);

    tab$ ("btnLabel") .html (sym.getVariable ("labels") [key] |) "" );

    $tabEl = tab.getSymbolElement ();

    $tabEl.data ("sym", tab).

    $tabEl.css ({float: 'left' in the margin: "0 - 1px 15px 0"});

    {$tabEl.click (function (evt)}

    var tabSym = $(evt.currentTarget) .data ("sym");

    .each $(allTabs, {function(index,item)}

    If (item! = tabSym) {item.stop ("normal"); item.setVariable ("active", false) ;}}

    });

    var $content = sym.$("content").empty ();

    sym.createChildSymbol (tabSym.getVariable ("contentId"), "content");

    });

    }

    }

    });

    Thank you .

    Try this:

    Tab.Attr ("ID", "NEWID");

    Zaxist

  • My theme tab in display properties is unusable. How can I change the theme in a different way?

    How can I change a theme in a different way, not not not using the properties of display/theme?
    Because this tab is just lika a image - there is nothing clickable, none of the functions to work.
    I need for you to tell me how to change the themes in a different way, even if it is very complicated, or you could tell me where I can download a file that I need to replace the old works is not a (one that works on this theme unusable tab)

    I hope for a quick response,
    Thank you

    Hello

    Remember to make changes to the computer before this problem?

    There are no other methods to set the display settings.  However, you can try to solve the problem.


    Follow these methods.
    Method 1:

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows: http://support.microsoft.com/kb/322756

    Perform these steps.

    a. copy then paste the content below into Notepad.

    b. above, click on "file save as" change the "save as type" to "All files" and name it anything with a .reg extension.

    c. Double click on it and choose "merge" see if that brings the display options of the properties.

     

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

    "NoActiveDesktopChanges" = hex: 00, 00, 00, 00

    "NoActiveDesktop" = DWORD: 00000000

    "NoSaveSettings" = DWORD: 00000000

    "ClassicShell" = DWORD: 00000000

    "NoThemesTab" = DWORD: 00000000

     

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]

    "NoDispAppearancePage" = DWORD: 00000000

    "NoColorChoice" = DWORD: 00000000

    "NoSizeChoice" = DWORD: 00000000

    "NoDispBackgroundPage" = DWORD: 00000000

    "NoDispScrSavPage" = DWORD: 00000000

    "NoDispCPL" = DWORD: 00000000

    "NoVisualStyleChoice" = DWORD: 00000000

    "NoDispSettingsPage" = DWORD: 00000000

    "NoDispScrSavPage" = DWORD: 00000000

    "NoVisualStyleChoice" = DWORD: 00000000

    "NoSizeChoice" = DWORD: 00000000

    'UnadviseClient ' = -.

     

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]

    "NoChangingWallPaper" = DWORD: 00000000

     

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]

    'ThemeActive' = '1 '.

     

    "DllName" = hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00,------.

    74,00,25,00 5 c 00, 72, 00, 65, 00, 73, 00, 6f, 00, 75, 00, 72, 00, 63, 00, 65, 00, 73, 00, 5 c,

    00,54,00,68,00,65,00, 6 D, 00, 65, 00, 73, 00, 5 C, 00, 6 C, 6F 75, 00, 00, 00, 61, 00, 5 C, 00,------.

    6 c, 00, 75, 00, 6F, 61, 00, 00, 2nd, 00, 6 d, 00, 73, 00, 73, 00, 74, 00, 79, 00, 6 c 00 65, 00, 73,------.

    00,00,00

    Method 2:   In addition, run the SFC (System File Checker) scan and check if there is any system of file corruptions. (You need the XP disc to run this method).
    a. to do this, click Start, click programs, on Accessoriesprincipally made, right click guestand then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
    b. type the following command and press ENTER:
    sfc/scannow

    The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.
     
    More information on SFC scan found in this document:
    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
    http://support.Microsoft.com/kb/310747

    Method 3: If the methods above do not help, you maytry to perform a system restore.
    The System Restore tool uses points of restore to return the system files and settings to an earlier point in time. You can use it to restore the operating system to a point in time where you have not experienced the problem.

    For users of XP system restore.
    How to restore Windows XP to a previous state
    http://support.Microsoft.com/kb/306084

  • Change the properties of files and folders

    I recently changed the computer name and administrator, but I can't delete properties of former directors, i.e. name of files and folders. How can I do this?

    Where in poperties are you talking about?  Here is the list of authorized users - security and if you are looged Admin everything you need to do is click on edit and select another administrator, and then click on delete and it's done.  I don't think that this deletion process can be done throughout the world - and if is not necessary as this other account administrator is no longer eistss or has been disabled.  You should already be added to the Administrators group so that your username does not need to be added for access.

    If this isn't security, where are you talking about?  What are the 'properties' belong to the former administrator.  I don't understand.  Could you please further explain and tell me exactly how to get to the screen you are talking about?  In addition, please explain what you are tyring to accomplish by doing this - what is the problem with the other 'properties' of the administrator that you need to remove the name and I guess only to insert your new name?

    Thank you!

    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.

  • Change the time for the scheduled task, I added

    I created a schedular system file (.vbs) that supports the backup of the database of one of my application. I added this file to the scheduled task. I put the time of execution to 15:00 daily, now I want to update at the time of execution of the task sacheduled. How can I do? I use Windiws 7 Home premium.

    Hi Aurélie Rozier,.

    Click on the Start button and type "Calendar" in the search box. The option tasks planning must appear in the search list. Click (or double-click) on this option to launch scheduled tasks. When the window tasks planned opens leaves the Task Scheduler list fill out and then look to the bottom of this list for planning thye name, that you want to change. When you have found, right-click on it and choose Properties. In the Properties window, click the triggers tab and then click Edit at the bottom of the special editing window. You should be able to change the time from there.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Desktop Experience: Web:http://www.winuser.co.uk;  Web: http://xphelpandsupport.mvps.org;  Web: http://vistasupport.mvps.org;  Web: http://www.silversurfer-guide.com

  • Cannot change the properties of the image

    Hi, hoping someone can help

    I'm adding a lot of images on my site and was eager to improve SEO so wanted to change the properties of the image so I can fill in the Tooltip and text replacement with some additional information. If I put an image on the page I can right click and change the properties, however if I used the fill option and added image for it, make a right click on the image of the page does not provide an option to edit images. Is there a another way to change the properties of the image using the fill option? My site is sceicnenewsbreak.com if necessary

    see you soon

    Garry

    Unfortunately no, the picture fill properties cannot be configured by clicking on the content. Please do not hesitate to add your suggestion in our ideas section.

    Thank you

    Sanjit

  • Cannot see how to change the CSS properties in CSS designer in 2014 CC DW

    I've recently updated for DW CS5 until 2014. I noticed that the 2014 version doesn't have the possibility to make changes in the CSS properties using CSS designer. In DW CS5, I could easily change CSS properties in the CSS box. Now with 2014, I must open the CSS page and manually enter the values in the code for the line. This seems to be a huge step backward. On that note, since 2014 shows the CSS style tags element in Design view, it would be great if you can click on them to go directly to the Properties menu. This function, as it is now, is a bit useless. I hope that Adobe makes it easy access to the CSS on the next version of the software.

    Much has changed since CS5.

    CSS Designer: A tool of Visual design in Dreamweaver cc | Inspired by Adobe Magazine

    Personally, I find manually adding the code in the .css file to be much faster than the CSS panel or the new CSS designer, but you can certainly add/edit css to use. I wouldn't call it worthless until you are faster to manually code than to make selections in the menus of many however in the designer.

    You need not open the file .css separately. You can click on the name of the .css file in the bar of dependent files at the top of your document that the css is attached, to view its source code and make changes there.

  • How can I change the fields displayed in the CSS Designer Properties window?

    I'm following a tutorial of DW

    How to make and the style of a web page in Dreamweaver. Adobe Dreamweaver CC tutorials

    I'm at the end of the third part. Everything goes perfectly until it's time to change the footer. When I click on the footer tag and look in the properties field and add Clear, I don't see the alignment options. The video shows an 'other' window below the background field.

    Mine shows "custom". So I'm clearly adding to the custom field, not the field others and it show no align function. How to show than others on the ground instead of custom?

    You're following tutorial Dreamweaver CC and using Dreamweaver CC 2014 where 'other' property group name was changed to "custom".

    More information is available at the link below.

    Using Dreamweaver | Summary of new features

    I think that the link will help you understand.

    Thank you

    Lalita

  • How can I remove the underline of the text added to the track changes

    We have a lot of content which includes underscores and when we use the added track text edit function text is green and underlined. How can I change the properties of the text added to be not underlined?

    From FM11, you can specify a custom color to use for the track changes, but styles (underline, strikethrough) are still wired.

    Even if you try to make changes to the text edit rack conditions in a MIF file, they will be crushed as the MIF is interpreted then opened by FM.

    Please use the new form of Bugs & features submit an enhancement request: https://bugbase.adobe.com/index.cfm

  • Cannot change the properties of online text in the scrolling text box

    I have a simple text box with a UIScrollBar component added to it.

    Text box properties are on "enter text, multi line.

    The problem is when I want to change a single line of text to a "BOLD" or a different color, changing the content of the entire text box. I tried the setting of the different property for the text box itself with no luck.

    Is this possible? I have to use AS3?

    I would really appreciate help!

    Thank you!!!

    Steve

    If you change the html true property - either by using the property inspector or code if you are working with code - then you should be able to have different styles in a text box. This is the property that you tried and it didn't work so I need to learn more about how you try to apply the formatting.

    In cases concerning need it AS3... In general, I would say that if you do not have an overwhelming need to AS2 so you should use AS3. It has nothing to do with the text of no!

  • Flex 4: change the color of the control bar (or other properties)

    The splash of color and other properties of order can be changed?

    Thank you.

    Search

     
                        
                            
                                
                                    
                                    
                                
                            
                        
    

    in the generated style... you can change the fill for all types like solidColor, all gradients, in addition, you can add element of race to this rect, which is as far as I know, if you know of other properties that can be added here, you can let me know.

  • How can I change the account charged for a membership family Music?

    I recently entered store credit to my account, and I fear that my family membership Music will deduct my iTunes store credit. I'm not the family Organizer, but the management of the subscription appears in my account, and receipts show the composition charged for me. So, I came to believe that Apple is charging my account for the composition. Is there a way to change the account that is in charge of members? If I cancel the automatic renewal and then register as a member of the Music of the account of the organizer of the family, all my music libraries will remain intact?

    Hello..

    Read this article to support >join Apple music on your iPhone, iPad, iPod touch, Mac, or PC - Apple Support

  • Changing the setting of 80% to 100% on the Satellite Z30-A-104 battery charging

    Hello

    I used my Z30 Satellite primarily as a desktop till now (the charger is still plugged).
    One day I got a popup option to increase the life of the battery (charge only up to 80%) and I accepted the option.

    But now, I'll be traveling and can't reset this option.

    I want to charge the battery to 100% and be able to take advantage of longer battery life.
    How is that possible? Help!

    See you soon
    Vivek

    Hello

    I think that you have changed this setting in battery Toshiba Manager c++.
    You must disable Mode "Eco-responsible".

    Perhaps this Toshiba info would be useful:
    [TOSHIBA Eco Mode ECO CHARGE MODE charge | http://forums.toshiba.com/t5/General-Features-Knowledge-Base/TOSHIBA-Eco-Charge-Mode/ta-p/355376]

  • I glide click a URL link in the links toolbar and it shows just the icon of ablank page - why I can't change the icon allocated in the link properties dialog box? Can we change it elsewhere so he's better?

    I dragged a URL in the URL box - in this case a 2nd Yahoo! email login address so I could quickly switch between accounts - in the toolbar links (the one with the "Most visited" link.

    Noting that the new URL link didn't have a Yahoo! icon I right click on the link and found that there is no option to change the URL link icon to, well, anything (!) as we can do for most of the files in Windows Explorer.

    I could change the text label of the link without problem.

    Is he buried somewhere else in Firefox the ability to do so and if so where?

    If not can this option included in the dialog box properties of links in the future, please?

    I would be really grateful one answer I know that my question has not fallen into the "bit bucket".

    See you soon,.
    Leanne Martin
    Australia
    [email protected]

    There are addons that will allow you to change the icon. For example, you can try 'Signet Favicon change':
    https://addons.Mozilla.org/en-us/Firefox/addon/bookmark-favicon-changer/

Maybe you are looking for