Code working in HTML doc but doesn't in Edge ?

So My Jquery code works out of Edge but doesn't in Edge What I am trying to do is move the Background IMG when the mouse moves
Code:
var tempX = 0;
var tempY = 0;
var oldTempX = 0;
var oldTempY = 0;
var IE =  !!(window.attachEvent&&!window.opera);
function shiftImageXY(e) {
  if (IE) {
    tempX = event.clientX + document.body.scrollLeft;
    tempY = event.clientY + document.body.scrollTop;
  } else { 
    tempX = e.pageX;
    tempY = e.pageY;
  img = document.getElementById('#Stage_background');
  speedFactorDamping = 0.1;
  xdir = (tempX - oldTempX) ;
  ydir = (tempY - oldTempY) ;
  parallexX = -xdir*speedFactorDamping;
  parallexY = -ydir*speedFactorDamping;
  currX = parseInt(img.offsetLeft);
  currY = parseInt(img.offsetTop);
  img.style.left = (currX + parallexX) + 'px';
  img.style.top = (currY + parallexY) + 'px';
  oldTempX = tempX;
  oldTempY = tempY;
  return true;
document.onmousemove = shiftImageXY;
any idea thanks in advance
here is the fiddle: http://jsfiddle.net/NjVg9/

you are Coding it in wrong way !!
Edge Animate use jquery differently !!
you should do it this way :
in Stage > compositionReady :
sym.$("image").css({"position":"absolute"})
var tempX = 0;
var tempY = 0;
var oldTempX = 0;
var oldTempY = 0;
var IE =  !!(window.attachEvent&&!window.opera);
sym.shiftImageXY = function(e){
  if (IE) {
    tempX = event.clientX + $("body").scrollLeft()
    tempY = event.clientY + $("body").scrollTop()
  } else { 
    tempX = e.pageX;
    tempY = e.pageY;
  img = sym.$("image");
  speedFactorDamping = 0.1; // change this for faster movement
  xdir = -(tempX - oldTempX) ;
  ydir = -(tempY - oldTempY) ;
  parallexX = xdir*speedFactorDamping;
  parallexY = ydir*speedFactorDamping;
  currX = parseInt(img.offset().left);
  currY = parseInt(img.offset().top);
  img.css({"left":(currX + parallexX) + 'px'})
  img.css({"top": (currY + parallexY) + 'px'})
  oldTempX = tempX;
  oldTempY = tempY;
  return true;
in Stage > mousemove :
sym.getComposition().getStage().shiftImageXY(e)
Zaxist

Similar Messages

  • Code works in html not in jsp y

    the bello code works in html but not in jsp y
    <img src="images/logo.gif">this code is well running in html
    when i saved it as .jsp
    it doesn't works ie the image is not displaying y. could u help me

    I tried it works fine in both cases you just check out your src path.

  • ISight works fine in iChat but doesn't show up in Yahoo Messenger nor Skype

    Hello, I was given an iSight webcam that works fine in iChat, but doesn't show up in Yahoo Messenger nor Skype, which are the IM programs I use…
    I search on the Apple Support site a driver to download, but there is only an updater (iSight Updater 1.0.3) which doesn't run on Tiger... Any help please ?? Thx

    You probably don't need it, but the Tiger "iSight Updater" is located in the \System\Library\CoreServices\iSight Updaters\iSight Updater folder.
    (You must look manually because SpotLight does not find it.)
    Double click the "iSight Updater" there to run the Firmware update manually.
    Some options for other readers:
    http://discussions.apple.com/thread.jspa?messageID=10084429&#10084429
    iSight "Product Revision Level" in your Mac's System Profiler shows the installed firmware version for external (Firewire) iSight.
    Firmware 1.0.3 Update offers only "Improved audio performance". It does NOT enable audio or any other function, so that is NOT your problem with Skype or YMM. Search or post in their dedicated help/discussions for best and quickest help with those specific, non-Apple apps.
    Regardless of whether System Profiler utility shows Firewire iSight's Firmware (Product) level of 1.0.2 or 1.0.3, external iSight ought to work. You can test your external iSight using the suggestions on this linked page:
      http://www.ralphjohns.co.uk/EZJim/EZJimpage4.html
    EZ Jim
    “I may receive some form of compensation, financial or otherwise, from my recommendation or link."
    Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.2)  MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.2)
    LED Cinema Display  G4 PowerBook 1.67GHz (10.4.11)  iBookSE 366MHz (10.3.9)  External iSight

  • Firefox crashing AND the scroll feature on my PC finger pad works with other browsers, but doesn't work on Firefox, which just happened since I updated. FRUSTRATING!

    Since I updated, Firefox is crashing daily. The finger scroll feature on my PC works with other browsers, but doesn't work on Firefox. It is also very, very slow, but other browsers aren't. I can't use it anymore until it's fixed.

    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)
    *http://kb.mozillazine.org/about:config

  • My HTML code works fine in IE8 but pages "jump" slightly to the right and left in Firefox

    I have created a website that looks and works fine in IE8 but in Firefox some of the pages jump a couple of pixels to the left. I have tried to debug it but cannot find any coding errors.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Can someone explain why one code works and the other one doesn't?

    Hi,
    I have been doing a little work with XML today and I wrote the following code which did not function properly. In short, it was as if there were elements in the NodeList that disappeared after the initial call to NodeList.getElementsByTagName("span"); The code completely drops through the for loop when I make a call to getTextContent, even though it is not a controlling variable and it does not throw an exception! I'm befuddled. The second portion of code works. For what it is worth, tidy is the HTML cleaner that's been ported to java (JTidy) and parseDOM(InputStream, OutputStream) is supposed to return a Document, which it does! So why I have to call a DocumentBuilderFactory and then get a DocumentBuilder is beyond me. If I don't call Node.getTextContent() the list is processed properly and calls to toString() indicate that the class nodes are in the list! Any help would be appreciated!
    import com.boeing.ict.pdemo.io.NullOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.util.Properties;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import org.w3c.tidy.Tidy;
    public class HTMLDocumentProcessor {
        // class fields
        private Properties tidyProperties   = null;
        private final String tidyConfigFile =
                "com/boeing/ict/pdemo/resources/TidyConfiguration.properties";
         * Creates a new instance of HTMLDocumentProcessor
        public HTMLDocumentProcessor() {
            initComponents();
        private void initComponents() {
            try {
                tidyProperties = new Properties();
                tidyProperties.load(ClassLoader.getSystemResourceAsStream(tidyConfigFile));
            } catch (IOException ignore) {
        public Document cleanPage(InputStream docStream) throws IOException {
            Document doc = null;
            NullOutputStream nos = new NullOutputStream(); // A NullOutputStream is
                                                           // is used to keep all the
                                                           // error output from printing
            // check to see if we were successful at loading properties
            if (tidyProperties.isEmpty()) {
                System.err.println("Unable to load configuration file for Tidy");
                System.err.println("Proceeding with default configuration");
            Tidy tidy = new Tidy();
            // set some local, non-destructive settings
            tidy.setQuiet(true);
            tidy.setErrout(new PrintWriter(nos));
            tidy.setConfigurationFromProps(tidyProperties);
            doc = tidy.parseDOM(docStream, nos);
            // assuming everything has gone ok, we return the root element
            return doc;
        public static void main(String[] args) {
            try {
                String fileName = "C:/tmp/metars-search.htm";
                File htmlFile = new File(fileName);
                if (!htmlFile.exists()) {
                    System.err.println("File : " + fileName + " does not exist for reading");
                    System.exit(0);
                FileInputStream fis = new FileInputStream(htmlFile);
                HTMLDocumentProcessor processor = new HTMLDocumentProcessor();
                Document doc = processor.cleanPage(fis);
                if (doc == null) {
                   System.out.println("cleanPage(InputStream) returned null Document");
                   System.exit(0);
                NodeList spanTags = doc.getElementsByTagName("span");
                int numSpanTags = spanTags.getLength();
                System.out.println("Number of <span> tags = " + numSpanTags);
                for (int i = 0; i < numSpanTags; i++) { // Loop falls through here!
                    System.out.println("Span tag (" + i + ") = " +
                                        spanTags.item(i).getTextContent());
            } catch (Exception e) {
                e.printStackTrace();
            } finally {
                System.exit(0);
    }This segment of code works!
    import com.boeing.ict.pdemo.io.NullOutputStream;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.util.Properties;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import org.w3c.tidy.Tidy;
    import org.xml.sax.SAXException;
    * Class designed to remove specific notam entries from the
    * HTML document returned in a request. The document will contain
    * either formatted (HTML with CSS) or raw (HTML, pre tags). The
    * Formatted HTML will extract the paragraph body information from the
    * document in it's formatted state. The raw format will extract data
    * as simple lines of text.
    * @author John M. Resler (Capt. USAF, Ret.)<br/>
    * Class : NotamExtractor<br/>
    * Compiler : Sun J2SE version 1.5.0_06<br/>
    * Date : June 15, 2006<br/>
    * Time : 11:05 AM<br/>
    public class HTMLDocumentProcessor {
        // class fields
        private Properties tidyProperties   = null;
        private final String tidyConfigFile =
                "com/boeing/ict/pdemo/resources/TidyConfiguration.properties";
         * Creates a new instance of HTMLDocumentProcessor
        public HTMLDocumentProcessor() {
            initComponents();
        private void initComponents() {
            try {
                tidyProperties = new Properties();
                tidyProperties.load(ClassLoader.getSystemResourceAsStream(tidyConfigFile));
            } catch (IOException ignore) {
        public Document cleanPage(InputStream docStream) throws IOException {
            Document doc = null;
            NullOutputStream nos = new NullOutputStream(); // A NullOutputStream is
                                                           // is used to keep all the
                                                           // error output from printing
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            // check to see if we were successful at loading properties
            if (tidyProperties.isEmpty()) {
                System.err.println("Unable to load configuration file for Tidy");
                System.err.println("Proceeding with default configuration");
            Tidy tidy = new Tidy();
            // set some local, non-destructive settings
            tidy.setQuiet(true);
            tidy.setErrout(new PrintWriter(nos));
            tidy.setConfigurationFromProps(tidyProperties);
            doc = tidy.parseDOM(docStream, bos);
            DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
            DocumentBuilder docBuilder = null;
            try {
                docBuilder = docFactory.newDocumentBuilder();
            } catch (ParserConfigurationException ex) {
                ex.printStackTrace();
            try {
                doc = docBuilder.parse(new ByteArrayInputStream(bos.toByteArray()));
            } catch (IOException ex) {
                ex.printStackTrace();
            } catch (SAXException ex) {
                ex.printStackTrace();
            // assuming everything has gone ok, we return the root element
            return doc;
        public static void main(String[] args) {
            try {
                String fileName = "C:/tmp/metars-search.htm";
                File htmlFile = new File(fileName);
                if (!htmlFile.exists()) {
                    System.err.println("File : " + fileName + " does not exist for reading");
                    System.exit(0);
                FileInputStream fis = new FileInputStream(htmlFile);
                HTMLDocumentProcessor processor = new HTMLDocumentProcessor();
                Document doc = processor.cleanPage(fis);
                if (doc == null) {
                   System.out.println("cleanPage(InputStream) returned null Document");
                   System.exit(0);
                NodeList spanTags = doc.getElementsByTagName("span");
                int numSpanTags = spanTags.getLength();
                for (int i = 0; i < numSpanTags; i++ ) {
                    System.out.println(spanTags.item(i).getTextContent().trim());
            } catch (Exception e) {
                e.printStackTrace();
            } finally {
                System.exit(0);
    }

    Thank you Dr but the following is true:
    I placed this code in the for loop before I posted the question :
    for (int i = 0; i < numSpanTags; i++) { // Loop falls through here!
          System.out.println("Span tag (" + i + ") = " + spanTags.item(i));
    }And I receive 29 (The correct number) of non-null references to objects (Node objects) in the NodeList.
    When I replace the exact same for loop with this code :
    for (int i = 0; i < numSpanTags; i++) { // Loop falls through here!
          System.out.println("Span tag (" + i + ") = " + spanTags.item(i).getTextContent());
    }Nothing prints. This discussion has never been about "clever means to suppress exceptions" it has been precisely about why a loop that has the
    exact same references, exact same indices prints one time and doesn't print the other and does not throw an exception. If you can answer
    that question then I am interested. I am not interested in pursuing avenues that are incorrect, not understood and most importantly shot from the hip without much thought.

  • Why would code work for an application but not an applet?

    Hey there,
    i'm trying to build a java ftp upload applet. I'm using the enterprisedt ftp class.
    The code works fine when i run it as an application but not when i put it in the applet. The applet has been signed and is running off a plug in. I get no error messages, just nothing happens.
    Would really appreciate some comments.
    regards
    hagen
    the code
    FTPClient ftp = new FTPClient("****");
    ftp.login("user1", "***");
    ftp.put("C:/INSTALL.log","test.log");

    hi
    im a manuel, from argentina
    i would appreciate too much if you can give me that piece of code
    i need for a site, an applet that could read files the visitor chosse from his pc and then upload that files to a server
    is it possible?? you could help me ?
    i think i need to sing my applet alright? how i do this? how it cost??
    if anyone can give my a bit of code, to star�t programming, ill be very happy!
    thanks!
    mi mail: [email protected]

  • Playing mp3 stream works well in Emulator but doesn't play on Device

    I'm facing this problem. I'm using flex && actionscript to play an mp3 stream on the phone.
    Code works great and the sound is played when the app is run in the flash builder emulator.
    However, when i deploy my app on a mobile device (tried several Android phones) everything is good except the stream doesn't play!
    Can you please help me??
    Here's my code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
                        creationComplete="view1_creationCompleteHandler(event)"
                        >
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  import flash.net.*;
                                  import flash.media.*;
                                  private  var req:URLRequest;
                                  private  var context:SoundLoaderContext = new SoundLoaderContext(8000, true);
                                  private   var s:Sound;
                                  private  var channel:SoundChannel = new SoundChannel();
                                  private  function AudioOn():void
                                            req = new URLRequest("http://stream2.srr.ro:8000/;stream.mp3");
                                            s = new Sound(req,context);
                                            channel=s.play();
                                  protected function view1_creationCompleteHandler(event:FlexEvent):void
                                            AudioOn();
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
    </s:View>

    Okay.. First a big thanks!!
    I've resolved the path issues and am now experimenting with formats other than SCORM that will hopefully launch off our LMS (SyberWorks).
    I think I know what a cross domain issue is... it seems pretty self evident, (ie) .htm/.swf files live on a different server domain than video or audio files.
    I think all my files are on the same domain in the zip file. However, are the following paths also an example of a cross domain issue?:
    Z:\orgs\ogslp\courses\2012videotest\videotestinternalsrvr\videotestinternalsrvr.htm
    (this is where I upload, or publish Captivate files)
    http://gslcampus/ogslp/courses/2012videotest/videotestinternalsrvr/videotestinternalsrvr.h tm
    (this is where clients access the training modules via IE & the Syberworks LMS, intranet)
    One more..... when publishing with the Captivate > Internal Server option what path do I input to access the server?
    Z:\orgs\ogslp\courses\2012videotest\videotestinternalsrvr\videotestinternalsrvr.htm
    (backdoor for uploading files)
    or
    http://gslcampus/ogslp/courses/2012videotest/videotestinternalsrvr/videotestinternalsrvr.h tm
    (actual internal, intranet url for accessing courses)
    PS when I upload files the following appears before the Z:
    Computer > SyberWorks (\\sousa)(Z:)
    Any advice would be appreciated - thanks for your time.
    wjf

  • Works with paint method but doesn't with text area

    Hi all,
    I have a code which does simple multiplication like 1x2, 2x2 and so on.
    Why is it that when i try to insert the result of multiplication in a "textarea" i get compilation error( I have tried using without textareas and the multiplication is going on well). I want to familiarize with textareas that's why i am testing this out.
    code without textarea(working just fine):
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Goof extends Applet implements ActionListener
    Label promptNumber;
    Label promptStart;
    Label promptEnd;
    TextField typeNumber;
    TextField typeStart;
    TextField typeEnd;
    int tableNumber;
    int startNumber;
    int endNumber;
    int result;
    String resultString;
    Button enter;
    public void init() {
    promptNumber = new Label ("Enter the number: ");
    add(promptNumber);
    promptStart = new Label ("Enter the start number: ");
    add(promptStart);
    promptEnd = new Label ("Enter the end number: ");
    add(promptEnd);
    typeNumber = new TextField(9);
    add(typeNumber);
    typeStart= new TextField(9);
    add(typeStart);
    typeEnd = new TextField(9);
    add(typeEnd);
    enter = new Button ("Enter");
    add(enter);
    enter.addActionListener(this);
    public void actionPerformed(ActionEvent e) {
      tableNumber = Integer.parseInt(typeNumber.getText());
      startNumber = Integer.parseInt(typeStart.getText());
      endNumber  = Integer.parseInt(typeEnd.getText());
      repaint();     
    public void paint (Graphics g)
         for (int i = startNumber;  i <= endNumber; i++)
              int result = i * tableNumber;     
              String resultString = Integer.toString(tableNumber)
                   + " x " + Integer.toString(i)
                   + " = " + Integer.toString(result);
              g.drawString (resultString, 20, i * 20);
    }code with textarea (bummer..)
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class Aaaaa extends Applet implements ActionListener{
         TextArea output;
          Label promptNumber;
         Label promptStart;
         Label promptEnd;
         TextField typeNumber;
         TextField typeStart;
         TextField typeEnd;
         int tableNumber;
         int startNumber;
         int endNumber;
         int result;
         String resultString;
         String b,c,d,e,f;
         Button enter;
         public void init() {
         promptNumber = new Label ("Enter the number  : ");
         add(promptNumber);
         typeNumber = new TextField (9);
         add(typeNumber);
         promptStart = new Label ("Enter the start of Table : ");
         add(promptStart);
         typeStart = new TextField(9);
         add(typeStart);
         promptEnd = new Label ("Enter the end of Table : ");
         add(promptEnd);
         typeEnd = new TextField(9);
         add(typeEnd);
         enter = new Button("Show Table");
         add(enter);
         enter.addActionListener(this);
         output=new TextArea();
         add(output);
         public void actionPerformed(ActionEvent e) {
         tableNumber = Integer.parseInt(typeNumber.getText());
        startNumber = Integer.parseInt(typeStart.getText());
        endNumber  = Integer.parseInt(typeEnd.getText());
         calculate();
         b=Integer.toString(tableNumber);
         c=Integer.toString(result);
         d=Integer.toString(startNumber);
         e=Integer.toString(endNumber);
         f=Integer.toString(i);
         resultString=""+b + " x " + f+ " = "+ c;
         output.insert(resultString, f*20);
         output.append("The Multiplication Table for " +b+ " from " +d+" till "+e+ " is as follows:");
         repaint();
         //append means insert :)     
         private void calculate ()
         for (int i = startNumber;  i <= endNumber; i++)
              int result = i * tableNumber;     
    }

    the only place ' i ' is used is in your method
    Calculate()... and at that it's inititialized inyour
    for loop, so the scope of ' i ' is with in thatloop,
    so you can not use ' i ' elsewhere...
    on that note... is that the ' i ' that you are
    attempting to use ???
    - MaxxDmg...
    - ' I am not me... 'yup.
    I am not going to pretend that i know....
    i really didn't know that 'i' cannot be used
    elsewhere outside the loop
    honest.hey wait a minute if i can't use i outside the loop then how come this code works?
    public void paint (Graphics g)
         for (int i = startNumber;  i <= endNumber; i++)
              int result = i * tableNumber;     
              String resultString = Integer.toString(tableNumber)
                   + " x " + Integer.toString(i)
                   + " = " + Integer.toString(result);
              g.drawString (resultString, 20, i * 20);
              }

  • Code works in old Joomla but not in plain HTML

    Having trouble with playing a SWF movie on our test site as
    we are moving to a different environment.
    On the main site, in a Joomla environment, this works <
    http://www.fumcmaumelle.org/component/option,com_wrapper/Itemid,43/>
    But the same codebase in Expression Web HTML shows the movie
    buffering but won't play <
    http://www.fumcmmmedia.org/testing_123.html>
    Attaching the relevant code at the bottom of this note.
    Any thoughts/hints? Is there possibily something installed in
    the Joomla environment that I can't see (don't have control over
    it, which is why the new environment being created)?
    thanks for any assistance, this is driving me nuts and we
    have like 10 movies to post.
    LJ

    i am having a similair issue but i am new to adobe flash and
    i cant get it to work when i use a code on a different site

  • Extras notes --- iPod works fine in iTunes, but doesn't show up in Windows

    Hi all!
    Gotta wierd situation.
    My iPod works fine in iTunes.
    I have had 'Enable for Disk Use' enabled for a long time. However, my iPod doesn't show up under My Computer on WinXP.
    I'd like to add some new Notes and remove some old ones, but you have to do that thru Windows, not thru iTunes.
    Any ideas how to fix this problem?

    hi marky!
    i noticed one thing. the iPod is formated as FAT32, but i have my HD in NTFS. could this be related?
    no, that one's normal. we need to leave her as FAT32. see:
    iPod no longer plays music after formatting or partitioning the hard disk
    hmmmmm. it's like the "enable disk use" setting is just refusing to stick for you.
    but maybe we've got a window of oppportunity while it's doing that initial sync. the rules seem to be different for you then.
    maybe try switching enable disk use off. then eject her, and plug her back in again (while you've got itunes already running).
    the second she shows up in the itunes sourcelist, try diving into the preferences tab, and re-enabling disk use.
    (i checked, and it's possible for me to do this with attractive beast ... hoping here that doing the "enable disk use" under these circumstances might get it to stick for you.)
    love, b

  • Exact same code works in one class, but gives me a fatal error in another

    I'm feeling around in the dark like the blind noob I am trying to get a GUI to work, but this one very confusing thing is preventing me from getting anywhere. When I ran a very simple start to the program, I got a message that said: "Fatal exception occurred. Program will exit." The command line said the oh-so-helpful:
    java.lang.NoSuchMethodError: main
    Exception in thread "main"
    with no more details than that. I have spent about an hour testing different things to find out what the hell is wrong, when I discovered that if I copy-paste the code into a new class in the same package, it works. What is going on? I'm using Eclipse. Here is the code:
    public static void main(String[] args) {
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.getContentPane().add(new ExitImpossiblePanel());
              frame.setSize(300,300);
              frame.pack();
              frame.setVisible(true);
         }

    masijade. wrote:
    georgemc wrote:
    masijade. wrote:
    codinatrix wrote:
    Oh, I see. I had that class open and pressed the "Run" button. I thought that meant it would run the one it had open. I guess it was trying to run the panel class instead. Wow, I spent all that time on such a dumb mistake.
    It happens. ;-)It does indeed. I had the exact opposite thing happening to me the other day with some new distro of Eclipse 3.3 (Europa, I think) that decided it would - as our friend here expected - try and run main in the compilation unit in view. It's configurable in that version, but I've never needed to change it beforeI am definately going to have to watch out for that then. We currently have 3.2 here, but they perform updates at random and without warning (at least as to what, if not when) here.
    ;-)I suspect it was a buggy plugin, because it's only that particular distro that does it, no other 3.3 release I've used does so

  • Application works fine in Preview but doesn't play on iPhone?

    I finally decided to purchase a Developer license to start testing performance of my game on my actual iPhone. My game works perfectly on my computer, however I published to my iPhone and when it loads, it shows the graphics of the game but it is as if the game never starts. It is just frozen on the first frame of the game.
    I've tried doing a remote debugging session but it won't connect for some reason. I'm on the same wifi network, I've published from Flash using the Quick for Debugging option. When I load the game, it freezes on the first frame and doesn't ask for the IP of my computer (which is supposed to happen on debugging right?)
    What should I try from here?

    I got debugging working: I'm getting an error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
    It corresponds with the first line of these three lines:
    loop = new Sound();
    loop.load(new URLRequest("hitit120.mp3"));
    loop.addEventListener(Event.COMPLETE, startMusic);
    I've included the mp3 file in the iphone included files publishing setting... Although what is weird is the stream error happens on the first line, before I even try to load the mp3..

  • Labview program works on one computer, but doesn't on another.

    We have a laptop running a custom data aquisition program that was made with labview by an external company. It communicates via ethernet with a box full of national instruments hardware that is connected to some sensors. While it works fine on the laptop, attempts to install the software on other computers results in the following error message "An error occured while attempting to open the configuration file "C:\program files\(name of the program)\data\(name of our company)fieldpoint.iak"". This error occurs whenever we try to open the test settings page or run a test. I've checked that directory and the file is in fact there.
    The new computers (we've tried several) always have difficulty connecting to the hardware via ethernet, and if you look at the network activity in windows you can see a whole bunch of packets being sent but only a few if any being recieved. I'm wondering if this is a network configuration problem? I've tried to match as many settings as I can find but to no avail. 
    The company that made the software isn't responding to emails.
    Any ideas would be greatly appreciated!
    Solved!
    Go to Solution.

    I suspect that the problem you have communicating with the equipment is a configuration issue. You mentioned you see lots of packets going out but nothing coming back. Are the packets going out being sent to the correct IP Address?
    I am not sure why you are not seeing the file since you say it is there. When you installed this application did you use their installer or simply copy things over to the other computer. There may be registry settings that are not there if you simply copied it. Also, there may be other support files that are not present on the other computer. You may also want to check the permissions on the files too. You will get an error if you try to open a file with the wrong permissions and this error is not always clear about what the issue is.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • FLVplayback skin works in HTML locally, but not on a server.

    I am developing a Flash based website that plays a video file using the FLVplayback component. Everything works fine locally, the paths are all relative and everything (index.html, the SWF with the FLVplayback and the skin SWF) is all in the same place. I have checked my paths and am certain they are correct.
    once I upload everything to a server, my skin goes missing. Even though the video plays.
    unusual? yes.
    frusterating? yes.
    solution? none in sight.
    (sigh) I hope someone can help me here.
    - Jeremy

    Hi Linda,
    As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
    If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
    HTH,
    Ram
    Please vote as helpful or mark as answer, if it helps

Maybe you are looking for