Cannot access the MXML function - thanks a LOT for the quick help
Hi all
I got really stuck for hours now, because I think it's really a simple task to accomplish. So I need your help.
Assuming that I have two files: A.mxml contains the main application and also opens my components b, B.mxml contains additional components.
<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:fx s:WindowedApplication ' http://ns.Adobe.com/MXML/2009 "
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx".
creationComplete = "init (); »
xmlns:mycomp = "*" >
< fx:Script >
<! [CDATA]
private function init (): void
{
/ / This is what does not work
myComp:Button1.Set();
}
[]] >
< / fx:Script >
< mycomp:B / >
< / s:WindowedApplication >
and here's my component B, which should be called:
<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:fx s:Group ' http://ns.Adobe.com/MXML/2009 "
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx" width = "400" height = "300" >
< fx:Script >
<! [CDATA]
public function set (): void
{
/ / What to do here
definition of the label is just one example
Button1.label = "abc";
}
[]] >
< / fx:Script >
< s:Button = "55" x = "47" label = "Button1" id = "Button1" / >
< / s:Group >
Of course, it is easy to put everything in a single file. But how can I access a public service within B of my main application (and also from another .as file).
I guess the answer is easier, but even after many research I could not find it.
Thank you
Wolfram
There are two options:
(1) create a new instance
var myComponent:B = new B();
this.addElement (myComponent);
myComponent.set ();
Try 2) give component IDs:
someID.set)
See you soon
Tags: Flex
Similar Questions
-
Hello
My problem is my WiFi says its connected but I can't browse or access the internet.it just tells me "unable to connect to internet computer is not connected to the internet", but my wifi says 'connected'.i tried to go to the cmd prompt and typed in "netsh int ip reset resetlog.txt c:\" goal it shows me "reset failed.access is denied .he don't s no user specified settings to be reset to zero." please "» What can I do?
Thanks in advance.
Hello @jerome256,
Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums, I would like to draw your attention to the HP Forums Guide first time here? Learn how to publish and more.
I understand that you are having a problem with your WiFi and wanted to help you!
You are trying to access WiFi through router? If you are connected to your wireless network, but cannot access the internet, then the problem may be with the router. Check that the router is connected to the internet. If you have more than one router, then you can ensure that you are connected to the correct router. You can also try unplugging the router for about 30 seconds, and then reconnecting it. Please consult the following document, as it can help solve the problem for you:
HP PC - Troubleshooting wireless network and Internet (Windows 10)
Please let me know if this information has been helpful by clicking the thumbs up below.
Have a great day!
-
Hello
I have a Windows 2003 X 64 server and since a week ago everything works fine.For a week or two when I try to run an X 86 application, I always get this error:"Windows cannot access the specified device, path or file.If I run a x 64 apps everything works fine.What made a mistake?Thank youHello
Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on TechNet. Please post your question in the TechNet forums. You can follow the link to your question:
http://social.technet.Microsoft.com/forums/en/category/WindowsServer/
-
I cannot access the application 'contact me' when a web site and receive the answer "Default Mail Client not properly installed" instead of going on the requested site.
How can I fix this problem?
Separated from the:
CrystalBall © SEZ...
Unlike Windows XP & Vista, Windows 7 does not include a default email Client. [What were thinking?]
You will need to install a (e.g. MS Outlook;) Windows Live Mail; Thunderbird) , and then set it as a default for mail in CUSTOM (<>) article in Set Program Access and defaults of the computer , then restart your computer before any function send to or MailTo will become available.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In these forums, you will find support for Windows Live Mail: http://windowslivehelp.com/forums.aspx?productid=15
-
Since update of last nights, I get now launching explorer.exe "windows cannot access the specified device, file, or the path?
Hi Jemd3,
I suggest you to completely remove Norton of the system using Norton Removal Tool and check if the problem persists.
Method 1:
Maybe it's that your computer is affected by virus and malware. I suggest you run an online anti-virus scan and a scan for Malware. See the links below.
Microsoft OneCare:
http://OneCare.live.com/standard/EN-US/3/default.htm
Malicious software removal tool
http://www.Microsoft.com/security/malwareremove/default.aspx
Get a free PC safety scan
http://OneCare.live.com/site/en-us/default.htm
Hope this information is useful.
Thanks and regards.
Thahaseena M
Microsoft Answers Support Engineer.
Visit our Microsoft answers feedback Forum and let us know what you think. -
Hello!
So I'm at the end of my rope with this one... it lasts for months, and I keep revisitng every two weeks to try and fix that and every time to be completely frustrated. I found this forum tonight, so here goes...We downloaded a few games on the HP Games Web site. We download them and everything works fine. Then, we will open the games and this pop up error message:
"Windows cannot access the specified device, path or file. You can not have the appropriate permissions to access the item.These games used to run fine, and I have no idea why they now have problems. We have a Vista operating system, 1 account who is the administrator, the Parental control is disabled (or if we believe).
If anyone can please help it would be much appreciated! We have a monthly membership to this site of game and continue to accumulate credits, but may not use it. It makes us crazy!
Thank you in advance!
Hello Heathie,
Thank you for posting. It seems that the program is no longer on your computer. This can happen if the game files are deleted, but the game itself has not been uninstalled correctly. I recommend you to download the game again to a location on your computer where you can easily find and install it. This should fix the problem.
Please let me know if this helps you.
Zack
Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think. -
Hello
Can help you. Had problem with safety messages and now I can't open any programs, get message "windows cannot access the specified device path or file. you don't have permission to access"how to restore the system to clear the message
No sound as I wrote it. But I've sorted it by running Paretologic Data Recovery
Thanks for your response
-
Windows cannot access the specified device, path... .item
I am the administrator and is not able to access the files to run windows updates, receive internet service this message pops up to everything that I try to open same not open anything in the control panel (windows cannot access the specified device, path or file. May not permissions to access you the item). Please help in any way. Thank you
Hi vpoelon,-What is the recent change that was made on your computer after this problem started to happen?-You have another administrator account on your computer?-Are you connected to any server machine or no matter what field?If so, contact the respective service to resolve this problem.Method 1: There is a post dealing with the similar problem here. See the same thing and check if it also helps you:Method 2: Follow the steps listed in the link below and check if it solves the problem: -
message error "windows cannot access the specified device path or file.
After updating all upgrades of Windows and restarting my computer, I get the error message "windows cannot access the specified device path or file" on all my programs. I tried to go to the 'system restore', but it won't let me access that is. I am running Windows XP on a Dell Vostro 400
Tried to start the restoration of the system from the Windows Advanced Options menu and he tried to restore from the last successful boot - unfortunately the last successful upward included the problem start
Restarted in safe mode and not run Chkdsk/r - no found error - problem persists.
Finally found my Dell operating system disk and went into the Boot Menu at startup screen and set it to Boot from the Dell operating system CD
After the CD started, I went to reinstall Windows, and he gave me an option for repair
The relocation process took about 30 minutes to complete, but he reinstalled all missing or damaged files that were the cause of the problem
Fixed a problem!
Thanks Mike - You're on the right track!
-
Hello
I have a problem with my computer it has been infected by a virus that is not visible in normal mode. It prevents running any application that would help in the detection and removal. I tried running mrt, mcaffe, trendmicro rootkit detector rootkit detector, spybotSD, analysis windows Defender online Windows live onecar. All these works for a minute and then shutsdown, when I click it again I get the error, as mentioned in the title, 'windows cannot access the specified device file or the path, you do not have permissions.
This problem has a solution or re - install is the only way out?
The pointers/help appreciated.
Just to add, I am able to connect using my last known good configuration and only safe mode configurations.
Thank you
Id2View,
1. follow all the instructions in this thread: How to get rid of malware
2. If still no joy you can find Microsoft MVPs and other trained analysts on the following support sites:
Aumha.org
Atribune.org
SpywareHammer
BleepingComputer
Safer-Networking3. If you need help with virus-related issues, contact the Support Services Microsoft product.
To support the Canada and the United States, call toll-free (866) PCSAFETY (727-2338).
For support outside the United States and the Canada, visit the page Web of Product Support Services.
4. If you need more assistance for the position of the newsgroup Microsoft - security - virusvirus/worm.
Through your News Reader:
News://msnews.Microsoft.com/Microsoft.public.Security.virus
Via the Web:
http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Security.virusHope this helps,
Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo
-
Cannot access the WRT320N cascading to the IP 192.168.1.2
I have two routers WRT320N running. The first is 192.168.1.1 IP and DHCP turned on and connected to the cable modem. The second WRT320N is IP 192.168.1.2, disabled DHCP, NAT disabled. The second router is connected to the first by using one of the ports labeled 1thorugh 4; the WAN port on the second router is not used. Both routers are configured for wireless with an appropriate warranty, etc. I put Remore management 'on' and put at the disposal of all property intellectual. Now, I realize that remote management can be provided for use of the internet (not my intended use) rather than on the same home network.
Good new first: the works of all things. Devices wired for both routers have internet access and can 'see' each other for sharing of files, etc. In addition, devices wireless on both networks seem to work OK, and the first router [192.168.1.1] shows all devices as clients, no matter what router they are physically or wireless connected to.
Now the bad news: although it has worked reliably for days, I now can't access the second router [192.168.1.2] from anywhere in the network (no matter what router, the computer is connected to). Work of its customers and you can test it with success of any computer, but when I type http://192.168.1.2 on IE or Firefox from any computer, it times out. No dialog box asking for the password; not nothing. All times out. I tried the cyclical power router, but that has no effect. Once again, during the first days, it seemed to work. I could type http://192.168.1.2 of any client in the network and access the Router 2 very well and see its settings, set its SSID, etc etc. Still, the router seems to work as I would and my network performance is OK, even for clients on the second router wireless, but I can not only access the URL.
I'm sure I can hit 'reset' and that it will probably heal, but it also means that I have to start from scratch on a long list of the customizations I made to its settings, including. SSID, security, IP address, NAT configuration, etc. etc. (I save a configuration after I put in place.) Is the only option to reset and then re - load the saved configuration? )
Any thoughts here? It is always tempting to blame firmware, especially when it works OK for a while, and then it stopped working. Of course, I could also do sometihng evil. Any help appreciated. Thank you.
to: Helm
Thank you very much.
It turns out that I had to do the factory reset, and then I have download the old config file until I'm your answer
so far, all is well... the device seems to move traffic as it should, and I can access it again by entering the URL http://192.168.1.2
I'll see how long the 'fix' hard... I really think they have a bug in the firmware there somewhere
If she out craps again, I will set up from scratch, as you suggest.
Thanks a lot for your help
I think I'm 'good' for now.
-
Hey guys,.
I am running Vista on my laptop Toshiba P200D. Recently I was making an error whenever I try to open the files that I downloaded from the internet. The message I get is "windows cannot access the specified device path or file. you don't have the appropriate permissions to access the item "."
I tried,
- Safe mode (not to fix)
- (No luck) system restore
- check security options - I have full access to the file.
I am running Vista 32 bit. I have avast antivirus running, but is not working and im unable to uninstall it.
Any help will be accepted with gratitude,
Thanks in advance,
Chris.
PS I'm the system administrator.
I do not fashion without failure, I advised a SafeMode with networking for network access using a wired connection to download and install Anti-Malware programs.
If this does not work:
Download/save the removal of Avast on a friend's computer tool > transfer it using a Flash Player > uninstall the corrupt Avast.
Which can be the source of the problem.
As you can not turn it off:
If under warranty, contact the manufacturer of your laptop.
If this is not the case, take it to a reputable repair shop, computer room.
Mick Murphy - Microsoft partner
-
Don't leave me in what in folders and files (c). IM locked it says that I may have not permission to 20 c to access. Thank you
Hello
Were there any changes made on the computer before the show?
Method 1:
Check the link and see if it helps:
Error "Windows cannot access the specified device, path or file" when you try to install, update or launch a program or file
http://support.Microsoft.com/kb/2669244
The article also applies to the Windows Vista operating system.
Note: run the computer without antivirus software or firewall is a potential threat to the computer; Be sure to activate security software after completing the troubleshooting steps and after identifying the problem.
Method 2:
Check out the links and check if that helps:
What are the permissions?
http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-permissions
What to know before applying permissions to a file or folder
-
Hello
I recently changed to use AVG free Antivirus Vista 2010 edition and since then (next day) seems to be locked out almost everything on the computer other then IE. Open any kind of .exe translates into "Windows cannot access the specified device, path or file. You don't have the appropriate permissions to access the item. "I can access the Control Panel, but when I try to run something (a user restore Sys account) nothing happens or I get the same error. I can not even access/cmd?
Operating system is vista 64 bit home premium
Computer has 1 which is defined as administrator SP1
Tried to do a restore of the system in normal mode and safe, the two will not start.I have a feeling I know what the problem is, that when you look at the properties > Security "Progam files" in the 5 groupnames user administrator has not enabled in the lower area of permissions? Guess a virus has locked all accounts to use the machine key files? (When editing and allowing the admin to have full control etc. in written authorization, I get an "access denied" Message.) Be honest this really problems out of my PC knowledge, I would usually just reformat if I hit I can't solve a problem, but this time reformating is not the best option.
Thanks in advance for any help, I would really appreciate it, it left me speechless!
PS. read through the similar questions and have used the "fix windows' programs, with nothing working or me being not able to access something used.
Hi Dany88,
First of all, I would say that you uninstall security antivirus vista 2010 of computer software, since there are several questions on the computer after installing. This software may have created conflicts between other programs on the computer.
As you face problems to access items from 'Control panel', I would say you visit the security software vendor's Web site and search a tool of suppression using which you can uninstall the software.
Important: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.
If questions are set after uninstalling security software, I suggest that you change the security antivirus vista to some else software or contact the vendor of the software for more information.
I would also say that you are investigating the computer by using the methods mentioned in the link below.
How to get rid of malware or viruses
http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/ba80504b-61f1-4D71-960f-b561798b7b42See the link below to find out how to start in safe mode.
Start your computer in safe mode
http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-modeI hope this helps!
Halima S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think. -
Hi all
For the not 24 hours I tried to access my computer in normal mode. When I turn on the pc, it says "configuration data 1 of 3 steps...". 0% complete"he never spent 0% and within seconds, it automatically restarts and starts again. It's so frustrating! I have a windows vista pc (purchased in ' 06). I can only access my desktop in SafeMode.
I tried to perform a system restore, but not like he says "recovery disk is not the restore point selected. What should I do? I tried to manually create a restore point, but cannot access the system and Maintenance, while in safe mode. I can't do anything but literally access the internet. How can I get Windows back to factory settings it is with these limited resources? I have a Dell reinstallation DVD.
I searched my programs and found that recently Windows automatically updated and downloaded "Microsoft Powerpoint Viewer" and "for 2007 Office system Compatibility Pack '. Now, I think it has something to do with it, because they were the most recent updates, before the pc crashed. But I also fear that it may be a virus, which has completely hijacked this PC. How am I supposed to get rid of a bug, if I can't even get the necessary antivirus?
Sorry for the ranting, but it's so stressful when my pc is completely down. Please, please please help me. Thank you in advance for reading this same!
Arianne
Hello
you talk about restore and system recovery disc in the same breath
they are 2 different things
and you can NOT create a restore of yesterday and today!
yesterday is gone
If it does not already; You can't do
1st thing to try is a restoration of the system in safe mode
http://www.windowsvistauserguide.com/system_restore.htm
Windows Vista
Using the F8 method:
- Restart your computer.
- When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
- Select the Safe Mode option with the arrow keys.
- Then press enter on your keyboard to start mode without failure of Vista.
- To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
- Do whatever tasks you need and when you are done, reboot to return to normal mode.
If that does not read this information
the link below is how to download and get a vista disk startup repair, which you can start from the
http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/
Here's how to use startup repair system restore command prompt, etc. to bleepingcomputers link below
http://www.bleepingcomputer.com/tutorials/tutorial148.html
to boot from the dvd drive to be able to you will see a way to get into the bios Setup at the bottom of the screen or command menu start
It would be F2 or delete etc to enter the BIOS or F12 etc. for the start menu
Change boot order it do dvd drive 1st in the boot order
http://helpdeskgeek.com/how-to/change-boot-order-XP-Vista/
The malware removal:
Download update and scan with the free version of malwarebytes anti-malware
http://www.Malwarebytes.org/MBAM.php
You can also download and run rkill to stop the process of problem before you download and scan with malwarebytes
http://www.bleepingcomputer.com/download/anti-virus/rkill
If it does not remove the problem and or work correctly in normal mode do work above in safe mode with networking
Windows Vista
Using the F8 method:
- Restart your computer.
- When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
- Select the Safe Mode with networking with the arrow keys.
- Then press enter on your keyboard to start mode without failure of Vista.
- To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
- Do whatever tasks you need and when you are done, reboot to return to normal mode.
Reinstall vista from Dell DVD
Maybe you are looking for
-
Tecra Z50 - A - 18 d - smart card reader does not work
My Tecra O2Micro OZ776 chip card reader sees the cards.Device Manager reports "the device is working properly" and the latest version (2.1.4.222) of the drivers are installed.If a card is inserted or no, running "certutil.exe - scinfo" at a prompt gi
-
Portege A200 model Japanese cx3216ldsw
Hello. I bought this laptop in the Japan and he brought to the United Kingdom. Well the Japanese makes me crazy - I need to download an ENGLISH version of configfree. Q1 - What is the latest version of free config and it ismore recent than the one on
-
Scope of digital storage of the homebrew: falling for the third time.
I worked on an extended application of digital storage 5114 with most of the features of the NiScope Soft front and making little progress. The only approach I could think of was to start with an example provided and then modify it. I need to acquire
-
while force loop to run every 1 sec
Is anyway I could force the while loop to run every seconds. Let's say I have a while loop with a few structures of the case. I want to force execution of every 1 or 2 seconds. How could we do in labview
-
How to use a parameter query to select and display the data in the table of the façade
Hiiiiii I am using Access 2007 databaseI want to select the specific data in the database using control of the chain as 'select product, size, weight of ProductInfo where barcode (chain control) =?' and also display the same table of façade. I use t