Dynamic news page linked from XML

Basically I'm able to bring HTML into my flash dynamic text
fields, that's fine.
But what I WANT to do is have an XML file load all the
seperate elements into differently formatted video clips.
I want it displayed HEADER, then DATE then CONTENT, with a
limit on articles (say 15 a page) in a scrolling content area. I've
not really played with this side of ActionSCript too much.
At the moment I have the skeleton of the idea set up, but I'm
starting to become concerned that I'm on the wrong path... I'm
kinda stuck about what to do to seperate the elements so that they
display under each other (obviously each news article will have a
variable length). An example of this idea can be seen on the NEWS
page at
http://www.wolfmother.com.
This is where I'm at atm, anyone wanna nudge me in the right
direction?

Yes actually you can dynamically type variables in Flash /
Flex using something similar to this.
var myDynamicObject:* = whatEverObjectIFeelLikePuttingHere;
Perhaps what might help to accomplish your goal is to use
reflection inside of Flex. It is possible to use (although somewhat
irritating) reflection in Flex using a form similar to this.
var content:Class = getClassFromPath(objectClassPath);
newComponent = new content();
addChild(newComponent);
The only problem is that the compiler will scrub any
variables/classes that are not currently being referenced, at least
once, somewhere in the application. So somewhere in your
application you must have a reference for the class, even if it set
to null, so that the class will not be removed from the project.
It's also possible that the describeType function might be of
some use.
Here are two references that describe each.
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=580
http://weblogs.thekeunster.com/?p=10
Utilizing these features it's possible to do quite a bit to
reshape your application based on data stored outside your
application or on parameters only known at runtime.

