Handling custom mouse interaction/inserting unique links

HI All,
I would like to insert links to the text, but not the html formatted one.
I would like to add a handler function to the link and when the link is pressed the function could do whatever it is needed. It would be great if the link could have an invisible object or a value in order to keep some extra information.
I hope there is a solution.
Benjamin

Unortunately the link does not work.
I came up with my solution.
We can handle the link clicks like here:
_flow.addEventListener(FlowElementMouseEvent.CLICK, onFlowClick);
_flow.addEventListener(FlowElementMouseEvent.ROLL_OVER, onFlowOver);
_flow.addEventListener(FlowElementMouseEvent.ROLL_OUT, onFlowOut);
then we know the LinkElement:
        private function onFlowClick(ev:FlowElementMouseEvent):void {
            var element:LinkElement = ev.flowElement as LinkElement;
            ev.stopImmediatePropagation();
            ev.preventDefault();
            trace(element.href);
and href can be like a JSON object ( I know it would be terrible in terms of performance ) or a simple string reference to somewhere, but now with your answer it is clear - I can save anything into LinkElement in the meantime when I do applyLink with setStyle.
then just read element["foo"] right?

Similar Messages

  • Tip - delete any email address code in the Insert email link prior to use!

    I have been using the email link for a while now. I know its not secure, but in certain cases it can be used - I think.
    Today I found a strange problem.
    I have a recordset with lots of email addresses in it which are shown on an encrypted password and userlevel  protected page.
    The idea is to allow users with fully authorised access to the page to be able to email the other users by clicking on a link and opening their email client.
    The email addresses are displayed as follows on the page:
    <td>Email address:</td>
               <td><?php echo htmlentities($row_clubedit['club_chair_email'], ENT_COMPAT, 'utf-8'); ?></td>
    So after highlighting and copying  the php code, I click on the insert email link in the insert menu.
    The insert panel comes up with some code  in the email link field without me paying any attention to it.
    I paste my code into the text part of the link panel.
    It comes up with the following code:
    <td><a href="mailto:<?php echo $row_joinupset['mail']; ?>"><?php echo htmlentities($row_clubedit['club_chair_email'], ENT_COMPAT, 'utf-8'); ?></a></td>
    Note that thre are now two different recordsets in the email address.These recordsets do exist on the page, but I did not insert the  $row_joinupset['mail'] into the code - Dreamweaver did it.
    Checking further, I find that earlier on the page I had created an email link by the same method using the joinupset recordset. The insert Email Link panel had not cleared the old email address from it's cache, so all the email adresses after the first one pointed to the same email address.
    Because the page showed the correct email address, I did not notice until I tested my code, and found that every one called up the first email address.
    I do not know if this is a bug in Dreamweaver, or why it happens, but it does.
    Tip - delete any code in the email adress field of the insert panel prior to inserting the correct email address code.
    CS5.5 on a 64 bit win 7 machine.

    I have gone though this process yesterday and worked for me.
    I would suggest you to have following things handy before calling Apple
    1. Serial number of apple device which is associated with ur apple id
    2. At least one answer to your old security questions
    3. And you should be logged on to my account page of apple Id so that when customer care demands generation of 4 digit code you can do it.
    This complete process is very simple but may take some time but apple guy was very helpful in my case.
    Also remember the answers to the security questions are case sensitive.
    Good luck

  • InDesign CC 2014 crashing and... why thousands of unique links?

    I have issues with my version of InDesign. After working with larger files for a while, Indesign starts lagging and behaving strange and then craches. It can take 10 minutes, 40 minutes, 5 minutes - it dosen't really matter, it suddenly happens. Can this have something to do with Indesign having to deal with thousands of unique links? When I hover over the "link info" area, I typically get this message: 121 total links, 0 missing, 0 modified, 0 embedded, 3072 unique, 0 sublinks. What's with the "3072 unique" links? Are these actual links that InDesign handles all the time? Anybody else having the same problems? Any fixes?

    It's the index markers in the older docs that I am using that's causing the crashing. I know that, and am already fixing. It's not that indesign crashing that's the reason for the post, it's the losing my presets and preferences and reopening to a dark interface screen that's my problem. It's just frustrating. I go to a lot of effort to get things the way I like them, which is why I want to the issue fixed.
    What I need is a solution to the preference reset problem.
    I have blurb book creator installed, but I'm positive this issue predates that. I believe I've had the problem since my last update, it's just now It's really getting on my nerves.

  • Custom Mouse, Hover Over Effect [AS2]

    Hi y'all,
    So I like the idea of a custom mouse pointer, but I really need to keep hover over effects.
    So this flash will be on top of my html page, so it looks cool, but I want people to still tell if they are on a link by displaying a mouse like the one you see when you hover over things.
    Does anyone have any ideas for how to do this?
    Thanks,
    Christopher

    Good question... never done that before, but took a stab at it for you. Try the below out.
    Change the movieName var to the name of your swf file.
    Change the path to the correct scope and frame label of your cursor.
    thisMovie(movieName).TGotoLabel("_level0/myArrowMC/","normalState");
    <script language="JavaScript">
    var movieName = "Untitled-1";
    function thisMovie(movieName) {
      // IE and Netscape refer to the movie object differently.
      // This function returns the appropriate syntax depending on the browser.
      if (navigator.appName.indexOf ("Microsoft") !=-1) {
        return window[movieName]
      }            else {
        return document[movieName]
    function movieIsLoaded (theMovie) {
    // Checks if movie is completely loaded.
      if (typeof(theMovie) != "undefined") {
        return theMovie.PercentLoaded() == 100;
      } else {
        return false;
    function mouseOver() {
      if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).TGotoLabel("_level0/myArrowMC/","hoverState");
    function mouseOut() {
      if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).TGotoLabel("_level0/myArrowMC/","normalState");
    </script>
    <a href="www.google.com" onMouseOver="mouseOver()" onMouseOut="mouseOut()">Google</a>

  • Custom Mouse Cursor

    Well I want to be able to make a custom mouse cursor for my project.
    Right now I had tried to set it to an invisible mouse cursor, but it doesn't work.
    I've spent a lot of time on this problem and I have come up blank, so I am hoping that one of you may know the solution.
    Here is my code
    import javax.swing.*;
    import java.net.*;
    class GIFTest extends JFrame
        JLabel AndroidGIF = new JLabel();
        Cursor invisibleCursor = Toolkit.getDefaultToolkit().createCustomCursor(
             Toolkit.getDefaultToolkit().getImage(""),
             new point(0,0),
             "invisible");
        GIFTest.setCursor(invisibleCursor);
        public GIFTest()
            MyMusic.playmusic(1,2);      
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            URL androidPath = this.getClass().getResource("android2.gif");
            AndroidGIF.setIcon(new ImageIcon(androidPath));
            GroupLayout layout = new GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(27, 27, 27)
                    .addComponent(AndroidGIF)
                    .addContainerGap(41, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(32, 32, 32)
                    .addComponent(AndroidGIF)
                    .addContainerGap(46, Short.MAX_VALUE))
            pack();
             public static void main(String args[])
                new GIFTest().setVisible(true);
    }Ignore the MyMusic.playmusic(1,2);   Any Ideas?
    Thanks

    TexanProgrammer wrote:
    ..Ignore the MyMusic.playmusic(1,2);  
    I asked the compiler real nice to do that, but it reported that, as well as a variety of other errors, that suggest.
    1) The code you posted will not compile, let alone run.
    2) It is not the code you are using, but 'something like' the code.
    3) You have not yet read the document on the SSCCE *(<- link),* which was recommended on your previous thread.
    Any Ideas?- Post SSCCEs in future.
    - When debugging, break the lines down and test each part.
    E.G.
        Cursor invisibleCursor = Toolkit.getDefaultToolkit().createCustomCursor(
             Toolkit.getDefaultToolkit().getImage(""),
             new point(0,0),
             "invisible");..should be more along the lines of..
        Image image = Toolkit.getDefaultToolkit().getImage("");
        System.out.println( "image " + image );
        Cursor invisibleCursor = Toolkit.getDefaultToolkit().createCustomCursor(
             image,
             new point(0,0),
             "invisible");- Then, when you see
    image null..in the output, check the JavaDocs for what happens in the method call, if the image is 'null'.
    I outdid myself, went 'above and beyond the call of duty', and corrected the (most obvious) problems in your code. Don't expect me to do it a second time. In future, please post SSCCEs.
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.net.*;
    class GIFTest extends JFrame
        JLabel AndroidGIF = new JLabel();
        public GIFTest()
    BufferedImage bi = new BufferedImage(1,1,BufferedImage.TYPE_INT_RGB);
    Graphics2D g = bi.createGraphics();
    g.setColor( new Color(0,0,0,0) );
    g.fillRect(0,0,1,1);
        Cursor invisibleCursor = Toolkit.getDefaultToolkit().createCustomCursor(
             bi,
             new Point(0,0),
             "invisible");
            //MyMusic.playmusic(1,2);      
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            //URL androidPath = this.getClass().getResource("android2.gif");
            //AndroidGIF.setIcon(new ImageIcon(androidPath));
    JPanel p = new JPanel();
            GroupLayout layout = new GroupLayout(p);
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(27, 27, 27)
                    .addComponent(AndroidGIF)
                    .addContainerGap(41, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(32, 32, 32)
                    .addComponent(AndroidGIF)
                    .addContainerGap(46, Short.MAX_VALUE))
    p.setBorder( new LineBorder(Color.red,1) );
    p.setCursor( invisibleCursor );
    setContentPane( p );
            pack();
             public static void main(String args[])
                new GIFTest().setVisible(true);
    }

  • Inserting a link to BI Publisher report and passing the dashboard prompts

    I have an answers dashboard where there are various prompts (say P1, P2, P3, P4  -all these are date prompts )and various  reports.
    These Prompts are stored as Presentation variable say var1, var2, var3, var4.
    I need to insert a Link on this page to a BI Publisher Report.  BI Publisher report also has some prompts say D1, D2, D3 , D4, D5, D6
    The link should take the values from the prompts of this page and open the BI Publisher report with D1= value of Prompt P1,
    D2= value of prompt P2, D3= value of Prompt P3, and D4= value of Prompt P4.
    I was easily able to use an action link -> "Navigate to Web Page" option.  I gave the URL for this BI Publisher report and clicking on that link takes me to the report.
    But I am still figuring out out to send the values of the prompts.
    The BI Publisher Report is :
    - built from an RTF template.
    - uses a SQL Query with Bind variables to get the value of its prompts D1, D2, D3, D4, D5, D6.
    - Suppose D1 is bind variable :date1, D2 is bind variable :date2, D3 is bind variable :date3 and D4 is bind variable :dat4.
    So my first try was to append the value of bind variable to the URL
    https://xxname.server.com/analytics/saw.dll?bipublisherEntry&Action=open&itemType=.xdo&bipPath=%2FSurvey%2FPhoneCount%20Record.xdo&path=%2Fshared%2FSurvey%2FPhoneCount%20Record.xdo.xdo&date1=var1
    Can someone suggest the steps I need to take to make this work.
    Thanks

    Hi, I am facing the same issue (OBIEE 11g version0
    Please let me know if you found any solution or workaround for this?
    Thanks!!

  • How to get the custom integrator in Manage Document Links

    Hi All,
    My requirement is "Creating Word Documents Using Web ADI", I am following the document
    Oracle® Human Resources Management Systems
    Configuring, Reporting, and System Administration Guide
    Release 12.1
    Part No. E13509-02
    From page no. 194.In that section, No.8. Use the Manage Layout Document Links page to create a link between the
    integrator and layout and the Word template.
    See: Creating Links between Template Letters and Layouts, page 2-33
    2-33>>
    Select Manage Document Links from the Web ADI menu.
    But when I click on the "Manage Document Links", I couldn't see my custom integrator to associate my word document with my integrator.
    I could see only the standard integrators.
    How to get my custom integrator in "Manage Document Links". I could see my custom integrator in define layout but not in this page.
    Thanks.
    With Regards,
    Kali.

    Hussein,
    Thanks for your reply.
    I followed the
    Note 360105.1 -Understanding and Using Web ADI in Oracle HRMS, and the section "Letters",
    I could follow all the steps, except the following,
    The reason is, when I click on Manage Documents Links, I am not getting my newly created integrator.
    If I link a standard integrator "HR People Details" to my document, that is opening properly.
    But I am not able to link my document with my integrator(which is based on my view).
    c.  Now link the template letter to the Letter Integrator and Layout.
    If not already done so, Add the function WebADI Manage Document Links to your Web ADI menu, and give it a prompt of Link Document.
    Select Link Document option , and Web ADI Mail Merge page displays. Choose your Letter Integrator. Link it to the Layout, and a list of template documents uploaded to the database is displayed. Select the template letter to be linked with the layout.
    Thanks.
    With Regards,
    Kali.

  • I want to know how to get the web addresses to go away that appear in the bottom left corner of the browser every time my mouse goes over a link

    Any time that my mouse goes over a link on a web page a little box in the bottom left corner of the browser pops up showing the web address for that link and it is really annoying, especially when i am on facebook because there are so many links on the home page i cant move my mouse anywhere without that box popping up and blocking part of my conversations. I was wondering if there was any way to turn this off. I've checked through the options and to my knowledge there is no way to turn it off. Just wondered if anyone else has had this problem or knew if there was a way to get that box to go away.

    Another option would be to use the following extension to push those messages into the status bar. It could be a convenient way to have your messages visible when you want them, but with less distraction.
    https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    If you try it, let us know what you think.

  • What is the best practice for inserting (unique) rows into a table containing key columns constraint where source may contain duplicate (already existing) rows?

    My final data table contains a two key columns unique key constraint.  I insert data into this table from a daily capture table (which also contains the two columns that make up the key in the final data table but are not constrained
    (not unique) in the daily capture table).  I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns).  Currently, what I do is to select * into a #temp table from the join
    of daily capture and final data tables on these two key columns.  Then I delete the rows in the daily capture table which match the #temp table.  Then I insert the remaining rows from daily capture into the final data table. 
    Would it be possible to simplify this process by using an Instead Of trigger in the final table and just insert directly from the daily capture table?  How would this look?
    What is the best practice for inserting unique (new) rows and ignoring duplicate rows (rows that already exist in both the daily capture and final data tables) in my particular operation?
    Rich P

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> My final data table contains a two key columns unique key constraint. [unh? one two-column key or two one column keys? Sure wish you posted DDL] I insert data into this table from a daily capture table (which also contains the two columns that make
    up the key in the final data table but are not constrained (not unique) in the daily capture table). <<
    Then the "capture table" is not a table at all! Remember the fist day of your RDBMS class? A table has to have a key.  You need to fix this error. What ETL tool do you use? 
    >> I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns). <<
    MERGE statement; Google it. And do not use temp tables. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Customer credit balance to include linked vendor balance

    Hi Expert,
    As per requirement, i need to include Vendor balance (associated to customer master) in customer credit balance (Table KNKK - Filed Receivables).
    Can you provide any pointer towards this on how the same can be achieved (either by SAP configuration OR Z Developments).
    Thanks in advance...
    Regards,
    Ravi Mantri

    Hi
    Enter Customer Number in Vendor Master (General data/Control data) and go to Company code data /payment transactions tab and select clearing with vendor check box
    Do the same in Customer Master as well by linking with above Vendor.
    Srinivas

  • Custom Content type based on "Link to a Document" does not open new folder in a dialog

    Hi,
       We have created a custom Content Type  based on "Link to a Document" (0x01010A) into a document library. When I use the New Document button on the ribbon, the "Link to a document" form appears on the same window, not as a dialog. If we
    use the "link to a document" content type it works fine.
      This issue occurs when creating the content type from the SharePoint UI as well as via XML (provisioning the content type).
       Is it a SharePoint bug or are we missing something?
    Thanks!
    Sergio

    Hi S3rgiones,
    I can reproduce your issue, when create a custom content type based on “Link to a Document” content type, create item using the content type, it will open the NewLink.aspx page in the same window not the modal dialog.
    In this situation, you can try to custom the content type and customize the form page for it, specify it in the content type customization, if this doesn’t work, you may need to custom the content type not inherit from the default link to
    a document, but customize it yourself.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Insert a link on xml report. The link should open up a document(PDFS).

    Is it possible to insert a link in the report? The value would come from a sql query. The link when clicked on would open up the pdf or doc.
    Is this done thru a href or by inserting a dynamic hyper link.
    The release Release 5.6.2 documentation references how to insert a hyperlink. NOt sure if this will work for me.
    I tried it but in the documentation it states:
    >
    If your input XML data includes an element that contains a hyperlink or part of
    one, you can create dynamic hyperlinks at runtime. In the Type the file or Web page
    name field of the Insert Hyperlink dialog box, enter the following syntax:
    {URL_LINK}
    where URL_LINK is the incoming data element name.
    >
    However the dialog box I am getting when I insert the hyperlink does not have a place to enter the element name. That is, there is no 'TYPE the file or Web page' area that I can see.

    hi ashalon,
    I did it this way in MS Word.
    1. create placeholder for value
    2. highlight it and make it a hyperlink
    3. enter the url into the address line
    So If you have a complete hyperlink in xml element URL_LINK you just have to enter {URL_LINK} into the address line. If you have only a part of the link, i.e only a product name, you can enter "http://www.oracle.com?product={PRODUCT_NAME}".
    Hope this helps.
    Regards
    chrissy

  • Handling custom soap fault

    I am trying to call a web service using the JPublisher generated pl/sql functions. The function works fine when there is no exception from the web service. However when the web service raises an exception (required by the business logic) I am receiving the following exception:
    ORA-29532: Java call terminated by uncaught Java exception: java.rmi.RemoteException: javax.xml.rpc.soap.SOAPFaultException:Error occurred at
    ORA-06512: at line 8
    This is a valid exception. However I want to handle the exception and read the ErrorCode and ErrorMessage passed in the custom SOAP fault message. I want to know if there is any provision in JPublisher (SQLJ/JDBC) to handle (Custom) SOAP fault messages.

    Hi,
    Do you have a solution for this problem? I'm dealing with the same problem:
    ORA-29532: Java call terminated by uncaught Java exception: java.rmi.RemoteException: javax.xml.rpc.soap.SOAPFaultException:
    regards, Hans

  • How can I insert a link to a YouTube video in RoboHelp?

    How can I insert a link to a YouTube video in a RoboHelp CHM topic or in a WebHelp topic. On YouTube, I can select Share \ Embedded and get this HTML:
    <iframe width="560" height="315" src="//www.youtube.com/embed/hz1egoBSukE?list=PLAAC40DA8171E6038"  frameborder="0" allowfullscreen></iframe>
    But when I generate the project, I get the msg, This program cannot display the webpage.

    Or just paste the embed code from Youtube in the topic (using HTML view)
    Greet,
    Willam

  • Inserting a link in Adobe forms central?

    How do I insert an internet link on a Form in adobe forms central?

    The "insert/edit link" button is on the top menu bar, between the paragraph alignment buttons and the "Form Setup" button. If it's greyed out you'll need to insert a question or formatted text field.

