Dynamic linking within TextArea component

how can i include an MC or button inline within the HTML text
of a TextArea component -- and also have that object link to an AS
function? i want to have icons within the text of my TextArea that
open pop-up windows within the Flash application (MC linkage).
is this possible?
is asfunction used? if so how?

Well if you are still interested in using a text component
instead of a Button the way you would go about this is using
textWidth. Here's how I've done it before using a text / label
whatever you want that shows text.
// => Set our text we got from database
myText.text = "This is the text I got from the DB";
// => Validate it so that way we make sure we get right
numbers
myText.validateNow();
// => Find out how wide our text really is.
var textWidth:Number = myText.textWidth
// => Reset the width of our text component and add 20 for
a little buffer
myText.width = textWidth + 20;
Now my suggestion is if your going to be dynamically creating
these on the fly from a database call you throw it into a method /
class and have that do all the work for you so all you have to do
is pass the text to it and it resizes itself based on the example
above.

Similar Messages

  • How to respond to mouse over link inside textarea component?

    I want to respond to the content of a link inside htmlText
    propery of textarea, when the user move the mouse over the link,
    without clicking on it. is there a simple way to do so with flex?

    I found a solution to this.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=582&threadid =1325639&enterthread=y
    What you do is use
    itemRollOver and the event.itemRenderer.data.name together.
    I used it so when I roll over an item in the dataGrid it
    changes the text area I have in my application with the description
    of the current rolled over item. When I mouse over another entry
    then the description changes to that description and on and on.
    Here is the full code I used.
    itemRollOver="NAME_OF_TEXT_AREA.text =
    event.itemRenderer.data.description"
    you would change the description to whatever the field is you
    want, such as name, author, temp, books or whatever the data is.
    I am actually bringing in data on videos from a database. XML
    is created from the database using the XML plugin from Dreamweaver
    Developer ToolBox. A PHP file is used to output the desired table
    information then it is brought into Flex 2 application and the data
    is propigated into the Data Grid I have setup. The Text Area is
    updated with the description of the video both when one is selected
    but also, now, when any of the items in the list are moused over,
    or rolled over.
    It works great. You can easily change this to work for your
    app or at least give you a direction to go if it isn't exactly what
    you need.
    I have been trying to get this to work for a couple days now,
    just found my solution and wanted to come post to let others know
    about it.

  • Dynamic link to a portal component

    Hi
       We are developing a masthead for the portal with  a dropdown list. this list as the event " onchange " with a link to a custom component responsible for changing the user language. Is it possible to generate a dynamic link to this component having the component name? i know this is possible in web dynpro using web dispatcher
    Example of final link:
    Final path: www.server:portal\irjpath\com.company.component.PortalLanguageComponent
    Only Parameters i would know PortalLanguageComponent /  com.company.component
    Thanks
    Edited by: Phatinox on Aug 18, 2011 6:20 PM

    Let's say your custom component (<Component-Name>) is developed in a project (<Project-Name>), then you can call this component using this url: "/irj/servlet/prt/portal/prtroot/<Project-Name>.<Component-Name>", hope this helps.

  • Adobe Media Encoder CC Fails To Dynamically Link Embedded AE Comps Within PR.

    When launching a PR project in Media Encoder to kick off a render.  The dynamic link engine loads the PR sequence just fine but during the render it fails to read any clips that were "relaced with AE comp", instead inserting an "offline media" plate.  Launching the PR project and reviewing as well as rendering from within PR works fine.  Please note that this worked fine in Adobe Media Encoder CS6.
    *****Edit
    In doing some tests to consistently replicate the problem, it turns out that AE CC has to be open WITH the replaced clip comps loaded at the time PR OR Media Encoder is running with projects that contain the "replaced with AE comps" footage.  Repeating the test with AE CC closed at the time yields the "offline media" result.  This is definitely a bug I'd say.  AE should not have to be launched with the project files loaded up in order for any dynamically linked comps to work.
    ****Edit 
    Please note the entire product chain is CC.  Thank you.

    Update.....
    Problem solved.
    It turns out that any dynamically linked CC apps must be run by the same user on the same machine in order to work properly.  In this case, PR and AME were being run as a standard user on the workstation while AE was being run as administrator via the shortcut launch properties.  The latter being necessary to have certain plugins function properly in AE CC.  Modifying the AE shortcut to not run as administrator resolves dynamic linking issues.
    Although it can be argued that logically all Adobe apps should be run by the "same user" on the workstation, it would be nice for the dynamic link engine to be more "real world" about linking projects on the same workstation in the case where a particular resource needs to be launched as an administrator.  Security considerations in towe, this ain't top secret government or banking data risk management folks.  Lighten up.  Maybe a little warning box that pops up and says "such and such needs to be run as administrator....do you allow?".....after all this is EXACTLY what the OS does anyway when you launch as anyone other than the administrator from a shortcut.  Quite reasonable for you (Adobe) to simply cascade the behavior.

  • HTML component wont open link within component

    I have a HTML component in my AIR app. When the page opens a youtube video feed that has copyright restrictions, a link to view the content on the youtube site itself, like the one shown here: http://www.youtube.com/v/WwoM5fLITfk?f=videos&app=youtube_gdata. When you try clicking this link nothing happens?
    Can anyone tell me how i can open this link within my html component?
    Many thanks
    Adam
    Flexchief

    Hi,
    I have this problem as well.
    I posted a question here few days before you and still haven't got an answer for it.
    My assumption is this issue started at the last SDK update. I don't see it if I work with flex 3.5.
    Hope someone will give full answer to it soon... I am stock with my project because of it.
    Avier

  • Dynamic Link Audio Troubleshooting- Premier to After Effects CS5

    Hello!
      My name is Alley and I've been working on a project in After Effects CS5 using dynamic linked sequences from premier. I've been in this project for a good two weeks without any major problems concerning the dynamic link. When I open the project on another computer, however, sometimes there is audio missing from some of the sequences. I look in the premier project and sure enough the audio is all there, no keyframes or anything and it plays back fine. It just won't appear in After Effects even after a render. I know it probably has something to do with the different computers but I don't know if anyone else has ever had this problem before and if you found a solution.
    • Both computers are Mac OS X Versions 10.6.6 2x2.8 GHz Quad-Cores
    • After Effects and Premier are CS5 versions, completely updated
    • There are no errors or warnings popping up within the programs
    • All Dynamic Linked sequences are 2 minutes tops although there are a multiple of them
    • Not ALL the sequences have the audio problem, it seems to be random
    I can't wrap my brain around how two nearly identical computers with the same versions of both programs are getting different results with the audio in the dynamic link sequence... Help me out?

    Quicktime! The versions of Quicktime and or even just some QT component/CoDec may be different between the computers. Also keep in mind, that your alternate computer may in fact require you to explicitly open the project in Premiere to conform the audio properly first. If that hasn't happened, AE may simply not be able to use some tracks as it will expect a conformed audio file. This is critical especialyl with compressed formats. It may even require you to re-render the Premiere timeline on the second computer...
    Mylenium

  • Overriding automatic replacing of AE projects with incremental file names in Dynamic Link (CS5.5)

    Hi everyone,
    I've been searching all corners of the internet for an answer to this question including this forum and the Adobe help documents, so I apologize in advance if this question has been asked before.
    First off, we're using Premiere Pro CS5.5. We have recently switched from a FCP6 to a Premiere workflow and we're really enjoying the Adobe Dynamic Link feature. Unfortunately, we've discovered a bit of a problem with our workflow.
    All our AE projects are named something like "heb_alef_01.aep", "heb_alef_02.aep", "kor_hhh_01.aep", "kor_hhh_02.aep". These don't correspond to different versions of the same videos, but rather ...01.aep is video #1 and ...02.aep is video #2.
    You can probably see how this causes a problem when it runs into Premiere's feature of automatically updating project files if it finds an exact filename match in that directory with a higher number at the end. If I try to import "kor_hhh_01.aep" it will instead give me "kor_hhh_02.aep", for example.
    I noticed that in CS6, a checkbox has been added to the Preferences pane which will prevent this from automatically happening, but I wanted to know if any options exist for Premiere CS5.5 users. If necessary we can adjust our file naming structure, but I really didn't want to deal with the far-reaching implications of that if possible.
    Thank you in advance for any help you can offer.

    Are each of these different AE project files pointing to clips within the same Pr project?  (Seems like that may be the case..?)  If so, it is highly recommended to only have 1 AE project per Pr project, and just have that include all of the comps corresponsing to the clips in Pr.  Then, when re-opening the Pr file, click on "edit original" on any of the DL clips which will open your AE project, and any subsequent DLs that you send over will stay in your original AE project. 
    Disregard if I mis-read your problem and my advice is irrelevant.

  • Calling a procedure from a dynamic link

    I have the following situation-
    I have a report created using SQL Query.
    I need to call a Stored Procedure(move_to_portal) through a link from one of the fields in the report (Exec_id field of the report).
    How can I do this?
    The links do not allow me to choose a stored procedure as the Target component....so maybe I have to create a dynamic link.
    How to do this? Any help would be appreciated.

    I have just another question-
    I have a procedure testing_del_archive which is being called with 2 parameters...from a dynamic link in my SQL Query.
    The following is my code....
    SELECT re.report_exec_id, re.exec_userid,
    NVL(re.batch_exec_date, re.begin_date) report_date,
    re.rows_returned,
    re.status, re.error,
    f_file_url(re.filename) file_url,
    re.comments,
    ''Archive''archive
    FROM metadev.report_execution re, metadev.report r
    WHERE re.report_id = r.report_id
    AND r.spec_number = :v_spec
    AND re.status <> 'DELETED'
    AND re.exec_userid like (DECODE(:v_user_filter,'ALL','%',:v_user_filter))
    ORDER BY begin_date DESC
    The first parameter is the value in the execution id field and the second argument is hardcoded "Archived"...
    IT GIVES AN ERROR....
    Do you guys know where I am going wrong...

  • The procedure entry point _palLogEvent could not be located in the dynamic link library NIPALU.dll

    Good Day to all,
    I have recently tried to do a emergency repair for my workstation.
    It was running on Windows 2000 and I have to replace the system within C:\WINNT\System32\Config\
    After that whenever I tried to run my program, it will give me an error message 'THe procedure entry point _palLogEvent could not be located in the dynamic link lbrary NIPALU.DLL'
    Can anyone help?
    I have re-installed my program and the drivers for my PCI-6023E.
    I am running out of ideas.
    Thank you in advance.

    Hi,
    Thanks for your posting.
    According to my search, you can't install VS2012 on the Windows 2003 machine.
    Meanwhile, for this issue, i think you should ask in VS forums:
    http://forums.asp.net/1213.aspx/1?Visual+Studio+and+Visual+Web+Developer+Express
    Regards.
    Vivian Wang

  • Erratic performance / missing footage with Premiere Pro CC and After Effects CC 2014 dynamic links

    Hi all,
    I briefly touched on this amongst a host of other issues I has having while cutting my last project.
    Unfortunately I never heard anything from anyone regarding my issues with the Dynamic Link system.
    I had to bite the bullet and export (2-4K RAW) chunks of my last project, out of premiere using a Quicktime animation codec. This added an extra week to the post production process (which I did NOT get paid for).
    I'm also a bit frustrated because it pushed the project past the deadline. Though the client was understanding, they were far from thrilled and it reflects poorly on me.
    Anyhow. Project complete, on to the next-
    This time, I'm using mostly footage shot from an FS700 in AVCHD. I figured maybe the RED footage was somehow too much for the program to handle with my specs, however I am having the same issue as last time.
    I'll select a clip, or group of clips, go to replace with after effects composition, and sometimes they all make it, and often times they don't. The clips were shot within a couple minutes of one another and no settings were changed on the camera.
    I've noticed sometime's the media will show up in the timeline, but not appear on the monitor (as pictured below). Other times the name of the clip will appear in the comp, but there will be nothing on the timeline OR in the monitor.
    Never had this problem in CS6.
    Adobe or anybody, please help! This is absolutely killing my workflow, and costing me time and money.
    Here are my specs:
    I'm running Adobe Premiere CC 2014 v8.1
    Freshly installed Windows 7 Professional SP1 PC Desktop
    Freshly installed Samsung 1TB SSD running my OS and Adobe CC
    Intel Core i7-2600k CPU at 3.4GHz (8CPUs) - Watercooled
    16GB Ram (3gb allocated for other programs)
    Nvidia GeForce GTX 570 4GB GDDR5 - 3.40.62 Drivers installed
    Pulling media from 2x 3TB Seagate Barracuda 7200RPM drives, striped at RAID 0
    In this case pictured the second two clips in the sequence linked into AE, but the first wont show up in my monitor.

    Thank You, Jim -
    Unfortunately that specifically did not work.
    Based on another comment sent to me, here is what did.
    In PProCC
    File > Adobe Dynamic Link > New After Effects Composition
    In AECC
    From that composition created from PPro, I imported the project (aep) initially created in AECC from another team member. Saved the file.
    Back in PProCC
    File > Adobe Dynamic Link > Import After Effects Composition
    Magic.

  • Media Encoder Dynamic Link error 5027 :: 12  ????

    While trying to send a file to media encoder from after effects in order to render in a file format not located within ae i was given an error message that my adobe media encoder was not installed 5027 :: 12 dynamic link server failed . When i launch media encoder by itself it launches fine. Any help appreciated

    open ame and add your file to the ame queue.

  • Tried to upgrade and after uninstalling and reinstalling several times, keep getting "procedure entry point could not be located in dynamic link library" followed by "iTunes was not installed properly"  Error 7.....Help, please??

    Tried to upgrade as instructed and after uninstalling and reinstalling (even back to the former iTunes which I was happy with)several times, keep getting message "Procedure entry point could not be located in dynamic link library"  followed by "iTunes was not installed properly"  "Error 7".    Help, please??

    Entry point errors can usually be fixed by deleting the offending dll, then repairing the component it is part of from the programs and features control panel. Unfortunately you neglected to include the detail of which dll is mentioned.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • Dynamic links in Acrobat 9?

    Hi,
    I would like to create PDF-files with dynamic links for messages and pictures.
    These items can be stored on a server and would be changed by every opening of the files.
    I work with InDesign CS4 and Acrobat 9 - is any solution available?
    Thanks for any advice - Wolvo

    You could use Javascript within the PDF to generate the destination URL for a button, but the simplest solution would be to create a single URL on the server that delivers dynamic content, and link to it normally.
    Doing it inside the PDF would be a nightmare if you needed to ask the server for a list of files to choose from before forming the link. Doing that on the server is trivial.

  • I am running Windows7 on my PVC. When I log in I'm getting two Apple error messages. One says, " The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." The second says, "Apple Photostreams stop

    I am running Windows7 on my PVC. When I log in I'm getting two Apple error messages. One says, " The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." The second says, "Apple Photostreams Uploader has stopped working".  Help!

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of. If that doesn't help read on...
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • TextArea component AS3

    I'm having trouble both working out or finding out how to
    apply an imported css file to the CS3 TextArea component. I've
    frequently done this in AS2 using Flash 8, but that code no longer
    works. If anyone knows could you please let me know. Here's the AS2
    code I've used previously:
    private function loadCss(){
    var myStyle = new TextField.StyleSheet();
    myStyle.load(this.CssPath+".css"); // the CssPath variable
    here was supplied within an object passed through to the
    constructor
    textArea.styleSheet = myStyle;
    loadXml();
    }

    Thank you Anirudh,
    I have been using the TextArea component because it has code to handle scrollbars, and in Flash this component is a wrapper for a TextField object. As far as I can see this is not the case in Flex, and my AS3 code sets almost all of the TextField attributes, so I probably can't use Flex and the Flash Builder anyway. At least not without throwing all my code away.
    Besides, the .swf file generated seems to be much bigger than in Flash.

Maybe you are looking for