Simple (i think...) actionscript question.

Hi....
I'm updating my site, and i have a preloader for every
section. I need the preloaders, but i only need them once, after
the section is loaded there is no need to wait for the preloader
effect.
So i tried to add this code at the beginning of every
preloader FX:
if (framesLoaded > 859)
gotoAndPlay(860);
} else play();
But it's not working :-(
Can anyone help me on this?

hi dzedward
i tryed this:
loadVariablesNum("counter/counter2.php", "Counter", "GET");
//Counter is the moviclip where the variables will be stored
i think...
and know i want the variable value from the php file to be
displayed in a dynamic textfield:
Counter.counterTextfield = Counter.count;
//count is the php variable
but this is not working :-(

Similar Messages

  • Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.   When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and

    Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.
    When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and last name).
    I changed the computer name in Preferences/Sharing to a new name and Preferences/Accounts to just be Mike. I can right click on my account name, choose advanced, and see that everything looks right.
    However, If I do a scan of my network with my iPhone using the free version of IP Scanner, it lists my computer as First-Lasts-MacBook-Pro! And it lists the user as First-Last.
    So even though another Mac just sees my new computer name, and my home folder is Mike, somewhere in the system the original setup with my full name is still stored. And it's available on a network scan. So my full name might show up at a coffee shop.
    Can I fully change the name without doing a complete re-install of Lion and all my apps?

    One thought... you said the iPhone displayed your computer's old name? I think that you must have used the iPhone with this computer before you changed the name. So no one else's iPhone should display your full name unless that iPhone had previously connected to your Mac. For example, I did this exact same change, and I use the Keynote Remote app to connect with my MacBook Pro. It would no longer link with my MacBook Pro under the old name, and I found that I had to unlink and then create a new link under the new name. So the answer to your question is, there is nothing you need to do on the Mac, but rather the phone, and no other phone will display your full name.

  • I've just bought an ipod touch. I cannot get beyond the question asking me for a network name. I don't have a mobile telephone which I think this question is referring to. All I want from an ipod is to listen to music. What should I do?

    I've just bought an ipod touch but I cannot get beyond the question asking me for a network name. I don't have a mobile telephone which I think this question is referring to. All I want from an ipod is to listen to music. What should I do?

    You have to activate a new iPod by either setting it up via wifi network that has an internet connection on to connect to a computer that has iTunes and an internet connection.
    You can go to an Apple store or or to a friend's house if necessary

  • Simple, funny but annoying question, putting a pixel

    Maybe this could be simple, funny but annoying question.
    How do you put a pixel or draw a pixel?
    Is there a method to draw a pixel directly on screen in j2SDK API?

    This is a very open ended question, do you want to draw a pixel in an image or just draw a shape on the screen?
    If you want to edit single pixels at a time then the best option is to create a BufferedImage and use the WritableRaster to edit the pixels you want by using setPixel().
    Something like the following:
    BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    WritableRaster raster = img.getRaseter();
    raster.setPixel(x_coord, y_coord, new int[]{R_val, G_val, B_val});This image can then be displayed by putting it in a JLabel (there are many other techniques but I find this the easiest method).
    JLabel l = new JLabel(new ImageIcon(img));
    JFrame jf = new JFrame();
    jf.setContentPane(l);
    jf.pack();Alternatively, you can draw shapes by using Graphics or Graphics2D objects
    e.g.
    public class MyPanel extends JPanel
      public void paintComponent(Graphics2D g)
         super.paintComponent(g);
         g.drawLine(x1,y1,x2,y2);
    }Hope this helps,
    Stef

  • Image actionscript question

    I have created an new Image using actionscript
    var img:Image = new Image();
    img.source = images[imageViewer.horizontalScrollPosition].source;
    img.maintainAspectRatio = true;
    img.scaleContent = true;
    img.autoLoad = true;
    I am trying to find out how to create a Fade effect when the image createCompleted, simular to the completeEffect in MXML. Anyone have a simple example. I would really appreciate it....
    Thanks

    Ok I have it working now with one exception. If the images are not all the same size then I can't seem to center them in my imgContainer container. I need to be able to do something like img.horizontalCenter=0;  and img.verticalCenter=0; but Flex does not recognize this.
    Working example www.murphysmusicoftexas.com
    Please let me know what you think?
    img = new Image;
    img.setStyle("showEffect",effects)
    img.addEventListener(Event.COMPLETE,onImageLoadComplete);
    img.source = images[imageViewer.horizontalScrollPosition].source;
    img.maintainAspectRatio = true;
    img.scaleContent = true;
    img.autoLoad = true;
    img.visible = false;
    img.width = this.width;
    img.height = this.height;
    img.horizontalCenter = 0;
    img.verticalCenter = 0;
    Example
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"
    title="Our Store"
    width="720" height="460"
    horizontalAlign="center"
    verticalAlign="top"
    horizontalScrollPolicy="off"
    verticalScrollPolicy="off"
    creationComplete="imageService.send()" >
    <mx:Script>
            <![CDATA[
            import mx.events.EffectEvent;
            import mx.events.FlexEvent;
            import mx.controls.Image;
    import mx.events.SliderEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
    [Bindable]
    private var effectTimer:int;
    [Bindable]
    private var moveStartDelay:int;
    [Bindable]
    private var moveXFrom:int;
    [Bindable]
    private var moveXTo:int;
    [Bindable]
    private var moveYFrom:int;
    [Bindable]
    private var moveYTo:int;
    [Bindable]
    private var moveDuration:int;
    [Bindable]
    private var fadeStartDelay:int;
    [Bindable]
    private var fadeDuration:int;
    [Bindable]
    private var metadata:ArrayCollection;
    [Bindable]
    private var images:ArrayCollection;
    [Bindable]
    private var currentSlide:Object;
    private var timer:Timer;
    private var img:Image;
    private function resultHandler(event:ResultEvent):void {
    metadata = event.result.root.metadata.control;
    this.effectTimer = metadata.getItemAt(0).effectTimer.valueOf();
    this.moveStartDelay =  metadata.getItemAt(0).moveStartDelay.valueOf();
    this.moveXFrom =  metadata.getItemAt(0).moveXFrom.valueOf();
    this.moveXTo = metadata.getItemAt(0).moveXTo.valueOf();
    this.moveYFrom = metadata.getItemAt(0).moveYFrom.valueOf();
    this.moveYTo = metadata.getItemAt(0).moveYTo.valueOf();
    this.moveDuration = metadata.getItemAt(0).moveDuration.valueOf();
    this.fadeStartDelay = metadata.getItemAt(1).fadeStartDelay.valueOf();
    this.fadeDuration = metadata.getItemAt(1).fadeDuration.valueOf();
    this.width = metadata.getItemAt(2).width.valueOf();
    this.height = metadata.getItemAt(2).height.valueOf();
    images = event.result.root.images.image;
    init();
    private function init():void {
    timer = new Timer(effectTimer);
    timer.addEventListener(TimerEvent.TIMER, onTimer);
    firstImage();
    startTimer();
    private function onTimer(e:TimerEvent):void {
    nextImage();
    private function startTimer():void {
    timer.start();
    private function stopTimer():void {
    timer.reset();
    private function mouseOver():void {
    timer.stop();
    private function mouseOut():void {
    timer.start();
    private function firstImage():void {
    img = new Image;
    img.setStyle("showEffect",effects)
    img.addEventListener(Event.COMPLETE,onImageLoadComplete);
    img.source = images[imageViewer.horizontalScrollPosition].source;
    img.maintainAspectRatio = true;
    img.scaleContent = true;
    img.autoLoad = true;
    img.visible = false;
    img.width = this.width;
    img.height = this.height;
    imgContainer.addChild(img);
    private function prevImage():void {
    var pos:int = imageViewer.horizontalScrollPosition-1;
    var min:int = 0;
    var value:int = Math.max(min, pos);
    imageViewer.horizontalScrollPosition = value;
    img = new Image;
    img.setStyle("showEffect",effects)
    img.addEventListener(Event.COMPLETE,onImageLoadComplete);
    img.source = images[imageViewer.horizontalScrollPosition].source;
    img.maintainAspectRatio = true;
    img.scaleContent = true;
    img.autoLoad = true;
    img.visible = false;
    img.width = this.width;
    img.height = this.height;
    imgContainer.addChild(img);
    if(imgContainer.numChildren > 2){
    imgContainer.removeChildAt(0);
    private function nextImage():void {
    var pos:int = imageViewer.horizontalScrollPosition+1;
    var max:int = imageViewer.maxHorizontalScrollPosition;
    var value:int = Math.min(pos, max);
    if(value >= max){
    value = 1;
    imageViewer.horizontalScrollPosition = value;
    img = new Image;
    img.setStyle("showEffect",effects)
    img.addEventListener(Event.COMPLETE,onImageLoadComplete);
    img.source = images[imageViewer.horizontalScrollPosition].source;
    img.maintainAspectRatio = true;
    img.scaleContent = true;
    img.autoLoad = true;
    img.visible = false;
    img.width = this.width;
    img.height = this.height;
    imgContainer.addChild(img);
    if(imgContainer.numChildren > 2){
    imgContainer.removeChildAt(0);
    private function onImageLoadComplete(event:Event):void {
    Image(event.currentTarget).visible = true;
    Image(event.currentTarget).useHandCursor = true;
            ]]>
        </mx:Script>
    <mx:Parallel id="effects" >
    <!--<mx:Move  id="mode" startDelay="{moveStartDelay}" xFrom="{moveXFrom}" xTo="{moveXTo}" yFrom="{moveYFrom}" yTo="{moveYTo}" duration="{moveDuration}" />-->
    <mx:Fade  id="fade" startDelay="{fadeStartDelay}" duration="{fadeDuration}"/>
    </mx:Parallel>
        <mx:HTTPService id="imageService" url="components/store/images.xml" result="resultHandler(event)" showBusyCursor="true" />
        <mx:Canvas width="{this.width}" height="{this.height}" >
    <mx:Canvas id="imgContainer" width="{this.width}" height="{this.height}" verticalCenter="0" horizontalCenter="0"  horizontalScrollPolicy="off" verticalScrollPolicy="off"  mouseOver="mouseOver()" mouseOut="mouseOut()"  buttonMode="true" useHandCursor="true">
    </mx:Canvas>
    </mx:Canvas>
    <mx:HorizontalList
    id="imageViewer"
    dataProvider="{images}"
    visible="false"/>
    </mx:Panel>
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
    <metadata>
    <control effectTimer="6000" moveStartDelay="0" moveXFrom="2000" moveXTo="0" moveYFrom="0" moveYTo="0" moveDuration="3000"/>
    <control fadeStartDelay="0" fadeDuration="3000"/>
    <control width="720" height="488"/>
    </metadata>
    <images>
    <image title="" source="components/store/images/DSC_0006.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0007.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0008.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0009.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0010.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0011.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0012.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0015.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0016.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0024.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0026.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0028.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0030.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0033.jpg"  description=""/>
    <image title="" source="components/store/images/DSC_0034.jpg"  description=""/>
    </images>
    </root>

  • Very simple XSLT string replacing question

    Hi,
    This is a really simple question for you guys, but it took me long, and i still couldn't solve it.
    I just want to remove all spaces from a node inside an XML file.
    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <root insertedtime="2008-05-01T14:03:00.000+10:00" pkid="23421">
       <books>
          <book type='fiction'>
             <author>John Smith</author>
             <title>Book title</title>
             <year>2 0  0 8</year>
          </book>
       </books>
    </root>in the 'year' node, the value should not contain any spaces, that's the reason why i need to remove spaces using XSLT. Apart from removing space, i also need to make sure that the 'year' node has a non-empty value. Here's the XSLT:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        <xsl:strip-space elements="*"/>
        <xsl:template match="@*|node()">
            <xsl:copy>
                <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
        </xsl:template>
        <xsl:template match="//books/book[@type='fiction']">
            <xsl:copy>
                <xsl:apply-templates select="@*"/>
                <xsl:attribute name="id">101</xsl:attribute>
                <xsl:call-template name="emptyCheck">
                    <xsl:with-param name="val" select="year"/>
                    <xsl:with-param name="type" select="@type"/>
                    <xsl:with-param name="copy" select="'true'"/>
                </xsl:call-template>
                <xsl:value-of select="translate(year, ' ', '')"/>
            </xsl:copy>
        </xsl:template>
        <!-- emptyCheck checks if a string is an empty string -->
        <xsl:template name="emptyCheck">
            <xsl:param name="val"/>
            <xsl:param name="type"/>
            <xsl:param name="copy"/>
            <xsl:if test="boolean($copy)">
                <xsl:apply-templates select="node()"/>
            </xsl:if>
            <xsl:if test="string-length($val) = 0 ">
                <exception description="Type {$type} value cannot be empty"/>
            </xsl:if>
        </xsl:template>
    </xsl:stylesheet>The 'emptyCheck' function works fine, but the space replacing is not working, this is the result after the transform:
    <?xml version="1.0" encoding="utf-8"?>
    <root insertedtime="2008-05-01T14:03:00.000+10:00" pkid="23421">
       <books>
          <book type="fiction" id="101">
             <author>John Smith</author>
             <title>Book title</title>
             <year>2 0 0 8</year>2008</book>
       </books>
    </root>The spaced year value is still there, the no-space year is added outside the 'year' tags'
    anyone can help me, your help is extremely appreciated!
    Thanks!

    You should add a template for 'year' :<xsl:template match="year">
    <year><xsl:value-of select="translate(.,' ','')"/></year>
    </xsl:template>and remove the translate call in the 'book' template.
    It would be better to add a 'priority' attribute at each template so it would be explicit which template to use because match="@*|node()" could be interpreted by another transform engine as the unique template to be used !

  • Simple Bank Balance Sheet Question

    I have a simple bank balance spreadsheet.
    The headers include the following:
    Date Amount Category Cleared Balance
    The category is a pop-up list, cleared is a check list
    What formula do I use to add the total amount spent in a category, for the purpose of making a spending graph? I guess I need to "look up" the "kind" in the column and then get a sum of the amount, but I am not sure how to do this. I am sure it is simple.

    This method may not be particularly elegant but I have been using it successfully for years.
    Okay, let's assume for this example that you have Columns A through E with the headers you specified, Date, Amount, Category, Cleared, and Balance. Further, you have a pop-up menu on the cells of the Category menu. Again for this example let's assume the pop-up values are "Utilities", "Food", "Clothing", and "Other". Now you need to establish 4 columns (one for each of the menu items). Let's use columns G through J. In the header of column G, type Utilities. In the header of column H, type Food, and so forth.
    Now in cell G2 enter the following formula =IF($C2=G$1,$B2,)
    Copy the formula into cells H2 through J2 (fill right) and then copy the formula from cells G2 through J2 (fill down) down the spreadsheet to as many rows as you think you will have entries.
    What this formula does is examine the contents of the Category cell and compares it to the text in the header of the column. If they match the $ contents of Amount are copied to the new cell. So, when you get done with this you have 4 columns of mostly zeros except where the categories match. Then all you have to do is at the bottom of each of the 4 columns (possibly in the footer), sum the column and you will have the individual sums for each category.
    I hope this wasn't too confusing. There may be a more elegant way and if someone knows it maybe they will post it and I'll learn too.

  • A simple, but slightly stupid, question...

    Hi all
    How do I copy from my IPOD to my computer hard drive.
    Thought it was just a drag and drop, but that doesn't seem to be doing the trick.
    Thanks for the help.

    Remember there are no stupid questions, only stupid answers.
    I use Yamipod to do this. There are other programs but I think Yamipod is best
    http://www.yamipod.com/main/modules/home/

  • Actionscript question-triggering MC event with other MC

    hello, i have a flash file of a scene. part of scene shows a lake. in the water is a faint outline of a fish swimming back and forth, sort of ghosted in the water. i want to click on it and have a fish jump out of the water. the ghosted fish and the jumping fish are 2 separate movie clips that have been independently animated. when I combine them into the scene using actionscript to trigger the jump, it doesn't work. very new to AS but i've learned enough to understand that the script should have an if/then command or a function saying that when mouse is rolled over and clicked the jump takes place. does the ghosted fish and jumping fish have to be in the same movie clip on separate layers? if they can be separate movie clips i would prefer that. what is the basis of the script that tells flash that when I click the ghosted fish it will trigger the jump? attached here is a link to my swf. it shows the animation of the 2 MC's independent of each other for discussion purposes. also deer is a button.
    just thought of other question. can a shape tween work with symbols? I have a cloud art that I want to tween into a thunderhead created in Illustrator and imported that I would like to shape tween but isn't working. do shape tweens only work with flash generated artwork?
    www.coroflot.com/public/individual_file.asp?from_url=true&individual_id=183107&portfolio_i d=2601533&is_featured=%2D1& 
    thanks!!

    Whats an easy way to rename files in MC?
    Pressing F6 fills the path to directory in opposing pane. I would like it to fill the selected file name instead, so I could change a few letters
    But of course default behaviour is required more often...
    Is it possible to make a customized F2 user menu entry that would only rename files?

  • Basic Actionscript question

    Forgive me, I'm really new to this.
    Ok, so I'm wanting to have ads radomly play before people watch a video on my site.Is there a way to write the script for this and place it in the xml or do I have to something differently.
    I already have the video up on our site. So I'm just not sure how I "connect" the actionscript and xml that way it plays the commercial before the video.
    Do I have to build a new player and everything to do this? I've never built a player before, so if I don't have to, I'd rather not. Thanks.

    This is not a basic question but rather extensive topic.
    Yes, there are ways to connect anything to XMLs. But you have to write your own application/player that will contain the logic to do that.
    Also, there are open source player out there that may do what you ask.

  • A (hopefully) simple video chat connection question

    Hey all. This forum is quite helpful - thanks.
    My question is:
    I am in Texas, my boss is in Montana. We both have 10.4.3 and supposedly broadband connections. We have been unable to make a video iChat connection. Each of us, independently, can connect with the test user, appleu3test03, but we cannot connect with each other. We get what seems to be a standard error message, that the invitation to chat was declined or not responded to (when we know that is not in fact the case).
    Since we can connect with the test user, is it safe to assume that our problem is not related to routers and firewalls and NAT and ports, or should I still endeavor to talk him through configuring his router up in Montana?
    Thanks again for the help. I hate to make another post on a common problem, but I could not find an answer to this specific question on the forum.
    PB 15"   Mac OS X (10.4.3)  

    An Update:
    Tony was kind enough to help us diagnose. Both my boss and I could independently video chat with Tony. Also, with Tony hosting, we participated in a three-way video chat. All seemed great. However, my boss and I still cannot video chat with each other, no matter who initiates the chat.
    Tony suggested a router issue; the firmware on my end is up-to-date. We're checking with the Boss's system, but as his router is new I'm not hopeful that a firmware update will fix things. I would think that if our problem had to do with firewalls or ports or the like we would not have been able to do any chatting, but I do not know.
    So, if anyone has any ideas I'd appreciate them. Our current theory is bandwidth-related. Both the boss and I can video chat with the test and with Tony. Both the test and Tony have large bandwidth on their respective ends. Assuming both my boss and I have marginal bandwidth, would it be possible that when conferencing with a large-bandwidth person everything works, but the marginal-to-marginal conference cannot cut it?
    Thanks again.
    Rob

  • Simple Maxtor External Drive Question

    Thanks in advance for any advice anyone can share.
    I just bought and setup a Maxtor One Touch 4 Plus External Drive. I have it all set up to work with TM and everything seems to be fine.
    My question is -- should I leave the drive on 24/7 or shut it off? My Mac is normally off all day while I'm at work. I don't want to burn the drive out, but I don't really see an on/off switch on it...
    Any ideas?

    I have one left over from my PC days and was wondering if I could use it with Time Machine.
    Yes, you can, as long as you partition it with GUID or APM partition type. Instructions for them are in several places, for example
    http://www.macobserver.com/tip/2006/08/16.1.shtml - either USB or firewire drive will work for Time Machine (when partitioning, give it a short simple name with no spaces, special characters etc).

  • Simple and maybe stupid question when you have two instances

    Just a simple question, I was just wondering how to create user account on the local machine when you run two instances of oracle.For example all the commands I use to start and stop the database use the variables stored in the oracle user bash_profile.
    But do I have to create another user to manage the other instance because it should use another bash_profile with a different oracle_sid?

    Linux and Unix installations of Oracle are kind-a funny. At the end of te installation is a request to run 'root.sh'. That does a few things: set up permissions and ownerships correctly; copy some scripts into the specified directory (default /usr/local/bin).
    If you were to look at /usr/local/bin, you would notice a few files, typically with names "dbhome.sh, oraenv.sh, oraenv.csh". These are designed to set up the PATH, the ORACLE_HOME and the ORACLE_SID correctly, based on user response and information in the oratab file - which is /etc/oratab in Linux. (I always ensure there to link oraenv.sh as oraenv)
    Longer story shortened:
    Assume you use(d) dbca to create the instances. Then you can source the oraenv.sh to set up the environment:
    pop2@fuzzy:~> . oraenv.sh
    [pop2]? orcl
    pop2@fuzzy:~> env | grep -i ora
    ORACLE_SID=orcl
    PATH=/opt/oracle/product/10.2.0/server/bin:/home/pop2/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
    ORACLE_HOME=/opt/oracle/product/10.2.0/serverThat way you can switch to any known environment simply by sourcing oraenv and telling it which SID you want. It extracts the info from /etc/oratab.
    You can tell oraenv to shut up by setting ORAENV_ASK to 'NO' and setting the ORACLE_SID variable before sourcing oraenv. This is useful in .profile - for example my /etc/profile contains the followig:
    export ORACLE_SID=XE
    ORAENV_ASK=NO
    . oraenv

  • Simple dataProvider for dataGrid question

    I have a question about accessing some values from an
    xmllist. I have a piece of xml that is returned from an httpservice
    that looks similar to this.
    <topnode>
    <list>
    <item>value</item>
    <item>value2</item>
    <item>value3</item>
    </list>
    </topnode>
    I'm interested in creating a datagrid to display the values
    of each list.item, so: value, value2, value3. I'm not sure what my
    data provider should look like in this case since there are no
    nodes underneath the repeating node.
    I can create an xml list like:
    myList = event.result.list.item
    but this gives me an xmllist with values of [0].item.value,
    [1].item.value etc. I'm just unsure how to setup my datagrid to
    extract values from the item node.
    I think if my xml looked like the following I could access it
    like:
    (in my httpservice result handler)
    myList = event.result as XML
    (the datagrid provider would look like)
    dataProvider={myList.item}
    (and the column would have an entry like this)
    dataField="name"
    <topnode>
    <list>
    <item>
    <name>bob</name>
    </item>
    <item>
    <name>stan</name>
    </item>
    <item>
    <name>bill</name>
    </item>
    </list>
    </topnode>
    But in my case, the value I'm extracting is the value set at
    the top level node that repeats. Maybe I'm missing something
    obvious here.
    Any thoughts?

    Thanks again for responding. I've tried that, but when I do
    all the values show up in the first row of the datagrid. Which
    looks like this:
    <item>value</item>
    <item>value2</item>
    <item>value3</item>
    Perhaps I'm making an incorrect assumption below:
    [Bindable]
    public var myList:XMLList;
    myList = event.result.list;
    <mx:DataGrid dataProvider="{myList}" width="100%">
    <mx:columns>
    <mx:DataGridColumn headerText="Names"
    dataField="item"/>
    </mx:columns>
    </mx:DataGrid>
    xml from server:
    <topnode>
    <list>
    <item>value</item>
    <item>value2</item>
    <item>value3</item>
    </list>
    </topnode>

  • Simple Java Network Programming Question

    import java.io.*;
    import java.net.*;
    public class ConsumerClient
         private static InetAddress host;
         private static final int PORT = 1234;
         private static Socket link;
         private static Resource item;
         private static BufferedReader in;
         private static PrintWriter out;
         private static BufferedReader keyboard;
         public static void main(String[] args)     throws IOException
              try
                   host = InetAddress.getLocalHost();
                   link = new Socket(host, PORT);
                   in = new BufferedReader(new InputStreamReader(link.getInputStream()));
                   out = new PrintWriter(link.getOutputStream(),true);
                   keyboard = new BufferedReader(new InputStreamReader(System.in));
                   String message, response;
                   do
                        System.out.print("Enter 1 for resource or 0 to quit: ");
                        message = keyboard.readLine();
         if(message.equals("1")**
                             item.takeOne();**
                        //Send message to server on
                        //the socket's output stream...
                        out.println(message);
                        //Accept response from server on
                        //the socket's input stream...
                        response = in.readLine();
                        //Display server's response to user...
                        System.out.println(response);
                   }while (!message.equals("0"));
              catch(UnknownHostException uhEx)
                   System.out.println("\nHost ID not found!\n");
              catch(IOException ioEx)
                   ioEx.printStackTrace();
              finally
                   try
                        if (link!=null)
                             System.out.println("Closing down connection...");
                             link.close();
                   catch(IOException ioEx)
                        ioEx.printStackTrace();
    }

    georgemc wrote:
    BlueNo yel-- Auuuuuuuugh!
    But the real question is: What is the air-speed velocity of an unladen swallow?

Maybe you are looking for

  • Do we need to update snpsagent.conf File and Windows Environmental variable in ERPI 11.1.2.2

    In ERPI 11.1.1.3 Admin guide its mentioned we need to update the below , do we need to do the same in 11.1.2.2 version also Updating the snpsagent.conf File ä To update the snpsagent.conf file: 1 Navigate to the folder where Oracle Data Integrator is

  • CIF Post Processing

    Dear All, In the CIF post processing, either via CIF Cockpit or via other post processing transactions, in APO or ECC, we need to go into each post processing record to find the reason for the post processing record being created and to check the sta

  • Could not open key error

    I am having a problem installing iTunes 7. I get to the final stages of the upgrade then I get an error message that says "Could not open key: HKEYLOCALMACHINE\Software\Classes\QuickTimePlayerLib.QuickTimePlayerApp\CLSID. Verify that you have suffici

  • My canon T5i raw photos won't load into PS CS4 on my Mac with Yosemite

    I Recently got a new Canon T5i. I also had to get a new hard drive for my Mac, it came with Yosemeti on it.  I am unable to open RAW photos in my PS CS4.  I downloaded the 7.4 update but it still won't work.  Any suggestions?

  • Why won't my apps update. Tried five times already.

    II've tried five times to update my apps but they won't no matter what I do.