How do I hyperlink in XML?

Hello. I currently am building a new project, which is a carousel. The carousel itself is OK, everything works, including the click the icon to read the description. The only problem is that I need to have a hyperlink in one of the descriptions. I know how to hyperlink in HTML, and tried that in XML, but it didn't work. I also tried XSL or something to link but that just screwed up the SWF file itself. Here is my XML code.
<icons>
<icon image="icon1.png" tooltip="Helicopters" content="MA Furion 450
    Head Servo's- Hitec HS-5065mg
    Gyro/Tail Servo- Spartan DS760/ Futaba s9257
    Motor- MA 4400kv -6
    Esc- MA 60amp
    Hyperion Blades
    SMC 2200 3s 40c Packs
Align T-Rex 600E
    Head Servo's- Hitec HS5925mg
    Gyro/Tail Servo- Futaba GY401
    Motor Align 600l
    ESC- Align 75amp
    Radix Blades
    Kasama Tail with TT and Metal Head
Gaui Hurricane 550
Gaui Hurricane 200" />
<icon image="icon2.png" tooltip="About Me" content="My Name is Robert McQuillen, I'm 12 year's old and I have Been flying for about 8 months and I Currently fly a MA Furion 450, Trex 600e, Gaui 550, Gaui 200. I've met some very nice people in this hobby that have helped me out alot." />
<icon image="icon8.png" tooltip="Videos" content="http://www.youtube.com/watch?v=jBLJEhqAFMA
http://www.youtube.com/watch?v=Z3MCXnFt4sE" />
<icon image="icon4.png" tooltip="Sponsers" content="Currently, I have no sponsers but if you wish to contact me to sponser me, you can email me at
[email protected]" />
<icon image="icon5.png" tooltip="Events" content="RCCR Ray Edmounds Memorial Fun Fly - June  28th- (OVER WITH)
IRCHA Jamboree - August 12 - 15
RAMS Open House - August 22 - 23
RAMS Northeast Helicopter Jamboree - August 28 – 30
NEAT Fair - September 18 - 20
Keystone Indoor Electric Fly - October 17 - 18 ( Not Confirmed)" />
<icon image="icon6.png" tooltip="Photos" content="Photos are going to be uploaded soon. Sorry for any inconveniences." />
</icons>
I'm trying to insert the link in the Photos section and the Videos section instead of having youtube links.
The carousel file is
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 75;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.05;
var perspective:Number = 130;
var home:MovieClip = this;
theText._alpha = 0;
var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
    var nodes = this.firstChild.childNodes;
    numOfItems = nodes.length;
    for(var i=0;i<numOfItems;i++)
        var t = home.attachMovie("item","item"+i,i+1);
        t.angle = i * ((Math.PI*2)/numOfItems);
        t.onEnterFrame = mover;
        t.toolText = nodes[i].attributes.tooltip;
        t.content = nodes[i].attributes.content;
        t.icon.inner.loadMovie(nodes[i].attributes.image);
        t.r.inner.loadMovie(nodes[i].attributes.image);
        t.icon.onRollOver = over;
        t.icon.onRollOut = out;
        t.icon.onRelease = released;
function over()
    //BONUS Section
    var sou:Sound = new Sound();
    sou.attachSound("sover");
    sou.start();
    home.tooltip.tipText.text = this._parent.toolText;
    home.tooltip._x = this._parent._x;
    home.tooltip._y = this._parent._y - this._parent._height/2;
    home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
    home.tooltip._alpha = 100;
function out()
    delete home.tooltip.onEnterFrame;
    home.tooltip._alpha = 0;
function released()
    //BONUS Section
    var sou:Sound = new Sound();
    sou.attachSound("sdown");
    sou.start();
    home.tooltip._alpha = 0;
    for(var i=0;i<numOfItems;i++)
        var t:MovieClip = home["item"+i];
        t.xPos = t._x;
        t.yPos = t._y;
        t.theScale = t._xscale;
        delete t.icon.onRollOver;
        delete t.icon.onRollOut;
        delete t.icon.onRelease;
        delete t.onEnterFrame;
        if(t != this._parent)
            var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
            var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
            var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
        else
            var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
            var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
            var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,200,1,true);
            var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,320,1,true);
            var tw5:Tween = new Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
            theText.text = t.content;
            var s:Object = this;
            tw.onMotionStopped = function()
                s.onRelease = unReleased;