Similar Messages

  • How can I get Firefox to NOT use DDE? If I uncheck it in Windows XP "Folder options" it keeps getting re-checked. When checked, it takes minutes to get Firefox to open on a page linked from Outlook.

    How can I get Firefox to NOT use DDE? If I uncheck it in Windows XP "Folder options" it keeps getting re-checked. When checked, it takes minutes to get Firefox to open on a page linked from Outlook.

    Open link/bookmark in new tab in same window:
    *Middle-click (press the mouse scroll wheel) the link
    *Ctrl+left click the link
    *right-click the link, choose "Open Link in New Tab"
    Open link/bookmark in new window:
    * Shift+Enter on the link
    * Shift+left click on the link
    See: http://www.7is7.com/software/firefox/shortcuts.html

  • How to use a formula for dynamic New Page After?

    There is a formula for dynamic New Page After.
    How do I get value of formula?
    I am using RAS and the ReportClientDocument.

    There is a section object.  Off that there is a format property that is of type sectionformat.  From there there is a ConditionFormulas property which I believe is a collection of all the formulas you can set for a section.

  • How to open a url in new page/tab from Answers passing a value to the url in OBIEE10g

    Hello All,
    I'm trying to create an answer, A column "request id" would have a url with request id attached to end of url to open a web page. I did get the answer working, I need to open the webpage in a new page rather than in the same obiee answer. We are on OBIEE10g(10.1.2.3) on Windows 2003 R2.
    Can anyone give me some information to achieve this ?
    Thanks,
    Vijay

    Hello Srini, Vinod,
    I guess there might some set-up issue here. Here is my link
    <a href="https://ifa.dev.com/inspectionformsweb/formviewer.aspx?formid=273221" target=_new>273221</a>
    If I give the above link I would get syntax error.
    Then I change to add single quotes on the above link
    '<a href="https://ifa.dev.com/inspectionformsweb/formviewer.aspx?formid=273221" target=_new>273221</a>'
    Output looks like
    273221"><a href="https://ifa.dev.com/inspectionformsweb/formviewer.aspx?formid=273221" target=_new>273221</a>
    On the number when I click it does not go to the link rather gives me a HTTP 404 not found
    http://scaobieedev:9704/analytics/%3Ca%20href=
    Please advice.
    Thanks,
    Vijay

  • Dynamically create Value Objects from XML file

    Hi
    I want to create a value object from Xml file dynamically,like in the xml file i have the name of the variable and the datatype of the variable.is it possible do that,if so how.

    Read about apache's Digester tool. This is part of the Jakartha project. This tool helps in creating java objects from the XML files. I am not sure, if that is what u r looking for.

  • New pages made From Template messed up!

    Hello,
    I have made a template that is not yet finished... I decided
    to test it out, but when I make new pages from it, the formatting
    is messed up (in any new pages that I create from the template).
    This of course is happening prior to uploading to the pages... (I
    need to make many different pages from the template but cannot
    proceed because of this...)
    If I preview the new ‘messed up’ page in Safari
    (that is by clicking the Preview button in Dreamweaver itself), it
    is almost OK, but the background image does not show up. Could
    anyone suggest what I might need to do to get the ‘new’
    page to appear fine in Dreamweaver itself.
    I am new to Dreamweaver and have just started with it since
    moving from GoLive...
    Thanks in advance.

    > Well, that solved the problem. Changed my hard disk name
    from D's 200 to
    > just
    > D 200. After that I had to reset the site root folder
    but now pages made
    > from
    > the template are correctly formatted...
    If it would be considered a bug, then many programs would
    have it! As a
    general rule of thumb, it's best to avoid any characters in
    your
    file/pathnames other than letters, numbers, and
    hyphens/underscores. That
    would eliminate spaces, quotes, ampersands, parentheses, etc.
    > One remaining question. In the template, I used
    Modify/Page Properties to
    > add
    > a background to it. When I make a new page from the
    template, the
    > background
    > does not appear. Is that normal or should it appear?
    It should appear, so there must be something wrong in the
    resulting code.
    Can we see it?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Peace Freak" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello,
    >
    > Read through both the latest suggestions and decided to
    try getting rid of
    > the
    > single quote first as it was the easiest to do. I am on
    a Mac by the
    > way...
    >
    > Well, that solved the problem. Changed my hard disk name
    from D's 200 to
    > just
    > D 200. After that I had to reset the site root folder
    but now pages made
    > from
    > the template are correctly formatted...
    >
    > Thank you so much for this excellent troubleshooting
    experience. I guess
    > this
    > single quote problem would be considered a bug (surely
    single quotes
    > should be
    > allowed in the names of hard disks???) as I don't ever
    remember Apple
    > saying
    > don't use single quotes when naming a hard disk...
    >
    > Should I/we report it to Adobe? I would be happy to. I
    don't know how
    > these
    > forums work but it might be an idea to post a
    topic/sticky with
    > appropriate
    > keywords so that others will be made aware of it easily.
    >
    > One remaining question. In the template, I used
    Modify/Page Properties to
    > add
    > a background to it. When I make a new page from the
    template, the
    > background
    > does not appear. Is that normal or should it appear?
    >
    > Thanks so much.
    >
    >

  • Move page links from the top?

    Hi,
    I've just designed a new website with multiple pages using the "Modern" theme. The page links are listed along the top but I'd like to move them to the right side if possible as there are quite a few.
    Any help would be appreciated,
    Barry

    There's a ready made javascript to do that. See this demo page, Navbar at the Bottom for an example. The code used in the HTML snippet (courtesy of Cyclosaurus) can be found here:http://discussions.apple.com/thread.jspa?messageID=6547454&#6547454 courtesy of Cyclosaurus.
    OT

  • I have recently download the new pages, but from time to time my computer will revert back to the previous page software what can I do to fix this problem

    does anyone have a problem with the new page software? I am currrently running into the same problem with the old pages software re-appearing and any document that I had used with the new update, will not open. The system requires me to attempt to download a new version of page, when the newiest version has aleady been download and has been in operation.
    What can I do to fix this problem? I desire to use the new version at all times.
    Please help
    James

    You just have to be particular with which Pages version you are opening the document. use Right click on the document and choose the right version of Pages.

  • Dynamic New-Page Command in Smartform

    Dear Experts,
    I have a particular requirement of triggering New-Page after the end of Main window for displaying Terms & Conditions on the last page.
    For this purpose I have designed 3 pages :
    PAGE1 - Contains Main window, few Secondary windows and some Graphic windows.
                   (In PAGE1 -> General Attributes -> Next Page = PAGE2)
    PAGE2 - Is in continuation with PAGE1 except a few changes w.r.t. some Secondary windows.
                   (In PAGE2 -> General Attributes -> Next Page = PAGE2)
    PAGE3 - Contains a new Main window for displaying Terms & Conditions, few Secondary windows and
                   some Graphic windows.
                   (In PAGE3 -> General Attributes -> Next Page = PAGE3)
    After the end of Main window in PAGE1 or PAGE2 depending on the amount of data, I have used a Command logic for triggering New-Page (PAGE3). But it always triggers PAGE2 as new page and not PAGE3.

    Thanks Muthukumar.
    But in case if I set a next page of page 3 to the second page, then if my Page2 contains data spreading over more than one pages, it will display Page2 once and immediately display Page3 as next page.
    I will explain my requirement once again:
    1. If my PO details fits on Page1 itself than my next page should be Page3(Terms & Condition page).
    2. If my PO details is of more than one page, for that I have designed Page1 as first page and Page2
        for remaining pages. Once the PO details is over the next page should be Page3.

  • Move Pages Links from Top Header to Far Left on Webpage Layout...??

    Is there a way to make the links to your other pages show up on the left hand side of the webpage instead of at the very top?
    All the templates have the links at the very top, and when I try to move it on a blank page, it still stays above the text.
    I would like to have the text be able to run all the way to the top with the links to the left.
    Help is appreciated!
    Thanks,
    Andrea

    You can do it by making your own text based nabvar like here: Text Based Navbar. At the bottom of that page shows how to take the iWeb navbar and make it vertical. However, I you add anything to the top of the page it will be in the header. Since I didn't actually publish the page I don't know how or if it will work after publishing. However the video shows how the built in navbar can be made vertical depending on how long each page link is.
    OT
    Message was edited by: Old Toad

  • Linking from xml

    I saw a post a couple months ago explaining how to place url
    links into a product table in the XML file. The posts seem to only
    go back so far. Can someone please explain how this is done? So if
    I have products in each column, how can I link to an entire html
    page displaying that product info? Thank you.
    Never mind - I just got it working...

    Hi -
    Not an answer, but have you looked at your page in Firefox ?
    "helppascal911" <[email protected]> wrote in
    message
    news:g56tsp$51o$[email protected]..
    > Hello,
    >
    > Could anyone tell me what to do with this 'simple'
    question?
    >
    > I want to link to a iframe from a xml file, how should i
    write this code?
    > It's used on a portfolio page with a flash element:
    > link:
    >
    http://www.clownfish.nl/cfcc/portfolio/portfolio_ca/portfolio_ca.html
    >
    > sample of a part of my xml code:
    > <item path = "images/1.jpg" width = "200" height =
    "200">
    > <title>Item Title</title>
    > <description>Item description</description>
    > <iframe name="project"
    src="./projecten/project-1.html">
    > </iframe>
    > </item>
    >
    > Thanks,
    >
    > Pascal
    >

  • Adober Reader 8.1.2 will not open new page links to .pdf file

    Since upgrading to version 8, I cannot open a pdf file (from IE) if it opens in a new window. It opens local files, and links on pages that go directly to the pdf file, but not if the link opens the file in a new window. This means that I cannot open such things as my VISA statement, etc. What now?
    I have Windows XP on a Dell desktop. If it makes any difference, I also have Adobe Pagemaker 7.0 and Adobe Photoshop Elements 4.0 loaded on this computer.
    I really need this to work.
    Thanks.

    Nothing showed in the Event Viewer log. However, just to be thorough:
    1. I uninstalled reader 6.0.1 and rebooted. (all pdf became unassociated)
    2. I deleted any acr*.tmp anywhere on my computer.
    3. I deleted The 6.0 folder from the application updates path
    4. I deleted the 6.0 folder from my install path.
    5. I deleted the Adobe folder from my temp directory.
    6. I ran CCleaner, cleaned app files and registry and repeated.
    7. I rebooted and repeated step 6.
    8. I opened Event Viewer, backed up and cleared all events from the log.
    9. I installed 8.1.2 (all pdf became associated with Acrobat Reader)
    10. Under Event Viewer/Application the event log displays: Product: Adobe Reader 8.1.2 -- Installation operation completed successfully.
    11. Under Event Viewer/System the event log displays: The Windows Installer service entered the stopped state.
    12. I tried to launch: the shortcut, a pdf and the exe file.
    13. There are no additional events added to any level of the event log.
    14. There is no indication of activity from Reader in the Task Manager: Applications or Processes. It never appears in either.
    As a final note, I know the 8.1.2 install file is not corrupted because I copied it to another computer where it installed and runs just fine.

  • I am copying and pasting into a new, Pages document (from the word processing menu), and I paste in text that is longer than one page, it doesn't continue onto the next page.  I can't see the end. How do I get it to show everything I paste in?

    I want to copy an extensive amount of text from a web page into a Pages word processing document, but it seems to chop it up into text boxes, some of which aren't long enough to show all of the lines of text.  I can't get hold of a bottom edge of the boxes to drag them to make them longer.  I tried several times starting over with a new, blank page (and I made sure to choose from the Word Processing part of the dropdown menu, since I read about a similar problem that said not to use the layout menu.  It keeps doing the same thing.  What do I have to do to get long text pasted to multiple pages, instead of it trying to be all on one page?
      In the long run, what I want is to create this as an ePub book.  Is there a better way to go about this?

    Hi Ellen,
    Copying from web pages can include some weird formatting. Instead of Paste, use Paste and Match Style (Edit Menu).
    Regards,
    Ian.

  • Linking from XML Document

    Hi,
    Attached is code from my xml file. This feeds a flash movie
    template. I want visitors to be able to click on an image which
    then takes them to another page to see a slideshow.
    Any help will be greatly appreciated!
    Thanks.

    Hi,
    I am not a XSLT expert but Tobias wrote some nice blogs about it. Read them here:
    /people/tobias.trapp/blog
    You might want to start with this one:
    /people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1
    cheers
    Thomas

  • Dynamically creating multiple LineSeries from XML

    Hi,
    I'm unable to figure out why my chart does not display. My
    task is to read in an XML file, depending on which multiple line
    series will be created and displayed on a line chart. (I am using
    the Flex-Ajax Bridge)
    In my mxml, I have:
    [Bindable]
    public var _elements:XMLList;
    public function createXMLList(data:String):XMLList
    var _xml:XML = new XML(data);
    _elements = _xml.elements();
    return _elements;
    <mx:Panel width="450" height="400" id="panel" >
    <mx:LineChart id="chart" height="350" width="300"
    paddingLeft="5" paddingRight="5"
    showDataTips="true" visible="false"
    dataProvider="{_elements}">
    </mx:LineChart>
    </mx:Panel>
    In my html file, I use the XMLHttpRequest to get my xml and
    do the
    following:
    function createChart() {
    if (req.readystate == 4 && req.status == 200) {
    var seriesArray = new Array();
    var flexApp = FABridge.example.root();
    var chart = flexApp.getPanel().getChildByName("chart");
    var s =
    FABridge.example.create("mx.charts.series.LineSeries");
    flexApp.createXMLList(req.responseText);
    s.set("yField", "datapoint");
    seriesArray.push(s);
    chart.setSeries(seriesArray);
    chart.setVisible("true");
    My XML file has the following structure:
    <?xml version="1.0" encoding="utf-8"?>
    <result metricDfn="Price">
    <company1 id="1">
    <datapoint date="Jan">50</datapoint>
    <datapoint date="Feb">60</datapoint>
    <datapoint date="Mar">40</datapoint>
    <datapoint date="Apr">50</datapoint>
    <datapoint date="May">40</datapoint>
    </company1>
    </result>
    Anything obvious that I'm not doing right?

    This link is great for describing how to manipulate charts in ActionScript:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_intro_7.html
    If this post answers your question or helps, please mark it as such.

Maybe you are looking for