call for an id in flex by programming with actionscript
Hi... I have a question that will most likely be a fix to a simple syntax.
in the past, I could successfully reference the id of an element and its properties via actionscript using a variable... so say for example a textbox element has an id = "txtBox_2"... I could mention this text box and its properties without typing hard and using this actionscript:
initApp = "test (2)"; "
test of the public service (useID): void {}
ce ['txtBox_'+useID] .text
}
but I can't go deeper than that... Let's say, for example, I have a component within a component... in this case, I'm calling 2 levels component to the bottom of my main.mxml file
in main.mxml, I have an element with an id of comp1
I have another component called comp1 comp2
in comp2 I have function called loadData();
I figured in main.mxml, I could run this function by changing the code above like this:
This but I get the error that flex can not find this ID can anyone help? Thank you!
(this ["comp1"]) ["comp2" "] .loadData ();
Tags: Flex
Similar Questions
-
Error in buildserver for IBM COBOL - DB2 program with ATMI calls
Hello..
Use IBM COBOL for AIX version 5.3...
I installed Tuxedo Oracle 10g R3 on AIX and IBM DB2 V9.5 on AIX...
I wrote a sample Cobol-DB2 program with ATMI calls for the client and the server...
I precompiled programs with the command...
DB2 prep COBDBCL.sqb bindfile target ibmcob CALL_RESOLUTION DELAYED and
preparation of DB2 COBDBSR.sqb bindfile target ibmcob CALL_RESOLUTION DELAYED
and for binding
bind DB2 COBDBCL.bnd and
bind DB2 COBDBSR.bnd
and to compile the generated .cbl files, I used this command.
COB2-qpgmname\ (mixed\) - qlib-I$ DB2PATH/include/cobol_a - c COBDBCL.cbl
COB2-qpgmname\ (mixed\) - qlib-I$ DB2PATH/include/cobol_a - c COBDBSR.cbl
and for the client and the server of construction
BuildClient - C o COBDBCL f COBDBCL.cbl and
BuildServer - C o COBDBSR s COBDBSR f COBDBSR.cbl
Here buildclient works very well because there is no book of copy to "SQLCA" here. but for buildserver get this errors...
PP 5724-H44 IBM COBOL for AIX 2.0.0 underway...
The LineID Message library phase code message text
280 S IGYLI0049 of the library of 'COPY' not found. Jumps to the period
closing statement "COPY".
Total of ending information stern warning error messages
Printed: 1 1
Code a LineID Message Message text
IGYSC0185 - I have Messages were issued during the processing phase of library.
See the beginning of the list.
325 IGYPS2121-s "SQLCA" was not defined as a data name. The statement
has been ruled out.
Same message online: 332 408 431 501 514
590 600 618
Total of ending information stern warning error messages
Print: 10 1 9
End of the 1 compilation, program COBDBSR, more high severity: severe.
Return code 12
CMDTUX_CAT:1839: ERROR: cannot run cob2 - c-I/usr/Oracle/Tuxedo10g/cobinclude COBDBSR.cbl
I've included the path to the DB2 in LIBPATH library and od DB2 path in the PATH environment variable...
Am I missing any option when generating? If the steps that I followed are correct?
Need your help...
Thanks in advance...Hello
Well, the error indicates that the linker cannot find the db2 library. Are you sure DB2DIR is correct and that the db2 library is located in $(DB2DIR) / include/cobol_a? This seems like a strange place for DB2 XA libraries.
Kind regards
Todd little
Chief Architect of Oracle Tuxedo -
OK, so I just had to re - install Windows 7 on my laptop due to a disk failure (Windows 7 Home Premium SP1) and hit a brick wall with trying to turn on Microsoft Updates instead of Windows updates.
I try to click on the link "Learn more" on the bottom of the page to update on the line "Get updates for other products Microsoft." and it opens just a web page with a graphic telling me to open my Start menu and click on Windows updates.
Catch 22 is that Windows Update has no options for anything other than Windows. He won't find the updates for the office or any of the other Microsoft programs I installed and there is no option to enable it in Windows Update settings.
Exactly what I am missing, and where has Microsoft moved the activation of Microsoft Updates page too, because when I click on the link need me to http://www.update.microsoft.com/windowsupdate/v6/thanks.aspx?ln=en&&thankspage=5 that makes a whole lot of nothing.
Thank you!
Original title: Microsoft Update in Windows 7
You might look into this it's the new way to update after a clean install.
It is expected by M$, we must now jump through hoops to clean install.
It comes in a way most old but still works just check out some of the last comments for new KB # install manually to the contrary in this order
KB3020369
KB3161664
KB3161608
http://www.ZDNet.com/article/sticking-with-Windows-7-the-forecast-calls-for-pain/
After you install Office options updates for other products from M$ and the new software should appear.
-
I called a number of technical support for Microsoft and they transferred me to a specialist for the Activation Center, and she got my active product. A few days later, I noticed something that I had downloaded had a few additional programs with it. From my experience, until it became a problem, I tend to put the computer in a day or two to back it up on the problem. When I did it this time, I was sure that the restoration would not affect the activation, but he did. Now I have seven days left... can someone please give me a number to get my reactive product?
How to activate Windows 7 or Vista manually (activate by phone)
http://support.Microsoft.com/kb/950929/en-us1) click Start and in the search for box type: slui.exe 4
(2) press the ENTER"" key.
(3) select your "country" in the list.
(4) choose the option "activate phone".
(5) stay on the phone * do not select/press any option * and wait for a person to help you.
(6) explain your problem clearly to the support person.
(7) the person must give you a confirmation ID, copy it down on paper,
(8) check that the ID is correct in reading the support person.
(9) to enter the ID number, then click 'Next' to complete the activation process.Activation and registration of a Microsoft product
http://support.Microsoft.com/?kbid=326851
Windows activation: (888) 571-2048
(888) 725-1047 or 800-936-5700J W Stuart: http://www.pagestart.com
-
Just got yet another call for "Windows Service Station"
Just got yet another call for "Windows service station', saying: I was hacked and my computer sends windows warning messages and if I didn't follow his instructions all my data would be deleted... An Indian-sounding guy named Sam... I played along and got a phone number, saying: I would like to remind him he said 0808 1890111 which is a UK addiction hotline...
I played along 'Sam' gave me an extremely long code to type in something on the windows event viewer... I know it's a scam and we have these calls often 3 times a week for a few years now. I play at the same time or am quite rude and tell them to be ashamed of themselves, depending on my mood... I really wish that they would go, but I can't this blocks 'any number' because it is off the coast.Any suggestions on how to remove our number and the name of their list (I asked the scammers do, but they don't notice).Certainly a SCAM, you have made the right choice. Never to give them information and never leave access to your PC.
It is difficult, if not impossible to remove your number from a list of scam once its on it. And it's hard to know how they got it in the first place. It could be a list simple phone book. Recording with things like Telephone Preference Service (United Kingdom) and asking to be made "Red" (BT - UK) can make it harder for them to get a number in the first place, but once they have it probably wont help. It can stop any other do however.
There are devices like Call Blocker, which can be programmed for their calls not ring your line, but it depends on what number they release when they call. If their number is "held" and then some providers have a service to stop calls "deductions number' to ring your line. ACR service (BT - Uk).
PS - the links above are a few examples of our services/devices to the United Kingdom for more information.
-
I get this error since I uninstalled an application called DriverCure. Now when I choose 'open with' any type of file I get this error this is really boring, I also tried reinstalling the app and also do a system file check, but it was of no use.
Hello
Thanks for posting your query in the Microsoft Community Forums.
According to the description provided, I understand that you are unable to open any type of file on the Windows 7 computer. I will certainly help you in this regard.
You can deal with these issues, if the file is corrupted. I would refer you o suggest the help article and run the Fixit tool.
When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program
http://support.Microsoft.com/kb/950505
Note: 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://Windows.Microsoft.com/en-us/Windows7/back-up-the-registryBack to us for any problem related to Windows. We will be happy to help you. We at Microsoft try to provide our customers the best experience.
-
I fell for what you all seem to feel is a "scam."
I got a call saying they were technical support from Microsoft, they called for my pc was hacked and sent error messages. I was not too su re, but they had me enter a code on the pc, and it showed a list of more than 50 error messages, they said that they had received. Then, they control that is given to them for the mouse and seized a lot of information showing me the problems. Then he said warns me on; those pirates I needed a special program. "Alpha PC maintenance" and for 3 years, it would be $ 135. Now I don't know if it was the real scoop or I fell for a big pile of *! I could use the theory, I'm a senior, but I think I should have been smarter. What should I do now that they've been in the pc? Thank you JAFTXTo add to what you already said, inform your bank company or credit card if you do banking online of any form or if you have given your debit or credit card number to the caller. Do the faster you it, the faster you can arrest the appellant empty your account....
Do you want t know Apha PC Care?
https://community.McAfee.com/thread/43102?start=0&TSTART=0
Read all THE of it...
-
What number you are calling for technical support
What number you are calling for technical support
As far as I know (click on the link provided above to verify) is the sole support of phone for orders, not for technical support of program
If you have a problem, or just ask a question about a specific program, you go as this forum
If you start the https://forums.adobe.com/welcome Forums Index
You will be able to select a forum for the specific Adobe products you use
Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll
-
Call for a class in a library of PopUpManager
I have a class for connections that I put in a Flex library project.
Part of the connection is a popup form (mxml) I created and is in the library.
The problem I have is this line:
loginPopUp = LoginForm (PopUpManager.createPopUp (this, LoginForm, true));
The error I get is:
1067: coercion of a value of type dataManagers:LoginManager to an unrelated type flash.display:DisplayObject.
The 'this' parent point since its parent must be the application that called for the opening of the session.
Can I make reference to the appellant to LoginManager class I created to feed popupmanager as a parent for the popup?
The code in the application using the llibray which relates to this (to save space) is:
---------
import dataManagers.LoginManager
public var lm:LoginManager = new LoginManager();
lm.initServices ();
---------
---------
LoginManager.as
package dataManagers {}
import flash.events.Event;
Import mx.managers.PopUpManager;
public class {LoginManager
Import LibraryViews.Login.LoginForm;
public var loginPopUp:LoginForm;
public void initServices(): void
{
Alert.Show ("start Login");
appCFC = new RemoteObject ("ColdFusion");
appCFC.source = "CFCS. Users.usersGateway ';
appCFC.addEventListener (FaultEvent.FAULT, server_fault);
appCFC.init.addEventListener (ResultEvent.RESULT, init_result);
appCFC.getById.addEventListener (ResultEvent.RESULT, getById_result);
displayLogin()
}
private function displayLogin (): void {}
loginPopUp = LoginForm (PopUpManager.createPopUp (this, LoginForm, true)); THIS IS THE LINE of PROBLEM
loginPopUp.addEventListener ("loginSuccessful", removeLoginPopup);
}
Removes the login form
private void removeLoginPopup(event:Event):void {}
PopUpManager.removePopUp (loginPopUp);
}
} //End class
} //End package
---------
---------
LoginForm.mxml
<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:TitleWindow xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >
< mx:Form width = "100%" height = "100%" defaultButton = "{loginBTN}" >
< mx:FormItem width = "100%" label = "Username" required = "true" >
< mx:TextInput id = "email".
width = "175" text = "mltv" / >
< / mx:FormItem >
< mx:FormItem width = "100%" label = "Password" required = "true" >
< mx:TextInput id = "password".
displayAsPassword = "true".
width = "175" text = "nuffer" / >
< / mx:FormItem >
< mx:VBox width = "100%" horizontalAlign = "center" >
< mx:Button id = "loginBTN" label = "Login" click = "authenticateUser (); "fillColors =" [#80ff00, #80ff00] "/ >
< / mx:VBox >
< / mx:Form >
< / mx:TitleWindow >
I solved it by the way the parent when I called the parent project:
lm.initServices (this);and then in the file .as created a var:
private var theCallingParent:DisplayObject;
theCallingParent = theParent;Then use this variable when I called the popup:
loginPopUp = LoginForm (PopUpManager.createPopUp (LoginForm, theCallingParent, true));Sorry to clutter up the jury.
-
record Skype calls for imac
Is this a question?
Check out this page https://support.skype.com/en/faq/FA12395/how-can-i-record-my-skype-calls
-
Recommendations for the best 3D modeling App / program?
Does anyone have a recommendation for the best 3D modeling application / program?
(More for the creative rather than animation games and computer work)
Thank you
Hello
I love Autodesk Inventor, but you need to use BOOTCAMP or VMWare/Parallels to run it because it only works with Windows.
See you soon,.
Adam
-
E-mails calling for someone trying to use my real account?
E-mails calling for someone trying to use my real account? Those that I claim come from Apple support community.
Probably not. Change your password just in case and do not respond to emails.
-
A few days ago, I bought a mac mini and I transferred all my data and programs with time machine: all programs have been updated but iMovie (7.1.4)... However, it seems that, to update to the latest version, I have to pay to download on Appstore: is it possible? what I am doing wrong?
If it were a new mac mini, you need already installed 10.1 iMovie. Otherwise, but you already have iMovie 9 registered version to your Apple ID, you can upgrade to version 10 for free, but if (as it appears) is an earlier version then you have to buy version 10.
Geoff.
-
Duration of calls for milestone
Hi guys!
I know this sounds lame, but I can't find a timer to call for my Milestone! Is such a function that shows total leaving and entering call time not included in the phone?
I can not find built in method until now, but you might find something like 'Call Meter NG' of the (free) market to track it from here on out.
-
I had a couple of calls from a man "not in these parts" by saying he was calling for help to correct an error on my laptop. I had a few mistakes, not so bad, but I need to reconnect a lot! Do I trust him and follow his instructions?
Do I trust him and follow his instructions?No! This is a phishing scam. How anyone but you know that you had problems?
Maybe you are looking for
-
I'm very frustrated with El Crapitan. Whenever I have an open safari and three tabs open, if I hit one, he will be himself unlock from the browser and make it a separate window. I can't add it to the original browser that was opened. Often, if I jus
-
I'm the only person who feels suckered in save my PDFs in iBooks?
I'm the only person who feels suckered in saving a PDF in iBooks?
-
M7-1015dx: HP m7-1015dx and 64-bit Windows will not install
So after a unsuccessful reset, I was forced to do a thorough cleaning of my hard drive. I deleted all the partitions of the hard drive and own. My laptop came with Windows 7 Home Premium 64-bit operating system. So in good faith, I decided to stay wi
-
Drive DVD keeps opening by itself
Hello Since I bought my Dell computer in December drive keeps opening by itself regardless of whether or not there is a CD inside. As soon as I turn on the computer, it opens and opens again whenever I close. I checked properties which asserts that i
-
Microsoft Wireless Optical Desktop 1000
Hi, I have a Microsoft Wireless Optical Desktop 1000, and I would like to know if you can use a USB (nano receiver) receiver rather than the other receiver, because I have a computer set up on my tv and I want to be on the couch with my keyboard, but