function unReleased()
    //BONUS Section
    var sou:Sound = new Sound();
    sou.attachSound("sdown");
    sou.start();
    delete this.onRelease;
    var tw:Tween = new Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,true);
    for(var i=0;i<numOfItems;i++)
        var t:MovieClip = home["item"+i];
        if(t != this._parent)
            var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
            var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
            var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
        else
            var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
            var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
            var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
            var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
            tw.onMotionStopped = function()
                for(var i=0;i<numOfItems;i++)
                    var t:MovieClip = home["item"+i];
                    t.icon.onRollOver = Delegate.create(t.icon,over);
                    t.icon.onRollOut = Delegate.create(t.icon,out);
                    t.icon.onRelease = Delegate.create(t.icon,released);
                    t.onEnterFrame = mover;
function moveTip()
    home.tooltip._x = this._parent._x;
    home.tooltip._y = this._parent._y - this._parent._height/2;
xml.load("icons.xml");
function mover()
    this._x = Math.cos(this.angle) * radiusX + centerX;
    this._y = Math.sin(this.angle) * radiusY + centerY;
    var s = (this._y - perspective) /(centerY+radiusY-perspective);
    this._xscale = this._yscale = s*100;
    this.angle += this._parent.speed;
    this.swapDepths(Math.round(this._xscale) + 100);
this.onMouseMove = function()
    speed = (this._xmouse-centerX)/2500;

Oh my goodness, thank you SOOOO much!
The site now works, and I don't get the glitches!
Wonder if I can embed videos this way

