Consecutive tweens to the same object?
I'm new to Flash, and I have a simple question that I can't find an answer to in the online help or tutorials topics. It is the following:
In CS4, it is possible to add two consecutive to the same object (symbol instance) tweens? I mean have a shape move from the left, wait a few seconds and then move back to the left. So far, the only method I've found is to create a copy of the object (a new instance of the coast) and animate it separately. But that creates additional objects and get the right positioning is very difficult. Is there a way to have a piece of tween and start another (possibly after a delay) on the same object in the same layer? Or in different layers, which would be better?
Any advice is welcome.
Gregory
You can do this with a single object. One way using the new method of interpolation in CS4, quoted above, would be as follows.
1. Select the object positioned at location lefmost, then choose Create a motion tween.
2. move the playhead when you want it to be interpolated in the right, then move it.
3. Select this image (Ctrl/Cmd-click), right-click, choose copy properties.
4. move the playhead when you want to * start * interpolation (after the break), right-click and choose Paste properties.
5. at the end of the duration, drag the object to the original position (so TI interpolations of return). OR, you can copy the properties of the first image.
Another way to do this would be:
1. Select the object positioned at location lefmost, then choose Create a motion tween.
2. move the playhead when you want it to be interpolated in the right, then move it.
3. Select this image (Cmd/Ctrl-click and release), press Alt and drag a copy of the image where you want to stop "a break."
4. at the end of the duration, drag the object to the original position (so TI interpolations of return).
It seems quite clear that I describe each click, but once you do the steps that you will notice it's very simple copy-pasta.
Tags: Adobe Animate
Similar Questions
-
Grouping of consecutive rows with the same value?
Hello
I have a table in which are three columns:
ROWID is a primary key with a unique ID columnROWID SHOPNAME 1 SHOP_C 2 SHOP_A 3 SHOP_C 4 SHOP_C 5 SHOP_A 6 SHOP_A 7 SHOP_C 8 SHOP_B 9 SHOP_B 10 SHOP_E 11 SHOP_A 12 SHOP_D 13 SHOP_D 14 SHOP_F 15 SHOP_G 16 SHOP_F 17 SHOP_C 18 SHOP_C 19 SHOP_C 20 SHOP_C
Shopname is varchar2 column
I want to make groupings of each value 'shopname""order by ROWID"such that when there are consecutive lines of the same group shopname remains same and as soon as there is a different value in shopname column for the next line changes to"group ".
My desired output is with the 3rd column of groups as follows:
I want be done via Analytics, so that I can partition by clause for different stores in different citiesROWID SHOPNAME Groups 1 SHOP_C 1 2 SHOP_A 2 3 SHOP_C 3 ------> same grouping because Shop name is same 4 SHOP_C 3 ------> same grouping because shop name is same 5 SHOP_A 4 ----> different shopname so group changed. 6 SHOP_A 4 ----> same group as above because shopname is same 7 SHOP_C 5 8 SHOP_B 6 9 SHOP_B 6 10 SHOP_E 7 11 SHOP_A 8 12 SHOP_D 9 13 SHOP_D 9 14 SHOP_F 10 15 SHOP_G 11 16 SHOP_F 12 17 SHOP_C 13 18 SHOP_C 13 19 SHOP_C 13 20 SHOP_C 13
concerning
Ramis.with data(row_id, shop) as ( select 1, 'SHOP_C' from dual union all select 2, 'SHOP_A' from dual union all select 3, 'SHOP_C' from dual union all select 4, 'SHOP_C' from dual union all select 5, 'SHOP_A' from dual union all select 6, 'SHOP_A' from dual union all select 7, 'SHOP_C' from dual union all select 8, 'SHOP_B' from dual union all select 9, 'SHOP_B' from dual union all select 10, 'SHOP_E' from dual union all select 11, 'SHOP_A' from dual union all select 12, 'SHOP_D' from dual union all select 13, 'SHOP_D' from dual union all select 14, 'SHOP_F' from dual union all select 15, 'SHOP_G' from dual union all select 16, 'SHOP_F' from dual union all select 17, 'SHOP_C' from dual union all select 18, 'SHOP_C' from dual union all select 19, 'SHOP_C' from dual union all select 20, 'SHOP_C' from dual ), get_data as ( select row_id, shop, lag(shop) over (order by row_id) prev_shop from data ) select row_id, shop, sum(case when shop = prev_shop then 0 else 1 end ) over (order by row_id) grps from get_data; ROW_ID SHOP GRPS ------ ------ ---- 1 SHOP_C 1 2 SHOP_A 2 3 SHOP_C 3 4 SHOP_C 3 5 SHOP_A 4 6 SHOP_A 4 7 SHOP_C 5 8 SHOP_B 6 9 SHOP_B 6 10 SHOP_E 7 11 SHOP_A 8 12 SHOP_D 9 13 SHOP_D 9 14 SHOP_F 10 15 SHOP_G 11 16 SHOP_F 12 17 SHOP_C 13 18 SHOP_C 13 19 SHOP_C 13 20 SHOP_C 13 20 rows selected
-
In the tree of ADF problem when I use 2 tree in a Page with the same object in view!
Hello world
I use 11.1.1.5 JDeveloper and ADF Faces in the user interface. I have 2 trees in a page that they are same view editable object but different instances in the module of the application. When I change the attribute value of one of them to manage Bean programmatically, two of them change? !! in my case, I put a checkbox in nodeStamp, when the user click on the checkbox, rank title needs to change but the title in both entities change?
I think it's a bug.
Please help me. Thank youHello
If I understand your case, then this is the expected behavior.
When multiple instances of objects from view based on feature in an application module is based on the same underlying object of the entity, then a change in one of them reflected on the other. -
I have a chart of the letters from A to Z.
I add the child to the scene with a discreet button represents the letter of the alphabet.
I can add different letters to step up to 4 letters (I have a condition 'if', limiting the number of children on the stage). But if I try to add 4 of the SAME letter, added the first, the second is added and removed from the first, the third is added and removed from the second (and the first has already been removed) and so on. So I can never have the same letters as if I want to spell out MMMM as the expression of a feeling.
How can this be? I think I used a similar method before in a previous prototype where new children were loading on the scene from an image file on the disk. In this case, all the children are integrated MovieClips in the FLA file (the FLA is huge!... because I have about 10 types of lettering images for each letter of the alphabet). And I'm calling those with class constructors and pushing Classes in an array and then call this table a for loop iterating from 0 to less than 27 with i being a uint.
Any help is greatly appreciated.
-markerline
:
initialize
var wordDisplayA:Array = [];
var btnA:Array = [btn_A, btn_B],
for (var i: int = 0; i<>
btnA [i] .addEventListener (MouseEvent.CLICK, letterDisplayF);
}
use wordDisplayA to remove objects in the scene and null them.
can change but do not change significantly
function letterDisplayF(e:MouseEvent):void {}
var C: Class = Class (getDefinitionByName ("Alpha_01_" + e.currentTarget.name.split ("btn_") [1] .toUpp erCase()));
var instance: MovieClip = new C();
addChild (instance);
wordDisplayA.push (instance);
instance.x = instance. Width * wordDisplayA.Length;
}
Call when you want to remove the letters.
function removeWordF (): void {}
for (var i: int = wordDisplayA.length - 1; i > = 0; i--) {}
removeChild (wordDisplayA [i]);
}
wordDisplayA.length = 0;
}
-
selection of multiple grants on the same object
Hello
(The following SQl code will be run on 9i, 10g and 11g database versions)
Im trying to produce a list of the directory of the subsidies that are the same from 2 different users (but only display the details of a user grants)
to clarify...
lets say we have 100 directories and 2 users who have granted permissions on them, user A and user B.
Permissions can be granted on a directory by just A user, to any user B or the same permission granted on the same directory by users A and B.
I want to make a list that displays the details of the directories where user A and user B are granted this permission (but in the list only display the details of A user grants)
If the following SQL code will give me all the directory permissions that are granted by user A
Select p.table_name, p.grantee, p.owner, p.grantor, p.privilege, o.object_type
of dba_tab_privs p
dba_objects o inner join
on o.object_name = p.table_name
where o.object_type = 'DIRECTORY '.
and p.grantor = 'USER ';
so I want to make the same list of grants by USERA just, but only if these directories have also been granted the same permission by USERB
any ideas on the best way to do it?
Thank you882817 wrote:
What's the advantage I have this solution on the previous?Well, I just introduced two solutions. Depending on the particular case compare you execution plans and choose a better. Here we have quite complex views, but I would say the analytical solution is a little bit faster:
SQL> explain plan for 2 select p.table_name, 3 p.grantee, 4 p.owner, 5 p.grantor, 6 p.privilege, 7 o.object_type 8 from dba_tab_privs p 9 inner join 10 dba_objects o 11 on ( 12 o.object_type = 'DIRECTORY' 13 and 14 o.owner = p.owner 15 and 16 o.object_name = p.table_name 17 and 18 p.grantor != 'U2' 19 ) 20 where not exists ( 21 select 1 22 from dba_tab_privs p1 23 where p.owner = p1.owner 24 and p.table_name = p1.table_name 25 and p.grantee = p1.grantee 26 and p.privilege = p1.privilege 27 and p1.grantor = 'U2' 28* ) SQL> / Explained. SQL> @?\rdbms\admin\utlxpls PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ Plan hash value: 1557554763 ---------------------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | ---------------------------------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 494 | 131K| | 864 (5)| 00:00:11 | |* 1 | HASH JOIN | | 494 | 131K| | 864 (5)| 00:00:11 | |* 2 | TABLE ACCESS FULL | USER$ | 73 | 1095 | | 3 (0)| 00:00:01 | |* 3 | HASH JOIN ANTI | | 494 | 124K| | 861 (5)| 00:00:11 | |* 4 | HASH JOIN | | 522 | 96570 | | 681 (5)| 00:00:09 | | 5 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ |* 6 | HASH JOIN | | 522 | 88740 | | 678 (5)| 00:00:09 | | 7 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 8 | HASH JOIN | | 38597 | 5842K| 1752K| 674 (5)| 00:00:09 | |* 9 | HASH JOIN | | 24484 | 1458K| | 172 (5)| 00:00:03 | |* 10 | HASH JOIN | | 24221 | 685K| | 23 (9)| 00:00:01 | | 11 | INDEX FULL SCAN | I_TABLE_PRIVILEGE_MAP | 24 | 240 | | 1 (0)| 00:00:01 | |* 12 | TABLE ACCESS FULL | OBJAUTH$ | 24221 | 449K| | 21 (5)| 00:00:01 | | 13 | TABLE ACCESS FULL | OBJ$ | 52647 | 1645K| | 147 (3)| 00:00:02 | | 14 | VIEW | DBA_OBJECTS | 49670 | 4559K| | 164 (10)| 00:00:02 | | 15 | UNION-ALL | | | | | | | |* 16 | FILTER | | | | | | | PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ |* 17 | HASH JOIN | | 52627 | 2826K| | 162 (10)| 00:00:02 | | 18 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 19 | TABLE ACCESS FULL | OBJ$ | 52627 | 2055K| | 158 (9)| 00:00:02 | |* 20 | TABLE ACCESS BY INDEX ROWID | IND$ | 1 | 8 | | 2 (0)| 00:00:01 | |* 21 | INDEX UNIQUE SCAN | I_IND1 | 1 | | | 1 (0)| 00:00:01 | |* 22 | TABLE ACCESS BY INDEX ROWID| SUM$ | 1 | 8 | | 1 (0)| 00:00:01 | |* 23 | INDEX UNIQUE SCAN | I_SUM$_1 | 1 | | | 0 (0)| 00:00:01 | |* 24 | FILTER | | | | | | | |* 25 | HASH JOIN | | 9 | 513 | | 5 (20)| 00:00:01 | | 26 | INDEX FULL SCAN | I_LINK1 | 9 | 378 | | 1 (0)| 00:00:01 | | 27 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ | 28 | VIEW | VW_SQ_1 | 1530 | 109K| | 179 (4)| 00:00:03 | |* 29 | HASH JOIN | | 1530 | 158K| | 179 (4)| 00:00:03 | | 30 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 31 | HASH JOIN | | 1530 | 135K| | 176 (4)| 00:00:03 | |* 32 | HASH JOIN | | 1514 | 89326 | | 27 (8)| 00:00:01 | | 33 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 34 | HASH JOIN | | 1514 | 66616 | | 24 (9)| 00:00:01 | | 35 | INDEX FULL SCAN | I_TABLE_PRIVILEGE_MAP | 24 | 240 | | 1 (0)| 00:00:01 | | 36 | NESTED LOOPS | | 1514 | 51476 | | 22 (5)| 00:00:01 | | 37 | TABLE ACCESS BY INDEX ROWID | USER$ | 1 | 15 | | 1 (0)| 00:00:01 | |* 38 | INDEX UNIQUE SCAN | I_USER1 | 1 | | | 0 (0)| 00:00:01 | PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ |* 39 | TABLE ACCESS FULL | OBJAUTH$ | 1514 | 28766 | | 21 (5)| 00:00:01 | | 40 | TABLE ACCESS FULL | OBJ$ | 52647 | 1645K| | 147 (3)| 00:00:02 | ---------------------------------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 1 - access("OA"."GRANTOR#"="UR"."USER#") 2 - filter("UR"."NAME"<>'U2') 3 - access("U"."NAME"="NAME" AND "O"."NAME"="NAME" AND "UE"."NAME"="NAME" AND "TPM"."NAME"="NAME") 4 - access("OA"."GRANTEE#"="UE"."USER#") PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ 6 - access("O"."OWNER"="U"."NAME" AND "U"."USER#"="O"."OWNER#") 8 - access("O"."OBJECT_NAME"="O"."NAME") 9 - access("OA"."OBJ#"="O"."OBJ#") 10 - access("OA"."PRIVILEGE#"="TPM"."PRIVILEGE") 12 - filter("OA"."COL#" IS NULL) 16 - filter(("O"."TYPE#"<>1 AND "O"."TYPE#"<>10 OR "O"."TYPE#"=1 AND (SELECT 1 FROM "SYS"."IND$" "I" WHERE "I"."OBJ#"=:B1 AND ("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR "I"."TYPE#"=7 OR "I"."TYPE#"=9))=1) AND DECODE("O"."TYPE#",0,'NEXT OBJECT',1,'INDEX',2,'TABLE',3,'CLUSTER',4,'VIEW',5,'SYNONYM',6,'SEQUENCE',7,'PROCEDURE',8,'FUNCTION',9,'PACKAG E',11,'PACKAGE BODY',12,'TRIGGER',13,'TYPE',14,'TYPE BODY',19,'TABLE PARTITION',20,'INDEX PARTITION',21,'LOB',22,'LIBRARY',23,'DIRECTORY',24,'QUEUE',28,'JAVA SOURCE',29,'JAVA CLASS',30,'JAVA PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ RESOURCE',32,'INDEXTYPE',33,'OPERATOR',34,'TABLE SUBPARTITION',35,'INDEX SUBPARTITION',40,'LOB PARTITION',41,'LOB SUBPARTITION',42,NVL( (SELECT DISTINCT 'REWRITE EQUIVALENCE' FROM SYS."SUM$" "S" WHERE "S"."OBJ#"=:B2 AND BITAND("S"."XPFLAGS",8388608)=8388608),'MATERIALIZED VIEW'),43,'DIMENSION',44,'CONTEXT',46,'RULE SET',47,'RESOURCE PLAN',48,'CONSUMER GROUP',51,'SUBSCRIPTION',52,'LOCATION',55,'XML SCHEMA',56,'JAVA DATA',57,'SECURITY PROFILE',59,'RULE',60,'CAPTURE',61,'APPLY',62,'EVALUATION CONTEXT',66,'JOB',67,'PROGRAM',68,'JOB CLASS',69,'WINDOW',72,'WINDOW GROUP',74,'SCHEDULE',79,'CHAIN',81,'FILE GROUP','UNDEFINED')='DIRECTORY') 17 - access("O"."OWNER#"="U"."USER#") 19 - filter("O"."LINKNAME" IS NULL AND "O"."NAME"<>'_NEXT_OBJECT' AND "O"."NAME"<>'_default_auditing_options_' AND BITAND("O"."FLAGS",128)=0) 20 - filter("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ "I"."TYPE#"=7 OR "I"."TYPE#"=9) 21 - access("I"."OBJ#"=:B1) 22 - filter(BITAND("S"."XPFLAGS",8388608)=8388608) 23 - access("S"."OBJ#"=:B1) 24 - filter(NULL IS NOT NULL) 25 - access("L"."OWNER#"="U"."USER#") 29 - access("U"."USER#"="O"."OWNER#") 31 - access("OA"."OBJ#"="O"."OBJ#") 32 - access("OA"."GRANTEE#"="UE"."USER#") 34 - access("OA"."PRIVILEGE#"="TPM"."PRIVILEGE") 38 - access("UR"."NAME"='U2') PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ 39 - filter("OA"."COL#" IS NULL AND "OA"."GRANTOR#"="UR"."USER#") 89 rows selected. SQL> explain plan for 2 select table_name, 3 grantee, 4 owner, 5 grantor, 6 privilege, 7 object_type 8 from ( 9 select p.table_name, 10 p.grantee, 11 p.owner, 12 p.grantor, 13 p.privilege, 14 o.object_type, 15 count(case when p.grantor != 'U2' then 1 end) over(partition by p.table_name,p.grantee,p.owner,p.privilege) u2_indicator 16 from dba_tab_privs p 17 inner join 18 dba_objects o 19 on ( 20 o.object_type = 'DIRECTORY' 21 and 22 o.owner = p.owner 23 and 24 o.object_name = p.table_name 25 ) 26 ) 27 where u2_indicator = 1 28 / Explained. SQL> SQL> SQL> @?\rdbms\admin\utlxpls PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ Plan hash value: 1974693759 ------------------------------------------------------------------------------------------------------------------------ | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | ------------------------------------------------------------------------------------------------------------------------ | 0 | SELECT STATEMENT | | 522 | 59508 | | 674 (5)| 00:00:09 | |* 1 | VIEW | | 522 | 59508 | | 674 (5)| 00:00:09 | | 2 | WINDOW SORT | | 522 | 101K| | 674 (5)| 00:00:09 | |* 3 | HASH JOIN | | 522 | 101K| | 673 (5)| 00:00:09 | | 4 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 5 | HASH JOIN | | 522 | 96570 | | 670 (5)| 00:00:09 | PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ | 6 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 7 | HASH JOIN | | 522 | 88740 | | 666 (5)| 00:00:08 | | 8 | INDEX FULL SCAN | I_TABLE_PRIVILEGE_MAP | 24 | 240 | | 1 (0)| 00:00:01 | |* 9 | HASH JOIN | | 522 | 83520 | | 665 (5)| 00:00:08 | | 10 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 11 | HASH JOIN | | 38597 | 5465K| 1512K| 661 (4)| 00:00:08 | |* 12 | HASH JOIN | | 24484 | 1219K| | 170 (4)| 00:00:03 | |* 13 | TABLE ACCESS FULL | OBJAUTH$ | 24221 | 449K| | 21 (5)| 00:00:01 | | 14 | TABLE ACCESS FULL | OBJ$ | 52647 | 1645K| | 147 (3)| 00:00:02 | | 15 | VIEW | DBA_OBJECTS | 49670 | 4559K| | 164 (10)| 00:00:02 | | 16 | UNION-ALL | | | | | | | PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ |* 17 | FILTER | | | | | | | |* 18 | HASH JOIN | | 52627 | 2826K| | 162 (10)| 00:00:02 | | 19 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | |* 20 | TABLE ACCESS FULL | OBJ$ | 52627 | 2055K| | 158 (9)| 00:00:02 | |* 21 | TABLE ACCESS BY INDEX ROWID | IND$ | 1 | 8 | | 2 (0)| 00:00:01 | |* 22 | INDEX UNIQUE SCAN | I_IND1 | 1 | | | 1 (0)| 00:00:01 | |* 23 | TABLE ACCESS BY INDEX ROWID| SUM$ | 1 | 8 | | 1 (0)| 00:00:01 | |* 24 | INDEX UNIQUE SCAN | I_SUM$_1 | 1 | | | 0 (0)| 00:00:01 | |* 25 | FILTER | | | | | | | |* 26 | HASH JOIN | | 9 | 513 | | 5 (20)| 00:00:01 | | 27 | INDEX FULL SCAN | I_LINK1 | 9 | 378 | | 1 (0)| 00:00:01 | PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ | 28 | TABLE ACCESS FULL | USER$ | 74 | 1110 | | 3 (0)| 00:00:01 | ------------------------------------------------------------------------------------------------------------------------ Predicate Information (identified by operation id): --------------------------------------------------- 1 - filter("U2_INDICATOR"=1) 3 - access("OA"."GRANTEE#"="UE"."USER#") 5 - access("OA"."GRANTOR#"="UR"."USER#") 7 - access("OA"."PRIVILEGE#"="TPM"."PRIVILEGE") 9 - access("O"."OWNER"="U"."NAME" AND "U"."USER#"="O"."OWNER#") PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ 11 - access("O"."OBJECT_NAME"="O"."NAME") 12 - access("OA"."OBJ#"="O"."OBJ#") 13 - filter("OA"."COL#" IS NULL) 17 - filter(("O"."TYPE#"<>1 AND "O"."TYPE#"<>10 OR "O"."TYPE#"=1 AND (SELECT 1 FROM "SYS"."IND$" "I" WHERE "I"."OBJ#"=:B1 AND ("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR "I"."TYPE#"=7 OR "I"."TYPE#"=9))=1) AND DECODE("O"."TYPE#",0,'NEXT OBJECT',1,'INDEX',2,'TABLE',3,'CLUSTER',4,'VIEW',5,'SYNONYM',6,'SEQUENCE',7,'PROCEDURE',8,'FUNCTION',9,'PACKAGE' ,11,'PACKAGE BODY',12,'TRIGGER',13,'TYPE',14,'TYPE BODY',19,'TABLE PARTITION',20,'INDEX PARTITION',21,'LOB',22,'LIBRARY',23,'DIRECTORY',24,'QUEUE',28,'JAVA SOURCE',29,'JAVA CLASS',30,'JAVA RESOURCE',32,'INDEXTYPE',33,'OPERATOR',34,'TABLE SUBPARTITION',35,'INDEX SUBPARTITION',40,'LOB PARTITION',41,'LOB SUBPARTITION',42,NVL( (SELECT DISTINCT 'REWRITE EQUIVALENCE' FROM SYS."SUM$" "S" WHERE PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ "S"."OBJ#"=:B2 AND BITAND("S"."XPFLAGS",8388608)=8388608),'MATERIALIZED VIEW'),43,'DIMENSION',44,'CONTEXT',46,'RULE SET',47,'RESOURCE PLAN',48,'CONSUMER GROUP',51,'SUBSCRIPTION',52,'LOCATION',55,'XML SCHEMA',56,'JAVA DATA',57,'SECURITY PROFILE',59,'RULE',60,'CAPTURE',61,'APPLY',62,'EVALUATION CONTEXT',66,'JOB',67,'PROGRAM',68,'JOB CLASS',69,'WINDOW',72,'WINDOW GROUP',74,'SCHEDULE',79,'CHAIN',81,'FILE GROUP','UNDEFINED')='DIRECTORY') 18 - access("O"."OWNER#"="U"."USER#") 20 - filter("O"."LINKNAME" IS NULL AND "O"."NAME"<>'_NEXT_OBJECT' AND "O"."NAME"<>'_default_auditing_options_' AND BITAND("O"."FLAGS",128)=0) 21 - filter("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR "I"."TYPE#"=7 OR "I"."TYPE#"=9) 22 - access("I"."OBJ#"=:B1) PLAN_TABLE_OUTPUT ------------------------------------------------------------------------------------------------------------------------------------ 23 - filter(BITAND("S"."XPFLAGS",8388608)=8388608) 24 - access("S"."OBJ#"=:B1) 25 - filter(NULL IS NOT NULL) 26 - access("L"."OWNER#"="U"."USER#") 70 rows selected. SQL>
SY.
-
How can I run two sequences simultaneously on the same object to measure
I'm turning two sequences in parallel on even the UUT (own USE) so that I can put a piece of equipment to a certain State while starting a timer at the same time. How can I do this in the sequencer teststand?
You can run a sequence (or a subsequence if you just need a timer) in a new thread (just choose "use new thread" in the call of the sequence)
-
How can I add two different colors on the same object?
Hello
Say if I have something that I have a circle and I want the black semicircle and the other half with white. How can I do this?
Thank you
actually, sorry, forget something: you can fill it with a gradient that has two color stops in the same place. It is maybe a little more ordered according to what you need.
-
The consecutive processes share the same database session?
Assuming that we have two processes on the same page, which are performed one after the other. Can we depend on that they are running within the same database session?
For example it is possible to define a database (sys_context) context in the first process, and refer to this context within a second (e.g. process DML).
Or asking in other words: is the session DB from the pool of connections apex reused or returned to the connection pool after the first process?
It's a little difficult to control, because only the negative case would be suffient to say it doesn't work that way. Just because the 10 tests on 10 worked will not guarantee that it is always the case.
Published by: Sven w. on June 28, 2012 15:04 - typo correctionSven wrote:
Assuming that we have two processes on the same page, which are performed one after the other. Can we depend on that they are running within the same database session?For example it is possible to define a database (sys_context) context in the first process, and refer to this context within a second (e.g. process DML).
Or asking in other words: is the session DB from the pool of connections apex reused or returned to the connection pool after the first process?
The same session of database is used for the duration of 'see the page' or 'accept the page' request. If a 'direct branch' (direction of the page without using the redirect) takes place after "accept page" the same session of treatment, is used to display the new page. See the use attributes initialization PL/SQL/cleaning of Code PL/SQL Code .
However, several operations may be involved, as APEX will issue engages on different session state changes.
-
It Possible to work with the same object instance Calendar?
Dear Experts
Can you please help me with this one... I get the same experience for all employees even if I changed the dates:
Maybe to get the complete code you will be an overview
Published by: standman on March 14, 2011 12:37import java.util.Calendar; class Employee { private Calendar doj; private String empname; void setEmpName(String empname) { this.empname = empname; } String getEmpName() { return this.empname ; } void setDoj(Calendar doj) { this.doj = doj; } Calendar setDoj() { return this.doj ; } int ExperienceInYears(Calendar now) { int todayday=0,dobday=0; if (doj.after(now)) { throw new IllegalArgumentException("Date Error! Doj > today"); } int year1 = now.get(Calendar.YEAR); int year2 = doj.get(Calendar.YEAR); int yrs = year1 - year2; int todaymonth = now.get(Calendar.MONTH); int dobmonth = doj.get(Calendar.MONTH); if (dobmonth > todaymonth) { yrs--; } else if (todaymonth == dobmonth) { todayday = now.get(Calendar.DAY_OF_MONTH); dobday = doj.get(Calendar.DAY_OF_MONTH); if (dobday > todayday) { yrs--; } } return yrs; } } public class Main { public static void main(String[] args) { Calendar doj,today; int yrs; today = Calendar.getInstance(); doj = Calendar.getInstance(); today.set(2011, 3, 14); Employee e1 = new Employee(); Employee e2 = new Employee(); Employee e3 = new Employee(); e1.setEmpName("John Denver"); doj.set(1990, 1, 2); // First Time e1.setDoj(doj); e2.setEmpName("Olivia Newton"); doj.set(2002, 12, 12); // Second Time e2.setDoj(doj); e3.setEmpName("Neil Diamond"); doj.set(2005, 3,3); //Third time e3.setDoj(doj); yrs=e1.ExperienceInYears(today); System.out.println("The Employee " + e1.getEmpName()+ " has " + yrs + " years of exprience" ); yrs=e2.ExperienceInYears(today); System.out.println("The Employee " + e2.getEmpName()+ " has " + yrs + " years of exprience" ); yrs=e3.ExperienceInYears(today); System.out.println("The Employee " + e3.getEmpName()+ " has " + yrs + " years of exprience" ); } }
standman wrote:
If I have three different dojs can I get the right answer! But why?What said Kayaman; However, now that you know this, you see that there is a much better way to set up your employees? (Hint: think of an employee (String, int, int, int) constructor).
Winston
-
[CS3] 2 tweens on the same event on movieclip even
I need to make a movieclip go upward (by changing your position there) and then down, but it came straight down while simply going top tween.
Here's the code...
Btn1.onRelease = function() {}
new Tween (this._parent.tax, "FLF", Strong.easeIn, 545, 195, 20, false ");
new Tween (this._parent.tax, "FLF", Strong.easeOut, 195, 545, 20, false ");
}
new Tween (this._parent.tax, "FLF", Strong.easeOut, 195, 545, 20, false ");
What is the best way to make it work?
Thank you.Hello
There are a lot of properties and functions to control the interpolation.When you create a new Tween it will return the Tween object, you can control that particular tween using them.
-
Role permissions for the same object more
Hello everyone,
I work in a large company with lots of data and Oracle DB base, specifically
the management of the security services account (accounts, roles, privileges, etc...).
In a few DB, we have a role named RO ALFA READ, with grant select on table TABLE_32.
The ROLE of ALPHA, or better, the ROLE ALFA users grant specifically also in the array of objects.
This is the final situation:
SQL > SELECT * FROM DBA_ROLE_PRIVS WHERE DEALER = "TIZIO";
DEALER GRANTED_ROLE SMA DEF
------------------------------ ------------------------------ --- ---
TIZIO CONNECT YES
TIZIO RESOURCE NO YES
TIZIO DBA NO YES
TIZIO SELECT_CATALOG_ROLE NO YES
TIZIO AQ_ADMINISTRATOR_ROLE NO YES
TIZIO RO_ALFA_READ NO YES
SQL > c.role.tab
1 * SELECT * FROM DBA_tab_PRIVS WHERE DEALER = "TIZIO".
SQL > r
1 * SELECT * FROM DBA_tab_PRIVS WHERE DEALER = "TIZIO".
DEALERSHIP OWNER TABLE_NAME GRANTOR PRIVILEGE
------------------------------ ------------------------------ ------------------------------ --------------------------------
TIZIO SYS TABLE_32 SYS SELECT
In your view, why the engineer decided to give this privilege 'double' on the table?
Thank you!
Perhaps because the privileges granted through a role are not used during the execution of a procedure:
[oracle@db11204 ~] $ sqlplus / as sysdba
SQL * more: Production of liberation 11.2.0.4.0 Thu Aug 20 23:48:31 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > create user t1 identified by t1.
Created by the user.
SQL > create user t2 identified by t2;
Created by the user.
SQL > grant connect, resource for t1, t2;
Grant succeeded.
SQL > create table t1.tt (ID);
Table created.
SQL > insert into t1.tt values (2);
1 line of creation.
SQL > commit;
Validation complete.
SQL > create role role1.
Created role.
SQL > grant select on t1.tt to role1.
Grant succeeded.
SQL > grant role1 at t2;
Grant succeeded.
SQL > conn t2/t2
Connected.
SQL > select * from t1.tt;
ID
----------
2
SQL > conn / as sysdba
Connected.
SQL > grant create procedure at t2;
Grant succeeded.
SQL > conn t2/t2
Connected.
SQL > create procedure p1 is
2 start
3 run immediately "select * from t1.tt';"
4 end;
5.
Created procedure.
SQL > set serveroutput on
SQL > exec p1
BEGIN p1; END;
*
ERROR on line 1:
ORA-00942: table or view does not exist
ORA-06512: at the 'T2 '. "P1", line 3
ORA-06512: at line 1
SQL > select * from t1.tt;
ID
----------
2
SQL > show user
The USER is 'T2 '.
SQL >
-
Multiples of the same object/value in a contact field
Hello
In our table of Contacts of the E10, I feel a very strange behavior with a field called 'Type of Contact'. The field has been set as a drop-down list.
Suddenly, multiples of the value stored in this field in the documents that get 2-way sync between E and SFDC, Ont. Thus, for example, if the value of the field
has been 'Operator', the actual value is passed to 'OperatorOperator '. And the more you synch, the value is (as seems to be added).
Then, the value would be "OperatorOperatorOperatorOperator".
Wake up to the problem and setting values is tricky, because in the E10 user interface, you won't notice them if you use a drop-down list.
I then changed the field to be a textbox to think what might help. And there is progress here. If there are more than two objects of value in the field,
they present themselves. IF there were only two, everything looks ok just as you can see in the screenshot below:
More survey close using that an outgoing external call Test reveals, however, that the value is actually duplicated:
Also, if you have opened upward the selected record under Contacts the contents of the field (after changing text box):
and then remove the selection (by tapping the button Delete), you could actually get a hint that something does not always work with the field:
The cursor remains in the right-hand side of the text box, while he should have all the way to the left.
Finally, I tried to fix the multiplied values SFDC and autosych back to Eloqua, but unfortunately the values do not get it fixed but
keep duplicate values stored in.
Any other questions/experiences? Is it a problem with the autosynch get leads NOT to crush, but rather just adding?
WBR,
-tatu-
Some additional screenshots: fi
The choice list values:
Yep!
That did the trick. It must have been a flaw in the external call-out who copied the value out. would have not thought about it in the first place...
PS. and of course the external call test has shown that the field mapping was abt to do, IE send a duplicated value (although the field could have only a single (or double) value in db at the time.)
WBR,
Tatu
-
Script to move the same objects of value of color to a layer
I have a range of color objects upward into process colors, and I would like to the moved to the individual layers of script.
so the result would be to move all items from cyan to CYAN layer, move all the magenta elements to the Magenta layer, etc. etc.
Could someone help please?
Thank you very much
something like this will do the trick.
Don't forget: this can make a mess of your z-order...
function seperate_items_to_layers_by_colour(){ var doc = app.activeDocument; var item = doc.pageItems; var C_lay = make_layer_if_needed("CYAN"); var M_lay = make_layer_if_needed("MAGENTA"); var Y_lay = make_layer_if_needed("YELLOW"); var K_lay = make_layer_if_needed("BLACK"); for(var i=0; i
-
Hello
I fill an ArrayCollection collection from the server and use it as a DataProvider to a DataGrid control.
I want to send only what has changed (the delta) on the server.
So, I save the original in another collection ArrayCollection with the idea to use it to compare with the original. Like this:
public var ArrayCollection1:ArrayCollection = new ArrayCollection(); public var ArrayCollection2:ArrayCollection = new ArrayCollection(); (ArrayCollection1 populated from the server) ArrayCollection2 = ArrayCollection1;
However, the second collection of underlying table ArrayCollection has the ObjectId as well as the first. Therefore, when data is changed in the DataGrid, it replaces the two ArrayCollections.
Is there a way to force the second collection of ArrayCollection underlying table to be an object separated instead of a reference to the ArrayCollection1 table?
Thank you!
You'll need a full copy:
-
Place the same object several times
Does anyone know how to place an object several times in Illustrator or InDesign? I have a little graphic I want to have repeated (probably hundreds of times) to create a background. I could place it still and again (and again and again and), but it would be too labor-intensive.
Is there a a way to put in it as it is an auto-répliquant?
Thank you
John
John,
Effect > warp & Transform > Transform is your friend. Enter the number of copies and the amount that each must be moved, horizontally and vertically, one direction at a time. To edit/change the batch, change the original.
Or you can have a look at patterns/pattern tiles.
Maybe you are looking for
-
F12 button orange light is on and cannot connect to internet
Hello My son has a laptop HP Pavilion g6 which operates Windows 8.1 Everything works fine up until yesterday, when the orange light on the f12 key came and laptop does not connect to the internet. We cannot turn this light off. Any help would be gra
-
How to limit time to receive calls?
Hello! Is it possible to put a time limit to receive Skype calls? For example, from 10 to 14 h. If so, how? Thanks in any case!
-
Satellite Pro L300D - 11N WLan disconnect and reconnect after 20 sec later
I just bought this laptop and every now and then it isolates from my internet then reconnects about 20 seconds later.Someone knows how to fix this? If this is a case of update anything as pilots.Could someone please give a link where I download them?
-
Send the file by E-mail->; size limit?
Is there a size limit of files that can be sent using SMTP functions?I know that in the e-mail servers different, there are restrictions on how big attachments can be. Is this true in LabVIEW? What server do not send LabVIEW through your server defau
-
I have a desktop computer and a laptop, with Vista 64 bit. A few days ago that I had a virus problem on the laptop for which I restore the system to a return date. After that, I had tried several times to get this system connected to home networking