load

Loaded SWF gets slower

Hi am making a game involving a number of balls that move across the screen. Everything works fine and dandy when I play the SWF on its own, but when I load it into another SWF, animation become increasingly choppy with time. What is the problem? ...

iPhone Saving/Loading data manually, without it Automatically loading.

Hello! I am working on a game that makes use of a save/load feature. I am using a Plist for the data. I have the methods coded correctly... I think? The issue, however, is that when the home button is pressed, and the App re-launched, the saved data automatically appears. What I'd prefer is for the data to be manually loaded via a "L...

Trouble with jquery load on Google Chrome

I'm creating a demo that must be in html code only (no server side code such as PHP, etc). I'd like to use jquery and the .load function to call in some content dynamically. This is working fine in Firefox, but for some reason the page I want to get is not loading in Chrome (v 5.0). The code I am using is very simple: $("div#conten...

Want html form submit to do nothing

I want an html form to do nothing after it has been submitted. action="" is no good because it causes the page to reload. Basically i want an ajax function to be called whenever a button is pressed or someone hits "enter" after typing it data. Yes i could drop the form tag and add just call the function from the button's onclic...

Python PIL load throwing AttributeError: 'NoneType' object has no attribute 'read'

Hi all, I've been struggling with this error for several days with little headway. Basically, I'm trying to read in an image file and then use PIL to preform a specific operation on it. (my end goal is to preform a PIL paste operation). However, whenever I load my image in, and then invoke the load() method on it (operations like s...

Eclipse 3.5+: Loading plug-ins from auto-created .eclipse directory inside user's home directory

I have downloaded the latest Eclipse (3.6) for my Linux machine and extracted tar.gz to the /opt/eclipse directory as root. I started Eclipse as a normal user and successfully installed some plug-ins through Eclipse. The plug-ins are visible under "Installed software" from Eclipse, but they doesn't seem to be working - no new perspective...

Triggering 'onload' behavior in AJAX return data

A friend and I are looking over a website involving a button that makes an AJAX call that upon successful return, loads HTML into a specified DIV tag and calls a Javascript function. The problem is that it will only work twice. After clicking it twice it fails to work properly. We are trying to dynamically control what the ready() invoke...

How do I find out a server's load?

Hi, I'm creating a php script that will capture certain information from the server and database at regular intervals. The server is running LAMP. Is there a way to output the server load, or other statistics that may indicate the performance or load on the server including mysql? Thanks :) ...

How to determine a good value for -load-average using gnu Make ?

In Make this flag exists: -l [load], --load-average[=load] Specifies that no new jobs (commands) should be started if there are others jobs running and the load average is at least load (a floating-point number). With no argument, removes a previous load limit. Do you have a good strategy for what value to use for the load li...

Some Flash SWF files not loading at my server

EDIT: See my comment. Hello. I just saw that some (only some) flash files (games) aren't loading in my website, but are in other servers. Most of the files do work. For example: (External) http://jogolandia.uol.com.br/arquivos/games/sokobones.swf (My Server) http://www.plugb.com/files/games/sokobones.swf It is the same file, but do...

Entity-Framework eagerly-load first item of a nav-property

Is there a way to make this code excute in one query with Entity-Framework? Private Sub LoadFirstPhone(vendor As Vendor) If Not vendor.ContactReference.IsLoaded Then _ vendor.ContactReference.Load(MergeOption.AppendOnly) vendor.Contact.Phones.Load(MergeOption.AppendOnly) End Sub I want two things: I want to be able...

adsense in flash/as3?

Hi guys, I'm trying to load some adsense ads in my flash file. Any suggestions? Thanks, Adrian ...

assignment makes pointer from integer without a cast

I don't understand what is problem here! after I compile it, always show me: "assignment makes pointer from integer without a cast" I don't know what is the problem! Please let me, thanks. SAVE NSUserDefaults *percentChecker = [NSUserDefaults standardUserDefaults]; [percentChecker setInteger:0 forKey:percentCheckerSaveKey]; LOAD...

Easiest way to load table dump into database

I have a 71GB file having contents of one table of mysql database. Loading that takes me couple of days. Is there a easier way to load the data. I am not sure if removing indexes or splitting files actually helps. How stackoverflower's solve this problem. ...

jQuery .load problem

Hello! Here is my code : <script type="text/javascript"> function show() { var text=$("#text").val(); $("#output").load("index.htm"); } function send() { var text=$("#text").val(); $.post("new.php",{'txt':text}); $("#text").val(" "); } </script> </head> <body onload=...

jQuery effect loads too soon, works inversly

I have an element that, when hovered over, slides up and down. However, if the user happens to have their cursor over the element as the page loads, it sometimes reverses the action, going down and up. This makes it especially difficult for the visitor because the element is constantly disappearing on them when they try to click it. Thi...

How to make image load when FULL image is loaded? Jquery

I have tried using .load() and .ready() My image is pretty big and when it loads, it loads in sections from top to bottom. Is there any way to make the image show up all at once when it is fully loaded and ready to be FULLY seen? $('img.touch').hide(); $('img.touch').ready(function() { $('img.touch').show(); }); The last thing I trie...

How can I move variables into and out of a structure akin to LOAD and SAVE in MATLAB?

Is there a quick way (i.e. one line) to dump a collection of variables "in" a structure, using the variable names as the structure fields? The "load" function basically does this but saving and loading to a temporary file seems ugly. For example: clear a = 'adsf' b = rand(10); x = var2struct(a,b) x.a x.b or better yet: x = var2str...

ASP.NET MVC slow image loading through MVC framework?

On some photobook page i want to show appr 20 thumbnails. These thumbnails are programatically loaded from a database. those thumbnails are already resized. When i show them the images load kinda slow. some take 0.5 seconds to load some wait for 2 secons. The database doesn't matter because when i remove the database layer, the performan...

Load images or whole site from local "assets" folder using webview, ANDROID

the question i have is simple but hard to put in words, ill give it a try anyways. i am trying to load a web page in webview, however the load time is a little high. -is there anyway i can put the images in the assets folder and load them from there instead? -if not, is there a way i can load the whole site from the assets folder, prov...