XMLConnector

Hi,
datagrid<--dataset<--xmlconnector<-xml file dynamic
generateb by a script.php
xmlconnector parameters : direction receive
actionscript : xml.Conn.URL = "
http://www... script.php";
xmlConn.trigger();
test movie : i can see display of my table
publish preview html : i can not see my table
Can someone help me,
Danielle

Ah, solved it... my basic approach for side-stepping caching
(as described above) worked, just had a bug. I was accidentally
using the same millisecond date for each call, so it wasn't being a
unique URL. Oops :)

Similar Messages

  • XMLConnector with Czech characters in the URL

    I'm writing a game that use the XMLConnector object to bring local xml data into a DataSet object.  My URL is, for example: data/quiz.xml.  I have everything working well.  But I'm localizing my game for Czech and Russian and when the game is installed to a path with Czech specific (high ascii) characters, the data import fails.  This is strange because the relative path (data/quiz.xml) doesn't change.  For example, my Czech install path contains the partial path: Vyšetřit Bobíčka.  If I just use normal English characters for this, I don't have a problem.  The swf is an embedded sprite in a Director game, but I don't think this is relevant.
    I looked into using fl.mapPlayerURL to format the path as UTF-8 but it doesn't look like this is the solution.  Another thing I thought of would be embed the xml data inside Flash and copy it to a temp folder when needed.  I'm using AS2.
    Any solutions or suggestions?
    Thanks in advance,
    Brian

    I've already solved this with Valentin's help.  I just convert the full XML
    file path to a DOS 8.3 path with baShortFileName and pass that to the Flash
    sprite.  It could be that CS4 or another work around will fix it also.
    Barring a complete rewrite, the XML files need to be external.  That's the
    way the Flash object works as far as I know.
    Thanks,
    Brian

  • Binding XML object to XMLConnector

    Is it possible to dynamically bind an XML object to an
    XMLConnector in ActionScript; and if so, how?
    Thanks.

    Any takers on this?

  • Datagrid, xmlConnector in Internet Explorer

    Hi everybody,
    I have developped a actionScript interface which connects a
    mySQL database to get data trough an XMLConncetor and fill a
    datagrid on the stage. When I test the swf locally with the
    SWFplayer it works perfectly. To make long story short, the
    xmlConnector connects the database and fill the datagrid. You can
    modify the data by clicking on buttons because they are bounded to
    xmlconnector and this one update the database and the refresh
    function opf the datagrid works.
    The problem comes when I upload the swf on a web server and I
    try to connect the database. The first connection is okay but when
    I click on buttons, the request is sended to the database but the
    datagrid is not updated, even if I set an intervall or I code a
    function wich refresh the data...However, in IE, if you erase the
    cache and reload the page, modifications are there...
    Someone knows how to avoid this dumb step?

    I was able to figure out the problem with my case. Thanks for
    replying and maybe you could benefit from my findings. Here's what
    happened.
    We have a flash menu that builds its menu items from an XML
    data feed we supplied via a URL. The XML was controlled by
    DotNetNuke and was security aware. So based on your security
    groups, you would only get XML for the navigation that was
    appropriate. The menu would generate its items based on XML. But
    this would only work in Firefox and Safari and not IE 6 and 7
    Through your post, I had narrowed the problem down to
    caching. However it's not the swf that was cached, it was the XML
    from the URL that was. The XML was generated from an ASPX page, so
    I added Response.Expires = -1 in the Page_Load() event and Voila!
    It worked.
    Hope this helps you or anyone that stumbles upon this
    post.

  • Is it possible to extract out the jars in XMLConnector.jar?

    Hi all,
    I've currently got Crystal Reports working properly in my Java Web project, which is using an XML Datasource if I include XMLConnector.jar in my WEB-INF/lib folder. However, we don't want to have to include this rather large jar in our project as it contains many jars that we already have.
    I tried to extract out the jars inside XMLConnector.jar into my WEB-INF/lib folder, but now I get the same exception as if I had not included XMLConnector.jar:
    com.crystaldecisions.reports.common.QueryEngineException: Error loading database connector. The class 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader' could not be accessed.
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Failed to load the database connector 'crdb_xml.dll'.
    Is there a way to diassociate the contents inside this jar, or if you can help me locate the exact libraries that are required to properly load XML datasources, and any settings I need to change.
    Thanks,
    Peter

    The XMLConnector.jar is a jar of jars.
    There are some Java Web Application Servers that have issues with unjarring jar of jars for the jars within.
    So for those deployments, I do recommend unjarring XMLConnector.jar.
    For a Web App, you'd put the jars in the jar in the WEB-INF/lib folder, and other content within WEB-INF/classes. This because there's no special handling of a jar of jars - the CRJ engine merely asks the classloader to handle the loading.
    Sincerely,
    Ted Ueda

  • XMLConnector No.Data.Received only when on server

    I've been making a simple RSS reader flash widget for my web
    page. It works perfectly when I test it locally, but when I publish
    it, I always get the No.Data.Received error. I've played with all
    the parameters on the XMLConnector and all the publish settings,
    but no dice.
    The only thing that I can think of is that I'm loading RSS
    from a different site, but it isn't restricted in any way.
    Too see it not working:
    http://www.kevingoldsmith.com/testing/rssreader5.html
    I also posted the fla:
    http://www.kevingoldsmith.com/testing/rssreader5.fla
    this has been driving me insane, so anything that anyone can
    help with would be awesome. I've searched the web, but I haven't
    found anything...

    that´s a security issue
    search adobe.com for "crossdomain.xml"
    only work around:
    make a serverside script load the rss stuff and transfer it
    to flashplayer.
    perry
    UCKevinG schrieb:
    > I've been making a simple RSS reader flash widget for my
    web page. It works
    > perfectly when I test it locally, but when I publish it,
    I always get the
    > No.Data.Received error. I've played with all the
    parameters on the XMLConnector
    > and all the publish settings, but no dice.
    >
    > The only thing that I can think of is that I'm loading
    RSS from a different
    > site, but it isn't restricted in any way.
    > Too see it not working:
    http://www.kevingoldsmith.com/testing/rssreader5.html
    >
    > I also posted the fla:
    http://www.kevingoldsmith.com/testing/rssreader5.fla
    >
    > this has been driving me insane, so anything that anyone
    can help with would
    > be awesome. I've searched the web, but I haven't found
    anything...
    >

  • XMLConnector problem

    Hi again :P
    im using XML connector in my project for listing some data
    from php/xml file.
    The thing is that i want to use a simpler way to configurate
    my project (im gonna publish the project for dowload) and instead
    of going into the fla file, to change the XMLconnector URL i need
    my project to scan a textfile for variables.
    now, i tested a lot of way, but cant seem to get over the
    problem. so, how do i give XML connector a URL in the AS2.0 instead
    of giving it in the parameters tab ?
    i tried mostly this way without any results:
    feed. load(list_address);
    and its defined in the textfile
    list_address=http://localhost/nmsos01/nmsos.php

    problem again :((((
    im going with this code in actions layer
    this.feed.URL = "listing_ad";
    loadVariablesNum("list_ad.conf", this);
    and my textfile (list_ad.conf) contains this
    listing_ad=http://localhost/NMSos01/Nmsos.php
    Now the problem is that i get this error in testing my movie
    Error opening URL 'file:///F|/www/NMSos01/listing_ad'
    AND i discovered in FF a open tab with adress to this text
    file.
    Anyone have any ideas ? it could help out alot.

  • Are there any ready made PHP scripts/tutorials for suage with FLASH?

    Hello, I want to have in my FLASH website a members area,
    where the user will register (giving full name and other details)
    then this will be saved to a database in server, and then the
    user will be able to have a big list of some data where he will be
    able to check (using many checkboxes) some of them. and odf course
    i wnat to these choises to be saved in the database.
    I saw the tutorials in flash help about loadvars,
    xmlconnector etc.
    So i think the flash part i can do it.
    But i know nothing about Databases and Php
    As i figured out, i can create a database using visual tools.
    So i have to have a php sript. but i know nothing about php
    Are there any ready made? or any tutorial similar to my
    project so i can change it a little bit.
    thank you

    hi dalamag,
    You can go through this link
    http://www.actionscript.org/resources/articles/141/1/Introduction-to-Flash-and-PHP/Page1.h tml
    Thanks,
    Kunjan.

  • Need dynamic Photo Gallery

    Hi
    I am new, not expert in flash. Knows only basic flash action
    scripting, can any body guide me about dynamic flash photo gallery.
    How can import images in flash from database.
    please help me, I need that urgently, all suggestions are
    welcome.
    Regards
    Harish

    Hey harish ... unfortunately, developing with flash has some
    serious trade-offs. The benefit is making a rich user experience.
    However, data integration can often be a much more involved
    process. Here are some suggestions for you.
    With .net you could publish a webservice. Flash has built a
    built in component for consuming webservices.
    Your .net guy should know what a webservice is and how to
    implement it.
    Alternatively, you could have a server side script that, when
    called, spits back an xml representation of the data you want to
    put into flash.
    for example:
    <root>
    <pic1 title="pic1Title" uri="/pics/pic1" ... />
    <pic2 ... />
    </root>
    or however you want to form your xml.
    Flash has built in support for consuming xml in this way
    through the xmlconnector component or even just the xml
    class.
    It would be nice if there was a built in way to communicate
    directly with databases.
    Flash wanted to make their product vendor nuetral so as far
    as I know, there is no way to make a connection directly with a
    database with flash out of the box.
    I know there are third party addons you can purchase that
    will help you do that as another option as well.
    One thing that has worked well for me in situations similar
    to what you are discussing is using the apache xindice database
    combined with the xml class in flash.
    The xindice database is an open source project.
    It is a database designed specifically to store xml
    documents.
    http://xml.apache.org/xindice/
    I use java and xindice is built in java, but it has two
    api's. One for developers writing in javaee and one for developers
    writing in other languages.
    Or hey, you could always drop a few grand on coldfusion :-)
    Probably not the answers you want, but I hope it helps
    anyway.

  • Ext. data source and Tree component

    Im using tree component and XMLConnector here.
    as far as i can see results in my tree (when testing my
    movie) it ouputs data thats loaded fom ext. XML file.
    But the problem is that it publishes [type Function] in the
    tree.
    no actual xml nodes are visible, just bunch of [type
    Function]
    ive also searched for info / tutorial how to publish actual
    xml data in the tree component but without any luck.
    So what should i do and how ?

    Solved
    xml tags needed just a label with attributes

  • XML data source - Performance problem

    Environment - Crystal Reports 2008 , crjava-runtime_12.2.200 jar files, Java 1.5  and XML data source
    We are generating reports from our java application. .rpt file is designed using CR 2008 .
    The problem we have is its taking longer time to generate a report. Atleast its taking 5-6 minutes. XML file size is around 300 KB. .rpt file size is 2000 KB.
    Steps involved in report generation in Java program.
    1. Creating ReportClientDocument.
    2.Opening ReportClientDocument( reportClientDocument.Open())
    3. constructing XML datasource IXMLDataSet(xml_ds). ( setting XML and XSD)
    4. setting the datasource to database controller. -- reportClientDocument.getDatabaseController().setDataSource(xml_ds, "", "")
    5. then exporting the report in pdf format.
    I don't know what I am doing wrong. Please advise me to improve the performance of this function.
    Thanks,
    Makesh

    Ted,
    I figured out the cause of the problem. I am using JDeveloper as my IDE thats causing the delay. When I deployed the application and ran it, it took just 30 secs for the report using "Pushing" mechanism. Thats amazing. Thanks for your support.
    I have another problem. I am not sure whether to post a separate thread for this problem. Anyway I explain the problem here. If you think it needs another thread, I will post a new one.
    When I use my IDE or the following command JRC runs fine and generates the reports with graphs and all.
    java -classpath C:\JDK\java1.5\bin\CERT.jar;C:\oracle\JDeveloper10.1.3\jdbc\lib\ojdbc14dms.jar;C:\oracle\JDeveloper10.1.3\jdbc\lib\orai18n.jar;C:\oracle\JDeveloper10.1.3\jdbc\lib\ocrs12.jar;C:\oracle\JDeveloper10.1.3\diagnostics\lib\ojdl.jar;C:\oracle\JDeveloper10.1.3\lib\dms.jar;C:\Apps\CERTLib\log4j-1.2.8.jar;C:\Apps\CERTLib\CRLib\com.azalea.ufl.barcode.1.0.jar;C:\Apps\CERTLib\CRLib\commons-collections-3.1.jar;C:\Apps\CERTLib\CRLib\commons-configuration-1.2.jar;C:\Apps\CERTLib\CRLib\commons-lang-2.1.jar;C:\Apps\CERTLib\CRLib\commons-logging.jar;C:\Apps\CERTLib\CRLib\CrystalCommon2.jar;C:\Apps\CERTLib\CRLib\CrystalReportsRuntime.jar;C:\Apps\CERTLib\CRLib\cvom.jar;C:\Apps\CERTLib\CRLib\DatabaseConnectors.jar;C:\Apps\CERTLib\CRLib\icu4j.jar;C:\Apps\CERTLib\CRLib\jai_imageio.jar;C:\Apps\CERTLib\CRLib\JDBInterface.jar;C:\Apps\CERTLib\CRLib\jrcerom.jar;C:\Apps\CERTLib\CRLib\keycodeDecoder.jar;C:\Apps\CERTLib\CRLib\log4j.jar;C:\Apps\CERTLib\CRLib\logging.jar;C:\Apps\CERTLib\CRLib\pfjgraphics.jar;C:\Apps\CERTLib\CRLib\QueryBuilder.jar;C:\Apps\CERTLib\CRLib\webreporting-jsf.jar;C:\Apps\CERTLib\CRLib\webreporting.jar;C:\Apps\CERTLib\CRLib\XMLConnector.jar;C:\Apps\CERTLib\CRLib\xpp3.jar;C:\Apps\CERTLib\iText-2.1.5.jar -Xms256m -Xmx512m com.cert.gui.CERTMainFrame
    Note: CERT.jar has all the application classes and library classes.
    But when I package all these jar files in to single jar file and run the below command, it generates reports with all the features except Graphs.
    java -Xms256m -Xmx512m -jar CERT.jar (OR)
    java -classpath C:\JDK\java1.5\bin\CERT.jar; -Xms256m -Xmx512m com.cert.gui.CERTMainFrame
    Note: CERT.jar has all the application classes and library classes
    I need the above command to run successfully as I am planning to use java web start for application deployment.
    Please help me to solve this problem.
    Thanks,
    Makesh
    Edited by: Makesh on May 28, 2009 12:07 AM
    Edited by: Makesh on May 28, 2009 12:13 AM
    Edited by: Makesh on May 28, 2009 1:32 AM

  • Change font size in TextArea control

    Dear all
    I have a number of TextArea controls which display data
    retireved through XMLConnector / PHP / dataset using Flash CS4.
    How can I change the font size (or colour) using actionscript
    2.0 in a Flash TextArea control ?
    Thanks
    Hagop

    Hi there,
    If you use html = true; you can also use html tags to make
    the size change.
    Creation site internet |
    Jeux
    Concours |
    Echantillon Gratuit |
    Radin

  • Need help with xml and combo boxes

    Basically what im doing is a ui for a electronic book.
    The book is broken into 3 parts and each part has its own set
    of chapters.
    My xml schema is pasted below.
    And what i would like is to have two comboBoxes .
    The first one would list the names of the parts available,
    ie.. Part I, Part II, Part III.
    the Second one would list the chapters avalable under that
    part. For example, If Part i, is sected then the secodn combo box
    would list chapter 1-5, while if the second part is selected, the
    second combo box would list chapters 6-10.
    Im using flash 8 pro, and the xmlconnector and comboboxes.
    Maybe there is an easier way. PLEASE HALLP! This is driving me
    nuts.
    XML Schema:

    Hi
    I have just done this for another guy in this forum, I can
    send you an example using UI Components - 3 Comboboxes each shows
    the sub-options of its parent, one more than what you want. The
    secret is in the construct of the XML file and how this creates the
    correct Schema for binding.
    Post me an email address and I can send you the files.

  • How do I Access Data in XML Connector

    I have an XMLConnector attached to a xml file and bound to a
    label. This is working fine.
    My question is:
    How do I access the data values in a component or the
    XMLConnector through actionscript. I can see the values in their
    components so I know the data binding worked.
    Whatever I try returns undefined or null for the value.
    Different things I tried:
    // I tried getting it directly out of the data holder -
    returned undefined.
    var postions:Number = dh_rack.mountingPositions;
    //Tried getting it out of the XML Connector.
    import mx.data.binding.*;
    var dataTypeObj:mx.data.binding.DataType =
    this.xmlConn.getField("results", "rack.positions");
    var test = dataTypeObj.getAsNumber();
    var positions3 = dataTypeObj.getAnyTypedValue().value;
    Any help would be appreciated.

    I believe you have to use the following syntax:
    var positions:Number = dh_rack.data.mountingPositions
    or
    var positions:Number = dh_rack.data[mountingPositions]
    Good luck. I never get replies for my posts except from
    myself.

  • LoadSound not working in IE but works in Firefox??! Help!

    Greetings all,
    I've posted this in the general forum with no luck, so I
    thought I'd try here.
    Situation:
    A simple flash movie, using a loadSound method, works
    correctly in FireFox/Safari in our production environment, but IE
    will NOT play any sound.
    All browsers work just fine in our staging environment,
    suggesting a difference between these two systems.
    When loading the movie in IE, the progress bar jumps from 0%
    to 100%, which suggests it's found the file, but will never play
    it. In FF/Safari, the progress bar fills up gradually, as expected.
    I've tried adding the mp3 mime type to our Apache
    configuration (AddType audio/mpeg .mp3), which didn't seem to have
    an effect. Linking to the mp3 file in different ways--literal vs.
    relative--doesn't seem to have an effect.
    This bug is holding back a pretty major new site component,
    if anyone has ANY ideas, please let me know!!
    Matthew

    "OctavianMH" <[email protected]> wrote in
    message news:e1oprn$2cr$[email protected]..
    > Sorry, perhaps i was unclear. The servlet is outputting
    an XML feed, that
    > contains the PATH to the mp3 file.
    >
    >
    http://www.carnegiehall.org/AudioInfoServlet?event_id=3328
    >
    > The flash music player uses XMLConnector and DataSet
    components to grab the
    > XML from the servlet feed, and then populates the
    loadSound() call from that
    > data. Not that it matters, if this:
    >
    >
    http://www.carnegiehall.org/flash/sound_module_empty.swf
    >
    > won't work under IE, which doesn't have any of the
    component/xml complexity,
    > and simply tries to load the sound, then the read sound
    module certainly won't
    > work.
    >
    > The key is getting sound_module_empty.swf to work, if I
    can get it to work in
    > IE, I imagine the real thing will work too.
    >
    > Oi vey.
    >
    > The actual mp3 file is at
    http://www.carnegiehall.org/media/2006S0108M.mp3
    OK, yeah, I remember now. I looked at that before.
    I put your files on my server in the same folder arrangement
    that you have for a test..
    I only changed the code for the sound_module_empty.swf to
    point to my server like this:
    stop();
    s = new Sound();
    s.loadSound("
    http://www.kompanionkare.net/media/2006S0108M.mp3",
    true);
    It loads up and works fine from my server so it must be a
    server problem.
    http://www.kompanionkare.net/flash/sound_module_empty.html
    (I will delete the Files soon, just leaving up long enough
    for you to test)
    tralfaz

Maybe you are looking for