ActionScript 2.0 :: Finding Programs That Increase .swf Performance?
Jun 20, 2006I see some programs that reduce file size, but are there any that optimize performance?
View 4 RepliesI see some programs that reduce file size, but are there any that optimize performance?
View 4 Repliesthis is what i'm trying to accomplish; With a click on a movieclip (cannon_mc)a shot is being fired (ball_mc)
The longer mouse is down, the speed of wich the ball is fired with should increase.My question to you is;
What is the most efficient way to accomplish this? With a timer or something like this;
[Code]...
Does anyone know if strong typing variables in Flash does in fact increase performance? I've read and heard both versions.Also, is there a way to strong type a variable that you set this way:[code]
View 1 RepliesHow can I increase the _height property of a window without increase the height of the title and the bar at the top of the window ?
I want only to increase the part of the window where I put textFields and buttons.
I'm devloping some library classes for flocking/steering behaviours on large numbers of objects (2000+). I'm finding that at < 500 instances, performance is reasonable. As the numbers increase, framerate bogs down.
I've seen remarkable performance with libraries such as Flint or Box2D with ridiculous #'s of particles / objects, so it should be possible to optimize / refactor my code to be a bit better.
I'm aware of the basic optimizations, such as bitwise operations and optimized for loops. Are there any more fundamental approaches I should be considering? For example, currently each instance is a vector-based MovieClip. Would working with BitmapData be more efficient?
Will I take a big hit in performance using nested ViewStacks? Should I strive to handle all navigation in one ViewStack and push children manually or will the affected performance be negligible?
eg.
<viewstack>
<tabnavigator />
<tabnavigator />
<tabnavigator />
</viewstack>
We have a medium size Flex 3.6 application that contains around 20 different page views (managed via a single lazy ViewStack) each having multiple components. Most use custom renderers.All model data is loaded at startup and changes to model instances are communicated via binding and/or collection change events.Once the user has viewed each page at least once, all page views are instantiated and happily listen to update events.Which in effect means that each time a model instance changes, all interested views receive that event and compute derived data or trigger item-renderers.I have tested and confirmed this behaviour in a proof-of-concept application. Even when setting a list to being invisible, it still listens to collection change events and invalidates any renderer affected.What would you do?
View 1 RepliesIs there any program or setting for "pointing" flash programs at my graphics card rather than leaving it to the processor and RAM alone? I am running a specific frontend software that is a flash executable- unfortunately it lags heavily on execution despite the fact that I have a very nice video card installed.
View 3 RepliesAnyways,I watched shitload of tutorials and I have a little problem here right now and i will not waste your time so id just explain it shortly: I wanted to make a launcher for programs URL's and so on BUT:thats working correctly. var menu_label:Array = new Array("Adobe flash|C:program filesadobeadobe flash cs5flash.exe" - But if i try to open a program by the same method it wont work
View 4 RepliesHaving installed Amara flash slideshow builder it failed to run stating my flash was not installed or out of date. I knew this was not the case but uninstalled and re-installed flash anyway. I tested it on the adobe site, all ok and also tested it on a couple of sites using flash. All ok. Same problem with Amara tho', not recognised.So downloaded SWF 'n slide, another slideshowmaker. It also failed to recognise any flash installed (with dialog).Following some research I downloaded SubInACL from microsoft and ran it to ensure all my permissions were ok, but seems they were ok as it hasn't changed anything. What do I do now? I'm kind of stuck, I really need a flash slideshow builder, but seems they won't run, why?
View 3 RepliesIs it possible to start a seperate flash application from a main flash application. I really want it to be like how a messenger works... where the chat window is independent of the parent program and the user can minimize it or move it around the screen. I also need to be able to pass variables to the "chat window". I am thinking about using something like fsCommand maybe.. but I would also like the child window to be a swf and not exe file.What I got is a parent program that will be responsible for child programs The child programs will be started using variables that the parent initializes the child with (flashVar). The child window will be similar to chat windows such as Yahoo messenger.
View 1 RepliesCan anyone recommend any 3rd party programs for automating text effects or other types of effects?
View 1 RepliesI am trying to learn Flash Professional from the CS5 Design Premium programs. I have the Adobe CS5 Design Premium Digital Classroom to go along with the programs. One of the classroom projects is to add TLF text to your graphics. But it doesn't work. I can get the Classic Text to work but this is no use to other lessons when most refer to the TLF text. Even one lesson file you open has the completed work that you are to refer to and the text is not showing up in it. I have Windows 7, Flashplayer 10, and ActionScript 3.0.
View 6 Repliesim new to CS5 but alot of my Action Script 3 tutorials and books require me to install it, (namely to create MovieClip files). My question is I intend to write software using flash that I can then sell commercially but im confused as to what licence I would need to do that? or if my CS5 licence would need to be valid for as long as I sell my software..... so far I have the trial version of CS5 Pro to continue coding but after reading this part of the user agreement (see below) it suggests that I cannot sell software with any 'output' files I produce during the 30 day trial... is this correct? what licence, if any, do I need to sell my flash programs created using CS5 Pro and will I need to keep it renewed once the program development is finished?
[Code]...
I am a flex programmer but i had nothing to do for handle manage memory in my projects. I think lack of memory management is reason for loading lag of swf file. Can any one help me to how to handle manage memory in flex/ as3 codes.
View 1 RepliesSo I've decided to at least have a fallback option outside of cs4 for all further projects by using a shared library (IE, my graphics in a separate swf)So, what are some programs that would allow me to do this? Preferrably something that can take illustrator files. Anything thats going to let me package graphics for as3/flash 9+I looked at swfmill, but does it function with as3? I couldn't figure this out, it looks like it was last updated in 2005 and the tutorial was still talking about attachmovie (which is deprecated)A program like this would be useful for new versions of HaXe as well. Having everything you're developing thrown in a single .fla is awful for a lot of reasons
View 4 RepliesI was wondering if there was a way to Link a button to open a program on my computer. I'm making an interactive desktop.... basically, and was trying to figure out a way to create links (or shortcuts) to a program using Flash 5, and having it open the program, or file.
View 6 Replieshow i can lock a swf file that it never decompiles by any programs....like sothing decompiler....i cant find any program for locking SWF.
View 4 RepliesI'm trying to develop a "virtual" video driver based on ViVi project example. It's virtual since it doesn't interact with any camera. It gets a video stream from a user program (C++) and also it acts as video driver for another user program (Flash) which displays the video stream.
So, if I have a /dev/video0. One program needs write frame to it and another reads one from. Is that possible? I need this because Flash doesn't recognize this camera, so I use a virtual driver as a bridge from my grabber (which uses the real driver) and Flash.
what are those software programs called that can read text that you input it?does anyone know of a free one online one that I can get it to read certain text fields for me?
View 8 RepliesIs it possible to say, make an application that passes its keyboard events to other programs?Like if I typed something into a text field in flash it would also "type" it into chrome, microsoft word, notepad++, ext.
View 1 RepliesMy Flash file is loaded with around 50 vector (animated) images which I have been working on for a long time... and I've just managed to rip them all in under 3 minutes!
View 4 RepliesThis is somewhat of an unusual topic, but hopefully you guys will have a reply that will allow me to go on. I am working on a 2D game following an unusual workflow that is very much 3D based. The workflow is 3D based but the game is flat! This is very important: Graphics are flat images.
Here's the general question. I need a Flash library that loads and is able to deal with 3D models, orient them and convert them in various ways to 2D BitmapDatas. Do you know anything that can do this? To elaborate, I was thinking of the best possible workflows for myself and artists' needs and there is one that I would really enjoy but need serious help to break through. Here it is: Import a textured 3D model from 3DS Max or other similar tools, into Flash At runtime, orient the model the way I want and draw it to BitmapData as a flat 2D colored image. This image is what is supposed to be displayed ultimately. Ideally there shouldn't be a need to display the model at all; just like you can draw MovieClips into BitmapDatas without adding them to the display list. The 3D model is non existent to the user, it's only a workflow convenience for developers, it's a data holder as well as a means to reduce file size.
- Still at runtime, I have to be able to generate a height map: Basically a BitmapData entirely black with, instead of the real texture, a gradient along the 3D Y axis that would have the same 2D shape as the model under its current orientation (i.e. it overlaps perfectly with the flat 2D colored image we made earlier; let's call colored images diffuse maps.) Remember it's along the 3D model's Y axis: If it's a character and its orientation makes the model's shoulder have the lowest Y 3D coordinate while his hips are the highest, the gradient will start from the shoulder. (i.e. it's not always "feet to head", depends on the model's orientation.)
my friend and I are trying to make a GUI for a CD that autoruns when you pop it in your computer. Now my friend can write the batch files to autorun the swf, but i guess what I'm actually asking is how to run programs or batch files from flash by clicking on a button. We tried just useing the getURL AS to link it but it doesn't run it (kinnda makes sense now...).
View 2 RepliesI got a new computer several days ago and it doesn't have Flash 8 or Higher. how to transfer Flash 8 programs from my old computer to my new computer? where to find free downloads of Flash 8 or higher?
View 1 RepliesCan anyone tell me if there's a way for changing the frame rate of a swf movie whithout opening the fla with the Flah IDE.
View 2 RepliesI'm creating a thermometer with the mercury animated as donations come in. I haven't touched flash in a long time, so be gentle.
How can I change the code below so the animation is faster without increasing the framerate?
var maxMercuryHeight = 192; // Mercury height at 100%
var currentDonations = 80; // Percentage of donations taken
var currentHeight = (currentDonations / 100) * maxMercuryHeight;
[Code]....
How can I make the animation ease out so it starts fast and slows down at the end?
I've been working on a flash animation that has been set to 12frames per second, but now my boss has told me it needs to be 25fps - but when i change the frame rate in 'modify>document' the whole thing just speeds up. Is there a way to increase the fps whilst retaining the original speed?
View 1 RepliesI have this code, which should work fine, but it doesn't.
Unit1_Mobs_Destroyed += 1;
Text="Unit 1 destroyed "+Unit1_Mobs_Destroyed+" Mobs!" It should set Unit1_Mobs_Destroyed to current value + 1 If Unit1_Mobs_Destroyed is 5 at the start, it should be this: Unit 1 destroyed 6 Mobs But that doesn't happen instead I get this: Unit 1 destroyed 5 1 Mobs
increase the actual workspace. Not the size of my stage but the actual box that is around the stage. Mines a light gray. Its just I have stuff the needs to be way way off screen and there seems to be a limit on how far the project extends.
View 2 Replies