Maybe you are looking for

  • Multiple Forms in a Flash Document and Posting Using ASP

    Hello everyone! I have some what of a dilemma on my hands. I am creating multiple forms in one document using Flash and need them to post using ASP script. I have been researching this for the last six days, and I have had NO luck. I have noticed tha

  • Idoc monitoring (may be ALEAUD)

    Hi Guru's In our project, there is a lot of idoc monitoring done, which requires manual work To keep an eye on the queue, one person is required everytime, But after searching I have found that we can have this process automatic, ie when idoc will fa

  • DDNS: DDNS has been disabled........Need help figuring out error message

    Already set up nannycam (Cisco WVC80N).  Fowarding connection from port 80 to 1024 on router which is same as camera port.  Have populated all necessary fields (email, TZO Key and domain name.  Received Routers External IP Address, however when saved

  • 65 GB of "other" on hard drive?

    Just checked the "storage" panel on the "About this Mac" window and discovered 65 gb of "other" on the drive. This is an almost-new and lightly-used Macbook Pro. Mainly just using it for word processing though I have logic & aperture installed & lots

  • Retrieving special characters through an HttpRequest

    Why I can not retrieve special characters like accents, spanish chars, etc. through an HttpRequest? Instead of the special char I want to retrieve it always changes them to another symbol. For example (ni�o, informaci�n) Is there any way to do it? Th