FABridge.flash has no properties

I'm in the process of building a controller swf application
that I can embed in html type applications (like jsf) and then use
the controller to communicate between a flex application and
"launched" jsf applications. I'm using the FABridge to
facilitate the comunication betweem the html based
application and the swf controller.
All appears to work fine the first time, but on subsquent
invocations I get a type error : FABridge.flash has no properties.
This happens in firefox and Internet Explorer.
Here's the chain of events:
1) Start by Flex launcher applicaton
2) Launch a simple htmp app that has my swfcontroller
embedded in it.
3) the swf controller initializes and fetches login
credentials from the Launcher in step1.
4) the simple htmp app displays the login credentials.
5) I close the htmp page launched in step 2
6) Launch again, get the tyype error: FABridge.flash has no
properties
Any help would be appreciated.
Thanks
Jim Kohn

I have similar experience. Not sure how is the bridge object
created/initialized. I tried something like this in the mxml:
<fab:FABridge xmlns:fab="bridge.*" bridgeName="myBridge"
/>
and this failed as well:
var flexApp = FABridge.myBridge.root();
The Javascript exception appears to indicate that the bridge
object was not initialized.
Any help from the community to resolve this is highly
appreciated. Thanks.
FYI, am using the IE6 + Flash Player 9. Had similar issue
with Firefox 2.0.0.1.
Thanks.
FYI, this is the full HTML:
<!-- saved from url=(0014)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title></title>
<script src="AC_OETags.js"
language="javascript"></script>
<style>
body { margin: 0px; overflow:hidden }
</style>
<script language="JavaScript" type="text/javascript"
src="bridge/FABridge.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
// -->
var flexApp = FABridge.myBridge.root();
var chart = flexApp.getPanel().getChildByName("chart");
var dp = [];
for(var i=0; i < 30; i++) {
dp.push( {apples: Math.random()*100, oranges:
Math.random()*100} );
chart.setDataProvider(dp);
</script>
</head>
<body scroll="no">
<script language="JavaScript" type="text/javascript"
src="history.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
// Version check for the Flash Player that has the ability to
start Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);
// Version check based upon the values defined in globals
var hasRequestedVersion =
DetectFlashVer(requiredMajorVersion, requiredMinorVersion,
requiredRevision);
// Check to see if a player with Flash Product Install is
available and the version does not meet the requirements for
playback
if ( hasProductInstall && !hasRequestedVersion ) {
// MMdoctitle is the stored document.title value used by the
installation process to close the window that started the process
// This is necessary in order to close browser windows that
are still utilizing the older version of the player after
installation has completed
// DO NOT MODIFY THE FOLLOWING FOUR LINES
// Location visited after installation is complete if
installation is required
var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
var MMredirectURL = window.location;
document.title = document.title.slice(0, 47) + " - Flash
Player Installation";
var MMdoctitle = document.title;
AC_FL_RunContent(
"src", "playerProductInstall",
"FlashVars",
"MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"" ,
"width", "100%",
"height", "100%",
"align", "middle",
"id", "testPrj1",
"quality", "high",
"bgcolor", "#869ca7",
"name", "testPrj1",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "
http://www.adobe.com/go/getflashplayer"
} else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
"src", "testPrj1",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "testPrj1",
"quality", "high",
"bgcolor", "#869ca7",
"name", "testPrj1",
"flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id
+ '%3F&bridgeName=myBridge'+'',
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "
http://www.adobe.com/go/getflashplayer"
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be
placed here. '
+ 'This content requires the Adobe Flash Player. '
+ '<a href=http://www.adobe.com/go/getflash/>Get
Flash</a>';
document.write(alternateContent); // insert non-flash
content
// -->
</script>
<noscript>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="testPrj1" width="100%" height="100%"
codebase="
http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="movie" value="testPrj1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#869ca7" />
<param name="flashvars" value="bridgeName=myBridge"/>
<param name="allowScriptAccess" value="sameDomain" />
<embed src="testPrj1.swf" quality="high"
bgcolor="#869ca7"
width="100%" height="100%" name="testPrj1" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="
http://www.adobe.com/go/getflashplayer">
</embed>
</object>
</noscript>
<iframe name="_history" src="history.htm" frameborder="0"
scrolling="no" width="22" height="0"></iframe>
</body>
</html>

Similar Messages

  • TypeError: s has no properties

    Hello Everyone
    I have FlashChat with Voice running. Ever since I run the
    voice chat, my server just randomly freezes and stops responding.
    This seems to happen when the voice chat gets 3 or more users. So I
    checked the log and it was giving this error
    Sending error message: C:\Program Files\Macromedia\Flash
    Media Server 2\scriptlib\components\connectionlight.asc: line 100:
    TypeError: s has no properties
    Sending error message: Failed to execute method (ping).
    What does that mean? How can I fix this problem?
    Thanks

    I get the same problem. The only thing I could do is keep hitting space bar (to close the message) while also trying to switch to another open tab by clicking on it.
    If you can get the tab open inbetween the message box flashing up, then it will go away

  • Error with Transition / Instance has No Properties

    I'm having trouble making transitions in Adobe Flash CS3
    Professional. Here's the error message:
    Exception in exportPreviewSWF: TypeError: instance has no
    properties
    Error opening URL
    'file:///C|/Users/Lindsey/AppData/Local/Adobe/Flash
    CS3/en/Configuration/preview1.swf'
    Exception in reverse: TypeError: tmpFrame has no properties
    Any help would be wonderful.

    bien por ultimo quedo mejor asi la funcion porque en espa�ol no me funciono adecuadamente
    function getUserHTML(index)
    var index;
    if(user_list[index].Name == 'anyone')
    return i18n['SetPermissions anyone'];
    else if(user_list[index].Name != 'anyone')
    temp = new String(user_list[index].Name);
    uid = new String(user_list[index].Name);
    index = temp.indexOf('@');
    if(temp.substr(0,index)=='anyone')
    return (temp.substr(0,temp.length-index));
    //return user_list[index].Name;
    y quite la funcion
    function removedomainpart(id) {
    var rewrittenid
    var index;
    if(defaultdomain != 0)
    return id;
    temp = new String(id);
    index = temp.indexOf('@');
    if(index != -1)
    return temp.substr(0,index);
    return id;
    }

  • Error inserting Timeline Effects / Instance has no Properties

    I'm having trouble making transitions in Adobe Flash CS3
    Professional. Here's the error message:
    Exception in exportPreviewSWF: TypeError: instance has no
    properties
    Error opening URL
    'file:///C|/Users/Lindsey/AppData/Local/Adobe/Flash
    CS3/en/Configuration/preview1.swf'
    Exception in reverse: TypeError: tmpFrame has no properties
    Any help would be wonderful.

    To explain the error, Flash is notifing you that in this statement:
    gotoAndStop(nextFrame);
    gotoAndStop() is a valid function of a MovieClip however nextFrame has no meaning. You'd have to give it some meaning before using it.
    e.g.:
    // define "nextFrame" as a variable
    var nextFrame:int = this.currentFrame + 1;
    // use it in the function gotoAndStop()
    gotoAndStop(nextFrame);
    Then you would have defined what you are sending to the gotoAndStop() function. Since you didn't, the error tells you nextFrame is undefined.
    You can usually combine things as well, e.g.:
    // go 5 frames forward and stop
    gotoAndStop(this.currentFrame + 5);
    To get to the next frame take moccamaximum's suggestion to use the nextFrame(); function of MovieClip.

  • Shockwave flash has crashed reload error

    for the past few weeks, I get this error Shockwave Flash has crashed reload while attemping to view the online shows on the comcast website.  So I cant watch the videos at all, I can watch other videos on youtube and on the webpages.  

    ranglen wrote:
    for the past few weeks, I get this error Shockwave Flash has crashed reload while attemping to view the online shows on the comcast website.  So I cant watch the videos at all, I can watch other videos on youtube and on the webpages.  I had the same problem. I had to disable the protected mode in Adobe Flash Player, which is set by default.  Here is what I did to solve it. 1. Update your Adobe Flash Player to the current version. You have to do this on a regular basis because Adobe releases new versions all the time, mostly due to security flaws that they find. Make sure that you uncheck the box that says "Optional Offers," otherwise you'll get something extra in the download that you really don't need. 2. Close your web browser. 3. Lauch Windows Explorer, not Windows Interent Explorer. The quickest way to do so is a) Click Startb) In the seach box, type the following "explorer.exe"c) Under "Programs," you will see "Windows Explorer."d) Right-Click on "Windows Explorer" and select "Run As Administrator." 4. Once you have "Windows Explorer" open, browse to the following location: C:\Windows\System32\Macromed\Flash 5. In this folder, you will see a file called "mms.cfg" 6. Right-click on "mms.cfg" and then select "properties." 7. In the "properties" tab, select the "security" tab. 8. In the "security" tab, you will see group or users. Select "users" and then click the "edit" button to change the file premissions for file "mms.cfg." Be sure to check all of the allow boxes, otherwise you won't be able to change the protection mode settings in the next step. Click OK to close the properties box. 9. Right-click on "mms.cfg" and then select "Open." Windows will tell you that it cannot open the file and will then give you two options. Select the option that says "Select a program from the list of installed programs." 10. In the programs list, select "Notepad" to open the file in Notepad. 10. In Notepad, add the following line:        ProtectedMode=0 11. Then select "file," and then "save" to save to modified "mms.cfg" file.       12. Relaunch your web browser and try to viewing the video again. If you are still having problems viewing videos, you may also need to disable hardware accelleration in Adobe Flash Player. You can do this by right-clicking on any video and then uncheck the box that says "enable hardware accelleration." The reason you may have to do this is because some graphics cards have accellartion already built into them. Source:  https://support.mozilla.org/en-US/questions/993019

  • ECC 50 DI Installation error-FJS-00003  TypeError: f has no properties

    Dear Experts,
    Earlier we had local installtion of ECC50 (DEV/TEST and PRD-CI) with SQL2000 DB, WIN2K3 EE OS.
    We want to install one new application server i.e. PRD-Dialog Instance, so we have kept all the systems on domain (changed from Local to Domain).
    We performed below activities to put all systems on same Domain.
    1. Down the systems
    2. Changed Domain
    3. Created SAP users SAP<sid> and sapservice<sid> on DC with Global&local admin rights
    4. Changed owner of both SAP services with newly created domain SAP user SAPSERVICE<sid>
    5. Updated Host file entries
    6. started Servers with Domain user <sid>adm , it is up and running.
    Now we logged in with new application server with <sid>adm domain user and started Dialog instance installation thru sapinst.
    After inserting installation drive, in next step it throws below error.
    INFO[E] 2008-01-28 16:07:16
    File system export (share) saploc does not exist.
    ERROR 2008-01-28 16:07:21
    FJS-00003  TypeError: f has no properties (in script InstallationScript_159, line 9500: ???)
    Please revert back with valuable inputs.
    Is there any steps missing to perform?
    Regards,
    Rakesh.

    Hello Manoj,
    Thank for your reply. I have installed JDK 1.4.2_12 version with JAVA_HOME env rightly set in the path as without which, i wouldnt have even gotten the installation master screen(Gui).
    Any other workaround do u see?

  • FABridge.flash.root() is null or not an object

    Hello everyone! I'm having a problem with Flex-Ajay Bridge in
    an aspx page. Days ago I could access flex variables from
    javascript without problems, but now I can´t. This is my flex
    code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*" layout="absolute" height="194" width="374"
    creationComplete="init()">
    <fab:FABridge xmlns:fab="bridge.*" bridgeName="flash"
    id="flash"/>
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    public function init():void
    mx.controls.Alert.show("ready");
    ]]>
    </mx:Script>
    <mx:Label x="227" y="171" text="Probemos......"
    fontSize="14"/>
    <mx:TextInput x="140" y="27" id="pki"/>
    <mx:TextInput x="140" y="76" id="pkf"/>
    <mx:TextInput x="140" y="122" id="nc"/>
    <mx:Label x="27" y="29" text="PKI" fontSize="14"/>
    <mx:Label x="27" y="78" text="PKF" fontSize="14"/>
    <mx:Label x="27" y="123" text="Max. Carriles"
    fontSize="14"/>
    </mx:Application>
    It's just some text boxes and labels. I want to access those
    labels from javascript, so I wrote in my html page this:
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    >
    <head runat="server">
    <title>Inventario de Carriles con Flex</title>
    <script
    src="JS/FABridge.js"type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
    function setMessage()
    var flexApp = FABridge.flash.root();
    alert("1");
    alert("2");
    flexApp.pki().setText("1");
    flexApp.pkf().setText("2");
    flexApp.nc().setText("3");
    </script>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <table>
    <tr>
    <td>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="374"
    height="194" >
    <param name="movie" value="FlexApp\Inventario.swf"/>
    <param name="quality" value="high"/> <
    <embed src="FlexApp\Inventario.swf" width="374"
    height="194" align="middle" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"></embed>
    </object>
    </td> (...............)
    When I click in the button, the js fuction starts executing
    but when it tries to initialize the flexApp variable it shows an
    error: flexApp.flash.root() is null or not an object.......... can
    you please help me? I tried everything and didn't manage to solve
    this problem, I know that the flex .swf is initialized but I don't
    know why the javascript can't access it :(
    Does someone knows what can I do in order to solve this???
    Thanks!!!
    Regards,
    Mariana

    Hi,
    javascript isn't made by sun, so you won't find it here, but google can help you out:
    http://www.google.se/search?hl=sv&ie=UTF-8&q=javascript+forum&btnG=S%C3%B6k&meta=
    /Kaj

  • Why do Sony DSC-RX100M3 raw files look strange in PE9 when flash has been used in the shot?

    I have just bought a Sony DSC-RX100M3 camera and use it to shoot raw + jpeg.  I want to use the raw files in my Photoshop Elements 9, which has the Camera Raw plug-in version 6.5.0.216 installed. I have downloaded the Adobe DNG converter version 8.7.1.311 so I can import my Sony raw files into PE 9 as they cannot be used directly. Most of the time these raw files look OK, but when I use the flash on my camera and then look at the raw files in PE9 they look far more pink than the corresponding jpeg files. The jpeg files look more or less as I remember the scene when I shot the picture.
    When I look at the same raw and jpeg files in Sony's own Image Data Converter software (version 4.2.04.17270) the raw and jpeg files look very similar to one another, and there is no pink colour cast in the raw file.
    What am I doing wrong in Photoshop Elements? I though the DNG converter keeps all the information from the original raw file and makes no changes to it, so why does the raw file look so different when flash has been used?
    Thanks for any help you can give!
    AVM

    Looking at the pictures of the camera online, I'd say there is no lens shade--a device to keep light from the sides from causing lens flare--and the camera lens, itself, was just too far extended and there was a lens shadow.  You probably can't use the flash that close up and should back off and zoom in further.  Experimenting would give you a sense of what situations will have a shadow of the lens or not.
    Your ACR plug-in is old enough not use have Process Version 2012, yet, only 2010 and 2003 so Adobe didn't have the idea to put the selector down next to the camera profile. The toning options are better with Process 2012 so that would be a reason to upgrade, but I am not sure that the Camera Neutral profile in PSE9 would be different than PSE13.  If Adobe changed the camera profiles then people's pictures would look different once they upgraded to a new version and that's not something that's supposed to happen.
    You can certainly download the PSE13 trial and see if things look any different, but they may not:  Download a free trial or buy Adobe products | Adobe downloads   There would be newer minimum OS version requirements for the newer versions of Adobe software so check those out before trying to install, unless you're on Windows 7+ or OSX 10.8+ then it should be fine.
    One more thing, the White-Balance tint is set to +10 by the camera:
    This As Shot WB is more magenta and even when using the Adobe Standard profile, moving the Tint down to +0 makes things a little more green like your camera JPG.  So there is more than just changing the camera profile that you can do:

  • Document array has no properties

    Why doesn't DW8 like document arrays assigned to variables?
    Using the syntax,
    formInput = document.getElementsByTagName("input")
    Returns an error saying "formInput has no properties."
    Here's the full example:
    var dom = dw.getDocumentDOM();
    // get the current document's SKU_Condition meta tag
    var skuCondMeta = dom.getElementsByTagName("meta");
    for ( counter = 0; counter < skuCondMeta.length;
    counter++)
    if (skuCondMeta[counter].name == "SKU_Condition") // so far
    so good
    // get dom of the extension html form and assign the sku
    cond to the input field value
    /* why doesn't this code work?
    var formInput = document.getElementsByTagName("input");
    for ( iter = 0; iter < formInput.length; iter++)
    if (formInput[iter].name == "sku_cond")
    formInput[iter].value = skuCondMeta[counter].content;
    /* instead, I have to do this */
    for ( iter = 0; iter <
    document.getElementsByTagName("input").length; iter++)
    if (document.getElementsByTagName("input")[iter].name ==
    "sku_cond")
    document.getElementsByTagName("input")[iter].value =
    skuCondMeta[counter].content;
    Thanks for the help!
    -Scott

    I'm trying to use a calendar in my jsp pages. The code
    of that calendar is in a js file and is writen in
    JavaScript. I call the function from a html tag:
    <input type="text" name="date" id="date">
    Click
    here to enter a date
    In the js file there is a function
    show_calendar(textfieldname, dir)
    and lines
    var txtboxObj = textfieldname;
    and
    document.getElementById(txtboxObj).value =
    getdate(d,m,y);
    My problem now is that when I use Netscape 7.01 the
    calendar is not passing data to the input field in the
    parent window and I get the message:
    Error: document.getElementById(txtboxObj) has no
    properties
    In IE it is working with no problems.Obviously a JS problem. Go to a Javascript forum. You will be more likely to find people who know.

  • 'TypeError: dw.getDocumentDOM() has no properties' message keeps coming up in dreamweaver? Help?

    Using Dreamweaver CS5.5 on a Mac.
    My error message:
    While executing DW_WordWrap checked in toolbars.xml, the following JavaScript error(s) occurred:
    TypeError: dw.getDocumentDOM() has no properties.
    Any help on what I can do to fix this??

    Try steps 4 and 12 here.
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html# main_Troubleshooting_steps

  • Javascript: 'has no properties' error

    Stumped by javascript once again. Can anyone see why I'm
    getting a 'mybuton
    has no properties' error in this script:
    javascript:
    var mybutton = document.getElementById('lnkBtn_delete');
    var oldonclickfunction = mybutton.onClick; //old postback
    method
    mybutton.onClick=function() {
    if(confirm('Are you sure you want to delete this record?'))
    {oldonclickfunction();}
    else{ return false;}
    HTML:
    <a id="lnkBtn_delete"
    href="javascript:__doPostBack('lnkBtn_delete','')">
    <img
    src="/assets/admin_interfaces/assets/icon_dbDelete.gif"
    border="0">Delete This Bio
    </a>
    I'm hoping this is just a javascript issue, but do note that
    this is an
    ASP.net app as well, so, it might have to do with the
    postback function as
    well.
    -Darrel

    darrel wrote:
    > Stumped by javascript once again. Can anyone see why I'm
    getting a 'mybuton
    > has no properties' error in this script:
    "mybuton", typo?
    >
    > javascript:
    >
    > var mybutton = document.getElementById('lnkBtn_delete');
    > var oldonclickfunction = mybutton.onClick; //old
    postback method
    > mybutton.onClick=function() {
    > if(confirm('Are you sure you want to delete this
    record?'))
    > {oldonclickfunction();}
    > else{ return false;}
    > }
    What are you trying to do here?
    mybutton doesn't exist until 'lnkBtn_delete' is loaded onto
    the page.
    __doPostBack(), function definition?
    You have a URL?
    Mick
    >
    > HTML:
    >
    > <a id="lnkBtn_delete"
    href="javascript:__doPostBack('lnkBtn_delete','')">
    > <img
    src="/assets/admin_interfaces/assets/icon_dbDelete.gif"
    > border="0">Delete This Bio
    > </a>
    >
    > I'm hoping this is just a javascript issue, but do note
    that this is an
    > ASP.net app as well, so, it might have to do with the
    postback function as
    > well.
    >
    > -Darrel
    >
    >

  • TypeError: matches has no properties

    Encountered this when trying to export CSS and Images.  What does it mean?  See attached for your referrence.
    Thanks in advance!

    Well it's not fireworks, but google led me here... same issue with Dreamweaver, getting, "Translate error: TypeError: matches has no properties". I googled that phrase, and found this, saw it was unanswered and thought that my addition may help someone do the problem solving. Maybe it is a similiar issue do to the fact they are both image editing packages... they are both Adobe... So it makes me wonder what is the commonality in this? I'm not using any custom web fonts. Hmmmmmm. The link to the file I'm working on is: americanjunkieaz.com/index2.html. Any help is appreciatedc and sorry to cross app post; but it seemed relevant do the the commonalities afore mentioned. Thanks.

  • TypeError :  air has no properties

    Hi guy!
    I tried to use trace function of air object
    My html file is :
    <html>
    <head>
    <title>Sandbox Bridge Test</title>
    <script type="text/javascript" src="AIRAliases.js"></script>
    <script type="text/javascript">           
                function doLoad() {
                try {             
                  air.trace("Coucou");
                 catch (e)
                 {alert(e)}
            </script>
    </head>
    <body onload="doLoad();">
    <h3>Application Sandbox Content</h3>
    <hr />
    </body>
    </html>
    But the eval function prints "TypeError :  air has no properties", what's wrong ?

    Have you included the AIRAliases.js file in the same directory as the HTML file? They should both be in the main application directory (or a subdirectory).

  • TypeError: str has no properties

    Whenever I try and export to CSS my Fireworks page containing a TextField form either HTML or Advanced HTML Common Library I get and error:
    TypeError: str has no properties.
    Im using Fireworks CS4.
    any help or suggestions would be greatly appreciated.

    i think i may have found the problem. i installed the HTML Enhanced Common Library after i did my CS4 install. i followed the instructions and renamed my CssLayers.htt to old_CssLayers.htt and then installed the new CssLayers.htt in the CS4 Update file that i downloaded. i completed the remaining steps in the installation.
    however, i went back and replaced the new CssLayers.htt that i donwloaded with my original CssLayers.htt that i had saved as old_CssLayers.htt and the problem appears to have gone away.
    my question now is how do i add the HTML Enhanced Common Library to my current Fireworks CS4 which is 10.0.3.011 ??
    thanks

  • GetData(): rows has no properties

    Hello,
    I've got the following code:
    function Update(id) {
    var observer = new Object;
    var rows = null;
    var chat = new
    Spry.Data.XMLDataSet("/xmldataset.php?liste=x&id=" + id,
    "/data/field", {useCache:false});
    observer.onDataChanged = function(dataSet, data) {
    rows = chat.getData();
    chat.addObserver(observer);
    chat.loadData();
    for (i = 0; i < rows.length; i++) {
    document.GetElementById('xyz').innerHtml += '<span>' +
    rows
    ['field'] + '</span><br />';
    but I alway get the error:
    rows has no properties (for (i = 0; i < rows.length;
    i++)). What wrong? Thanks for your help

    I was having problems with this and I need to add an observer
    to the data set to call getData once the data is loaded. Try this:
    var chat = null;
    var rows = null;
    function Update(id)
    chat = new
    Spry.Data.XMLDataSet("/xmldataset.php?liste=x&id=" + id,
    "/data/field", {useCache:false});
    chat.addObserver(isDataLoaded);
    chat.loadData();
    function isDataLoaded(notificationType, dataSet, data)
    if (notificationType == 'onPostLoad')
    rows = chat.getData();
    showData();
    else if (notificationType == 'onLoadError')
    alert('Error loading data.');
    function showData()
    for (i=0;i<rows.length;i++)
    document.GetElementById('xyz').innerHtml += '<span>' +
    rows
    .field + '</span><br />';

Maybe you are looking for

  • String is not null forever?

    String a = ""; String b = new String(); a==null? false b==null? false why?

  • Linking between pages in same article

    I'm making a report that contains only one article, that will scroll horizontally. I want to make a table of contents. Now I'm wondering what the best way is to do this. I can use the "go to page" or "navto", but if I would insert new pages before th

  • Final Cut Pro 10.1.3 - Choose another SAN location

    I have just upgraded to 10.1.3 and Final Cut Pro still cannot update ALL my projects and events that are in the Old Final Cut Projects and Events on my 2T My Passport external HD. I get a message that this location - My Passport - is not a valid and

  • To schedule a database back-up

    Hi All, I am a D2k Developer and now to take a database backup i am using the following process I create a button and write some code like HOST('EXP ' || vUserId || '/' || vPassward || ' FILE=' || DIR_NAME || FILE_NAME || ' LOG=' || DIR_NAME || vFile

  • Error Code -10810.  What is that all about?

    I have been receiving a window with all applications saying that I cannot run the app and has a error code -10810 after the computer has been on for more than a few hours. I need to restart the entire Mac Book Pro to get the apps to work. I am curren