ADDED event in document class after removed from Stage
Hi All,
I am currently play with the document class (the class acts as main) constructor for a SWF file.
package {
import flash.display.*;
import flash.events.*;
public class TestSymbol extends MovieClip
public function TestSymbol()
this.addEventListener(Event.ADDED, function(event:Event) { trace(event.eventPhase, event.target, event.currentTarget, "added triggered"); });
trace("parent", this.parent);
this.stage.removeChild(this);
trace("stage", this.stage);
In frame script 1, i put
trace("1");
trace("parent", this.parent);
After i run TestSymbol.swf and i got
parent [object Stage]
stage null
2 [object TestSymbol] [object TestSymbol] added triggered
1
parent null
I wonder where is this ADDED event coming from? If the document class is added to some other objects, why its parent is null after the event?
Thanks in advance
Sam
By wrapper do you mean they are the same object or the MainTimeLine is a separate object being added to DocumentClass, as it triggers the ADDED event? I know that framescript can be accessed as documentClass functions, so I thought they are the same object, maybe i was wrong.
I did a new test within some more listeners
package {
import flash.display.*;
import flash.events.*;
public class TestSymbol extends MovieClip
public function TestSymbol()
this.addEventListener(Event.ADDED_TO_STAGE, addedToStageListener);
this.addEventListener(Event.ADDED, addedListener)
this.addEventListener(Event.REMOVED_FROM_STAGE, removedFromStageListener);
this.addEventListener(Event.REMOVED, removedListener);
trace("parent", this.parent);
this.stage.removeChild(this);
trace("stage", this.stage);
private function addedListener(event:Event):void {
trace(event.eventPhase, event.target, event.currentTarget, "added triggered");
private function addedToStageListener(event:Event):void {
trace(event.eventPhase, event.target, event.currentTarget, "addedToStage triggered");
private function removedListener(event:Event):void {
trace(event.eventPhase, event.target, event.currentTarget, "removed triggered");
private function removedFromStageListener(event:Event):void {
trace(event.eventPhase, event.target, event.currentTarget, "removedFromStage triggered");
and this is the output
parent [object Stage]
2 [object TestSymbol] [object TestSymbol] removed triggered
2 [object TestSymbol] [object TestSymbol] removedFromStage triggered
stage null
2 [object TestSymbol] [object TestSymbol] added triggered
As the remove listeners are fired immediately, i don't think the queue is waiting until the end of the constructor.
Similar Messages
-
FlipTransition raises "Removed from Stage Event" on new view
hello,
I Have a problem with a fliptransistion. If I use this transition in my main view to go to a "settings" view. The "removed from stage" event is raised for the settings view (yes the settings view).
So first the "initialize" of the settings view is executed. In this initialize I hook up some event listeners.
Than the "removed from stage" of the settings view is executed. In this function I remove the event listeners (I think this is a good thing to do).
Than the "removed from stage" of the settings view is executed again
So the event listeners never work.
The code for the transition is nothing special I think
var ftrans:FlipViewTransition = new FlipViewTransition();
ftrans.duration =1000;
navigator.pushView(SettingsView, data, null, ftrans);
When I use the default transition "navigator.pushView(SettingsView, data)" the problem does not occur.
Anybody an idea as to how to solve this (I'd prefer to keep the fliptransition, as the default slide transition is used in another part the application, and the flip indicates to the user that he is doing something different).
Update: I've tried to move the event listeners to the "added-to-stage" phase but this doesn't quite solve the problem the events that occur on the SettingsView are: (in that order!)
- Added To Stage
- Initialize (this is bizar the view is added to stage even before it is initialized).
- Removed From Stage
- Added To Stage
- Removed From Stage
- Added To Stage
Message was edited by: NilsTTThe FlipViewTransition effect does some reparenting internally to accomplish the 3D effect. As a result you receive multiple add and remove events. To work around this, I would recommend using FlexEvent.ADD and FlexEvent.REMOVE instead of addedToStage. You can also try using ViewNavigatorEvent.REMOVING.
Chiedo -
Have CS5 on current PC, Win 7 64bit; how get *.exe to transfer to new computer after remove from old one?
Baffled by multiple links; found one I think(?) I need. CS5 12.1.
It's basic, so I assume that one goes with CS5 Design Standard, but do not
know. Thanks for answer(s) again.
On Tue, Feb 17, 2015 at 10:36 AM, BobLevine <[email protected]> -
How do I fix project after "Remove From Version Control" corrupted it?
I am using RoboHelp 9.0.1 and installed both Tortoise SVN 1.6.9 and latest PushOK SVNSCC then added my large RoboHelp project to SVN. I was able to check in and out files from SVN but had several issues with it:
1) Super super slow. Working with folders or any renames would take 10 seconds per file and up to 1 hour if needed to refresh the root folder.
2) I could not perform some actions at all, such as delete, rename, or move folders. I kept getting COM errors.
I therefore decided that working with SVN and RoboHelp is not practical, at least not on my VPN so I decided to disconnect the project from source control and just work locally. The only option that I saw that sounded like it would do that was the "Remove from Version Control". This started a process that lasted for several hours. At the end of it, I now have several significant issues:
1) The order of the files and folders in my Project Manager is completely wrong now. I have almost 1000 topics and reordering all of them is not possible.
2) The Table of Contents, Glossary, and Index files appear empty. They had content before.
2) A couple of the Single Source Layouts I had created are completely missing.
3) Many, but not all, of the folders have tons of files with the extension ending in "_temp_removed_by_svn"
4) Many, but not all, of the files are actually gone from SVN so I can't recover a clean image. There was no warning that this command would actually delete the files from SVN (I thought it would just remove the version control connection).
5) Who know what other issue exist that I haven't seen.
Any idea how I can fix this?
Thanks in advance,
DanAre the "_temp_removed_by_svn" files in your local folder or SVN? Let us know how you get on with the new project. It sounds like something is wrong with SVN. Can you use the SVN Log command to see whether there is a different version you can restore. This might also give you an indication of what might have caused the problem. You could try deleting your CPD file. It gets rebuilt it is isn't there anyway. This file can become bloated and it is good practice to delete it when it gets close to 2mb in size. Your project is fairly large and has a lot of folders and may affect performance. Have you considered splitting them and merging the output? I know you probably don't want to consider this right now, but I think it may be a better long term solution.
The RoboColum(n)
@robocolumn
Colum McAndrew -
Contacts not moving from phonebook in my blackberry after removing from my contacts google contacts
contacts in my addressbook in my blackberry are not getting updated properly via automatic sync by gmail.
contacts are not getting deleted from phonebook when they are removed from "my contacts" in Google contacts, but new additions and deletions are getting synced.
when i tried to delete the contacts from my handheld after they have been moved from "my contacts", they got deleted all together. please help.
additional info : BB 9360, OS 7.1
when we pray God responds us by providing “Opportunities”I've spent the better part of an afternooon trying to get my Outlook contacts transfered to my E5 phone. After several attempts I was able to get the OVI software to install (Windows Vista OS). I Now when I go th sync my Outlook contacts, the "sync now" button is greyed out. Any suggestions?
-
Delete mail from server after removed from IN BOX
I have a mail management issue I have not been able to fully solve.
I am balancing the same POP email accounts among the laptop using Mail (for home use) and my desktop using Eudora Pro (for work). Using Eudora, I can manually select to delete a message from the server. Eudora's manual deletions are flawless. Using Mail, the only option I can see that will help me do this is to select delete mail "When moved from In Box." If I hit the "delete" key, wouldn't that be the same as "moving if from the IN BOX?" When is the protocol actually carried out? On the next mail check? Immediately? Upon quitting and restarting Mail? I'm confused as to how this happens and why it does not seem to work all of the time.
Any and all assistance is most appreciated.
Much obliged,
MickYes, deleting a message counts as moving it out of
the inbox. The commands to remove the message from
the server are sent the next time you check mail from
that server, but only if there are new messages to be
received from the server. Yes, many of us feel that
is a bug in Mail, that it should send the remove from
server commands the next time you check mail, whether
or not there are new messages to be downloaded.
Oh Gawd, I bet that's it. Yes, if that is the case, I would agree. It does not lead to efficient mail management if there needs to be a new message there. Do you know of any plans to change or alter that? Or has someone written an AppleScript of some kind to execute the command regardless?
It's a great command, otherwise. It's nice to be able to delete a message off of one computer and have it delete off of the server without any extra hassle.
Just wondering if there are any workarounds out there other than sending oneself a new message to get the delete from server command to activate.
cheers,
Mick -
Adding node back into cluster after removal...
Hi,
I removed a cluster node using "scconf -r -h <node>" (carried out all the other usual removal steps before getting this command to work).
Because this is a pair+1 cluster and the node i was trying to remove was physically attached to the quroum device (scsi), I had to create a dummy node before the removal command above would work.
I reinstalled solaris, SC3.1u4 framwork, patches etc. and then tried to run scsinstall again on the node (reintroduced the node to the cluster again first using scconf -a -T node=<node>).
However! during the scsinstall i got the following problem:
Updating file ("ntp.conf.cluster") on node n20-2-sup ... done
Updating file ("hosts") on node n20-2-sup ... done
Updating file ("ntp.conf.cluster") on node n20-3-sup ... done
Updating file ("hosts") on node n20-3-sup ... done
scrconf: RPC: Unknown host
scinstall: Failed communications with "bogusnode"
scinstall: scinstall did NOT complete successfully!
Press Enter to continue:
Was not sure what to do at this point, but since the other clusternodes could now see my 'new' node again, i removed the dummy node, rebooted the new node and said a little prayer...
Now, my node will not boot as part of the cluster:
Rebooting with command: boot
Boot device: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cfa3e691,0:a File and args:
SunOS Release 5.10 Version Generic_127111-06 64-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: n20-1-sup
/usr/cluster/bin/scdidadm: Could not load DID instance list.
Cannot open /etc/cluster/ccr/did_instances.
Booting as part of a cluster
NOTICE: CMM: Node n20-1-sup (nodeid = 1) with votecount = 0 added.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) with votecount = 2 added.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) with votecount = 1 added.
NOTICE: CMM: Node bogusnode (nodeid = 4) with votecount = 0 added.
NOTICE: clcomm: Adapter qfe5 constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being constructed
NOTICE: clcomm: Adapter qfe1 constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being constructed
NOTICE: CMM: Node n20-1-sup: attempting to join cluster.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being initiated
NOTICE: CMM: Node n20-2-sup (nodeid: 2, incarnation #: 1205318308) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being initiated
NOTICE: CMM: Node n20-3-sup (nodeid: 3, incarnation #: 1205265086) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 online
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 online
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node n20-1-sup (nodeid = 1) is up; new incarnation number = 1205346037.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) is up; new incarnation number = 1205318308.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) is up; new incarnation number = 1205265086.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #18 completed.
NOTICE: CMM: Node n20-1-sup: joined cluster.
NOTICE: CMM: Node (nodeid = 4) with votecount = 0 removed.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #19 completed.
WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
cladm: CLCLUSTER_ENABLE: No such device
UNRECOVERABLE ERROR: Sun Cluster boot: Could not initialize cluster framework
Please reboot in non cluster mode(boot -x) and Repair
syncing file systems... done
WARNING: CMM: Node being shut down.
Program terminated
{1} ok
Any ideas how i can recover this situation without having to reinstall the node again?
(have a flash with OS, sc3.1u4 framework etc... so not the end of the world but...)
Thanks a mil if you can help here!
- headwreckedHi - got sorted with this problem...
basically just removed (scinstall -r) the sc3.1u4 software from the node which was not booting, and then re-installed the software (this time the dummy node had been removed so it did not try to contact this node and the scinstall completed without any errors)
I think the only problem with the procedure i used to remove and readd the node was that i forgot to remove the dummy node before re-adding the actaul cluster node again...
If anyone can confirm this to be the case then great - if not... well its working now so this thread can be closed.
root@n20-1-sup # /usr/cluster/bin/scinstall -r
Verifying that no unexpected global mounts remain in /etc/vfstab ... done
Verifying that no device services still reference this node ... done
Archiving the following to /var/cluster/uninstall/uninstall.1036/archive:
/etc/cluster ...
/etc/path_to_inst ...
/etc/vfstab ...
/etc/nsswitch.conf ...
Updating vfstab ... done
The /etc/vfstab file was updated successfully.
The original entry for /global/.devices/node@1 has been commented out.
And, a new entry has been added for /globaldevices.
Mounting /dev/dsk/c3t0d0s6 on /globaldevices ... done
Attempting to contact the cluster ...
Trying "n20-2-sup" ... okay
Trying "n20-3-sup" ... okay
Attempting to unconfigure n20-1-sup from the cluster ... failed
Please consider the following warnings:
scrconf: Failed to remove node (n20-1-sup).
scrconf: All two-node clusters must have at least one shared quorum device.
Additional housekeeping may be required to unconfigure
n20-1-sup from the active cluster.
Removing the "cluster" switch from "hosts" in /etc/nsswitch.conf ... done
Removing the "cluster" switch from "netmasks" in /etc/nsswitch.conf ... done
** Removing Sun Cluster framework packages **
Removing SUNWkscspmu.done
Removing SUNWkscspm..done
Removing SUNWksc.....done
Removing SUNWjscspmu.done
Removing SUNWjscspm..done
Removing SUNWjscman..done
Removing SUNWjsc.....done
Removing SUNWhscspmu.done
Removing SUNWhscspm..done
Removing SUNWhsc.....done
Removing SUNWfscspmu.done
Removing SUNWfscspm..done
Removing SUNWfsc.....done
Removing SUNWescspmu.done
Removing SUNWescspm..done
Removing SUNWesc.....done
Removing SUNWdscspmu.done
Removing SUNWdscspm..done
Removing SUNWdsc.....done
Removing SUNWcscspmu.done
Removing SUNWcscspm..done
Removing SUNWcsc.....done
Removing SUNWscrsm...done
Removing SUNWscspmr..done
Removing SUNWscspmu..done
Removing SUNWscspm...done
Removing SUNWscva....done
Removing SUNWscmasau.done
Removing SUNWscmasar.done
Removing SUNWmdmu....done
Removing SUNWmdmr....done
Removing SUNWscvm....done
Removing SUNWscsam...done
Removing SUNWscsal...done
Removing SUNWscman...done
Removing SUNWscgds...done
Removing SUNWscdev...done
Removing SUNWscnmu...done
Removing SUNWscnmr...done
Removing SUNWscscku..done
Removing SUNWscsckr..done
Removing SUNWscu.....done
Removing SUNWscr.....done
Removing the following:
/etc/cluster ...
/dev/did ...
/devices/pseudo/did@0:* ...
The /etc/inet/ntp.conf file has not been updated.
You may want to remove it or update it after uninstall has completed.
The /var/cluster directory has not been removed.
Among other things, this directory contains
uninstall logs and the uninstall archive.
You may remove this directory once you are satisfied
that the logs and archive are no longer needed.
Log file - /var/cluster/uninstall/uninstall.1036/log
root@n20-1-sup #
Ran the scinstall again:
>>> Confirmation <<<
Your responses indicate the following options to scinstall:
scinstall -ik \
-C N20_Cluster \
-N n20-2-sup \
-M patchdir=/var/cluster/patches \
-A trtype=dlpi,name=qfe1 -A trtype=dlpi,name=qfe5 \
-m endpoint=:qfe1,endpoint=switch1 \
-m endpoint=:qfe5,endpoint=switch2
Are these the options you want to use (yes/no) [yes]?
Do you want to continue with the install (yes/no) [yes]?
Checking device to use for global devices file system ... done
Installing patches ... failed
scinstall: Problems detected during extraction or installation of patches.
Adding node "n20-1-sup" to the cluster configuration ... skipped
Skipped node "n20-1-sup" - already configured
Adding adapter "qfe1" to the cluster configuration ... skipped
Skipped adapter "qfe1" - already configured
Adding adapter "qfe5" to the cluster configuration ... skipped
Skipped adapter "qfe5" - already configured
Adding cable to the cluster configuration ... skipped
Skipped cable - already configured
Adding cable to the cluster configuration ... skipped
Skipped cable - already configured
Copying the config from "n20-2-sup" ... done
Copying the postconfig file from "n20-2-sup" if it exists ... done
Copying the Common Agent Container keys from "n20-2-sup" ... done
Setting the node ID for "n20-1-sup" ... done (id=1)
Verifying the major number for the "did" driver with "n20-2-sup" ... done
Checking for global devices global file system ... done
Updating vfstab ... done
Verifying that NTP is configured ... done
Initializing NTP configuration ... done
Updating nsswitch.conf ...
done
Adding clusternode entries to /etc/inet/hosts ... done
Configuring IP Multipathing groups in "/etc/hostname.<adapter>" files
IP Multipathing already configured in "/etc/hostname.qfe2".
Verifying that power management is NOT configured ... done
Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done
Ensure network routing is disabled ... done
Updating file ("ntp.conf.cluster") on node n20-2-sup ... done
Updating file ("hosts") on node n20-2-sup ... done
Updating file ("ntp.conf.cluster") on node n20-3-sup ... done
Updating file ("hosts") on node n20-3-sup ... done
Log file - /var/cluster/logs/install/scinstall.log.938
Rebooting ...
Mar 13 13:59:13 n20-1-sup reboot: rebooted by root
Terminated
root@n20-1-sup # syncing file systems... done
rebooting...
R
LOM event: +103d+20h44m26s host reset
screen not found.
keyboard not found.
Keyboard not present. Using lom-console for input and output.
Sun Netra T4 (2 X UltraSPARC-III+) , No Keyboard
Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.10.1, 4096 MB memory installed, Serial #52960491.
Ethernet address 0:3:ba:28:1c:eb, Host ID: 83281ceb.
Initializing 15MB Rebooting with command: boot
Boot device: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cfa3e691,0:a File and args:
SunOS Release 5.10 Version Generic_127111-06 64-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: n20-1-sup
Configuring devices.
devfsadm: minor_init failed for module /usr/lib/devfsadm/linkmod/SUNW_scmd_link.so
Loading smf(5) service descriptions: 24/24
/usr/cluster/bin/scdidadm: Could not load DID instance list.
Cannot open /etc/cluster/ccr/did_instances.
Booting as part of a cluster
NOTICE: CMM: Node n20-1-sup (nodeid = 1) with votecount = 0 added.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) with votecount = 2 added.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) with votecount = 1 added.
NOTICE: clcomm: Adapter qfe5 constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being constructed
NOTICE: clcomm: Adapter qfe1 constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being constructed
NOTICE: CMM: Node n20-1-sup: attempting to join cluster.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being initiated
NOTICE: CMM: Node n20-2-sup (nodeid: 2, incarnation #: 1205318308) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being initiated
NOTICE: CMM: Node n20-3-sup (nodeid: 3, incarnation #: 1205265086) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 online
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 online
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node n20-1-sup (nodeid = 1) is up; new incarnation number = 1205416931.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) is up; new incarnation number = 1205318308.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) is up; new incarnation number = 1205265086.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #23 completed.
NOTICE: CMM: Node n20-1-sup: joined cluster.
ip: joining multicasts failed (18) on clprivnet0 - will use link layer broadcasts for multicast
NOTICE: CMM: Votecount changed from 0 to 1 for node n20-1-sup.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #24 completed.
Mar 13 14:02:23 in.ndpd[351]: solicit_event: giving up on qfe1
Mar 13 14:02:23 in.ndpd[351]: solicit_event: giving up on qfe5
did subpath /dev/rdsk/c1t3d0s2 created for instance 2.
did subpath /dev/rdsk/c2t3d0s2 created for instance 12.
did subpath /dev/rdsk/c1t3d1s2 created for instance 3.
did subpath /dev/rdsk/c1t3d2s2 created for instance 6.
did subpath /dev/rdsk/c1t3d3s2 created for instance 7.
did subpath /dev/rdsk/c1t3d4s2 created for instance 8.
did subpath /dev/rdsk/c1t3d5s2 created for instance 9.
did subpath /dev/rdsk/c1t3d6s2 created for instance 10.
did subpath /dev/rdsk/c1t3d7s2 created for instance 11.
did subpath /dev/rdsk/c2t3d1s2 created for instance 13.
did subpath /dev/rdsk/c2t3d2s2 created for instance 14.
did subpath /dev/rdsk/c2t3d3s2 created for instance 15.
did subpath /dev/rdsk/c2t3d4s2 created for instance 16.
did subpath /dev/rdsk/c2t3d5s2 created for instance 17.
did subpath /dev/rdsk/c2t3d6s2 created for instance 18.
did subpath /dev/rdsk/c2t3d7s2 created for instance 19.
did instance 20 created.
did subpath n20-1-sup:/dev/rdsk/c0t6d0 created for instance 20.
did instance 21 created.
did subpath n20-1-sup:/dev/rdsk/c3t0d0 created for instance 21.
did instance 22 created.
did subpath n20-1-sup:/dev/rdsk/c3t1d0 created for instance 22.
Configuring DID devices
t_optmgmt: System error: Cannot assign requested address
obtaining access to all attached disks
n20-1-sup console login: -
Problem adding elements to a group after removing everything...
Hi everyone,
I would really appreciate some help on something. I have a Group that has some Buttons in it. This Group is in one of fours States, and there is a componant for each State. After the user goes through the rest of the program and comes back to this State, I want to remove the old buttons, and add new buttons with new values. Bascially, I want to refresh the componant when it is visited a second time. I have a problem adding new Buttons to the group when the user revisits the componant / state.
The group is created:
<s:VGroup id="buttons" x="0" y="35" height="400" width="280" />
When the init function for that componant is called, buttons are added from an array of buttons:
for(var i:int = 0; i < 10; i++){
var button:Button = questions[i];
trace(button);
button.addEventListener(MouseEvent.CLICK, myEventHandler);
trace(buttons);
buttons.addElement(button);
When the user moves on to the next State, the buttons are removed:
if(counter == 4){
buttons.removeAllElements();
FlexGlobals.topLevelApplication.currentState = 'Summary';
When the user comes back to the initial state, the buttons are not added to the Group like they are the first time. The output of the trace as each button is added is also different the second time:
First time: (successful)
Main.MainBackground2.contentGroup.gameComp.buttons
button8
Second time:
buttons
button8
Can anyone point me in the right direction? And better question, is there a better way I should be doing this?
Is there a better way to refresh everything within a component upon viewing it s second time?
Thanks in advance!I'm not sure why you are using addElement() to add the buttons. Aren't you supposed to let the state functionality handle when the buttons should be visible? That's the cleanest way to do it in most cases. You may want to post a larger code sample, where you have boiled down the code into a minimal sample that still enhibits the issue.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex Training and Support Services -
Unable to add font back to collection after removed from collection
I installed Adobe's Source Sans Pro font (free software), and today I found that there is a newer version, so I think I need to remove this font and install the newer version again.
I first remove it from my custom font collection called "Modern", and I found that I was wrong -- I have to find it in "All Fonts". So I removed it from All Fonts again.
Then I install the new version of Source Sans Pro. It is installed without warning.
Then I drag the installed font from All Fonts to Modern collection. But after that, there is no Source Sans Pro in Modern collection.
I tried to remove it from All Fonts, and install again by dragging it from Finder to Modern collection. It is then can be found in All Fonts, but still not in Modern collection.
I then tried another font called PT Sans. I first drag it from All Fonts to Modern collection, then remove it from Modern collection. When I drag it from All Fonts to Modern collection again, it is not actually being added to Modern collection.
So I can reproduce this problem with other fonts, not specific to Source Sans Pro.
I know there is a workaround: create a new collection, drag all fonts from Modern to the new collection, drag Source Sans Pro to new collection, remove the old Modern collection, and finally rename the new collection to Modern. But this is annoying.
Now I think this is a bug. Does anyone have this issue too?Hi,
I had sam problem and resolved it by doing clean install of OVM Server v3.2.1 on that server. After that, I successfully added OVM server to my pool. :/
Best regards, -
Hi,
I configured my Surface 2 using pin as login option. After that I added my company's exchange account (which has an active sync policy that disables all login types except Windows live password).
But removing my OWA account didn't remove the exchange restrictions. How do I remove them completely?
Thanks in advance.
BR
r3g1mHi ,
This issue seems to be related to the active sync policy,the sync policy will persist even though the account has been removed. To solve this iuuse ,we can reset the security policy.
To reset the Security Policies:
Control Panel \User and Family Safety \User Accounts \Reset Security Policies
Here is a link for reference:
Exchange ActiveSync Policy Engine Overview
http://technet.microsoft.com/en-us/library/dn282287.aspx
Best regards -
Can't re-add printer after removing from eprint center - 'Web Services Problem'
I have an HP Photosmart Premium C310 series printer (Model Number CN503B) which I have been using with ePrint for about 18 months. Aside from intermittent issues it has worked, I use a chromebook most of the time so rely on the ePrint option via Google Cloud Print.
Last week it stopped working, with every job in the list showing as cancelled. Following advice on the forum I removed the email address of the printer from the eprint center. I thought it would then be simple to add the printer back. However, I have been unable to connect the printer to the web service so I cannot create the code I need to add the printer back.
STEPS TO REPRODUCE:
1. Factory reset printer settings
2. Factory reset network settings
3. Restart printer and Reboot router
3. Settings -> Network -> Wireless Setup Wizard
4. Choose correct SSID, enter password for WPA
5. ‘Connected to Network’
6. Settings -> Web -> Enable Web Services
7. ‘Accept terms’ screen -> Accept
8. ‘Checking for product updates’ screen shows briefly then returns to 'accept terms' screen
9. Next it makes a ping sound and shows ‘Web Services Problem’ ‘Problem connecting to Web Services Server’, it then pings again a few seconds later (which ties in with what I see in the network logs as a second attempt)
10. Log on to printer via web interface and set IP address of printer to manual IP outside DHCP range (as advice on other threads in this forum). Check DNS setting valid (same as gateway server which all other devices on network are also using successfully as DNS)
11. Repeat steps 6 and 7 - still same error message
I consider myself technically savvy and have followed all advice I can find on this forum including the following:
1. reverting to printer and network defaults
2. rebooting router
3. assigning static IP address to printer outside of DHCP range of router
4. connecting to printer via web interface and setting DNS to variously: same as gateway, google DNS (8.8.8.8), ISP DNS
5. adjusting firewall settings on router to explicitly allow and log outbound connection on the HP ports (already had a rule allowing all outbound connections)
As mentioned, the printer worked fine with ePrint previously so I suspect the ePrint server is rejecting a request from my printer for some reason, maybe because there is old / corrupt data on the server regarding my specific printer.
I’m logging outbound traffic from the printer and here are what the router logs show me (printer IP replaced with 192.168.x.x below, even though it is not public )
Thu, 2013-04-11 09:13:42 - TCP Packet - Source:192.168.x.x, 36475 Destination:15.201.202.81,80 - [HTTP rule match]
Thu, 2013-04-11 09:13:43 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:51 - TCP Packet - Source:192.168.x.x, 64270 Destination:15.201.224.79,443 - [HTTPS rule match]
Looks like both are HP sites: first is 'g4t2674.houston.hp.com' and the second secure one is ‘registration-pro-site2eprint.houston.hp.com’ which sound likely to be correct. That suggests the DNS is working but that the registration server doesn’t like the request for some reason.
I had the printer registered for Google Cloud Print but I have now deleted that also and it doesn’t seem to have made any difference (assume it just formats and forwards to the HP ePrint email anyway).
One hack that sheds some further light is to switch off wifi on the printer and then switch on ePrint. Eprint gives an error but stays set as 'on'. When I then switch wifi back on I can then at least check for product updates (it tells me I have the latest product updates). However, web services are still a 'no go'. Network traffic for that product update exchange looks like this:
Thu, 2013-04-11 10:14:51 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x ,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
So clearly the printer can communicate to those servers well enough to find it has the latest firmware.
I realise this is a lot of information but hopefully some of it is helpful for troubleshooting.
Thank you in advance for any help!The issue disappeared this weekend. I didn't change anything so it must have been something server side. I notice others with the same issue have also seen it resolved.
Thanks to all those who contributed and tried to help out. Although disappointed I went for a long time without ePrint I'm glad that action was apparently taken to resolve in the end. -
Adapter light stays on even after removing from MacBook Pro
Hi,
I have a MacBook Pro. I noticed something odd last night. When I remove the adapter from the MacBook Pro (you know, the magnetic end that attaches to the MacBook Pro), the light on the adapter still stays green/on. I actually have to unplug the adapter from the wall outlet to make the light turn off. This never happened before.
Has anyone seen this before? Any advice?
Thanks.I think that the light is controlled by the middle pin in the connector. Check it very carefully with a magnifying glass to see if any of the pins are bent or if there is any metalic dust in there.
-
LIveView won't turn on after removing from watch strap
I removed the LiveView from the watch strap to charge it and it turned off. I must have jostled it somewhere.
It won't turn on and the LED doesn't come on to indicate it's charging.
I seems the battery may have come loose. Do I need to pry it open or is there an optimal location to smack it to get the battery to reseat itself?Found the right place to smack it. Whacked it with some BBQ tongs and was able to turn it back on.
I'll be more careful in the future. This is the second time it's done this in the last week or so. -
Document availability after deletion from R3 System
Hello Experts,
We used to schedule datasource 0FI_AR_4 daily overnight. So in each delta there can be some new documents or update in available documents.
In this scheduling, is this possible Document already pulled in BI system, after some days if that document gets deleted then delta after deletion also delete that particular Document in BI side???
Please guide me in this scenario how does system behave?
Points will be assigned.
Thanks in advance.
Regards,
Rajdeep.Hi,
If a document gets deleted on the R3 side, it dosen't get deleted on the BW side. There is nothing in the delta to update deletions on the BW side.
In such cases the documents will be present on the BW side. You can set up a process with the R3 side to let you know in case a document gets deleted and if they want it on the BW side or you can go ahead and delete the same. The other option to this manual process is to have a deletion flag set up on the R3 side. So every time a document is deleted the flag gets updated and you can pull that over to BW. This way you know the document is deleted on the R3 side.
Cheers,
Kedar -
Sound from video plays after video player removed from stage
I have a website http://www.droolpigs.com when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should but not always the audio (especially when I click while the video is still buffering). Is there a command I can use to kill the sound from the flvPlayback component and nothing else(I have a mp3 player there also I so I don't want to use the SoundMatrix class.
btw the videos are all played on an instance of the flvPlayback component.That didn't work. I found this posting where someone claimed to access the netstream object in flvPlayback
video1.addEventListener(VideoEvent.STATE_CHANGE, onVideoStateChange);
private function onVideoStateChange(evt:VideoEvent)
ns = evt.target.getVideoPlayer(evt.vp).netStream;
video1.removeEventListener(VideoEvent.STATE_CHANGE, onVideoStateChange);
setNetstreamObject();
I attempted to instantiate ns this way var ns:NetStream = new NetStream(); but the compiler was expecting a argument.
I'm about ready to ditch flvPlayback and try my luck with the NetStream class.
Maybe you are looking for
-
Hi all the is code i have used DECLARE CURRENTRECORD NUMBER; BEGIN DECLARE CURRENT_DISCOUNT NUMBER; CURRENT_REASON VARCHAR2(100); BEGIN CURRENT_DISCOUNT:=:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_RATE;
-
Hi, all - Earlier this year, I was reading Dan Margulis' book on LAB color, and one day when I was making some adjustments in ACR, it dawned on me that the white balance slider is the same (blue => yellow) as the "b" channel in LAB and that the tint
-
Hi all, In which table the po-header node text will gets saved. Thanks in advance. Thanks, Asmitha.
-
IMac is very hot top half of machine
I was wondering if anyone out there has a new 24" aluminum frame iMac and has noticed that the aluminum chassis gets very hot, and I do mean hot. I was wondering whether Apple intentionally went to the aluminum frame so that it would act as a heat si
-
hi all i read some articals of how to trace oracle sessions and i have some question i use database 10g trace vs event ??? different between them ???? how to trace individual statement i hope to give me this point in ex: due to i can't get the sql_id