Cancel a ProgressEvent from another 'loading window'
Hi
I'd like to know how, if possible, how to cancel a ProgressEvent.PROGRESS or how do cancel the 'loading' process in general.
I also want to know how to do it from another class, what happens is I create a 'loading window' with a cancel button so you should be able to cancel if the loading is taking too long for your liking.
var msg:msgClass = new msgClass();//*********** Creates a window with message if any errors happen.
var winLoading:winLoadingClass = new winLoadingClass();//*********** Creates a window with a loading bar and cancel button
winLoading.win()//***********activates loading window
dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);
dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
dispatcher.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
dispatcher.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
dispatcher.addEventListener(Event.COMPLETE, completeHandler)
function completeHandler(event:Event){winLoading.winClose()}
function progressHandler(event:ProgressEvent):void{if (event.bytesLoaded == event.bytesTotal){winLoading.winClose()}}
function securityErrorHandler(event:SecurityErrorEvent):void{msg.win('Security Error');}
function httpStatusHandler(event:HTTPStatusEvent):void{if (event.status != 200){msg.win('Connection to server lost');}}
function ioErrorHandler(event:IOErrorEvent):void{winLoading.winClose();msg.win('IO Error');}
Any help will be much appreciated
The Loader class has a close() method. Look it up in the help documentation if you need more information. Also, you could remove the progress listener.
Similar Messages
-
Opening a Modal window from another Modal window
Hi All,
I am opening a Modal window from a Modal window which has applets in it. But when the child modal window opens up from parent modal window, the applets on the child modal window are not loading properly. But when I change the child modal window to normal window, then applets loads fine.
I just want to know how different is a modal window when compared to normal window when it comes to applets.
This is the problem which showed up only on specific machine but not on all the machines.
Is this because of some specific settings or could be any other reason?
Any help Pls!!!
Regards,
Rajesh.Christian,
This problem is occuring on 2 machines which has Java 1.5. But rest of the machines which has 1.5,1.6,1.4 are supporting modal windows. So not really sure whether its a browser issue or JRE issue or it is how the modal windows behave in an inconsistent way. Really need a solution for this problem as early as problem.
Regards,
Rajesh. -
Cannot cancel print jobs from queue in Windows
We have some print jobs we sent to the Bonjour printer when we were off network, they still show in the windows queue, but we cannot cancel them, any suggestions?
MattShort of removing Bonjour, then reloading it, not much. Presuming you're using Windows, have you tried deleting them, then turning off the computer, then turning it back on? Sometimes that does it.
Doc -
Cancel an account from another country
Hi, I was living in the United States the last year so I bought a prepaid card now I'm in Spain, How can I cancel the plan?
Hi Welcome to the Forums!
Do you have any king of auto refill set up? In not, all you have to do is simply stop refilling your account and it'll cancel itself out. If you do have an auto refill, our team will be happy to help you with that! Please send us a private message by clicking here. Please include your full name, phone number, account number and the best time you can be reached.
Please let me know if you have any questions.
Thank you,
Dmitriy -
Hi
I'm trying to use the Start Button Text Changer. It was working ok... but has stopped. I don't know why.
I have several Windows 7 Ultimate builds, I'm trying to configure different native virtual machines for different purposes (Power User, Testbed, Barebones etc)
The program has ceased working, whilst (on a clean install, drivers only) the changes are effective.
I wondered if I could compare the explorer.exe files, to see differences (ideally 'translated',like with resource hacker), or if I could simply replace explorer.exe in the builds that have stopped 'behaving'.
ThanksHi,
Do you mean that the the program (Start Button Text Changer, a 3 rd party program?) stops working which causes the explorer.exe broken? If the program is broken, uninstall it if possible, and re-create the process by click "File" in task manager,
new task, type "explorer.exe", OK.
If doesn't work, run sfc/scannow, check and fix if there're some missing or corrupted system files.
Or use a restore point if you have as mentioned in the first reply.
Yolanda Zhu
TechNet Community Support -
Opening a popup window from another popup
Hi,
I want to know if a popup window can be opened from another popup window??
Iam trying to do this from a JSP page
<td><a href="../common/help/Help_FAQ.html" onClick="return popup(this, 'FAQ','width=900,height=500,scrollbars=1')">FAQ.Now I have another link in FAQ page, which when clicked , rather than opening a separate full size window, overlays on the FAQ window with the FAQ window width and height.
Any help is appreciated.Thanks.
It was a mistake on my end.
Instead of having <script type ="text/javascript"> I had only "javascript"
and the page was not picking up the function .
Now,, It is solved. -
Controlling a Movie Clip on the Main Timeline from a loaded SWF?
Is it possible to control a MovieClip on the main timelne from another loaded clip?
I see posts that control loaded clips, but most are all from the loader in the main timeline. I have a moviclip on the main timeline that I want to make visible or invisible depending on what keyframe is playing in another loaded swf.
If I try to call the movieClip from the loaded SWF I get "error #1119. Access of possibly undefined property...." because it doesn't exist in the loaded SWF, just the main timeline.
The old AS2 way just used "_root". Since "_root" doesn't exist any more, how do you control items on the main TimeLine from a loaded SWF?I am not clear what you mean because you are saying you are trying to target a movieclip that does not exist where you are trying to target it.
Try using a trace to see what you are targeting when you you target the MovieClip(parent.parent)....
trace(MovieClip(parent.parent));
The other approach I mentioned earlier is the more OOP-correct approach if you would rather try that way. Here's a rough outline of it...
AS3 - Dispatch Event
http://forums.adobe.com/thread/470135?tstart=120
Example:
Add something to trigger the event in the child (your loaded swf):
dispatchEvent(new Event("eventTriggered")); (
if dispatchEvent problem, see: http://www.kirupa.com/forum/showthread.php?p=1899603#post1899603)
In your loading/parent swf, listen for the complete event on the Loader.contentLoaderInfo. In the complete event handler, add a listener for the event on the loaded swf.
// event handler triggered when external swf is loaded
function loaderCompleteHandler(event:Event) {
MovieClip(event.currentTarget.content).addEventListener("eventTriggered", eventHandler);
function eventHandler(event:Event):void {
trace("event dispatched in loaded swf");
// this is where your main file can set the visible property of your movieclip -
Load balancing 10g forms - Connection from new browser window not supported
Load balancing 10g forms - Connection from new browser window not supported
We're experimenting with using webcache to load balance between multiple applications servers running OC4J forms processes.
We currently have one machine with infrastructure and mid-tier (BI & Forms) installed, which is being used for the webcache functionality, this is load balancing between 2 other servers each of which just have the mid-tier (BI & Forms) installation
In order to get this to work, I had to follow the instructions in the Forms deployment guide : http://download-uk.oracle.com/docs/cd/B14099_11/web.1012/b14032/tuning.htm#sthref707
The main gist of this is that you need to set the following in the orion-web.xml file in order that the sessions are maintained:
<session-tracking
cookies="enabled">
</session-tracking>
This all works fine in most cases.
The problem I am having is if I do one of the following on the client machine:
1) From IE6 / IE7 run a copy of a forms application. Then open a new window using the "New Window" menu option, and attempt to run another forms application.
2) In IE7 or Firefox 2.0 open a copy of the forms application, and then open a new tab and try and open another forms application.
If I try either of these I get a FRM-92101 error, and the following is displayed in the java console:
oracle.forms.net.ConnectionException: Connection from new browser window not supported
From trawling various forums (including metalink and otn) it looks like a problem with the way coockies are handled.
Unfortunately the usual workaround is to ensure that the session tracking option in the orion-web.xml file is disabled.
The problem is that I need this enabled in order for the load balancing to work.
Does anyone know of any other workarounds or patches that might help resolve this?
We're using Application server 10.1.2.0.2 running on windows 2003 servers.You were right. Carriage returns were stopping it from working (the document is laid out over separate lines, so I assumed it would make no difference...).
I've now managed to get it so the forms at least run, but they are all being run in the forms OC4J instance on the same machine as the OHS.
Has anyone actually managed to get this to work, or am I doing something wrong?
I did wonder if using an OHS instance on a machine with no forms installation would make any difference?
I had raised a support call via metalink on this subject, but they eventually came to the conclusion that the only way to do this is with a hardware load balancer (Despite several documents suggesting that webcache is the way to go (including the forms deployment manual)).
I'm at the point now of giving up and writing some custom scripts to do the job instead... -
I have anipod classic 5th gen, it is synced to another pc it has 700 songs I don't want to lose, In itunes I said cancel when the sync and erase window poped up,I selected manually manage my ipod hit apply, pc locks up had to ctrl alt delete. what else can I do? DoI have to sync the ipod? DoI have to reset the ipod?
Copy all the contents currently on your iPod Classic to your new iTunes library and then choose the Erase and Sync option. See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
https://discussions.apple.com/thread/2452022?start=0&tstart=0
B-rock -
I get this message when i try to log onto my home pc account "The user Profile Service, service failed the lofon. User profile cannot be loaded" can I recover my data from another/new user account from my iCloud account??
"Jesse.soto1" wrote in message news:1e164fdf-7370-45c0-9bc7-3b58278121c3...
Good Afternoon Everyone,
I am not technologically savvy as a result I'm having trouble understanding previous posts on "The user profile service service failed to logon user profile cannot be loaded." Lingo on domain reset etc, not sure that this pertains to solving my issue
... I cant even get pass the sign in page let alone make changes. I am having this issue with my Dell Studio XPS 1340 with Windows 7 Home Premium. If anyone can provide their two cents I would greatly appreciate.
Very Respectfully,
Jesse
Home Premium cannot logon to a Domain, nor can it be set to try it.
when you get the logon window, try hitting the three-finger salute )Ctrl+Alt+Del) twice – it may bring up the old-style login window – enter your credentials there.
Noel Paton | Nil Carborundum Illegitemi |
CrashFixPC | The Three-toed Sloth -
Some sites load fine. But some sites will not load when linked from another web site, or, occasionally, even from my bookmarks. I went through troubleshooting routine--cleared cache and cookies, history, checked in Safe Mode for extensions, etc., but still will not work in Safe Mode. No other problems with computer or browser.
What happens when you click the link that does not open up the new page? Is it a blank page? Does this also happen if you Shift Click the link?
Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
* [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us! -
Loading a movie on html from another server
I have a question: I have a form on Flash and I want to make
the swf file a part of a HTML page.
Here is the(for me) tricky part: on Flash I use an external
php-file to send the information back to me, but the server where
the HTML page runs is an ASP.Net server. So I came up with the idea
to load the swf file from another server that runs the php-script.
But is not working.
Does anyone know if what I am doing is correct? Do I have to
write some code on flash or the HTML-page? Or do I just have to go
and learn ASP.Net?
Thanks a lot for any information.
Norman ParraNo. Movies are not eligible for iTunes in the Cloud (the movie studios won't grant Apple the necessary permissions, reportedly). So if you want the movie on another computer, you have to copy it there yourself from your work computer. Copy the movie to some removable medium or shared location, then just drag it into the iTunes window on your laptop.
Regards. -
Safari problem: when I switch back into safari from another application, the menu bar comes up but no tabs or windows. What's going on? Just started yesterday. I have found a workaround: when I Command Tab back to safari, I hit command T to open a new tab and Command W to close it, and my other tabs are visible.
I have tried shutting down, closing tabs, with no success. What's going on and how can I fix it?
Thanks,
Cindi B
PS: I'm not sure of the actual OS level, but I have not allowed it to upgrade to Maverick yet; concerned about it because of a few things I've read...A Safari extension or third party plugin may be causing the menu bar issue.
From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
If it's not an extensions issue, try troubleshooting third party plug-ins.
Back to Safari > Preferences. This time select the Security tab. Deselect: Allow plug-ins. Quit and relaunch Safari to test.
If that made a difference, instructions for troubleshooting plugins here.
As for which OS X is installed.
Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
The version is noted there.
v10.6 Snow Leopard v10.7 Lion v10.8 Mountain Lion
It's your choice whether or not to upgrade to Mavericks. If you decide to do this, make sure your Mac meets the requirements noted here. -
When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.
Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.
-
Hi,
I was successful to start a silent installation of Oracle9iR2 using a responsefile on my System RHEL 3. But the installation ends soon and a wrong successful install message:
Error :*** Alert: A configuration script needs to be run as root before installation can proceed. Please leave this window up, go run /opt/app/oracle/product/9.2.0/root.sh as root from another window, then come back here and click OK to continue. ***
The installation of Oracle9i Database was successful.
I use -ignorePatchConflicts for ignoring the patch conflicts. But How do I handle these issues. Where I have to run root.sh ... etc in teh Non Interactive Install.
I am scripting solution for non interactive install and manual intervention to run these root.sh shell scripts at different points of install is not a good idea as it wont help me automate the install.
Please let me know if anyone has solved this problem with -silent install.
Thanks in advance.
SenthilThats me (OP) again:
I tried setting:
SHOW_ROOTSH_CONFIRMATION=false in the response file. But still no help. The installation exits at run root.sh prompt point. How I can effectively deal with it in a script?
Maybe you are looking for
-
I am currently deployed near russia, we have internet and everything else works, but when i loaded my redeem card to my acct (which took just fine) it tells me to update my information. upon trying to do this it tells me to go to support page......th
-
Hi Experts, I have created SOAP to SOAP sceanrio. I have to test it wheather its working or not. please tell the full procedure how to test this. Thanks
-
Troubleshooting Leopard printing problems
Leopard printing problems fall into several categories a) Faulty or missing Leopard print driver b) Faulty implementation of the print command from the active application c) Faulty equipment, eg printer, cables, etc d) Faulty networking/sharing e) Fa
-
Can't pair iPhone 3G 3.0 with Unibody Macbook
I've updated my iPhone 3G to 3.0, but I can't pair it with any of my macs. I've tried: 15" unibody Macbook Pro (last. gen, no SD slot) 13" unibody Macbook 24" iMac (latest gen.) It pairs fine with my XP laptop. When I pair it, it seems to work ok, I
-
Query in Device Registration Criteria
Hello, I need some more details regarding Device Registration Criteria. When I access the transaction SDOE_DEV_REGISTER, by default only the attribute name 'USER' is Mandatory. With this setting when I register a application on client, it registers f