to access the components via script?

Hi can someone tell me how to access the components via script

pls... Thank you

Hello

You can access any component in the flex application based on the hierarchy of this component.

parentApplication.CompParentOf_2.CompParentOf_1.AnyComponent;

parentApplication.CompParentOf_2.CompParentOf_1.AnyPublicVar;

ParentApplication is defined as the main appplication.

You can use this script anywhere in the application.

I hope this can help you if you are looking for it.

Thank you.

-

Afonso

Tags: Flex

Similar Questions

  • Cannot access the videos via USB more

    Nice day

    I have a HDR-SR10. I can't access the videos via USB more. drive appears blank in windows 8. Videos can be played through the screen of the device. Help, please

    Yes. Tried 2 usb ports with no luck.
    In fact. I downloaded the latest version of PMB and was able to import videos from cam. Once imported, I formatted the drive, then it pops up on the desktop as usual.
    For me, it wa weird experience and have no logical explanation.

  • Safe mode, so I can not access the Services via a Normal startup.

    Services, including Security Center, Windows Update, SuperFetch needs to be restarted but Vista freezes outside Mode safe, so I can't access the Services via a Normal startup.
    CHKDSK shows the hard drive has no bad points and the system works fine in Safe Mode.
    No idea how to deal to freeze shortly after startup? Even McAfee should be started. No idea what order to these programs.
    I've already eliminated at least 10 programs that were part of the start-up, after executing six miracle of Microsoft Diagnostics.

    * original title - problem of catch-22 with Vista freezes *.

    Hello

    1. don't you make changes to the computer until the problem occurred?

    I suggest you to try the steps below and check if it helps.

    Try to put your computer in a clean boot state, and check to see if the same problem happens.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows XP:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Hope this information is useful.

  • Cannot access the readynas via the network of windows 7 since the 65.5 update

    I have a readynas 102 fixed by a switch to a windows 7 computer pro.

    Before the update, to 65.5 I could still access the files on my readynas 102 (name: homedrive) by selecting it under Network > homedrive

    Since the update, it still appears in 'network', but clicking on does not give me access more :-(

    I found that I can open the homedrive ready nas using the IP (\\192.***.*.***) in a new window of Solution Explorer. The media unit also works very well to access music. But why can't access through the 'network' - and why he always appears without giving me access...

    I guessed that maybe it's to do with the new credentials of connection (since the change of a name of the EBU to an e-mail address), but how to change it in my windows pc network?

    Any help would be great and simple steps please! Thank you very much.

    Thanks to your inspiration I solved it my changing the password of the network connection of the former username of pre update for the new updated post e-mail deal as username via windows credentials... thank you everyone :-)

  • To access the PIX501 via HTTP

    I'm a little confused right now. I'm trying to config PIX501 accessmy & PDM via HTTP, but it's not working. Please see my config below. Thank you!

    6.3 (3) version PIX

    interface ethernet0 car

    interface ethernet1 100full

    ethernet0 nameif outside security0

    nameif ethernet1 inside the security100

    activate the password >

    passwd >

    fixup protocol dns-length maximum 512

    fixup protocol ftp 21

    fixup protocol h323 h225 1720

    fixup protocol h323 ras 1718-1719

    fixup protocol http 80

    fixup protocol rsh 514

    fixup protocol rtsp 554

    fixup protocol sip 5060

    fixup protocol sip udp 5060

    fixup protocol 2000 skinny

    fixup protocol smtp 25

    fixup protocol sqlnet 1521

    fixup protocol tftp 69

    names of

    pager lines 24

    debug logging in buffered memory

    Outside 1500 MTU

    Within 1500 MTU

    IP address outside dhcp setroute

    IP address inside 10.29.18.1 255.255.255.248

    alarm action IP verification of information

    alarm action attack IP audit

    location of PDM 10.29.18.0 255.255.255.248 inside

    PDM 100 debug logging

    history of PDM activate

    ARP timeout 14400

    Global 1 interface (outside)

    NAT (inside) 1 0.0.0.0 0.0.0.0 0 0

    Access-group outside-outside interface

    Route inside 10.128.40.0 255.255.255.240 10.29.18.2 1

    Timeout xlate 0:05:00

    Timeout conn 01:00 half-closed 0:10:00 udp 0: CPP 02:00 0:10:00 01:00 h225

    H323 timeout 0:05:00 mgcp 0: sip from 05:00 0:30:00 sip_media 0:02:00

    Timeout, uauth 0:05:00 absolute

    GANYMEDE + Protocol Ganymede + AAA-server

    RADIUS Protocol RADIUS AAA server

    AAA-server local LOCAL Protocol

    Enable http server

    http 10.29.18.0 255.255.255.248 inside

    No snmp server location

    No snmp Server contact

    SNMP-Server Community public

    No trap to activate snmp Server

    enable floodguard

    Telnet timeout 5

    SSH timeout 5

    Console timeout 0

    dhcpd outside auto_config

    Terminal width 80

    Hello

    Your PIX config has the following:

    Enable http server

    http 10.29.18.0 255.255.255.248 inside

    If you try to access the market SHARE of 10.128.40.0 255.255.255.240 then you must add this to your config as file:

    http 10.128.40.0 255.255.255.240 inside

    Your routing looks correct on the PIX, its delivery to 10.128.40.0 255.255.255.240 by what seems to be your SOHO router, so you should be able to ping the inside interface of the PIX

    If not add "icmp allow no matter what Interior"

    Rgds

    Paddy

  • Cannot change the fill via script UI button color?

    I have simple scriptUI where is the button that calls the simple function. Function work correctly if I normally call out of button, but when I try to change color after clicking the button, nothing happened.

    I tried to change the average RGB simple and now I tested this CMYK version which is Forum. Nothing seems to work through this button. Function runs, but does not affect the colors. Am I missing something on scriptUIs...

    Please, anyone know where is the problem?

    #target illustrator
    
    
    //changeColor();
    
    
    function changeColor() {
    
    
        var docRef = app.activeDocument;
        var  col;
         
        var col = new CMYKColor();
        col.cyan = 2;
        col.magenta = 3;
        col.yellow = 15;
        col.black = 0;
         
        // Create the new swatch using the above color
        var swatch = docRef.swatches.add();
        swatch.color = col;
        swatch.name = "col";
         
        // Apply the swatch to a new path item
        var pathRef = docRef.pathItems[0];
        pathRef.filled = true;
        pathRef.fillColor = swatch.color;
    
    
    }
    
    
    createGUI ();
    
    
    function createGUI() {
        var win = new Window("palette", "Test", [150, 150, 460, 455]); // bounds = [left, top, right, bottom]  
        windowRef = win; 
        
        win.increaseColorBtn = win.add("button", [110,50,200,150], "Change");
        
        win.increaseColorBtn.onClick = function () {
            changeColor ();        
        };  
    
    
        // Create quit button and trigger for it
        win.quitBtn = win.add("button", [110,275,200,295], "Close"); 
        win.quitBtn.onClick = function() {   
            win.close();   
        } 
    
    
        win.show();  
    }
    

    Sorry, but you will need to use the BridgeTalk object when working with pallets.  How to make your script work is to do the type of window 'dialogue' and put redraw(); in your changeColor(); function to see instantaneous changes.  But you can access the rest of the user of AI interface due to the dialog box modal.

  • To access the components nested within a clip instantiated at run time

    I'm having this problem with actionscript 2:

    I have a class that instantiates a movieclip in the library, for example:

    myBar:MovieClip = level0.AttachMovie("debugbar", "debugbar_mc", 999);
    

    myBar is an instance of the class variable.

    Now, the important part - debugbar in the library is a movieclip that contains some items - textInputs and buttons. The problem comes when trying to access these components.

    I would have thought this could work:

    myBar.input_txt.text = "hello";

    to set the text of the "input_txt", the name of the instance of a TextInput component on the scenario of the clip (image 1 of the mc 1 frame).

    It does not work. Infact, I can't access "component" specific properties - they return not defined. I can't added the handlers for component events either.

    I can however set and retrieve the MovieClip properties for the "input_txt", such as _x. However there is one extra strange thing with this too - _visible affecting false doesn't seem to work (a component by default substitutes however maybe this).

    I tried on a cast component, such as:

    var temp:TextInput = TextInput(myBar.input_txt);
    trace(temp);
    

    who gave 'temp' as null. Without casting, it gives the path correctly.

    It almost seems that the components are somehow broken when you try to access it this way--or that they are not accessible in this way?

    The thing is, I was able to access all of this before, when it was placed the code to do it on the timeline (frame 1, the only framework) of the debugbar itself, where the components have been placed to the above.

    I need to have it in a class, I need to spend in some items that need to be accessible by the mc. I am quite puzzled as to why it does not work.

    Thanks for your time, cheers

    the solution I've seen had to for as3.

    for as2, I think you can use onLoad() method:

    {yourMC.yourcomponent.onLoad = function ()}

    do everything.  your component is ready.

    }

  • No access to iBook store. I can see the books purchased in my "library" but have been unable to access the shop via the icons at the bottom of the screen of the library. I was also unable to access the shop via one of the links at the end of the books.

    Recommended links, NY Times, Top Charts, and Top authors are not allowing me to access the iBook on my iPad store. This problem began immediately after I downloaded and opened a book called "'Adobe After Effects: A Stey by step Guide" by Richard Lee. "

    I tried all of the fixes published to access the iBook store, but nothing has worked. I don't feel this problem on my iPhone, which is synchronized to my iPad to share books.

    How to solve this problem without having to do a restore complete, please?

    "I tried all of the fixes published to access the iBook store, but nothing has worked."

    We have no way of knowing exactly what troubleshooting have you tried unless you tell us.

    If you have not yet tried, reboot your iPad.

    1. Press and hold the sleep/wake button until the Red slider appears.
    2. Drag the slider to turn off your device completely off.
    3. Once the device turns off, press and hold the sleep/wake button again until you see the Apple logo.
  • Reinstalling the software after replacing the drive, ability to access the sites via Firefox gradually shrunk so I can not possibly download a new copy of

    Need to reinstall all the software for non-native Mac (OS 10.9.1) at a MacBookPro 2009 vintage, I had installed Firefox v. 27. As I tried to connect to the web links (which many were not problematic), I started gradually to meet the pages that would never load. Then I got a similar behavior with URL entered manually (only some; gradually more frequent). I had installed some standard modules of privacy, but I uninstalled then them. I tried to reset Firefox without result. I freshly reinstalled (or so I thought) nothing works. I tested the performance against the native Safari and initially had some problems but could access certain websites. At the point where I realized I should do a clean removal of Firefox, I was no longer able to access to any site of Mozilla in any way, except the Help menu on the installed copy and who wouldn't let me download a new copy of v.27. I was able to access a CNet Firefox download page, and he agreed than an interrupted download request but each test (5). I'm hoping to learn a way (may need to be drop the a v. 27 dmg, but hope not) to return to the operation.

    I am also successfully to access the download sites. I think that it is now OK. Thanks a lot for the replies and suggestions. The firewall seems to have been it.

  • Sometimes when I access the net via firefox, a new tab opens and opens on a Web site. How can I block access to this Web site?

    When I access the net with firefox, a new tab opens on a specific page. How can I block access to this site or stop firefox from loading? Here is the site in question:
    http://AdultFriendFinder.com/go/g1110961-PMO
    not once have I ever accessed this site and it doesn't show up in the browser history

    This has happened

    A few times a week

    is since I started using firefox

    Make a check of malware with a few programs to scan for malware.
    You must use all of the programs, because each detect different malware.
    Make sure that you update each program to get the latest version of the database.

    http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    http://www.superantispyware.com/ - SuperAntispyware
    http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    ..........
    See also 'Spyware on Windows': http://kb.mozillazine.org/Popups_not_blocked

  • Having trouble accessing the wifi via the iphone, have wireless router wrt110

    I'm having a problem to access internet by wifi on my iphone. I have recently upgraded to Windows 7, but were able to access the front and now all of a sudden get a "unable to join the network" error. Does anyone have an idea why, or how I can go about fixing this problem? Thanks for the time.

    You can try to update the drivers for your wireless card with your computer, and then try to connect to your wireless network.

  • OBIEE 11 G to access the RPD via Enterprise Manager

    Hello

    Is it possible to access the RPD through Enterprise Manager, instead of the Office Administration tool? How to get to the RPD through the EM? I went at the request of base etc and did download it (http://docs.oracle.com/cd/E21764_01/bi.1111/e10541/configrepos.htm#CIHDFCJJ), but can we open the RPD and work with her to the MA?

    Thanks for your time and your help.

    Laughing out loud

  • Factory reset N300 WIRELESS Cable Modem Router and now can't access the internet via a browser

    I have reset my modem/router to factory reset through my laptop to try to solve a problem. Now it will not allow Internet access through browsers at all, but I can still ping via the CMD prompt

    .. After a couple of hours trying to solve this problem, I solved the problem by logging into the router... tab basically fixed IP/DNS auto and back to auto settings once again... He was somehow glitches.

  • RDP has stopped working on Win7 incorporated after the restart, but I can't access the remote via VNC viewer

    Hello.

    I restarted yesterday a machine resulting in RDP no longer works.

    I can access via VNC viewer.

    Any idea that it might be?

    BR

    Rudi.

    Use telnet.exe to know if port 3389 is always on the host computer. Start on the host of the RDP, then go back to your own machine.

  • Cannot access the internet via Blackberry 10 Simulator...

    In fact, I'm in the workplace...

    There are a lot of restrictions are there... every time that I'm trying to access internet from the blackberry browser 10 Simulator...

    He rasises an error which is unavailable to the network (proxy is enabled).

    When I connect the pc even to open the network while I am able to browse internet Simulator itself...

    then I came to know that the proxy server is not bypassing the url generated from the Simulator...

    can someone suggest a good answer to work with...

    10 BlackBerry Simulator does not support connections via a proxy server.  This looks like what you see.

Maybe you are looking for

  • HP Touchpad Server error when setting up of webos?

    My HP Touchpad can settinp up For you first, I tried setting to the top of my new touchpad.I choseEnglish > andUnited status > andwifi configuration and choose a > (it has been accepted)Apperar display "HP-terms and Conditions.then I got an error mes

  • Satellite L50 - B - I'm not able to establish a wireless connection

    Hello No reason, I'm not able to use my wifi connection more.I was at home and my wifi worked, but when I went to an another location al of a sudden switch to activate the wifi (8.1 to Windows, not on my laptop, there is no switch on the laptop itsel

  • How to level the TouchSmart software to version 4 on TouchSmart 300

    I'm on the TouchSmart 300-1020 (product # NY536AA-ABA) running Windows 7 (64 bit) with 4 GB of memory. I want to upgrade the software TouchSmart 3 to 4 TouchSmart. All support for this links are dead. Can you help me? My son with autism & other disab

  • disable the K3 note vr mode

    Today I updated my k3 to all rating 6.0 android works well but I checked the vr feature option mistakly mode I have it now it's not put in on.plz help

  • How to open different files, as the case

    Hello I have 3 case within a case. When I select a first case, I need a certain VI to start. (I did by simply sliding the VI in this case) But when I select the 2nd case, I need an executable file to pop up, but I am not able to drag in the structure