Perferences or properties editor

I want to build a dynamic editor that will allow users to view and edit properties files (or stored properties of some sort).
So basically, say there is a property file with values like:
param1=RED
param2=John Smith
param3=arial
The editor app would display those properties and values to the user so they could be edited. Additionally I would like to be able to specify meta data for the properties, such as a constrained list of allowable values. If such a list existed for a given propery, then a combobox would be used in the editor instead of textfield. Other meta data might make some propeties not visible to the user, or not editable, or maybe specify other specialized editors like color choosers or file choosers.
Anyway, you get the idea. I don't think that it would be too difficult to build this from scratch using the java.util.Properties class as the base. But it seems plausible that there may already be something in Java that does this or a 3rd party example or tool that does it or something similar (perhaps the Preferences API or the bean api? )
Anyway, I though I would post before I got started just to see if anyone knows of something already out there or a better way to go.
Thanks.
-Craig

XML! if you were to use an XML based file with an associated x-schema (or a dtd at a push) you could deal with a lot of the problems you have outlined. specifying a range of values or an enum style set of values etc.

Similar Messages

  • Set the properties Editor of Add-in for Outlook 2007

    Hi All,
    I've developed an add-in for outlook 2007, the setup doesn't give any errors but when I open the Outlook the add-in is disabled.
    May be because is the only add-in with <any Author>.
    How can I set this properties in visual studio 2010?
    Thanks,
    Thomas

    Hello Thomas,
    First of all, check out the Trust center settings in Outlook. Are macro security settings applied to add-ins as well? Are only signed add-in allowed to run?
    Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application
    might have hard disabled or soft disabled your add-in.
    Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer
    if you stop the debugger while the Startup event
    handler in your add-in is executing.
    Soft disabling can occur when an add-in produces an error that does not cause the application to unexpectedly close. For example, an application
    might soft disable an add-in if it throws an unhandled exception while the Startup event
    handler is executing.
    When you re-enable a soft-disabled add-in, the application immediately attempts to load the add-in. If the problem that initially caused
    the application to soft disable the add-in has not been fixed, the application will soft disable the add-in again.
    Read more about that in the How to: Re-enable an Add-in That
    Has Been Disabled article.
    P.S. You need to sing the add-in files with a digital signature to see the author name in Outlook. 

  • Can anyone expalin to me the following properties in the Web Dynpro Iview P

    Hi all,
    Can anyone expalin to me the following properties in the Web Dynpro Iview Properties Editor--
    Authentication Scheme
    Can be Merged
    Default Entry for Folder
    Entry Point
    Show Debug Screen
    Tray Type
    Points assured for help

    Hi shobhendra srivastava,
    1) An authentication scheme is a definition of what is required for an authentication process. In the iView you can set what authentication process (UserName/Password, X.509 certificate, etc.) the iView requires. Find more information <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/90/52c43dac1bcf51e10000000a114084/frameset.htm">here</a>.
    2) The attribute "Can be Merged" allows you to merge certain objects (worksets, pages, iviews) under the same point in the portal navigation structure. All objects with the same value for attribute "Merge ID" are merged together. The object with the highest value for attribute "Merge Priority" provides the name displayed in the navigation elements (tabs in TLN and links in Detailed Navigation)
    3) Find a good explanation of the attribute Entry Point <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/4e/3e703e632c7937e10000000a114084/frameset.htm">here</a>.
    4) If this parameter is "true" a debugging screen is displayed before starting the WebDynpro application. Make sure that the parameter DebugMode in the service configuration (=>Applications=>com.sap.portal.appintegrator => Service => Common_Configuration) is not 'false' if you want to use this feature.
    5) The attribute Tray Type defines the design of the iView's frame. The attribute can take the following values:
    fill: The content area appears with a background color
    plain: The content area appears with a white background and a frame
    transparent: The background is transparent and the content area appears without a frame
    Hope I could help!
    Best regards,
    Martin

  • Converter property editor locale always blank

    While doing the Tutorial 'About Converters' at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/converters.html
    Specifically while viewing the sample code for "Example Two: Using Converters for Numeric Formatting" I noticed that no matter what I enter for a locale in the converter's property editor in the Java Studio IDE the properties always remains blank in the IDE (and are not set in the constructor either). I'm speaking specifically about the locale. It never gets set for me unless I do it manually in the constructor myself.
    I see from the example code provided for Converter_ex2.zip (http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/converters/Converter_ex2.zip)
    that the value for locale is set in the constructor for Page1.java (code below).
                numberConverter1.setType("currency");
                numberConverter2.setType("currency");
                numberConverter2.setLocale(new java.util.Locale("en", "GB"));
                numberConverter3.setType("currency");
                numberConverter3.setLocale(new java.util.Locale("de", "DE"));
                numberConverter3.setCurrencySymbol("E");   Despite that the code is in the constructor the IDE properties editor for the numberConverter locale is blank.
    Just wondering why the property editor is always blank for the locales? This happen to anybody else?

    Hi,
    I was able to reproduce the behaviour you have described. I have filed a change request on yoru behalf.
    We thank you for your valuable feedback.
    Cheers :-)
    Sun Microsystems

  • Collection property editor

    In both of the RAD environment which I have previously used, there are property editors for a collection of a particular property type. In Borland's VCL the property editor is built-in once one uses a VCL collection as a property, while in .Net one can specify the System.ComponentModel.Design.CollectionEditor for a ,Net collection. These properties editors work flawlessly for a property which is a collection of a particular property type, whether it is a value type, like a Java int, or a reference type like a Java Object of a particular base class. They allow the end user to add an entry to the collection and then either type the value, if it is a value type, or present a drop-down list of other components of the specified type which have been added to the form ( bean context in Java terms ) for the user to choose, if it is a reference type.
    Coming to JavaBean development I was surprised that Java does not apparently have such a built-in property editor. Is this true, or have I just been unable to find documentation about it ?
    If there is no built-in property editor for a collection of types, are there any such property editors for this on the Internet anywhere ?
    I realize that I can build my own generic property editor for a collection, but I would like to avoid it if I can and use one that already exists. The case of a property editor for a collection seems quite common in terms of creating re-usable components, and I need one for a property of a JavaBean I am creating. Any help on this would be greatly appreciated.

    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4043157
    It is not implemented yet.

  • BUG: jspx editor complains about missing method from superclass of bck bean

    Hello,
    I have found a bug that is more an annoyance than anything, but wanted to report the behavior. Here is the scenario:
    1). Create a bean (I'll call it the super_backing_bean)
    2). Put an action listener in the bean (I'll call it al)
    3). Create a JSPX page
    4). Create a backing bean for the jspx page (I'll call it page_backing_bean). Make page_backing_bean extend super_backing_bean.
    5). Put a command button on the page. Bind it's actionlistener to #{page_backing_bean.al}. The pop-up properties editor allows you to do this nicely.
    6). Open the jspx page in "source" view and look for the command button. There's a red squiggly under the actionListener property. If you hover over it, you get "The method al does not exist in the bean page_backing_bean"
    Note this is merely an IDE bug. The code works as expected during run time.
    Kind regards,
    John

    Hi Harry (and others),
    I have seen similar behavior. It seems like the client side rendering for some reason has a hard time processing the collection model wrapping the ArrayList in this particular case. The table renders empty. After sorting in ascending order, the rows are all back (visible) again.
    Is anyone aware of issues with the rich table based directly on ArrayList (in combination with a changing set of values and/or sorting)? (seems like a corner case but is still not uncommon). Is there any indication that wrapping the ArrayList in a CollectionModel ourselves might be required?
    Harry: do you know whether this issue is introduced with PS3 (11.1.1.4) or already existed in previous releases?
    kind regards,
    Lucas

  • Null Pointer Exception in orion-ejb-jar.xml GUI editor

    Hi,
    I am getting a NPE when attempting to configure CMR mappings orion-ejb-jar.xml with the GUI/Properties Editor.
    Using 9.0.5.2 on Windows XP professional SP2
    Have defined the necessary <relationships> descriptors for this relation.
    1:M unidirectional from entity X to Entity Y
    1)Over orion-ejb-jar.xml right click and select 'Properties...'
    2) Highlight Entity X in properties gui and open the tree. Select 'CMP Field Mappings'.
    3)On the right pane there are two tabs 'CMP Field Mappings' and 'Relationship Mappings'. Select Relationship Mappings.
    4) Relationship Mappings tab now displayed with the above relationship displayed in drop down 'Relationship' tab.
    5) Regardless of whether I select any extra properties on the CMP Mapping, If I hit ok button I get the NPE shown below (n.b. All details filled in except the FK field on the many side of the relation - this is the only field I can enter on this window in this case.).
    java.lang.NullPointerException
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveCollectionMapping(RelationshipsPanel.java:1195)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveOneToManyRelationship(RelationshipsPanel.java:748)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveRelationship(RelationshipsPanel.java:528)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.onExit(RelationshipsPanel.java:394)
         at oracle.ide.panels.TabbedPanel.exitCurrentTraversable(TabbedPanel.java:219)
         at oracle.ide.panels.TabbedPanel.onExit(TabbedPanel.java:106)
         at oracle.jdevimpl.deploy.ejb.oc4j.CmpFieldMappingsPanel.onExit(CmpFieldMappingsPanel.java:134)
         at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:850)
         at oracle.ide.panels.MDDPanel.onExit(MDDPanel.java:290)
         at oracle.ide.panels.TDialog$L.vetoableChange(TDialog.java:72)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:300)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:217)
         at oracle.bali.ewt.dialog.JEWTDialog.fireVetoableChange(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.dismissDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
    <snip ....>
    Very good chance I am doing something wrong ! However, would be interested in getting a reason (or any lead for that matter) why JDev is throwing NPE in this case.
    Cheers
    Ben

    Hi,
    I am getting a NPE when attempting to configure CMR mappings orion-ejb-jar.xml with the GUI/Properties Editor.
    Using 9.0.5.2 on Windows XP professional SP2
    Have defined the necessary <relationships> descriptors for this relation.
    1:M unidirectional from entity X to Entity Y
    1)Over orion-ejb-jar.xml right click and select 'Properties...'
    2) Highlight Entity X in properties gui and open the tree. Select 'CMP Field Mappings'.
    3)On the right pane there are two tabs 'CMP Field Mappings' and 'Relationship Mappings'. Select Relationship Mappings.
    4) Relationship Mappings tab now displayed with the above relationship displayed in drop down 'Relationship' tab.
    5) Regardless of whether I select any extra properties on the CMP Mapping, If I hit ok button I get the NPE shown below (n.b. All details filled in except the FK field on the many side of the relation - this is the only field I can enter on this window in this case.).
    java.lang.NullPointerException
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveCollectionMapping(RelationshipsPanel.java:1195)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveOneToManyRelationship(RelationshipsPanel.java:748)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveRelationship(RelationshipsPanel.java:528)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.onExit(RelationshipsPanel.java:394)
         at oracle.ide.panels.TabbedPanel.exitCurrentTraversable(TabbedPanel.java:219)
         at oracle.ide.panels.TabbedPanel.onExit(TabbedPanel.java:106)
         at oracle.jdevimpl.deploy.ejb.oc4j.CmpFieldMappingsPanel.onExit(CmpFieldMappingsPanel.java:134)
         at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:850)
         at oracle.ide.panels.MDDPanel.onExit(MDDPanel.java:290)
         at oracle.ide.panels.TDialog$L.vetoableChange(TDialog.java:72)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:300)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:217)
         at oracle.bali.ewt.dialog.JEWTDialog.fireVetoableChange(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.dismissDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
    <snip ....>
    Very good chance I am doing something wrong ! However, would be interested in getting a reason (or any lead for that matter) why JDev is throwing NPE in this case.
    Cheers
    Ben

  • Source editor preferences.

    empty

    ...And we kept the promise. Even though there is no UI for the source editor
    preferences yet, you can modify the properties "editor.source.maxLineLen",
    "editor.source.indentChar" and "editor.source.indentCount" in the properties
    file located at:
    {Workspace
    directory}\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.m7.nitr
    ox.prefs
    Here is a description and the default value for each of these properties
    Note that you only need to have a property in the file mentioned above only
    if its value is different than the default value.
    #The maximum number of characters in a source code line, after which
    #the line is wrapped.
    #This is only used for the source code generated by NitroX.
    editor.source.maxLineLen=80
    #The character used for indentation in the source code.
    #Allowed values are "space" and "tab".
    #This is only used for the source code generated by NitroX.
    editor.source.indentChar=space
    #The number of characters used for source code indentation.
    #The character used for indentation is specified by the
    "editor.source.indentChar" property.
    #This is only used for the source code generated by NitroX.
    editor.source.indentCount=2
    M7 Support
    "DanBar" <[email protected]> wrote in message news:413811b4$[email protected]..
    What about source editor preferences?You've promised it will be provided in 1.1 final release... (see
    news://newsgroups.m7.com:119/[email protected]).
    Regards,
    DanBar

  • How to enable Step Properties

    I'm trying to implement Step Properties editor in my custom OI
    by using TSUI_CommandsInsertKind (cmds, &errorInfo, TSUIConst_CommandKind_Edit_StepProperties, gMainWindow.sequenceFileViewMgr, -1, "", "", NULL).
    Unfortunately the Properties popup  appears with all options disabled.
    What is the way to resolve this problem?
    Thanks

    I've logged as administrator. Please find attachments in order to understand what I mean
    Thanks,
    YG
    Attachments:
    1.JPG ‏53 KB
    2.JPG ‏60 KB
    3.JPG ‏70 KB

  • CSS Designer in Depth | Creative Cloud for Web | Adobe TV

    Get an in-depth look at the powerful new CSS Designer tools in Dreamweaver CC. Intuitive visual editing tools help you generate clean, web-standard code and quickly apply CSS properties like gradients and box shadows. You can see the effects on your designs immediately, eliminating tedious tweaking and the need to go back and forth to Code view.
    http://adobe.ly/ZSeWkr

    The new CSS Designer feature in Dreamweaver CC is a very nice addition to the interface’s workflow. However, it’s not best for all workflows, whereby there should still be a non-assisted CSS editor option available, like in CS6, “without” all the new visual designer tools.
    In CS6’s CSS properties editor you can quickly glance at the currently selected element’s CSS properties and directly edit the actual property values in a column format making this a very precise and straightforward workflow process.
    For me, the ability to quickly edit CSS properties by clicking on respective elements in the design view editor is the biggest advantage and real power for using Dreamweaver over notepad type editors. Without this option (when working in split mode), it requires switching back and forth between different style-sheets and code view.
    Though I really like everything else I’ve seen so far, in this latest version, this seemingly small feature restriction will considerably slow down my overall typical workflow process in most cases.  So, until a non-assisted CSS properties editor option is available, I’ll continue using CS6. Please, please fix this soon! Hopefully this is only a short-term oversight and resolved in a very near future update.

  • Read Only ID Columns

    Hi,
    I have several simple look up tables with two columns, ID and DESCRIPTION.
    ID is a numeric primary key.
    They have been put into their own groups with the Layout Style set to "table".
    The ID attribute's "Updateable?" has been set to "When New".
    My problem is that when I go to the pages that edit these tables, some of the ID columns
    are editable while some of the ID columns are read-only. I want all of the ID columns
    to be read-only (except for the new row).
    The ID attribures look identical in the ADF BC Properties Editor for all of the tables.
    Where else should I look for differences?
    Cheers,
    Patrick Cimolini

    Patrick,
    Actually, the line should not be present in the View Object file. Only if it is cleared, the value from the Entity Object should be picked up. I have experimented a bit and I could reproduce one weird case.
    Start by going to the Entity attribute and set it to 'Always'. Then go to the View attribute and set it to 'Always' as well. Now check the ViewObject xml file. The 'isUpdateable' attribute should NOT be there now! If it is, something weird is going on and I would close JDev, remove the attribute in notepad and launch JDev again.
    In the next bit, take care you follow the steps in this exact order. Go to the View Object attribute, and set it to 'While New'. Go to the Entity Attribute and set it to 'Never'. Go back to the View Object attribute. It will now be set to 'Never' and you won't have the option to put it back to 'While New' or 'Always' (greyed out). All very nice and logical, but if you look at the View Object XML file, it still says 'isUpdateable="while_insert"'. This is indeed an inconsistency between the JDev GUI and the actual XML file. As JHeadstart uses the XML file, it will use the 'while_insert' instead of the 'Never' that both the Entity and ViewObject GUI are showing you.
    However, this is the only problem I have found. Could you please make sure that if you set everything back to 'Always', if necessary remove that 'isUpdateable' attribute from the ViewObject XML file as I mentioned above, then only set the 'While New' at the Entity level, and make sure that the 'isUpdateable' property is NOT present at the ViewObject XML file, if everything works as expected when running the generator?
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • Why isn't the filename of the movie used in Video app on iPad?

    I've numbered the filenames of  a series of cartoons so that they sequentially on my Windows 8 laptop.  I loaded them onto my iPad mini, but on the Video app, they do not appear under their filenames, but under another name (in the metadata?).  How can I organize the cartoons so that they appear sequentially in the Video app, as they should be in order to be understood as a cartoon series?

    I can't recall the name of the program, but there are ones that you can use to edit the date and time of a file (look for properties editor). Make all the files have teh same date and time (to the second) then they should default to name order. (I'm presuming these are home made video files)

  • How do you set the text of a Hyperlink component in code

    I am using Visual Web pack in NB 6.0. How do you set the text of a hyperlink component in code?
    Please see screenshots at
    http://coba.usf.edu/departments/isds/faculty/agrawal/projects/java/
    I have a hyperlink in a grid panel. I am using
    hyperlink1.setText("Hello"); in prerender(),
    but the Hyperlink shows up with the text "Hyperlink", whereas I was expecting "Hello". However,
    hyperlink1.setUrl("http://www.usf.edu"); works as expected.
    I tried nesting a static text in the hyperlink as suggested in the Creator guide (ed 2, Google project). I deleted the "Hyperlink" text in the properties editor but then the page turned out blank.
    Thanks
    Manish

    Hi Manish,
    Great to know you were able to fix your issue. The following blog entry has the list of resources you would like to look at for future.
    http://blogs.sun.com/NetBeansSupport/entry/useful_resources_for_visual_web
    Thanks
    K

  • How to replace the cup image in the frame with my own image

    How can i change the default cup image in the top left corner of a frame to the image that i wanted in JDeveloper ?

    Here is a one line piece of code that will do the same.
    setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon File]")));
    Note:
    There is a way to create a resource bundle ( preferrable on large projects ) and add image files, then you can just use the properties editor to select a particular icon image for your frame.

  • Adding a Timer (Automatic Transition)

    Hello I'm new to this forum so I hope someone may be able to help me. I'm trying to add an automatic transition to this Image Gallery that uses and XML data file. I have everything the way I like it, but now I need to have the images and the dynamic text field to rotate like a slide show. I'm really struggling with this so any help would be greately appreciated.
    import fl.transitions.TweenEvent;
    import fl.transitions.easing.*;
    import fl.transitions.Tween;
    import flash.utils.*;
    var xml:XML;
    var featureIds:Dictionary = new Dictionary();
    var link:String;
    var loader:Loader = new Loader();
    addChild(loader);
    loader.x = 0; //where the main image sits from left
    loader.y = 0; //where the image sits from the top
    var text:Loader = new Loader();
    addChild(title_tf);
    var desc:Loader = new Loader();
    addChild(description_tf);
    description_tf.condenseWhite = true;
    var xmlLoader:URLLoader = new URLLoader(); //URLLoader loads the contents of any URL.
    var url:URLRequest = new URLRequest("ImageGallery.xml"); //loading the XML file, must be in the same file
    xmlLoader.load(url); // tells URLLoader to start loading from the URLRequest
    xmlLoader.addEventListener(Event.COMPLETE, onXmlLoad); //we can act upon the loaded data once it has fully loaded.
    function onXmlLoad(e:Event):void //this function turns the text data into an XML object.
    xml = new XML(xmlLoader.data);
    var picElements:XMLList = xml.pic;
    var len:int = picElements.length();
    var btn:ActiveButton_2;
    //var btn:ActiveButton;
    for (var i:int = 0; i < len; i++) //repeats the button based on the number of XML images
      //btn = new ActiveButton();
      btn = new ActiveButton_2();
      btn.x = 10 + i * 25; //from left and distance part
      btn.y = 290;
      addChild(btn);
      btn.name = "btn" + i;
      this.buttonMode = true;
      //btn.alpha = 0.4//fade on the buttons
      btn.addEventListener(MouseEvent.CLICK, onButtonClick);
      var picElement:XML = picElements[i];
      var idString:String = picElement.@id;
      var id:int = parseInt(idString);
      featureIds[btn] = id;
      if (i == 0)
       btn.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
    function onButtonClick(me:MouseEvent):void
    var id:int = featureIds[me.target];
    var picElement:XML = xml.pic.(@id==id)[0];
      title_tf.text = picElement.title.toString();
    description_tf.htmlText = picElement.description.toString();
    link = picElement.link.toString();
    loader.load(new URLRequest(picElement.image.toString()));
      new Tween(loader,"alpha",Strong.easeOut,0,1,2,true); //2 seconds to 'fade-in'
    new Tween(title_tf,"alpha",Strong.easeOut,0,1,1,true);
    new Tween(description_tf,"alpha",Strong.easeOut,0,1,1,true);
    description_tf.addEventListener(TextEvent.LINK, onTextLink);
    function onTextLink(te:TextEvent):void
    navigateToURL(new URLRequest(link));
    Here is my XML file:
    <images>
    <pic id="1"> //Attribue, associates an id number to the image element
      <link>http://www.google.com</link>
      <image>full_images/image.jpg</image>
      <title>Title Here</title>
      <description>
      <![CDATA[<p>Description is here!</p>
      <p align="right"><font color="#ffffff"><a href="event:link"><u><b>Visit link</b></u></a></font></p>]]>
      </description>>
    </pic>
    <pic id="2">
      <link>http://www.google.com</link>
      <image>full_images/image2.jpg</image>
      <title>Title 2 Here</title>
      <description>
       <![CDATA[<p>Description is here!</p>
       <p align="right"><a href="event:link"><u><b>Visit Link. </b></u></a></p>]]>
      </description>
    </pic>
    </images>
    thank you.

    I would be happy to help you out
    Here are some instructions for an example where a door moves down and up to reveal different contents:
    1. On Page1 draw a red circle and a green circle
    2. Group the circles (I found a bug, this is a work around, so I will explain later)
    3. Hide the green circle by toggling the eyeball in the Layers panel
    4. Click "Duplicate state". You are now in Page2
    5. In Page2, hide the red circle by toggling the eyeball in the Layers panel
    6. On Page2 draw a brown square (the door). Make sure the door is big enough to cover both circles
    7. Position the door up high above the stage
    8. Go to Page1 and toggle the eyeball for the door to make it visible in Page1 as well
    You have have two pages. The door is visible and in the same place in both pages. The door is also up above the stage. One circle is visible in page2 and another circle is visible in Page2
    9. Select the Page1 > Page2 transition in the Timeline panel
    10. Select the door on the stage and click Add Action > Move in the timeline. Do this again so you have two Move bars in the timeline for the door
    11. Position the Move bars so one occurs after the other
    12. Notice there is a Fade bar for each of the circles since they are fading in/fading out. Drag these bars so that they fade right at the junction between the two move effects
    13. Now we need to define how the door moves. Select the first Move bar and change the X, Y values in the properties editor to be x=0, y=600
    14. Select the second Move bar and change the values to be x=0, y= -600
    15. Create a button that navigates to Page2 when clicked
    I have attached an example FXP file
    Note: the bug I found was this. If I did not group the circles then during the animation one of the circles would appear above the door. I logged this bug and it should be fixed in the next beta. I found grouping the circles avoided the problem
    Ty

Maybe you are looking for