Can I set a maximum percentage of CPU resources a specific program or process can use? I want to use the executable name instead of its pid, because I would like certain executables to always run with constrained resources.
The reason I ask for that is that I am bored of the way Shockwave Flash behaves. It is not possible that to draw a few stupid things in my browser it takes 50%, 80%, 99% of my dual core CPU!
MacBook Pro 2009 -
MacOS X 10.6.4 -
Chrome 6.0 -
Firefox
P.S.: Now, when my fan starts running I now the reason and I know how to temporarily fix it: I kill Shockwave Flash and everything is back as normal.
Does it mean only a total of 8 float values can be passed per vertices's set of data? Does this mean you can only have one of the following?
2 inputs of FLOAT_4.
4 inputs of FLOAT_2.
8 inputs of FLOAT_1.
Any mixture that will add up to a total of 8 float values? Is this the case? Because if it is, it's really misleading in their documentation to say 8 inputs can be used. Maybe I'm having trouble because I haven't formatted my data correctly, but I'm trying to use 9 floats per vertices, as in:
I am building an Adobe AIR app and integrated an FTP client for file transfers. But I found out that maximum file upload size is 100 MB. I need to transfer bigger files
Is there a maximum size limit for files being uploaded in Adobe Flex?I am testing it on localhost and can't upload a file of roughly 300MB.Even though I receive the complete event, after I upload the file....I was able to upload a file of roughly 10MB.
I found out a cool way to preload a flash in this page But is a preloader for a flash to another flash without having to modify the other flashThe code would be like this:
var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
Is it possible to project an animated shockwave movie or Flash movie directly on to an IMAX screen if it were designed to IMAX screen specs without going through Adobe After Effects to render out a Quicktime movie?
I want to know, Is there any way to handle or control the shockwave objects in flash by using 'as3'? I know this is possible in 'Director' by using 'Lingo'. But I am not able to find any way or any articles from where i can get some idea about this. In the director, I've seen there is way to set some properties like camera position, light affects etc. with the shockwave objects. But I am not sure about the FLASH. Can it possible to use these type of properties with shockwave objects in flash, which could be controlled in action script3 ?
What are the ways of doing this? The search function is down right now, for whatever reason.
The only way I can think of off the top of my head is using an html enabled text box in flash to iframe a separate page with the shockwave app inside it. I've seen it only once before on a site that was given a new shockwave game and we had to have it work with the existing flash website.
I bought Macromedia Flash because I took course in Flash about 8 years ago. So,when I was asked by my company's CEO to take a presentation and turn it into a "flash movie" I said, "sure I can do that". Well, I did do it, and it plays fine on the workstation that I created it on with "Macromedia Flash Player 8. However, no one else can get it to play except by opening it with a browser, which is not really ideal for our proposed usage. Is there some sort of desktop player still available that would allow someone (like a sales guy) to just double click on an icon and play this movie? Or is there some sort of way that i can update the movie so there is a desktop player to launch it?
[URL] how to build ShockWave ActiveX in C++ builder 2010 as I had a transition from c++ builder 6 to c++ builder 2010 and much used to it, however it's possible to build it in c++ builder 6.
I have the following code to display the swf object on the page. It works well in all browsers. However, if shockwave flash turned off in Firefox, it won't fallback into image and show bunch of characters instead looking like "CWS..." All other browsers fallback to the image. I verified that we serve application/x-shockwave-flash MIME type on our server.
The new Flash 10 player was released. [URL] To get things running you currently need to use the Flex3 sdk. More details are described here: [URL] Click the link on my footer.
This is sort of a two part question. I'm building a flash image viewer to be a portable age-restricted module (violent video games). Basically, it will load any number of images from a CDN and require the user to enter their birthday before viewing it. Simple stuff. The problem is that, per company policy, we can't allow those images to be directly accessible by any means of sniffing (eg, watching your Resources/Net tab in Webkit/Firebug, or watching XHR if we loaded them that way). So, I'd like to get your opinions about the best way to approach this.
At first I thought to have a server-side script that loads the image (eg via PHP) by passing a var that can be decrypted but with a dynamic salt, eg, using a method that is very unlikely to be discovered (for example, having the salt be embedded throughout the string), but that defeats the purpose of the CDN as all requests would be geolocated to the server.
Then I thought that loading the images via sockets would be a good solution, however, I'm having trouble converting the binary image (after removing the response headers) to a Bitmap.Is there a better way to go about this? I know that realistically it's impossible to completely prevent the content from being linked to (eg someone could screenshot the flash) but my goal is just to take steps on our side to prevent that from happening by native means. Below is the socket code (irrelevant parts removed), if that helps any.
Im not to hot with action scripts yet, but anyway i was woundering how do you turn how the zoom in a shockwave file? sometimes when you press left mouse button it says somthing like let flash use your webcam or whatever and no zoom options. well i want to do that, how do i do?
We are developing an epic game using flash cs5 and actionscript 3 (no flex at all). There are lots of images and other media stuff in library that we need to use. Early i just kept them in my main .fla, but then compiling swf became very slow (more images - more time to compile). So i put all my images to filesystem outside flash, and it helps. But then some lags and bugs appeared, especially when we were testing the game on remote server. Seems like files just don't have time to load (or they loaded uncompletely) - though i did it pretty correct, sequentially, with events like onload and so on.
Finally i've created another swf with all the images and resources. I'm loading it once in my main swf and i compile it only when i need to add a new image. It works rather well, but i have feeling that i'm doing it wrong or there is another right way to organize resources more easy. Also there are some minor troubles with second swf; for example, i have to make user wait until it loads inside my first file, and if i want to run from my desktop, i always must keep these two files near in one place. And, as amount of images growth and growth, it becomes annoying to compile my 2nd swf again, even if i need to do it not so often.
I was just wondering if there are any good books/resources out there that helped someone out that is pretty terrible when it comes to Math when programming in actionscript, or I guess programming in general. I guess I'm after some sort of resource where it had basic problems which would involve a bit of math, then went through the problem in a detailed way solving the problem but at the same time explained what was going on so I would learn the math and also solve the problem using code.
I don't want to just be told how to do it with a bunch of code I don't understand. Really hoping there is some awesome book out there called '101 guide to maths in programming' or something like this, (hopefully more geared towards flash/actioncsript)
I've inserted my flash movie into an HTML page and uploaded all the necessary files, but it will not display. I've seen other users post their code, so I will here:
What I'm wondering though is, are there any good resources out there for making games in Flash CS4. I know I'm going to get some "learn the basics first" replies, and yes I know I need to get a solid grounding in those, but I want to be able to start gathering resources, and look ahead to what I'll be able to do with Flash in the future. By resources I mean books, other websites, your own advice about game making, etc...
I've got to construct a basic xml file listing website assets (pictures and text strings) that a flash photo gallery references.
I'm using a Mac and OpenOffice. I've got Dreamweaver, dashcode, and a couple of open source IDE's. I'm not a programmer, so scripting gets a little difficult.
I'm hand typing the file right now, but the task is very slow because of the number and order of the "fields" and values for each record in the xml.
Is it possible to set up a spreadsheet of the data and then parse an xml file from that? I've got to follow this format for each record:
I am running an online flash multiplayer game. However, I have been facing a problem lately where some users cannot actually completely load all the resources required to run the game. The percentage that users get stuck at is different for different users (for instance, one could get stuck at 43% and some other at 91%). I don't think there is any problem with the files as such because the resources are completely loaded for the majority of the users and the game works just fine for them. Has anyone faced such a problem before?
Any way to dynamically see how much memory the Flash player is taking up? I am loading in hundreds of thumbnails using a search box, and I want to make sure assets are off-loading properly. Also, the thumbnails are being loaded in one at a time in a for-loop. The thumbnail addresses are being received via an XML page. When I load them through the for-loop, some of the thumbnails never load. Most of them do, but I find spots where they don't. Most important question is about the flash resource manager! Is there one?
I'm trying to use google maps in my wpf c# project, I've installed Adobe Flash player but cannot for the life of me find the shockwave player object reference or when I add a new item in the toolbox find in, both in the COM lists. I had to download and install flash using internet explorer.
I was wondering, is it possible for a shockwave application to detect if a keystroke came for the keyboard, or from another application simulating a keystroke?
What are good books / site where you can learn the best practices for event driven programming in actionscript (3 obviously).
I've got a big project coming up and, to be honest, my flash is usually a big mess of classes and I don't want the the next one to turn into a ball of hair behemoth.