get the parent movieclip name
using the MovieClipLoader, everything works fine.fixation of a series of clips with a nested element and loading a jpg in each clip nested these MovieClip.
in the func onLoadInit listener, I passed the name of the element that is responsible, how carefully I reference the parent of this element?
Currently I can get the name nested mc (I just use target_mc as the use of help files), but you need to refer to its parent.
THX!
Have you tried target_mc._parent
Tags: Adobe Animate
Similar Questions
-
Get the only table name in model executing the revese engineer but columns do not come
Get the only table name in model executing the revese engineer but columns do not come. I used the standard procedure. Please let me know why I am not getting column in my model.
I have attached the screen shot for the same thing.
This is a table or a synonym? In the case of synonym or try to add the property as it appears below thread.
Reverse engineering a synonym in ODI 11 G.
Or maybe go with personal setbacks.
-
Get the Parent for each record in the child
Dear Experts,
I have a table that contains the parent and child information. I need to make a request to get the parents of each book of the child table. I tried to write the query but does not get the expected results. Please help me.
Table: relationship
Parent of the child
102 101
103 102
104 103
106 105
107 106
109 108
110 109
Output:
Expected child
102 101
103 102; 101
104 103, 102, 101
106 105
107 106; 105
109 108
110 109
Thank you very much
Hello
MU * 443499 * TR wrote:
Dear Experts,
I have a table that contains the parent and child information. I need to make a request to get the parents of each book of the child table. I tried to write the query but does not get the expected results. Please help me.
Table: relationship
Parent of the child
102 101
103 102
104 103
106 105
107 106
109 108
110 109
Output:
Expected child
102 101
103 102; 101
104 103, 102, 101
106 105
107 106; 105
109 108
110 109
Thank you very much
Why do you want to
Expected child
----- ---------------
110 109
Instead of
Expected child
----- ---------------
110 109; 108
?
You may want something like this:
CONNECT_BY_ROOT SELECT AS children
SYS_CONNECT_BY_PATH (parent, ';') AS expected_output
FROM table_x
WHERE CONNECT_BY_ISLEAF = 1
CONNECT BY child = parent PRIOR
;
If you would care to post CREATE TABLE and INSERT statements for your sample data, and then I could test this.
-
Why do I get the error invalid name anchor in muse adobe
Why do I get the error invalid name anchor in muse adobe
has responded to your other Candran.
-
I want to get the multiple tilesetters name.
I want to get the multiple tilesetters name.
The command "activeDocument.activeLayer" returns only a layer name. Even if several layers have been selected.
I can solve the problem?
Please try this example...
#target Photoshop app.bringToFront(); main(); function main(){ if(!documents.length) return; var selectedLayers = getSelectedLayersIdx(); var selectedLayersNames =[]; for(var a in selectedLayers){ selectedLayersNames.push(getLayerNameByIndex( Number(selectedLayers[a]) )); } alert("Number of Layers selected = " + selectedLayers.length + "\rLayer Names = " + selectedLayersNames.toString()); } function getLayerNameByIndex( idx ) { var ref = new ActionReference(); ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "Nm " )); ref.putIndex( charIDToTypeID( "Lyr " ), idx ); return executeActionGet(ref).getString(charIDToTypeID( "Nm " ));; }; function getSelectedLayersIdx(){ var selectedLayers = new Array; var ref = new ActionReference(); ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") ); var desc = executeActionGet(ref); if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){ desc = desc.getList( stringIDToTypeID( 'targetLayers' )); var c = desc.count var selectedLayers = new Array(); for(var i=0;i
-
How to get the client computer name database?
Hiya
As part of the authentication of the user of our application, the requirement is that if a user is connected from a machine, the same connection of can not the user to different machines at the same time.
In Forms6i, we had accomplished this by using the following query:
Select the Terminal
Session $ v
Where username = v_username
And v_terminal terminal <>;
Where
v_username = USER-> Oracle Forms reserve Word
v_terminal = Client_Win_API_Environment.Get_Windows_Username
In Forms 6i, the column Terminal of V$ Session used to return the name of the local client computer.
However, in the form of 10g, it returns the name of the computer on which Oracle Application Server is installed, which seems correct to me.
So my question is how do we get the client computer name of the database in the context of Oracle's 10g? Is there another package of database or view/table that returns the client computer name?
Your suggestions/comments will be much appreciated.
See you soon
MayurWe have implemented the same exact requirement to retrieve the IP address of the client (WebUtil provides a function for this) and write it in the field v$ session.action (this can be done using the dbms_application_info package DB). We are so in shape 10g v assessment $session.action instead of v$ session.terminal.
-
Get the library MovieClip is on the scene with AS3
Hey guys, a simple I think, right
Could I please have the answer to get an element of MovieClip on the stage within say the class Document.
The trick is
I want to do when the MovieClip is link refers to a class name, but doesn't actually have a document class that is created.
I know you can give a complete class with the document and which would not be easy. But if you have 10 enemy objects literally doing the same thing, but just look different, why create 10 separate classes!
or I am barking the wrong tree and that I should just set up 10 different enemy styles in the MovieClip 1 and just 1 class join her?
Although always, I would like to know how to get dynamically a MovieClip on the stage of the library, when he isn't a class file associated with the class name in the link
I saw that somewhere there are many moons but do not remember how it was done: s
Thanks in advance
Pocketninja
I'll spare you any attempt by me to answer the questions of the Document class, but here are the basics to dynamically load a symbol in the library...
First of all you must designate the object in the library as an element that can be dynamically loaded.
Right-click on it in the library and select the link in the menu that appears. In the interface that appears, select export for Actionscript. A class name will be automatically assigned, you can change as you wish (let's just say you name MyObject). Is the name you will use to call in the library item.
When you click OK to close this interface, it can come up with an indication saying that he finds not only the class so it will create a moment complie... click OK here. You are made to prepare the object in the library.
To add the item to the scene, treat it like any other new object instance:
var newObject:MyObject = new MyObject();
newObject.x =... etc...
this.addChild (newObject); -
How to get the PC host name using labview
Hello
I have a need to display the name of the host (login name) pc in my application. How do I get using labview in DURATION that is if I write a program and run it in different systems of PC / same system with different users, so I should get corresponding logins.
Can someone help me on this?
Thank you
Kind regards
DEGHA
Should be available in LV RTE
-
During installation - I get the error "file name too long."
During the installation of the software downloaded to my psc1315v, I get an error "file name too long - {A1062846-0846-427A-92A1-BB8251A91E91} and my sanner will not work."
OPS: XP 32-bit
Download file: gc_wo1 - ENU_NB.exe
Hi gcflost,
Follow the steps below and let me know what happens?
First step: clear temp directory
- Type %temp% term or search programs and files of field
- Select all the files in this folder, and then press the delete key to remove. If you receive a message that the file is in use, you will need to ignore this file (s).
- Proceed to step 2 below
Second step: downloaded and extracted to your system:
1 download the drivers and full software features
2. once the download is complete, double-click the file to extract the software.
3. when the installation window opens, press the Cancel button to stop the installation
4. tap folder in the race or search programs and files of field
5. Locate and open the folder starting with 7z (example: 7zS2356)
6. right click on the folder and select copy
7. close this window and all open windows, and then in the Middle the desktop right click your mouse and select Paste. This will move the 7z folder on your desktop.
8 open the 7z, that you just copied on your desktop
9 open the Util folder
10 open the CCC folder
11 start the uninstall_L4
12. once the uninstall is complete, restart the computer
13. run disk cleanup from the tools Accessories\ system under all programs folder
14. download and install the latest version of Adobe flash player
http://www.Adobe.com/support/flashplayer/downloads.html
15 open the 7z folder and then double-click the Setup.exe file that will be towards the bottom of the open window. Follow the instructions on the screen to reinstall your printer.
Let me know if you are able to successfully install the software and driver and are able to print & scan?
-
I can get the info if I right click on the fax and click Properties so I know that I get the info, just can not get to automatically mount in the columns.
Hello
To add the ID of the sender's name and calling to appear in the columns of Windows Fax and Scan. Try the following steps.
1. click on start, type fax and scan, click Windows Fax and Scan from the list.
2. click on the view menu, click Add/Remove columns.
3. Select the items you want to display and add them.
Add these elements to the columns, and it should show the details like who sent the fax.
Windows Fax and Scan: http://www.microsoft.com/windows/windows-vista/features/fax-scan.aspx
I hope this helps.
Kind regards
Syed
Answers from Microsoft supports the engineer. -
Get the parent (paragraph) of the text
Hi all
I met a problem and can't seem to find the solution myself. It's like this:
Let's say you have a story with two paragraphs. A paragraph has 'Hello' in it and the other a 'world' in as text.
You can select e.g. 'Hello', then click on a button, and then after clicking on the button change for example "Hello".
So you have a paragraph with "Greetings" and the other with the "world".
Now, I have the following code I need to change:
selectedContent var = app.selection [0] .silence; It's selection, "Hello".
var contentToChange = app.selection [0] .parent; This is the story.
I want to contentToChange be the paragraph in the text.
.parent Gets the story, so everything disappears and becomes just "Hello".
Tried a lot of things, but impossible to find the solution (what should I use instead of 'parent' to get the paragraph).
Can anyone help please, thank you in advance
Greetings
contentToChange = app.selection [0] .paragraphs [0]
is what you are looking for
-
Get the parent-child hierarchy of column delimited
I've been on this forum once before, and someone helped me, so I hope I can get help again!
4-15-5987');
Thus, the hierarchy is divided on the hyphen. first parent being 4245, then the next value is-4 (including the hyphen) and what follows is - 1, for example
CREATE TABLE REGEXTEST ( ITEM VARCHAR(20)); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-1'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-10'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-11'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-12'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-13'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-14'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-15'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-15-59A7'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-15-59D7'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-4-15-59F7'); INSERT INTO REGEXTEST (ITEM) VALUES ('4245-
I have to be able to bind-1, -4, 4245. Perhaps the simplest is to build a new table with a primary key where it is assigned the id of the parent to the child.
I just can't understand how to divide the individual elements and maintain the hierarchy. As previously mentioned, someone helped me with another part of the problem before where I needed to maintain the entire path of each child with the following query:select nvl(prior item,item) parent, nvl2(prior item,item,null) child from REGEXTEST connect by substr(item,1,instr(item,'-',-1) - 1) = prior item order by child,parent
Now, if I could extrapolate that into a new table:
CREATE TABLE FileHierarchy (ItemID INT NOT NULL PRIMARY KEY, ItemName varchar(50) NOT NULL, ParentID INT NULL);
ItemName is the 4245 or - 4 or - 1 (only) - Yes, including the hyphen.
The ID of the parent-1 would be the ID-4, etc...
Thank you very much in advance!
J.F. Larente
Solution for not having stored the high level:
SQL > select *.
regextest 2
3.POINT LEV
-------------------- ----------
4245 4
4245 4-1
4245 4-10
4245 4-11
4245 4-12
4245 4-13
4245 4-14
4245 4-15
4245 4-15-59 A 7
4245 4-15-59 D 7
4245-4-15-59F711 selected lines.
SQL > with t1 as)
2. Select item
regextest 3
4 Union all the
5 select distinct substr (item, 1, instr(item,'-',1))
6 of regextest
7 ),
8 t2 as)
9. select element,
10 row_number() on id (order by article)
11 from t1
12 )
13. select id,
14 regexp_substr (rtrim (point,'-'), case level when 1 then ' [^-] + $' other '-[^-] + $' end) child.
parentID 15 prior id,
16 regexp_substr (prior rtrim (point,'-'), case level - 1 when 1 then ' [^-] + $' other '-[^-] + $' end) parent
17 of t2
beginning 18 with substr(item,-1) = '-'
19 connect by substr (item, 1, instr(item,'-',-1) - 1) = prior rtrim(item,'-')
20 and article! point prior =
21.ID PARENTID PARENT CHILD
---------- -------------------- ---------- --------------------
1 4245
2 -4 1 4245
3 -1 2 -4
4 -10 2 -4
5 -11 2 -4
6 -12 2 -4
7 -13 2 -4
8 -14 2 -4
9 -15 2 -4
10-59A 7 9-15
11 59 D 7 9 - 15ID PARENTID PARENT CHILD
---------- -------------------- ---------- --------------------
12 59F7 9-1512 selected lines.
SQL >
SY.
-
get the checkbox display names
I want a dynamic action to set a field with NAME_A, NAME_B, NAME_C of a checkbox field that has values of 1,2,3
I tried
SELECT NAME FROM table value WHERE in: P1_COLOR
the first work of box... but the second box I click error ora-1722 invalid number for the target valueYou could do just with JavaScript/jQuery (and get rid of this request altogether).
Create a DA on change for your box using a jQuery selector. Assuming that this is the only check box, you can use: input: checkbox
Then in JavaScript, get the value of the checkbox that has been verified:
var checkedValue = $(this.triggeringElement).val();
Then use this value to set your other value (assuming the other element has an ID of MY_THINGY):
$('#MY_THINGY').val( checkedValue );
-Joe
-
Get the bind variables name string SQL or the cursor
Hello
Is there way to get of the bind variables name string SQL or the cursor?
Example of
What I mean with the SQL string:DECLARE l_sql VARCHAR2(2000); desctab DBMS_SQL.DESC_TAB; curid PLS_INTEGER; BEGIN l_sql := 'SELECT * FROM emp WHERE mgr = :X and deptno = :Y'; curid := dbms_sql.open_cursor; dbms_sql.parse(curid, l_sql, dbms_sql.NATIVE); .... END;
I love to get using some functions from above code variable l_sql all the bind variable.
In this case the function should return array where is for example: X and: Y
Back to bind the cursor variable names, I mean same but rather string I pass number of cursor.
Y at - it sucks ready function or some may share a code customized for this purpose?
Thanks
Kind regards
Jari
http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0Regards,
Published by: jarola December 19, 2011 02:44
I found there are wwv_flow_utilities.get_binds of the function not documented in APEX packages that do what I want.
Usage example
But I would not use these functions without papers as those who can change or there is no future versions APEX.set serveroutput on DECLARE binds DBMS_SQL.varchar2_table; BEGIN binds := wwv_flow_utilities.get_binds('select :P1_TEST from dual'); FOR i IN 1 .. binds.count LOOP dbms_output.put_line(binds(i)); END LOOP; END; / anonymous block completed :P1_TEST
Is there a documented function or the custom function that do the same thing as wwv_flow_utilities.get_binds?Some old basic example code of my friends. Also the media getting the bind variable of PL/SQL code blocks anon.
SQL> create or replace function GetBindVariables( statement varchar2 ) return TStrings is 2 --// bind variables names are terminated by one the following special chars 3 SPECIAL_CHAR constant TStrings := TStrings(' ',')','+','-','>','<','*',',','=',';',CHR(10),CHR(13)); 4 5 --// max size of a bind var name 6 MAX_VARSIZE constant integer := 100; 7 8 pos integer; 9 pos1 integer; 10 occur integer; 11 varName varchar2(100); 12 varList TStrings; 13 begin 14 varList := new TStrings(); 15 16 --// looking for the 1st occurance of a bind variable 17 occur := 1; 18 19 loop 20 pos := InStr( statement, ':', 1, occur ); 21 exit when pos = 0; 22 23 varName := SubStr( statement, pos, 100 ); 24 25 --// find the terminating char trailing the 26 --// bind variable name 27 pos1 := Length( varName ); 28 for i in 1..SPECIAL_CHAR.Count 29 loop 30 pos := InStr( varName, SPECIAL_CHAR(i) ) - 1; 31 if (pos > 0) and (pos < pos1) then 32 pos1 := pos; 33 end if; 34 end loop; 35 36 --// extract the actual bind var name (without 37 --// colon char prefix) 38 varName := SubStr( varName, 2, pos1-1 ); 39 40 --// maintain a unique list of var names 41 if not varName member of varList then 42 varList.Extend(1); 43 varList( varList.Count ) := varName; 44 end if; 45 46 --// look for the next occurance 47 occur := occur + 1; 48 end loop; 49 50 return( varList ); 51 end; 52 / Function created. SQL> SQL> select 2 column_value as BIND_VAR 3 from TABLE( 4 GetBindVariables('select * from foo where col=:BIND1 and day = to_date(:B2,''yyyy/mm/dd'')') 5 ); BIND_VAR ------------------------------ BIND1 B2 SQL>
PS. just realize this code is case-sensitive, while variable bind is not. Should throw a upper() or lower() by adding the name of the var to the list - never really a problem for me because I'm pretty tense when it use cases correctly in the code. ;-)
Published by: Billy Verreynne, December 19, 2011 06:19
-
get the current event (name) of a field - possible / how to?
Hello
I wonder if it is possible to get the name of a field as event:
(form.pag1.mytextfield::enter - JavaScript, client)
var eventname = this.MagicJSfunction();
It is of course possible to get the current name of the event with:
(form.pag1.mytextfield::enter - JavaScript, client)
var eventname = event.name;
It's a shame it's always = 'Focus' wherever I use it (form.pag1.mytextfield::ENTER - JavaScript, client) (form.pag1.mytextfield::EXIT - JavaScript, client)
(form.pag1.mytextfield::enter - JavaScript, client)
my_scripting_obj.my_set_design_function(this, eventname);
Reason:
I use to change the structure of a field in realtion to his event in my script object. By calling the function of my script object, I'd use some copy/paste.
I have more than 120 field where this function must be called to enter and exit the event.
Hello
Does that help? http://assure.ly/h8ZLr5.
In this case, I call the function entry and exit of the events of each field.
Niall
Maybe you are looking for
-
put my apple ID on SE new, how can I remove the ID of the 5 c without it deleting my new SE?
-
Toshiba 46YL863G - emits MPEG2 and H264 streams
Hello everyone, I am using Toshiba REGZA 46ty9175ch (46YL863G) and problems streaming MPEG2 and H264 of any popular network in this REGZA DLNA server. (1) is someone for example, work the PLEX for REGZA profile? (2) does anyone have working ffmpeg pa
-
I'm in trouble, allowing BT to my M40. While BT sticker is below, the battery and the monitor installed programs, when I add a new connection under settings of BT, he said that the Bluetooth is not ready. I think that the problem may be that when I t
-
HP Pavilion 23 t AIO PC does not have Battlefield smoothly
My father bought me the Pavilion 23 t AIO, thinking it would be a computer game, but on me test my Battlefield 3 game with the normal graphics and settings and the game was incredibly laggy. I changed the settings to the lowest, the game will not alw
-
Windows Vista Service Pack 2, error 0 x 80041010
I'm under that Windows Vista 64 bit with SP1 installed. Windows Update seems to work very well I don't get updated however, I never received notification of update of Windows Vista Service Pack 2. I tried to install SP2 manually, but it fails with t