How can I access methods inside the content of the loader?

I posted a similar question in the General Discussion, but, when I insert a SWF with the Loader class, how do you get variables and methods on this SWF? Is this possible?

var externalSWF:MovieClip = _loader.content; or _loader.getChildAt (0);
externalSWF.whatever ();

If it's an external swf and you do not know the type, you can either have the external swf extend a package in your calling swf file or use:

var fn:Function = externalSWF ["somefunctionname"];
FN. Apply (externalSWF, [param1, param2])

Tags: Flex

Similar Questions

  • How can I escape commas inside the function listQualify?

    I have

    am a newbie in coldfusion. I need help. My database has records of names of companies as: abc, Inc. For now I'm using this query:

    SELECT DISTINCT COMPANY FROM ComapanyTable WHERE (Company IN (#ListQualify(form.cCompanyList2, "'", ",")#))

    This problem is that it separates CBA, Inc..

    SELECT DISTINCT Company FROM CompanyTableWHERE (Company IN ('abc',' Inc.','xyz','Inc.'))

    I need to get the list, as it is, i.e. as: "abc, Inc.", "xyz, Inc." so that I can later insert these values into a new table.

    Insert the code:

    <cfquery name="insertPair" datasource="#DSN#" dbtype="ODBC"> INSERT INTO tblChildCompanyToParent (Parent_Account_ID, Child_Account_ID) SELECT DISTINCT <cfqueryparam value = "#form.pCompanyList#" CFSQLType = "CF_SQL_VARCHAR">, Company FROM CompanyTable WHERE Company IN (<cfqueryparam value="#ValueList(insertSelect.Company,';' )#" CFSQLType = "CF_SQL_VARCHAR" list="true" separator=";">) </cfquery>

    Code of the selection list

    <select multiple name="cCompanyList2" id="cCompanyList2" class="selectCCompany" data-attribute="selCCompany" size="10"> <cfloop query="childCompanyList"> <option value="#childCompanyList.Child_Account_ID#">#childCompanyList.Company#</option> </cfloop> </select>

    Y at - it anyway to solve this problem.

    Thank you for your help.

    I managed to fix it.

    I posted the solution to StackOverflow

    SQL - how can I escape commas inside the function listQualify? -Stack overflow

    Thank you once again!

  • How can I call method on the view controller Business components

    Hello
    I did a general method to display messages at the view level,
    How can I call this method in the method after validation in the EntityImpl appears automatically after the validation operation.
    Gold how can I call it in _ validationbutton to display after validation;

    public class MessageBeans
    *{*
    public static void showMessage (String title, String msgBody, String msgType)
    *{*

    FacesContext fctx = FacesContext.getCurrentInstance ();
    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_INFO, title, msgBody);
    fctx.addMessage (null, msg);


    *}*
    *}*

    1 - Drag and drop the operation of control of data validation on the page.
    2 - Double click on the button, this will bring the dialog box link Action property that allows you to link the button action method in the bean.
    3 - Select the managed bean, or create a new and enter the name of the method. and click Ok.
    3. This will create a method for you to like those posted before, you just need to change the method and show the message after successful validation.

  • Can't access Table inside the stored procedure

    Pls Me suggest good way

    The problem that I face that I created a user user1 and create a global temporary table under that user. Then I "select" Developer sql query this time under another user (User0) as select * from user1.gtt_table; successfully, it runs and return results. also can also insert data into user1.gtt_table.

    But if I try to use Insert or select user1.gtt_table and error

    • Error (798,29): PL/SQL: ORA-00942: table or view does not exist

    am I something wrong or missing any step?

    Connect as user1 for this.

  • How can I access BIOS?

    Title: original passport / BIOS

    Does not start with Passport attached to the USB port...  Said to eliminate "USB boot" from the BIOS.  How can I access BIOS?  The support fellow WD told me to push "F10" at the start, but it just sent me multiple choice starter.

    Depends on the brand and model of your system. When the initial screen, you should see similar instructions to "Press F1 to enter setup". F1 is just one example. It might be F2 or DEL or any other key. You disable and then boot from a usb device. The problem should be solved.

  • My school (Washington State University - site Angel) appears as "Untrusted" and I can't access any of the content, how do I get around this?

    I get an error "this connection is untrusted" when I connect to the website of my school and therefore can not access all of the content, that I need for my class. It is a new problem, I just had to reinstall Mozilla when I upgraded my hard drive, it worked two days ago, but not today. Does anyone know why this would happen, or how I can get around this? The only option that is imparted to me is of ' get out me of here! "which is the exact opposite of what I need to do.

    Check the date and time of the clock on your computer: (double) click on the clock icon in the Windows taskbar.

    Find out why the site is not approved, then click on "Technical Details to expand this section.
    If the certificate is not reliable because no issuer channel was provided (sec_error_unknown_issuer) and then see if you can install the intermediate certificate from another source.

    You can retrieve the certificate and check details such as WHO issued the certificates and the expiration dates of certificates.

    • Click on the link at the bottom of the error page: "I understand the risks".

    Let Firefox recover the certificate: "Add Exception"-> "get certificate".

    • Click on the "view..." button. "and inspect the certificate and the Coachman, who is the issuer of the certificate.

    You can see more details like the intermediate certificates that are used in the details pane.

    If "I understand the risks" is missing, this page can be opened in a (i) frame and in this case, try the shortcut menu and use "Frame this: Open image in New Tab".

    Note that some firewall monitors connections (sure) and that programs like Sendori or FiddlerRoot can intercept connections and send their own certificate instead of the certificate of the Web site.

  • How can I access Siri on my iMac without using the icon?

    How can I access Siri on my iMac without using the icon?  Can I say "Hey Siri"?

    There is no option "Hey Siri" on a Mac because they do not have the necessary pickups. You must use the icon in the menu bar or Dock.

  • Without a password how can I access the computer and make my own?

    I inherited a Mac Mini (2012, but do not have the password to the owner (departed).) How can I access and make my own?

    Follow the steps here:

    What to do before you sell or give away your Mac - Apple Support

    To restore to a factory State, set up like yours.

  • With the updated 31.4.0 version - demand for return confirmation and email send priority disappeared. How can I access them now? Thank you!

    With the updated 31.4.0 version - demand for return confirmation and email send priority disappeared.
    How can I access them now?

    Thank you!

    Did? I find in the title bar of the alternatives

  • Firefox has stopped to remember a password and now I can't retrieve the password. How can I access the passwords that Firefox remembered for me?

    I have two youtube accounts, but Firefox has stopped reminding the password on one of them. Unfortunately I remember is no longer the password, like Firefox still remembered up to now. How can I access the password in Firefox, or is that not possible?

    Try the menu Tools, Options and then on the Security tab.

    Look for the "Passwords" section. From there, you should be able to see or manage stored passwords.

  • How can I access the 'now playing' when first opening the music app?

    How can I access the 'now playing' when first opening the music app? There is no tab or option like in previous iOS, would be in the upper right

    When the music is playing, slide up from the bottom of the home screen to see the center of control and current reading is also there.

  • How can I access the album artwork for printing. It is used to be simple, that now I can not find anything

    How can I access the album artwork for printing on a CD? It is used to be simple, that now I can not find anything

    (Retina Powerbook 15, OSX 10.11.2, Itunes 12.3 2.35)

    Right-click on the right track... Get info... Select album art... Drag it to the desktop

    print it from there.

  • How can I access the App Store from iTunes on my laptop?  (NOT my phone).

    How can I access the App Store from iTunes on my laptop?  (NOT my phone).

    Hello

    In iTunes, click on the Apps icon on the top left and an "App Store" button will show more to the right.

  • How can I access my space girls 14 years old, on the main screen on the computer?

    How can I access my space girls 14 years old, on the main screen on the computer? So I can see what she gets up to the computer because I have no way of knowing.  She went totally bananas when I put parental controls on its site.  It has a password.  I am the administrator of computers.  Thank you

    I assume you have no access to the password for the user of your daughter.  As an administrator, you may open the control panel in Win XP and select user accounts.  The options will allow you to change or remove the password of your daughter.  Then you could sign on behalf of your daughter.
    However, who would probably trigger another outbreak of 'bananas', because your daughter will realize that you have changed or deleted her password.  This forum is not how parents react to problems of girl.  However, she is only 14, is YOUR computer and you have good reason to worry about his online activities.
     
     

    "maidmarion" wrote in message News: d6c42d7e-eb05-43a4-9723-ac451a17b15a...

    How can I access my space girls 14 years old, on the main screen on the computer? So I can see what she gets up to the computer because I have no way of knowing.  She went totally bananas when I put parental controls on its site.  It has a password.  I am the administrator of computers.  Thank you

  • I am running xp sp3 and cannot find the movie maker software in the all programs list, how can I access this software application

    original title: access to Movie Maker

    I am running xp sp3 and cannot find the movie maker software in the all programs list, how can I access this software application?

    You are welcome and thank you for the comments.

Maybe you are looking for