background

AS3 How to center MC + change background color?

Hello everyone, I am quite new to AS3 and I have never worked with classes, so I am encountering a couple of problems. I'd like to center a movieclip, have it so that it doesn't scale. And then I'd like to add a background color that stays there no matter how I scale the browser. Can someone please explain me this in babysteps? Since ...

Ruby background service

I have a TCPclient written on Ruby. I want to use it in background. Currently it has a loop: loop do end So i can run a client, and it works forever. Is there a way to run in as a service, and write a pid to file, then i'll able to kill that process by pid? ...

Background upload in PHP

I am working with a form that allows me to upload files via a local folder and FTP. So I want to move files over ftp (which already works) Because of performance reasons I chose this process to run in the background so I use nfcftpput (linux) In CLI the following command works perfectly: ncftpput-b-u name -p password -P 1980 127.0.0.1 ...

what is the difference between round() & trunc() function?

I am very confused about these functions? ...

how to print background image on printer as watermark

i have one image background of table with following syntax style="background-image(URL)" the problem is when i print it on printer it did't print. can you please tell me how to get this image background also get it printed on paper as watermark. i need any code not to ask every user to change the browse settings. Thanks ...

How can I make a custom layout / change header background color … with Tex, Latex, ConTeXt ?

Hi, currently I produce dynamically this document http://download.stephane-klein.info/exemple_document.png with Python Report Labs… to produce pdf documents. Now, I would like try to produce this document with Tex / Latex / ConTeXt… I've some questions : how can I make the layout ? how can I make header background color ? how can I ...

Background not filling in completely

For some reason the background on my website is not loading fully. Randomly, not all the time, the website will load with white rectangles around the content of the website. Check out this screenshot to get a better picture, or visit www.thinkitpostit.com to see if it randomly happens for you. Thanks in advance! ...

Make an iPhone InfoButton light/dark based on color behind it

How do I detect what color is under the InfoButton... so I can change the button from DARK to LIGHT? I set my view's color... but how do I tell if it's "kind of light" or "kind of dark"? Besides... I can't change the info-button from light to dark anyway. (read only) Ugh. Shouldn't Apple have some kind of a simple "cmdButton.doThisE...

Rails - good tool to create a scheduled background process which will regularly retrieve messages from twitter

Background Job gets mentioned a lot but all the tutorials I've seen seem to indicate that its for queuing jobs which are created by some external event such as a user clicking "Send mail". But what about when you have code that needs to scheduled to run every 30 seconds to listen for new messages from twitter? Normally rake is recommen...

Android: Using linear gradient as background looks banded

Hi All! I'm trying to apply a linear gradient to my ListView. This is the content of my drawable xml: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"&gt; <gradient android:startColor="#3A3C39" android:endColor="#181818" android:angle="270" /> ...

How to change Background Image and Use Jquery to Load FM Radio

I want To Change Background image and to smart this page . How can i do this Change The BackGround Color Of this Page and Smart Page Buidling ...

background Image

Hi Everyone, I am using a big backgroound image and a moving clouds flash movie both as background of webpage..Every time the page loads the both contents load..Can anyone help me that how to load the background content single time when the page loads in browser first time. I am using html and IE7. Thnaks, ...

Using a mask over a transparant background (Flash)

Hi, I'm having a hard time with this and I'm hoping someone can point me in the right direction. First some details about what I am trying to achieve: I'm making a Flash file with Actionscript 3. The SWF I'm creating is supposed to be a scratchcard with a dynamic background (i.e. the covered picture and the location of the SWF can ch...

re-open background application via notification item

I got an app with tabs and a notification bar entry, when I send it to background (click on home button) and try to re-open the application via click on the notification bar, the app restarts (last selected tab is lost). When I hold the home button if the application is in the background and select it from there or click the app's ico...

Limit CPU usage of a process

I have a service running which periodically checks a folder for a file and then processes it. (Reads it, extracts the data, stores it in sql) So I ran it on a test box and it took a little longer thaan expected. The file had 1.6 million rows, and it was still running after 6 hours (then I went home). The problem is the box it is runnin...

A way to correct background scaling in iPad's Safari?

Hi, I have a website using a huge background image (2000x1500) in a div container (100% x 100%). When I open that site on Safari on an iPad it gets scaled down (~40%) in a different proportion than the content (~80%). I moved the background to an img-tag in a div with 100% width and 100% height and an overflow setting "hidden". Exactl...

How can you update an NSMenu while it is active (visible)?

I have an NSMenu instance, through which all communication with the Cocoa app will take place. If the menu is open, the background doesn't run, so how can I force an update while the menu is still active? ...

Are System.Threading.Tasks capable of running as background threads?

One feature of Threads is that you can set the .IsBackground property to true, and it will not prevent the process from terminating (ie, the framework calls Thread.Abort() on all running background threads at termination) I can't seem to find a similar feature in Tasks. I used background threads a lot when I create services, where if t...

How to duplicate the "background" applied to text in Aero window titlebars?

All windows in Aero have this kind of whiteish background on their text. I'd like to create an equivalent of this effect for a GlassWindow I'm using that has a TextBlock in the label area, but I'm not really a designer so I have no idea how to approach this. How can I reproduce this background effect? ...

onclick event change background-image with fade transition

Hi to all. I'm searching for a trip in jQuery for changing the background-image of the body (or of a 100%-height "wrapper" div) on a click event of a class element, with a cross-fade transition effect. Is it possible? Thank you in advance. ...