ActionScript 3.0 :: Exporting .swc Reduced Size Of .swf Times Two?

Oct 15, 2011

Just wonder if this is common practice, but this is first time when I noticed, that if I export .swc from my library and then use the .swc from 'library path' by instantiating document class in new .fla I got my .swf two times smaller in size than publishing it by F12 method. I wonder what content was compressed, code or library objects (graphics)? Have about 40 classes in my app, and just guess that result was produced by compressing the code mainly, but maybe some of you can tell couple words about that.

View 2 Replies


Similar Posts:


Flex :: Tabbar Size Is Not Reduced When Button Visible And IncludeInLayout False

Nov 30, 2010

i have a tabbar with 10 button. when i change the some buttons visible and includeInLayout property false then tabbar size is not change..it is same as when it has 10 button

View 1 Replies

ActionScript 2.0 :: Significantly Reduced The File Size Of Pictures For The Website With Irvanfiew Flash 8

Dec 23, 2010

I'm building a website in flash 8. I have significantly reduced the file size of my pictures for the website with Irvanfiew. (for instance a 75kb picture down to 24kb) the quality is good, but the shadow that Irfanview use is rubbish. If I import the picture AS IS without shadow and convert the picture into a movie and add a shadow, will that add a lot of kb's to my overall website?

View 5 Replies

Text Size Changes When Exporting?

Aug 13, 2011

My text is displaying at the wrong size within flash, and when I export it, the text looks completely different. It's making it extremely difficult to work on my site, because any graphics I align with the text are way off when I preview the file.

Notice how the green bar didn't change size, but in the preview image, the bar is way longer than the text. I have been working on this site for a while, and I had no trouble with it until today. Now all of my text in all of the files is screwed up in flash, but still looks fine in the html page.. I need to get this fixed so I can keep working on it

View 7 Replies

Professional :: Changing Size Of File Before Exporting It?

Feb 3, 2010

I made a banner that will appear at the top of a website, though I just found out I need to decrease the width of it. I would like to export it at a smaller size, so I go to Publish Settings and I notice I can change the width and height. How can I do this while maintaing its proportions? It is currently 791 x 275. Using CS3.

View 5 Replies

ActionScript 2.0 :: Font Size Changing (significantly) When Exporting?

Aug 13, 2011

I'm running CS3 and using AS2. I'm not new to Flash, but this is a new problem that suddenly just started happening.My text is displaying at the wrong size within flash, and when I export it, the text looks completely different. It's making it extremely difficult to work on my site, because any graphics I align with the text are way off when I preview the file.

I attached an image showing what I mean- notice how the green bar didn't change size, but in the preview image, the bar is way longer than the text. I have been working on this site for a while, and I had no trouble with it until today. Now all of my text in all of the files is screwed up in flash, but still looks fine in the html page.. I need to get this fixed so I can keep working on it!

View 1 Replies

Flash :: CS4, Exporting Quicktime Movie: Size, Aspect Ratio, And Alignment?

Nov 19, 2009

I am new to Flash so this may be a basic question, but I have not been able to find anything in the help files or the forums. I have tried several times to change the size of my quicktime movies, from 550 pixels by 400 pixels to 480 pixels by 480 pixels, and I cannot seem to do it. I have used "Modify > Document" and tried every option I could find through this command. Each time I export I double check that the export settings match my desired size, and they do, but when I open the movie in quicktime, it has been stretched to fit 550 x 400 pixels. The preview movie looks exactl how I want, it is only the exported movie that is incorrect. Is it possible to make a quicktime movie of the size I would like, or is that a standard format that cannot be adjusted?

As a workaround, I have tried squeezing my 480x480 content into the 550x400 stage (while scaling it prportionally). but when I do this, the square of content is not centered in the background in quicktime. It is off center in the preview movie as well, and this commonly occurs after I have used "modify > document" to change the size of the document. The side to which it is aligned seems to be inconsistent. Is there a way to realign the video after I have modified the document size? Does changing the document size through "modify > document" affect the centering and alignment of my video? Is there a way to change it back?

[Code]...

View 1 Replies

ActionScript 2.0 :: Duplicating Clip & Scripted Movement - Duplicates Mc_logo Many Times - Randomizing Size

Aug 18, 2004

I'm making a banner ad for work and have a part where I want to basically rain our logo for like 15 frames or so. I've started doing this manually but as you can imagine, it's a bit tedious and time consuming. I looked at Kirupa's tutorials on snow and continual motion but I'm wondering how I would go about scripting it so it does the following within mc_logorain (which is sitting on the root) on enter:

1. duplicates mc_logo many times, randomizing size.
2. Rains for a set amount of time or frames and unloads.

I think I understand the logic of what's supposed to happen, just not sure of the syntax. Would there be two loops? One for the duplicate/random size and one to say basically "while i < 100, keep duplicating and raining"?

View 9 Replies

