AE expressions - linking text to a table (syntax problem) external text layer
Hi all
I am struggleing to solve this problem-any help would be greatly appreciated.
In a text outside the legacy document, I have some pictures saved as follows:
var = Los Angeles ['Los Angeles', "city Type:", 'Multi City', "Geo:", '-115.180664062,36.111252521', "languages:", "31", "County of POI: ', '20'," County Photo: ', '600', 'Video', 'Y', 'Video views', '30 200'];
var Las_Vegas = ['Los Vegas', "city Type:", 'Multi-City', "Geo:", '-118.243684900,34.052234200', "languages:", "29", "County of POI: ', '20', ' County Photo:", '331', 'Video', 'Y', 'Video views', '26 000'];
var Sydney = ["Sydney", "city Type:", 'Multi-City', "Geo:", "151.204250000,-33.866850000", "languages:", "29", "County of POI: ', '20'," County Photo: ', '331', 'Video', 'Y', 'Video views', '26 000'];
In my comp in AE, I have a layer of text called "city selector. The source text is retouching to navigate between table names (for example: "Los Angeles", "Las_Vegas").
I then many other text layers, with the following expression in the parameter of source text-
try {}
myPath = ' / Volumes/VIdeo-Master/videos/find your project b0ss/source.txt ';
$.evalFile (myPath);
eval (thisComp.layer("CITY_PICKER").text.sourceText) [Math.round (effect ("Slider Control") ("Slider"))];
} catch (err) {}
"MISSING."
}
Each text layer has a slider control to call another element in the table. Thus simplified, the 4th line of the code should read-
eval (arrayname) [number]
For example: eval (Sydney) [5] must return ' language:'
HOWEVER, instead, when
eval (Sydney) [5] returns "y".
eval (of Los Angeles) [5] returns ' no
eval (of Los Angeles) [3] returns "_".
Everyone can see what I'm doing wrong?
See you soon!
Hi again,
I realize I completely misunderstaood the role of the SELECTOR of the CITY, where your question.
Next, you need the eval. I'm sorry.
In your original expression, try to replace eval (thisComp.layer("CITY_PICKER").text.sourceText) [...]
by eval (thisComp.layer("CITY_PICKER").text.sourceText.value) [...]
If my guess is rigth, AE expressions allow an amibiguities between the properties and their value, but eval (which is a native js function) does not work.
Then your original expression begins with the assessment of a property should evaluate a string ("Sydney", etc...)
Have not tried.
Xavier
Tags: After Effects
Similar Questions
-
Display problem with hyper link text on the Blackberry HTML browser
Hello
There is a help section on the application I'm working on that. Basically, load us an html with the Blackberry HTML browser page and provide links hyper text severeal to other subsections providing hyper links text themselves until that user pages of real-world information (just typical help things).
The last link of these pages are always displayed vertically. I've done more laps that I know not to try to solve this problem (including links hyper text in a list in a tab, but it keeps going that way no matter what).
If you have already encountered this problem, thanks for sharing!
I put links hyper texts in tables and it solved the problem. I try this in the first place, because the html tables are only supported for jde 4.6 (http://docs.blackberry.com/en/developers/deliverables/11843/BlackBerry_Browser-Fundamentals_Guide--5...).
But if you only use
,
and parentheses, they come with limited support, it works fine. -
How to remove the 'link text' of an action link
Hello world
After searching the forum and the web with no luck, I need help on this topic. I work with many reports pointing to other dashboards. These dashboards have been created in 10 OBIEE and migrated to 11.1.1.3.
What we wanted to do (and combined in 10g) should be able to click on some data (on a value of a graph, a column value in a header table) and go to an another dashboard. OBIEE 11g for this criteria-> columns-> Interaction Properties tab and selecting the action links.
11 g, when do this Action of links and clicking on a value, appears a link 'text' (screenshot: [https://picasaweb.google.com/102130000310148493868/Screenshots#5646178057282726354]), so that the user must carry out 2 clicks (the one on the value and the other in the link text).
Is there a way to delete this text link? It can be a bit boring if there is always an option and unnecessary.
Thank youHi Elena!
In the tab Interaction (in the column properties window), once you create the action, you will be just there a checkbox that says: "can't be a popup if only an action link is available during execution. Clik on the box and you're ready to go!
Please assign points if helful.
J. -.
-
Looking through "the forums I found this question not answered for a couple of years...
"It would be very useful if we could 'link' text boxes." So if you change a text box in the COMPUTER version, the text corresponding boxes in the TABLET version and PHONE would automatically update. »
Does anyone know if this is now possible as is an extremely useful function especially with 'in browser edition?
Thank you very much
Nick (novice Muse :-)
What you are looking for, are already basically. Read here: create and use the text synchronized in Adobe Muse
And if you use design fluid/reagent, it works without any additional intervention.
Drmontague277467 poorly understood you completely. And even if he understood that you fix: text flowing between the text boxes would be a rather useless feature, because existing HTML specificatiovno or real browsers supports the text stream.
-
Reading properties on the linked text frames
Hello
I need to be able to get the background color and a background image of a textframe help of scripts. I can't find anything in the documentation on the subject. Suggestions?
Also, I need to test if one or more linked text frames are connected to each other. Suggetions?
Thanks in advance
Bo Dudek
WebDeveloper
Mediegruppen
To test if a block of text is linked to another, use the nextTextFrame and previousTextFrame:
if (myFrame.nextTextFrame === null && myFrame.previousTextFrame === null) { // the frame is not linked to another frame }
Background color: myFrame.fillColor
Background image of a block of text: is a picture behind a block of text?
-
We were unable to upgrade many of our clients for the new editor because they have grown dependent on feature "Custom links" former editor that added the link by using the name of the module as the link for the link text. For example, in the former editor, if you have added a link to a piece of media download it would look like this:
It made him very simple and intuitive for end-users to add basic links to items in the module. They their selected in the list and a 'ready to go' link was inserted for them.
However, the system now offers the following when you click on this same point with "insert links...". "in the new editor:
LiteratureRetrieve.aspx? ID = 12345
Some would say "Just select and edit text." (.. .assuming you know / remember the name that you have given this particular element)
HHowever, If do you this with the new editor, it attaches automatically link to just the first letter you type, having for result something like this:
Nname of ew
This, of course, can now only be corrected using the HTML mode, which, ironically, is what the editor is supposed to be helping users to avoid!
Also, this seems to be the case for all links created with the new editor (, new pages, FAQ, etc), so I'm really confused as to how there is no mention of this problem anywhere, by anyone.
IMHO, this (oversight?) must be addressed as a priority, because it clearly undermines the essential purpose of having a WYSIWYG editor there in the first place!
Or maybe I should just now seeking customers with ability of HTML coding?
If I'm missing something, please let me know, but for now, the new editor in Chief is a "no-go" for most customers because this 'link to fundamentals creating' ability was rendered useless to them.
-Bruce
From version R207, R207 - update of the system: the link selector inserts the name of the element instead of the URL of the link.
Dan Popa
-
page link text disappears when the link is run
I have a page with lots of links and e-mail links on page 2 Web using Dreamweaver CS5.5. During the test, I was able to first see the text for all of the links on the page. Whenever I click on a link, the text so that it is empty, but the link works fine. After that, there is an empty space on the page where the link text had been, but when the mouse enters it, the link is displayed and can be run again. He NEVER comes back. I can't test on another computer and initially, the text is there but not after execution of the binding. It's as if the text is just sucked out of the page. Here is the link to the page that I have tested. I used Insert > Email to put in place email links and typed in links to web pages 2.
http://www.graceavenue.org/new%20Site/view/missions.htm
Where the text goes and how can I keep him?
Thank you, Susan
I can provide the source code if it would help although it is available in the view > page Source.
Here is the css of the page:
{body
background-color: #FFFFFF;
left margin: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
line-height: normal;
Color: #000;
padding: 5px;
}TD {}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
Color: #000000;
line-height: normal;
margin: 0;
padding: 0px;
make-style: normal;
make-weight: normal;
}a: link {}
color: #000090;
text-decoration: none;
do-size: 12px;
make-style: normal;
line-height: normal;
make-weight: bold;
}
{.sitelink}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
make-style: normal;
make-weight: bold;
color: #000090;
}a: visited {}
color: #FFFFFF;
text-decoration: none;
}
a: hover {}
color: #000090;
text-decoration: underline;
do-size: 12px;
make-style: normal;
line-height: normal;
make-weight: bold;
}
a: active {}
color: #000090;
text-decoration: none;
do-size: 12px;
make-weight: bold;
}{.h1}
color: #C00000;
font size: 24 PX.
do-family: Tahoma, Geneva, without serif.
make-weight: bold;
line-height: normal;
letter-spacing: 1px;
make-style: normal;
text-align: center;
}. H2 {}
do-size: 18px;
do-family: Tahoma, Geneva, without serif.
color: #C00000;
make-weight: bold;
make-style: normal;
text-align: center;
}
{.h2b}
do-size: 18px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: bold;
make-style: normal;
text-align: center;
}. H3 {}
font size: 24 PX.
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: bold;
make-style: normal;
}{.h4}
do-size: 14px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: bold;
make-style: normal;
}. H5 {}
do-size: 14px;
do-family: Tahoma, Geneva, without serif.
color: #C00000;
make-weight: bold;
make-style: normal;
}.i {}
do-size: 14px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: normal;
make-style: italic;
}.i2 {}
do-size: 12px;
do-family: Tahoma, Geneva, without serif.
Color: #000000;
make-weight: normal;
make-style: italic;
}.p {}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
make-style: normal;
line-height: normal;
make-weight: normal;
Color: #000;
}
. TD {}
make-style: normal;
do-size: 12px;
do-family: Tahoma, Geneva, without serif.
}{#wrapper}
Width: 1000px;
position: relative;
margin-left: auto;
margin-right: auto;
}
{.pbold}
do-size: 12px;
make-weight: bold;
}
{.pictureright}
padding-left: 10px;
padding-top: 10px;
padding-bottom: 10px;
}{.pictureleft}
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
}{.tdbold}
do-family: Tahoma, Geneva, without serif.
do-size: 12px;
Color: #000000;
line-height: normal;
margin: 0;
padding: 0px;
make-style: normal;
make-weight: bold;
}. SM {}
do-family: Tahoma, Geneva, without serif.
do-size: 9px;
Color: #000000;
line-height: normal;
margin: 0;
padding: 0px;
make-style: normal;
}Not too surprising, really. This is what happens when you have white text on white background links.
{body
background-color: #FFFFFF; / * It's white * /.
}
a: visited {}
color: #FFFFFF; / * It's white * /.
text-decoration: none;
}
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
-
How to keep link text fonts to change when it is associated with an object?
Greetings. Using Dreamweaver cs5 and would like help with a simple problem.
I am discovered late text flash broke and if I change links in html format. The problem is that when I connect text to an object, another web page, the police link the two changes of fonts and colors (blue). I suspect it's maybe because I have an attached css style sheet. I guess that means that I have to change the properties of the link of the page through the page properties, which I believe is supposed to replace the css stylesheet. Appears not to be the case, I applied the changes and change of police remains. What I am doing wrong? Thanks for your help.
I think I get the question now. The links are intended to be grey, good, not blue?
In this case, you have all these styles in the linked stylesheet "subpages.css" that affect the links.
a: link {color: #0033CC; make-weight: normal; do-family: Verdana, Arial, Helvetica, without serif; do-size: 1em; text-decoration: none}
a: visited {}
color: #993366;
text-decoration: none;
do-family: Verdana, Arial, Helvetica, without serif.
do-size: 1em;
make-weight: bold
}
a: hover {make-weight: bold; color: #000000; text-decoration: none; do-family: Verdana, Arial, Helvetica, without serif; do-size: 1em}
a: active {}
color: #FF3300;
text-decoration: none;
do-family: Verdana, Arial, Helvetica, without serif.
do-size: 1em;
make-weight: bold
} -
I can't change the color of the linked text?
I have a black background on the side of my web page containing the menu bars, which requires that the link text is white, so it can be
view. I also changing to yellow when you go over it.The problem is that this setting seems universal throughout the site and I can't see the links in the general text (such as ' contact)
links, etc.) on each page to change color - they default to white that does not appear as the background is also white.I tried to create a CSS rule for the links in the body of a page, but nothing helped.
Can I change the color of links on different parts of the Web site?
I'm relatively new to dreamweaver with little knowledge of CSS, etc, but I don't know that this should be possible.
Yes, it is possible to have Different color links...
You look at Pseudo-classes / descendant selectors:
http://www.ThePattySite.com/linkstyles1.cfm
http://www.Projectseven.com/tutorials/Pseudoclasses/index.htm
Descendant selectors:
http://www.Projectseven.com/Tutorials/CSS/Pseudoclasses/page3.htm
Nadia
Adobe® Expert community: Dreamweaver
Unique templates CSS | Tutorials | SEO articles
http://www.DreamweaverResources.com
--------------------------------------------------
-
Best way to express Boolean values in a table?
Hello
I'm looking for the best way to express Boolean values in a table. Is there a better way than this one?
Men Women Children Yes Yes NO. NO. Yes NO. Or I guess I could draw that checked sign for Yes and X sign for no.? Or is there anywhere I can download those?
Thank you!
That would you say a solid bullet for YES, hollow for no-much easier to see the difference at a glance.
-
Design mode link text appears tiny
Hello
I use DW CS3 for a few days. Everything seems to be the same that DW 8, but some texts of link appear tiny in the design mode window split in CS3. They appear in a 'normal' size (as labeled) DW 8.
Any ideas what to edit in CS3? Unfortunately there seem not to be any possibility of import of DW 8, DW CS3 settings such as the colouring of the code, no matter what. So I changed everything in CS3 (hopefully all) like in DW 8. (A tedious task using 2 computers, because DW 8 does not open when CS3 is installed and open).
I use an external stylesheet, which makes the menu link appear white on Blue:
{A:Link}
do-family: Arial, Helvetica;
font size: xx-small;
color: #ffffff;
text-decoration: none
}
A: visited {}
do-family: Arial, Helvetica;
font size: xx-small;
color: #E4F90A
}
Hover {}
do-family: Arial, Helvetica;
font size: xx-small;
color: #E5EA60
}
{A: active}
do-family: Arial, Helvetica;
font size: xx-small;
color: #af2626
}
In the middle of the page, I have another link, which should appear in blue on a background image. If I tag it manually in html:
< a href = "arhontikophotos.html" > < font color = "2C3A82" size = "2" face = "Verdana, Arial, Helvetica, sans-serif" > < b photos > Arhontiko Villa < /b > < / police > < /a >
On the web page in a browser, it seems well defined. In the CS3 design window, the letters of "Villa Arhontiko photos" are so tiny, they are almost unreadable. It is quite difficult to work like this.
Maybe can someone help?
Thank you
JMLThere is really no need to use to do this - just assign the class
to the anchor tag.========================
Virginia Carter
Carolina Web creations
carolinawebcreations.biz
========================timW22374100 wrote:
> Hello Virginia.
>
> Thanks for the suggestion.
>
> I already changed this part also in css. I used the span tag for the css
> tag goes in the link text. Like that it displays correctly in DW CS3:
>
> Villa photos
> Arhontiko
>
> the "Text2" class in my css file looks like this:
>
> .text2 {}
> do-family: Verdana, Arial, Helvetica, without serif.
> size of the font: 13px;
> color: #2C3A82;
> text-decoration: underline;
> make-weight: bold;
> }
>
> I still have no idea why the other will display correctly in design
> window displays correctly in the window design of DW 8 and DW CS3
>
> (estella-villas.gr/arhontiko.html)
>
> Cordially
> jml
> -
How to create link text instead of the link button
Hi all
How to create a link text like "click here" to a page in the application instead of a button link in the form page
near an element (text field)...
can we also carry the values of some of the elements form page to the link page which is also a form... ?
Thanks in advance.set the label as <-a href="http://url/">click here<->. Then buld up of your URL using replace values IE
/ pls/apex/f? p = V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS = MY_PROCESS:NO:P1NAME, P2NAME, P3NAME:P1VALUE, P2VALUE, P3VALUE
concerning
->-a> -
Center of a sentence within the text layer
Hi all
I would like to focus a sentence within a text layer for example I have two phrases within a text layer and one of them, I want to be centered in the layer itself
Is it possible to do?
I don't know that I follow. If you want two centered sentences then create a text box by clicking and dragging in the pane of the model with the text tool, start to type, define the Center paragraph style and then make sure that the point anchor and position of the text layer are centred.
Another way is to use the shortcut Alt/Option + Ctrl / Cmnd + shift + T to add a new text layer or just use the menu layer and add a new layer of text and the cursor will be centered in the Panel of the model which have not messed you with the base line. With the "centered" applied paragraph style you will be have a centered text.
With the latest version of AE, you can add an expression to the position that calculates the area of a text field and then aligns the text field in the Panel of the model. If you really fancy, you can watch the size of a text field and offset as well vertically. I don't have the time to write this expression for you, but it is possible.
-
An array of type Oracle in a procedure - syntax problem
Hello
I try to call the PROCEDURE INSERT_CCR_HISTORY of the InsertCcr_Staging_DEBBIE of the PROCEDURE.
I want to pass the array to the INSERT_CCR_HISTORY procedure to insert into the table. I don't have the correct syntax.
If anyone can help with the syntax.
Thank you.
Jaffee
PROCEDURE INSERT_CCR_HISTORY (vTable vName) IS BEGIN declare i number := 0; begin FORALL i IN 1..vTable.COUNT insert into ccr_staging_history ( ccr_staging_history_deb.CCR_ID, ccr_staging_history_deb.BATCH_ID, ccr_staging_history_deb.MODIFIED_BY, ccr_staging_history_deb.MODIFIED_DATE, ccr_staging_history_deb.ENTERED_BY, ccr_staging_history_deb.ENTERED_DATE, ccr_staging_history_deb.DUNS, ccr_staging_history_deb.DUNS_PLUS4, ccr_staging_history_deb.CAGE_CODE, ) -- end of values for insert values ( v_next_seq.NEXTVAL , -- v_n(i).CCR_ID, 1, --batch_id null, NULL, -- modified_by NULL, -- modified_date v_user, -- entered_by sysdate, -- entered_date vTable(i).DUNS, vTable(i).DUNS_PLUS4, vTable(i).CAGE_CODE, ); -- end of value session COMMIT; end; END INSERT_CCR_HISTORY; /************************************************************************************************************/ /************************************************************************************************************/ PROCEDURE InsertCcr_Staging IS BEGIN declare -- TYPE vName IS TABLE oF got_r_num%ROWTYPE; -- v_n vName; -- cursor outer_lp IS select distinct(error_vid) error_vid from got_r_num order by 1; -- CURSOR check_duns_etall(p_vid IN VARCHAR2, p_dunsall IN VARCHAR2) IS Select count(*) FROM got_r_num where error_vid = (p_vid) AND lower(duns||duns_plus4||cage_code||tax_payer_id) = lower(p_dunsall); -- v varchar2(100) := NULL; xt NUMBER := 0; v_dunsetall varchar2(1000) := NULL; v_val NUMBER := 0; v_val_duns NUMBER := 0; v_user varchar2(30) := SYS_CONTEXT('USERENV','SESSION_USER'); -- bEGIN -- for i in outer_lp LOOP v := i.error_vid; -- SELECT * BULK COLLECT INTO v_n FROM got_r_num where error_vid = v; FOR i in 1..v_n.LAST LOOP IF v_n.count > 1 and v_n(i).SITE_TYPE = 'PURCH' THEN v_dunsetall := v_n(i).DUNS||v_n(i).DUNS_PLUS4||v_n(i).CAGE_CODE||v_n(i).TAX_PAYER_ID; OPEN check_duns_etall(v,v_dunsetall); FETCH check_duns_etall INTO v_val; CLOSE check_duns_etall; v_num := i; IF v_val = 1 THEN -- insert -- Populate ccr_staging_history CCR_MIGRATION.INSERT_CCR_HISTORY ( v_n ); -- calling procedure to Insert. SYNTAX problem ??? END IF; end if; END LOOP; END LOOP; end; END; -- end of procedure InsertCcr_Staging
First not precede you calls INSERT_CCR_HISTORY with CCR_MIGRATION. Because there is no CCR_MIGRATION package.
When you are in a loop from the collection, you must call the stored procedure with v_n (i) only one record in this case.Also the procedure called INSERT_CCR_HISTORY should be accept variable of type got_r_num % ROWTYPE and loop for can be removed with regular insert.
-
Table creation of externally using XML files.
I'm trying to load data from the XML file into the database table. I want to use external Table for this loading feature. Although we have the functionality of external table with text/plain file, is there any what process of the XML data in the database of loading table using the external table?
I use Oracle 9i.
Appreciate your answers.
Concerning
Published by: user652422 on December 16, 2008 23:00Hir user652422!
Here is an example:
CREATE TABLE tab_ext_books
(authors VARCHAR2(2000),
title VARCHAR2(2000),
publisher VARCHAR2(2000)
)
ORGANIZATION EXTERNAL
(
TYPE ORACLE_LOADER
DEFAULT DIRECTORY my_ext_tab_dir
ACCESS PARAMETERS
(
records delimited by ""
badfile my_ext_tab:'empxt%a_%p.bad'
logfile my_ext_tab:'empxt%a_%p.log'
fields
(
filler char(2000) terminated by "",
authors char(2000) enclosed by "" and " ",
title char(2000) enclosed by "" and " ",
publisher char(2000) enclosed by "" and "
"
)
)
LOCATION ('books.xml')
)
PARALLEL
REJECT LIMIT UNLIMITED;This is books.xml
Thomas Kyte
Oracle Expert One On One
Wrox Press
Gaja Vaidyanatha, Kirtikumar Deshpande, John Kostelac
Oracle Performance Tuning 101
Oracle Press
Maybe you are looking for
-
Hi all I can load my nano gen 7 all night then that always connected while it shows fully charged, then at the point where I unplug the unit and a Touchscreen does everything it is power and accidents. I (and others) have tried to re - set it while
-
Hi all. I tried to do a counter and it seems to work, but I can't do it to reset once the program is executed, it holds the previous value in memory. I tried to use variables, shift registers and property nodes, but I can't do everything. Can someone
-
Hello My name is Mohammad khader and I'm with GWENAEL, we just bought the PCIe_1429 and I would like to know: 1_ how that program us, are we to verilog, c or lapview only 2 - the jury has fpga to program? 3. can we have the Schematic of the Board so
-
Diagnostic report (1.9.0027.0):-----------------------------------------Validation of Windows data-->Validation status: invalid licenseValidation code: 50Code of Validation caching online: 0xc004c4a8Windows product key: *-* - 27HYQ - XTKW2-WQD8QWindo
-
How can I book / download 10 Windows on another device?
Windows 8.1 has stopped working and will not finish loading on my other laptop. Therefore, I don't have the icon but want to reformat using Windows 10. How will I be able to book, then to download 10 Windows on another device to put it on disk so I c