Similar Messages

  • Create Hyperlink in  XML Publisher

    Hi,
    Can anyone tell me how to create the dynamic hyperlink in XML Publisher Report and design the same in RTF Template.
    Thanks in Advance.
    Regards,
    Partha

    Hi
    Did you check the client install samples folder ? there are a couple of almost real examples in there.
    Note you can not run these templates thru the template builder ... its a different processor. To see it working us the java app Template Viewer installed along with the word plugin.
    tim

  • How do you HYPERLINK a web page address to an EXCEL document in Firefox like is possible in Explorer

    How do you HYPERLINK a web page address to an EXCEL document in Firefox like is possible in Explorer?

    When you follow a hyperlink in Excel, usually it should open in your default browser. You shouldn't have to do anything special in Excel to create the link when Firefox is your default browser compared with IE. However, the Insert Hyperlink dialog might work differently. I think it might be able to automatically pre-populate a URL from IE, while in Firefox, you need to copy the URL from Firefox's address bar and paste it into the Insert Link dialog.

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How to retrieve value from xml file

    hi all,
    can somebody pls tell me how to retrieve value from xml file using SAXParser.
    I want to retrieve value of only one tag and have to perform some validation with that value.
    it's urgent .
    pls help me out
    thnx in adv.
    ritu

    hi shanu,
    the pbm is solved, now i m able to access XXX no. in action class & i m able to validate it. The only thing which i want to know is it ok to declare static ArrayList as i have done in this code. i mean will it affect the performance or functionality of the system.
    pls have a look at the following code snippet.
    public class XMLValidator {
    static ArrayList strXXX = new ArrayList();
    public void validate(){
    factory.setValidating(true);
    parser = factory.newSAXParser();
    //all factory code is here only
    parser.parse(xmlURI, new XMLErrorHandler());     
    public void setXXX(String pstrXXX){          
    strUpn.add(pstrXXX);
    public ArrayList getXXX(){
    return strXXX;
    class XMLErrorHandler extends DefaultHandler {
    String tagName = "";
    String tagValue = "";
    String applicationRefNo = "";
    String XXXValue ="";
    String XXXNo = "";          
    XMLValidator objXmlValidator = new XMLValidator();
    public void startElement(String uri, String name, String qName, Attributes atts) {
    tagName = qName;
    public void characters(char ch[], int start, int length) {
    if ("Reference".equals(tagName)) {
    tagValue = new String(ch, start, length).trim();
    if (tagValue.length() > 0) {
    RefNo = new String(ch, start, length);
    if ("XXX".equals(tagName)) {
    XXXValue = new String(ch, start, length).trim();
    if (XXXValue.length() > 0) {
    XXXNo = new String(ch, start, length);
    public void endElement(String uri, String localName, String qName) throws SAXException {                    
    if(qName.equalsIgnoreCase("XXX")) {     
    objXmlValidator.setXXX(XXXNo);
    thnx & Regards,
    ritu

  • How to use the validation.xml in struts validation?

    Can any one please help me, how to use the validation.xml in struts validation? possible please give me simple example.
    Edited by: SathishkumarAyyavoo on Jan 31, 2009 12:03 PM

    These 2 are the good articles for the beginners to do validation things in Struts. you can follow any one of them.
    1. [http://viralpatel.net/blogs/2009/01/struts-validation-framework-tutorial-example-validator-struts-validation-form-validation.html]
    2. [http://www.vaannila.com/struts/struts-example/struts-custom-validation-example-1.html]
    All the best.

  • How to remove group in XML Publisher template

    Hi All,
    How to remove group in XML Publisher template while desining as below is one example in that i want to remove the group no 2,3,4 or G Supp Seq,List G Audit,G Audit and want the output of line no 1 and 5 and then 1 or Batch / Entry/ Category/ List G Supp Seq/C Line No / C Transaction / C Document//C Credit/C Debit/C H Seq Name.
    Example:
    1) Batch / Entry/ Category/ List G Supp Seq                    /C Credit/C Debit/C H Seq Name                    
    2)          G Supp Seq
    3) List G Audit
    4) G Audit     
    5)     C Line No / C Transaction / C Document
    Kindly help how to generate the output without the line no 2,3,4.
    Regards,
    Sushant

    Sushant,
    you can try to design the RTF by Regrouping the XML data based on your requirement then you may get proper order.
    Please see the Regrouping XML concept in the user guide.
    Regards,
    Prasad Raju

  • How to remove hyperlink in Reports Region

    How to remove hyperlink in a Report region (Based on some filter condition)
    Example : In Report Region, I am getting value as 10, 20, 30, 0, 44, 55, 0
    In the above value, I need to remove the hyperlink for 0 values.
    Can anyone help me to resolve this issue.
    Thanks in advance.
    Regards
    Balaji S

    If you want a link column for values other than 0 and a blank for those with 0 then the best way to do this is to use a case or a decode to return a LINK image or text to a hidden column; I usually return the Edit icon only. You can then use the 'column link' region on a different column to create a link in the usual way and set the Link Text to the hidden column (e.g. #EDIT# in the example below). If you have set the target page to require a Checksum this will then be added without having to code it into your sql. E.g.
    SELECT some_columns, 
      CASE WHEN numcol != 0 THEN '<img src="#IMAGE_PREFIX#e2.gif" alt="">'
      ELSE null
      END "EDIT"
    FROM your_tableIf you want the same column value, but those of 0 to not have a link and those other than 0 to have a link then you need to code the link into your sql. e.g.
    SELECT some_columns, 
      DECODE (numcol,0,numcol,'<a href="f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::">'||numcol||'</a>') "EDIT"
    FROM your_table# = your URL e.g f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::
    If you require a checksum on the link you need to add the apex_util.prepare_url function to the URL.
    Cheers
    Shunt

  • How to remove hyperlinks in a word document

    how to remove hyperlinks in a word document

    Go to your "Insert" drop down menu.
    Select "Hyperlink", near or at bottom.
    You will get this dialog box:
    Look at the lower left corner... see the button "Remove Link"?
    Click on it...and hit the "OK" button in the lower right...
    Since this was a Word question, and not a Mac Pro question, it would have been better to post it here http://www.msofficeforums.com/word/

  • How can we hyperlink a WEBI report to a .PDF or .DOC in any location?

    Hi All,
         I have a WEBI report which has a column called Country(Values US, UK). I have some .pdf files in my local machine and BOE server. Could anyone let me know how can I hyperlink the report to the .pdf in my local machine and in the server. There are two cases as below as questions to be answered.
    Case 1
    When I click on country column, a single .pdf file should open irrespective of the column values in my local machine/server
    Case 2
    When I click on country column, a .pdf file should open with respect to the column values in my local machine/server
    I would be grateful if it is answered asap.
    Thanks and Regrads
    Ram

    Ram,
    Go through these links. They may help you.
    How to Add Document links in SAP Business Objects Web Intelligence
    Add a hyperlink to a document: Web Intelligence 4.x - YouTube

  • How I can create a XML file from java Aplication

    How I can create a XML file from java Aplication
    whith have a the following structure
    <users>
    <user>
    <login>anyName</login>     
    <password>xxxx</password>
    </user>
    </users>
    the password label must be encripted
    accept any suggestion

    Let us assume you have all the data from the jsp form in an java bean object..
    Now you want a xml file. This can be acheived in 2 ways
    1. Write it into a file using java.io classes. Say you have a class with name
    write("<name>"+obj.getName+</name>);
    bingo you have a flat file with the xml
    2. Use data binding to do the trick
    will recommend JiBx and Castor for the 2nd option
    Regards,
    Rajagopal

  • How to Read and Generate XML file from java code.

    hi guys,
    how to read the xml file (Condition :we know only DTD or Shema only).
    How to Generate the new xml file ?(using Shema )
    And one more how directly Generate the xml from DB?
    Pleas with code or any URL

    Using XMLbeans you can generate Java objects from an XSD schema (perhaps DTDs aswell)
    Then you can create an instance of the Document object and ask it to write itself.
    This will create an XML document complient to the schema.
    XMLBeans generates a "type" safe DOM where you can only ever have a structure compilent to you schema.
    matfud

  • How do you get an xml file from the PO Output for Communication report?

    Can anyone tell me how you've created an xml output fil for this program? When I run it, the View XML button doesn't light up, and the output file is empty.
    I can see the XML when I click the View Log button, but can't figure out how to save it so that the XMLP Desktop tool can load it properly.
    If you can tell me how to create this file, I'd be very appreciative.

    Hi,
    I can't see the xml in my log file. Maybe you have a different logging level. One issue I have had before is that the xml declaration had a strange character encoding. It should say something like: <?xml version="1.0" ?>. If it mentions anything about encoding you can remove it.
    One of our developers wrote a custom process to write the xml to a table when the document was generated as we couldn't find any other way of doing it.
    You can use the sample xml available from the data definition but this is missing fields.
    Probably not much help...
    Paul

  • How to write to an XML file from JDE batch application?

    Hello everyone,
    I need to write data from a batch application to an XML file. I don't know how to use the XML business functions.
    I tried to use XML Publisher but the format is not the same as the client XML. The XML file has some customized format.
    I need to do it manually with business functions and ER. Please help me out.
    Some business functions I saw are Create XML document, XML Add element and XML Add attribute but the parameters are complex to
    use.
    Thank you very much.
    Edited by: Lovvy on Sep 8, 2010 2:58 AM

    The XML DB forum is better suited to your question.
    It also has a FAQ which details how to read and shred XML into tables as well as other common XML based questions...
    XML DB FAQ

Maybe you are looking for

  • The bottom list of apps on my ipod touch screen is way higher than its suppose to be

    hi i have an ipod touch 2nd generation i dont update it to often cause i have very very slow iternet and it can take up to 4 hours and i dont have the time to update it but the bottom list of apps i dont know what its called but i think its the app b

  • Entities from tables (JPA EJB 3.0) creation problem

    I have a problem to get all the entities created in JDev 10.1.3.3 on UBuntu Linux, JDK 1.5.11. I think that some relations missing also. When I try to connect from my Win XP machine to the same DB (Oracle XE) everything is fine. JDev on Win machine u

  • Crystal Reports on Windows Web Server 2008 R2

    Hello! I use Crystal Reports for Visual Studio 2010. I have developed a web project/app in .NET 4. What exactly should install on the server side (Windows 2008 R2 WEB) for the reports to work? At the moment I'm getting the following error: "Could not

  • Payment engine - Plug-In for own file format

    Hi, I developed a plug-in for the payment engine (2004C for Poland) which generally can be debugged/compared/deployed successfully. But: Depending on choosing certain company databases, it's posible/not possible to run the project of the add-on from

  • LIS - Info Structures

    Dear GURU's Is it advisable to created user define info structures in the system? if so is there any specific steps that i have to follow to create info structures. Thanks a lot in advance Regards Charith