When Importing PSD Photoshop Files Into Flash The Quality Is Reduced

Dec 31, 2011

It looks perfect when the stage is set to 100%. But when I shrink the stage (even in the SWF), the quality of the image becomes choppy and the edges of objects become pixelated. Same thing with enlarging it. The publish setting JPG quality is set to 100%. How do I fix this? It's mostly the quality of shrinking it that I'm worried about; this image/flash will go on a webpage & I plan to have it automatically adjust its size based on the browser's size.I'm using Flash CS5 with Actionscript 3.0.

View 3 Replies

Professional :: Importing PSD Photoshop Files Into Flash, The Quality Is Reduced?

Dec 31, 2011

It looks perfect when the stage is set to 100%.But when I shrink the stage (even in the SWF), the quality of the image becomes choppy and the edges of objects become pixelated.Same thing with enlarging it.The publish setting JPG quality is set to 100%.How do I fix this?It's mostly the quality of shrinking it that I'm worried about; this image/flash will go on a webpage & I plan to have it automatically adjust its size based on the browser's size.

View 1 Replies

ActionScript 2.0 :: Loop A Flash Piece 3 Times And Stop After 3 Times?

May 11, 2005

I have a flash piece that I want to loop 3 times and then stop.

View 2 Replies

AS 3 :: FirstOne() Executed 3 Times And Then SecondOne() 3 Times?

May 30, 2010

i'm new to AS3. how do i go about executing a custom function n number of times and then executing another function n number of times repeatedly?

eg.

function firstOne():void { }

function secondOne():void { }


i need firstOne() executed say 3 times and then secondOne() 3 times and then firstOne 3 times again and so on. i'm trying to move a movieclip 3 times to the left and then 3 times to the right continuously.

View 2 Replies

ActionScript 2.0 :: Loading A Movie A Solid Shape Is There With Alpha At 100% Then Over A Period Of 5 Secs Its Alpha Is Reduced To 0?

Jun 27, 2003

using AS, on loading a movie a solid shape is there with alpha at 100% then over a period of 5 secs its alpha is reduced to 0.

i'm new to this......please help if you want to if you don't have a good weekend but think of me struggling onwards and upwards...

View 14 Replies

ActionScript 3.0 :: Auto-size Background / Swf - Flash Occupies Whole Screen No Matter What Size It Is

Apr 28, 2010

So ive been asked to build a page for a real state company and the guy told me it should be similar to these [URL] Ive been trying a couple of weeks so far, but i dont seem to find a way to do somthing similar, i mean, i want to have the welcome screen as those two:

- the gradient background
- flash occupies whole screen no matter what size it is
- gradient expands sideways infinately
- no matter what height my explorer window is, gradient is always in the same position relative to top, and if i keep expanding downwards the background keeps last colour of the gradient.
- the brand logo looks as if it had top, left and right anchors, and it also limitates the minimum width of the explorer window

i though of addind a 3000 x 3000px square with the gradient and centering it, but i know there has to be a professional way of achieving that.

View 1 Replies

Professional :: Build A Flash That Auto-adjust Its Size To The Browser Window Size?

Jun 8, 2010

I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.I have found this solution [URL].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
 
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip.

[Code]...

View 9 Replies

ActionScript 3.0 :: Build A Flash That Auto-adjust Its Size To Browser Window Size?

Jun 8, 2010

I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.

I have found this solution [url].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.

Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip...

I need it to stay exactly at the same position whatever the size of the movie-clip. [code]...

View 0 Replies

ActionScript 1/2 :: Frame 1 Size Grows Even Though Preloader Is Small File Size

Jun 24, 2011

I made a preloader for my single scene movie and although the preloader is about 16k, when placed into frame 1 of the movie and tested, the frame is shown to have about 256k, which is larger than the movie it's loading.  I've gone through all the files and made sure that export in frame 1 is not checked and made sure the publish settings also are set to export in frame 1.

View 5 Replies

Flash :: Make Size (width And Height) Full Size In The Browser?

Sep 15, 2011

I would like to know how to make flash size (width and height) full size in the browser? the real size of flash is w:955px h:600px I tried to make w:100% and h:100%, it makes pictures pixelate.

View 6 Replies

Flash :: Flex Relative Size Component, Fixed Size Border?

Mar 3, 2011

I want to create a panel (or any other component) inside a component that has a 5 pixel border on all sides, but scales fully when the window is resized. I know I can set width to "100%" to make it resize, but that gives me no borders. If I put it to "95%",I have borders, but they scale annoyingly. Also, that only works for borders on the right or lower bounds, and not to the left or upper sides.Is there a convenient way to do this without having to write tons of resize-code (in which case I will not bother and just accept bad rescale behaviour, as it is for a private pet project).

EDIT: I know that I can just overwrite the display handling and set the positions manually every frame. I wondered if there is a cheap way to do it in the mxml-structure, along these lines:

<mx:Panel>
width="100%" height="100%"
</mx:Panel>

