Professional :: Find A Method Of Increasing The Resolution Of An Executable That Runs Off Flash?
Feb 28, 2012
I've been trying to find a method of increasing the resolution of an executable that runs off flash. To be specific the program is a game called 'Realm of the mad god' originally a browser game but is now also a free to play steam title, Having browsed through the config files I couldnt find anything talking about resolution and I was wondering if there are any advanced flash features that allow the user to force the application to run a specific resolution.
PS: I don't have the highest hopes but I thought if anybody knew it would be someone from the flash community.
I am having an issue with Flash not running in Firefox but it is running in IE and Chrome. The main url is [URL] on which there is a section called "ROI Calculator". The download button links to a flash program which opens up in IE and Chrome but does not open in Firefox. I am using windows 7 professional and Firefox 8. Here is the code for the page [URL]:
I checked the forum and couldn't find an idea on this.I have a Flash .exe and also a MAC .app for my project. I need to autorun these when the CD is inserted.If it were a single .exe and if i wanted to load it in windows machine it would be a piece of cake.But I have 2 files, and I wanna load it from a single CD. If the system is Windows I want it to load the .exe, and if the user system is Mac i want it to load a .app. How do I program the .inf file now?
I have problems with flash games and some advanced flash applications.Problems occurs regardless of browser.My computer is next:CPU: 2.8GHz hyper threadRAM: 1.5 GB (3 pieces)GPU: Nvidia 7600 GS Gigabyte.When it runs some flash game e.g. Facebook Pet Society, CPU load goes high as 80 to 100 %. It is very annoying thing since I am starting to loose my mind how to solve this.All other applications are running very good. This means games, 720p HD videos etc etc.
I wish to detect and store the IPs of the users of my site which is All-Flash-Built. My goal is to later have the ability of banning some users...Where can I find a simple IP detect method in Flash working with a MySQL DB via PHP?
So I've been surfing the net trying to find a way to get a 100% resolution from Flash to Gif and can't find it.Here is the deal, I've got Adobe CS5 and I started doing animation in photoshop. It took forever but once I got it done it looked awesome and I could easily transfer it into a gif via 'save for web and devices".Because it was taking forever I decided to learn flash and after a day I got the basics pretty much figured out and made my first .swf file. I then went to turn it into a Gif and the resolution sucked and the timing was off.
I am using the floodfill method to colour-in sections of a bitmap image. That part is easy enough but the issue comes in with the way I am adding an effect to the colour fill routine.
To add the effect, first a copy of the bitmap data is created and floodfill is used on that instead of the original bitmap. Then the bitmapdata.compare method is used to set the alpha value of everything apart from the filled-in section to 0 and the result is saved in another bitmapdata. After that, a 1 px radius circle sprite is added to the stage and is being tweened to the image dimensions and its mask is set to the sprite which contains the result of the compare operation.
This works perfectly except for the fact that the fill sprite has to be tweened to the complete image dimensions irrespective of how small the area is being coloured-in since I am not able to find a way to get the dimensions of the fill area. I am doing an bitmap image update at the end of the tween and I have to disable user interaction till the tween is complete to avoid the errors which come in if another fill-in operation is started before the base image has been updated. If I could somehow get the dimensions of the fill area then the time during which I have to disable the user interaction will go down considerably.
I'm editing a scoller and have removed a photo from it however as the scroller scrolls a gap slowly appears where the original photo was. I can't seem to stop this happening?
I am creating a platform game that is 800 by 600 dimension where the camera scrolls with the player. The problem i am having is that if i want to draw a map that goes off screen the stage are that i can edit in can only go so far when i am creating the map however i drag an object further than the edge of the editing space i can see it when the camera scrolls over to it in game but when i do this i cannot easily edit the objects that are not in view in the editing window. I can slightly increase the size of the editing window by changing the dimensions of the game to 2880 by 600 editing and then changing back to 800 by 600 but still i can only enlarge it up to 2880 because that is the maximum. Is there any way i can edit very large objects like a map that are way bigger than the stage dimensions?
Is there a way that I can find out the screen resolution of a users screen? I want to add scroll bars for users with a resolution lower than 1440X900 and if u have 1440x900 or greater it wont show the scroll bars.
I'm new to ActionScripts and was tasked to complete a project. I'm trying to split a big image so I can send them to a http server in chunks. I'm using a recursive function below and increasing the DisplayObjects X position on every iteration. The problem is I get the same image in every iteration and checking the encodeByteArray string value is always the same.
Code: var currentTileIndex:int = 0; function renderNextTile(e:Event):void{ if(currentTileIndex < tilesToLoad){ loader = new URLLoader(); [Code] .....
I notice that Flash makes changes to a stage size to the right. Is there a way of making the change so it expands out from a central point, i suppose like photoshop and similar. This has caused me some problems in the past when a client has asked for the site to be increased or reduced in width for example, and it can take a considerable ammount of time to move everything accordinly
on Roll_over I am increasing uiLoader width and Height for Zoomed versionso when I roll Over first loader , it appears behind 2nd loader ,similarly when I rollover 2nd loader , it appears behind 3rd loader
I used the 'Advanced Slideshow' template in Flash CS5 to create a photo gallery. The images in the template are not placed inside of the project but are separate files (the photos). I tested it on my harddrive and it works perfectly. Then I uploaded it to my website and it doesn't show the images. The folder structure is the same as it is on my harddrive, all the files are the same.
I'm developing a touch-screen Flash application for a shoe store, and it runs fine initially, but slows down toward the end of the day. I've been diligent with removing event listeners and so on. I've now narrowed the problem to be very specific - it's one section of the application causing the problem, and one part of that section:
- I have a main movie clip which contains the animation, which itself contains 5 nested movie clips, each with their own timeline. All movie clips have a stop action on the final frame. images are transparent PNGs with outer glow "filter" - the issue is not with performance as such, but with CPU increasing over time. Each time you play the clip, there is a small amount of CPU usage that 'sticks' and doesn't get freed up. What happens is that if you play the movie clip many (MANY MANY) times, then eventually it starts to slow down. Mac's Activity Monitor shows that the idle CPU usage is increasing slowly, over many times of playing the clip. It's insignificant with each play, but adds up over time.
You may be inclined to say: oh filters effect CPU, so it will be slow - but it isn't slow until it plays many, many times. Initially it's fast. I've uploaded a .zip with .app and .exe versions of my problem section. There are two files of each type: AutoPlay.app (& .exe): plays the problem clip repeatedly (I've just removed the final 'stop();' frame), so you can leave it open and come back in half an hour to see it slowing down. ClickToPlay.app (& .exe): Plays the problem clip once when you click the 'play' button, so you can click several times, let it return to idle, and verify that the idle CPU usage is in fact increasing.
I want to know is there anyway to invisible title bar for a AS3 project? and how to force program to use fix resolution and change monitor resolution to what we want?
I have a parent movie that contains several buttons that load several child SWF files.The parent timeline has only 1 frame, and in that frame all the ActionScript (version 3) for the parent movie is imported with a single statement:
include "script.as";
The problem is that when a child movie loads, IF the child contains ANY ActionScript calls, it also somehow runs the code in "script.as", which accesses many elements of the parent movie which are not present in the child. This produces "NULL object reference" errors which crash the script:
TypeError: Error #1009: Cannot access a property or method of a null object reference.If I remove all ActionScript calls from the child's timeline, then the child doesn't run the parent's code - But if place so much as a stop(); call in the child timeline, then the child runs the parent's code after being loaded in.
I originally wrote this script for another project, which works fine, and then copied and pasted it to this one, so I don't understand why it's not working the same way. Earlier on I suspected the trouble might be from re-saving my current project as ActionScript 3, when before this upgrade was saved as ActionScript 2. So I went back and re-created each file in fresh AS3 FLAs, but it didn't solve the problem.The child SWFs are loaded with this code from "script.as".
var ldr:Loader = new Loader(); addChild(ldr); var url:String = "child.swf"; var urlReq:URLRequest = new URLRequest(url); ldr.load(urlReq);
Also in "script.as" is a simple trace call at the top of the file:
trace('script.as is running');
When de-bugging the file, the message 'script.as is running' appears in the output panel when each child SWF is loaded, which tells me that the child files are running the parent's code. Is there any way to prevent this from happening?
I have a function that finds the smallest five numbers out of an array of values and returns their index numbers. Here's a block of code from that function[code]...
The whole thing is slow, but I imagine that indexOf() is probably the worst offender. Is there any more efficient way to correlate a series of minimum values with their indexes without having to use indexOf()?
The values don't necessarily have to be stored in _elements, but they're pulled from a multidimensional array so I figure that it's the most efficient I can get at the moment.
i'm need HMAC-SHA1 for doing some encryption, but so far i'm able to found SHA1 in meychi crypto library, but until now i'm still not able to found HMAC encryption method so far.i'm trying to refer to hurlant crypto library, but it's quite confuse as it's using ByteArray which only available on AS3.
in XML gallery , how we can load all images first so that rest of the slide show runs smoothly
For example: I have placed 10 images in XML , when slideshow starts , all the effects not appears , because it waste time in loading each image on its turn I want to load all images first , then want to start the slideshow how i load all images at the start ?
I need to know the best method to find an item inside a list (Vector, Array, Dictionary, whatever is faster) of complex type (extensions of Objects and Sprites). I've used "Needle in Haystack" method, but it seems that it isn't fast enough.
E.g. Suppose that I have a collection of Sprites (a pool, in fact). Each sprite will be added to the stage and perform some action. After that, it will die. I don't want to pay the cost to dispose it (garbage collect) and create another (new) one every time so I'll keep the dead sprites in a collection.
Sometimes times I'll call a method that will add a sprite to the stage. This sprite can be a old one, if it is already dead, or a new one, if the pool don't have any free sprite.
One of the scenarios that pushed me to this question was a Particle System. A "head" particle leaving a "trail" of particles every frame and exploding into a flashy multitude of particles... Every frame...
Some times this counts up to 50.000 PNGs with motion, rotation, alpha, event dispatching, scale, etc... But, this is JUST ONE scenario...
At the moment I'm trying to use a Object Pool with a Linked List... Hopes that it will be faster that running a whole Array/Vector or create new instances every frame an let them dye with Garbage Collection.
I'm using InDesign to create an interactive SWF of a document.
For normal Flash projects, I can create an executable (*.exe) file that includes the Flash codec so that the viewer doesn't need to install Flash beforehand.
Can I create something similar for the SWF file created by InDesign?
I'm using CS5 Design Premium. Intermediate knowledge in InDesign, basic in Flash, will likely need clear steps.
How to merge flash site into one executable. Site consists of: index.html images sounds pdfs etc. After clicking on a merged file, index.html is needed to be opened. Adobe AIR might be useful for this, but I can only create setup executable, maybe it is possible to create just executable?