Flex :: Why Is The Size Of Swf File Smaller Than The Sum Of It's Swc's
Jun 24, 2009
I compile my Flex application with several swc's (libraries) and it creates a swf file. The sum of the swc's is roughly 4 MB yet the actual swf generated is only 1.6 MB. How is this possible?
My swf file is rather large, so I tried changing the quality settings and the publish settings, but nothing I do seems to change the size of the final swf.
I'm trying to create a custom button with ActionScript 3.0. I'm suing a round rect as background, but I have a problem with it size. This is my custom button class:
[Code]...
I don't know why when I use a size of (40, 20) I get a smaller rectangle than that size.
I made an SWF file (say X) and I have loaded this SWF file into another FLA file (say Y). With help from this forum, I got to do what I wanted - when I click on a button on the FLA file (Y), the SWF (X) shrinks to a smaller size (about half the size) and when I click on that same button again, X enlarges back to the original size. I acomplished this with tweenlite. THe SWF (X) has a slideshow of images. Now, when the SWF (X) shrinks to a smaller size, the images look very distorted and text in the images are not readable (although the text is large enough to be clearly visible).
URL...I can't seem to figure out why the swf file is so small. I published it at 100% width & height (I want it to be full screen) but it only shows up as 216 pixels tall.
I have a situation wherein I have to keep the size of my flash swf smaller than 215X130 pixel. However, I want to use Microphone, so the permission dialog needs an area at least 215X130.
My company sent me a video that they wanted us to post on the intranet. It's a simple powerpoint video with a narrator talking about some policy and benefit changes, etc.
I tried the exporting the video in both 720(width) and 1280 format, and found that when shown in fullscreen mode, the 1280 format was much easier to read than the 720, however, we didn't want to show it on the intranet page at full 1280 by default. So I modified the html and javascript that plays the movie so that it would show in 720 width on the page. The problem with resizing the 1280 video into a 720 space is that the video player bar (where the play, stop, volume controls are) becomes extremely small when I do this. Of course, this is because Flash generated the player with a toolbar optimized for 1280, so it's getting scaled down when I pack it into a smaller playing area.
Is there an solution to this that I haven't thought of? How can I generate this movie to get the better full screen appearance of the 1280 video, but also still show the video in a smaller 720 area when the user is not in full screen mode?
I have a question regarding httpstreaming we have fms running with multiple smaller mp4 files about 50 MB in size. When played they start playing immediatly but still are cached/downloaded in directory C:Documents and SettingsUsernameLocal SettingsTemp of the clients
Now we have issues with a large file of 890 MB, which is not being played, clients need to download this complete file to play it. Does the streamingpart doesn't work well on our server?
Please help since we getting a lot of complaints from viewers. Running FMS 4.0.3 on CENTOS 5.7 64 Bit
What can i check besides the forums regarding dynamic httpstreaming
what I want to do is publish my flash file so that it scales down but not up!So if a browser window happens to be smaller than the pixel height, the movie is scaled down but if the browser window is bigger than the pixel size, the movie is not resized and just centered.
if it's possible to prevent a textfield from auto-scrolling on highlight when it's height is smaller than it's autoSize height. selectable = false is not an option, and the smaller height is a requirement, can't make it proper height and then mask it.
I see a number of cool sites and examples using Senocular's TransformTool. Most of them look and function really well. I've downloaded and reviewed the code for a number of different examples.I can see how everyone else's works.I'm having difficulty with 2 points:
1. When I select a movieClip, the TransformTool appears in the correct spot and in the correct dimensions. But the movieClip itself is relocated much above the TransformTool and is MUCH smaller than its original size and the current (and correct) dimensions of the TransformTool. Selecting one of the handles and dragging stretches the movieClip but does not make it the same dimensions as the TransformTool
2. Releasing one of the handles seems to cause the handle to behave in the same way the movieClip did -- you can resize and move the handle.
I found this really neat photo gallery on flashkit but there is no support or readme included. how to size this thing.. the AS code does have comments but I am not a coder.I'd like to make the image window smaller and the overall movie smaller. 325x325 or so
I've been trying to get this png file as small as possible. It's currently 96kb and I'm going to use it for banner ads. Most limits are 40kb. When I compress this down and reduce the quality to about 50 it only gets me down to 50kb. Still over. I've tried converting it to a vector and a few other things but no luck.how I can get this as small as possible while preserving the blank background?
I've been trying to get this png file as small as possible. It's currently 96kb and I'm going to use it for banner ads. Most limits are 40kb. When I compress this down and reduce the quality to about 50 it only gets me down to 50kb. Still over. I've tried converting it to a vector and a few other things but no luck. how I can get this as small as possible while preserving the blank background?[url]...
Why when I take a file that's huge and resize it smaller does it look so pixelated? I have on smoothing and the file looks great until I make it smaller.
I'm wondering if having large peces of text commented in your code, will affect the file size of your exported file, when you put it on the net.About half of my code is commented, so removing it would reduce my file size significantly, and thus decrease loading time. or is commented code removed automatically when you export the .fla file?
I have 2 .swf files.#2 will be dynamically loading into #1.
Lets say the stage size of #1 is 600x400.
Lets say the stage size of #2 is 800x600.
Is it possible to load a larger .swf file (#2) into a smaller one (#1), and somehow see the whole thing? As in, not crop the embedded file to the dimensions of the smaller "containing" file?
using better code to reduce file size.I've just done a colour change swf for a friend who has a clothing business. Basically it just needed to change the colour of the t-shirt according to button presses.I just wanted to know if there is a better way (more code i assume) to do the colour changes? I'm looking for a really compact file size because there's a lot more to go in it yet.
I am using Flex Builder 3. Even for a small project, my exported .air file's size is around 400k. Is it because of all the Flex libraries being compiled into my application. I wanted to know if it is possible to remove the libraries that I don't use.
What are libraries like "qtp.swc" and the "automation" libraries?
I have created a preloader in flash, with help from a tutorial, but it doesn't work properly. The preloader starts with loading on 100%. This is what I'm talking about:[url].......I created a smaller file to demonstrate my problem.
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
I have a built a mobile application using flash builder burrito and when i export the app from the builder the size of the apk file is say 1180KB,but when i try packaging the same application from the command line the size increases dramatically(to 2679KB).In both the cases if we see the size of swf file it is 2679KB only.So the builder is using some compression techniques to reduce the file size.Is there any options available in command line to do the same compression technique??.I have used the following command to package the swf file..
I've got a small action-script chart, that's meant to be live updating, and also be able to support more than 10000 points of data. The way it's currently set up it doesn't need to redraw the whole chart if the new line we wish to add doesn't extend that chart's boundaries. Yet it does, the redraw regions show the whole chart as being redrawn as opposed to the single line i need to add. When the chart gets a new piece of data from the javascript it does the following.(some stuff has been stripped for clarity.[code] Is there any better way to do that, that won't redraw the whole screen? Is my coding pattern wrong for this type of update?