Coming from C++ and Java, I am intrigued by the option of setting something to "95%" and let the library work out the details, instead of having to write many lines of code, just so my text-area always keeps a 5 pixel distance from the border, but scales with window width.If there is no easier way to do it than figuring out pixel sizes by hand and setting the coordinates.

View 1 Replies

ActionScript 3.0 :: Determine Point Size For A Font That Matches Specified Pixel Size?

Aug 22, 2009

I have a list of fonts obtained via Font.enumerateFonts() and I want to display them all as 12 pixels tall. The problem is that I cannot simply set the point size because this can vary in actual pixel size for each font. So basically I want to determine what the correct point size is for a font in order to make it exactly 12 pixels tall. Because I'm doing this with a potentially large list I'm looking for an efficient method to do this.

View 1 Replies

ActionScript 3.0 :: Changing Component's Size Doesnt Update Parent's Size?

Mar 1, 2010

I have following problem:

Code:
title_txt = new TextInput( );
title_txt.setSize( 100, 20 );

[code]....

View 4 Replies

Button Animate From Its Normal Size To A Larger Size But In A Fluid Scaled Motion Images

May 10, 2009

I need to make a button animate from its normal size to a larger size but in a fluid scaled motion. I'm using a png image I cant seem to get it to scale from small to big when animating, and I have inserted a motion tween.

View 3 Replies

ActionScript 1/2 :: .size ._droptarget - Change The Font Size Of TfNum_mc_.tf?

Sep 28, 2011

var tfNum_mc:MovieClip = tl.attachMovie("tfID","tfNum_mc_",tl.getNextHighestDepth());

If I'm to assign the above code to a dragDrop action. Is there a way to change the font size of tfNum_mc_.tf? I've tried;

tfNum_mc_.tf.size = 12;//did not work

var format1:TextFormat( = new TextFormat();

format1_fmt.size = 12;

tfNum_mc_.tf.setNewTextFormat(format1);//did not work

View 9 Replies

Flex :: Change Radiobutton Size And Label Size In Actionscript?

Aug 10, 2010

I am trying to change my radiobutton size and label size in pure as3...

searchRB = new RadioButton();
searchRB.name = "search";
searchRB.group = rbg;

[Code]....

View 1 Replies

Flex :: Changing Image Size Independent Of Scene Size?

Apr 6, 2011

I have three images and I want change the images size based on the scene size (default size is 1024x768). After each image has completely loaded I call bindableUtils.setter to set width/height when scene size changes but I don't know how to make a pointer or something like that. I'm using a public var img, but it only works with the last complete image.

Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

[code].......

View 2 Replies

Actionscript 3 :: Set An Application Size According To The Screen Size (for Mobile Devices)?

Oct 19, 2011

I am developing an AS3 application (not a Flex one) using Flash Builder 4.5. My application can set its graphical components automatically according to stageWidth/stageHeight. My problem is with the actual application size. If I do not specify width/height in the SWF meta tag, my application is compiled according to the default (550x400?). If I do specify (for example 800x480), I won't be able to support other resolutions correctly.

Is there a way to tell the compiler to see the application size according to the device's/stage's sizes?

View 1 Replies

ActionScript 3.0 :: Printjob Paper Size Same As Page Size In Browser

Jun 27, 2009

I'm trying to print a movieclip from flash. I'm using the PrintJob pageWidth and pageHeight properties to scale the clip to be as large as possible. Also, I'm trying to center the movieclip on the page.Now, in the standalone player, this works. In a browser however, the margins appear to be zero:[code]But when printing, the margins are there, and mess up the page layout (not centered + cropping).

View 0 Replies

ActionScript 2.0 :: Keep Size Of Button Same When Canvas Size Change On Run Time?

Nov 3, 2009

I want to reduce the size of Swf using the size mentioned in the object tag of html. Same swf file size can be different for different request.

The problem is this if we reduce the size all control in swf reduced according to the change in swf size. But we want the buttons and one more graphics remain same size for any change in size of swf file. How can we make it ..

View 1 Replies

ActionScript 2.0 :: Changing Stage Size To Match Photo Size?

Mar 30, 2010

I'm working on a slideshow where I'm calling in photos from an xml file. How do I tell AS to resize the stage according to photo dimensions? Would I need to list the dimensions in the xml file? If so, how would I pull that into the fla file with AS?

View 6 Replies

ActionScript 3.0 :: Lowing My Project Size - How Flash Calculate The Size?

May 18, 2011

i try to low my flash project size,make it as low as possible.okise here it the my file size before, 50kb and export file size is 8kb

so i know i need to covert some of my pictures and mp3 size,i have covert 2 mp3 file size ,one is 6mb and droped 3.7 ,other one is 7mb and droped to 4.2. so i save my file again, and my flash project file size droped to 18kb and export file is 10kb ??i dont really understand how flash calculate the size.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved