ActionScript 2.0 :: Any Way To Shrink Down Flash File?
Nov 7, 2011Is there a program that will shrink down my 6,500k Flash file? I created the movie frame to frame but there is a pause when you first enter the website. [URL]
View 3 RepliesIs there a program that will shrink down my 6,500k Flash file? I created the movie frame to frame but there is a pause when you first enter the website. [URL]
View 3 RepliesWhen i am calling the url [URL] in my Android app webview.
Whenever i tap on textbox the layout get shrink while it didn't shrink on default browser. and keyboard popup on top of browser.
How can i message to keyboard to popup on top of browser or browser should not shrink itself?
I have Flash 8. I created a Flash movie a number of years ago, probably in an early version of Flash. I use it on my website. I want to redesign my site and make the movie smaller from the standpoint of making the canvas/stage size smaller. I don't mean just compressing the flash movie to a smaller swf. Is there some quick way to do this without having to recreate the movie and put in smaller elements?
View 3 RepliesI am trying to shrink the size of my .swf. I have done all I can think of off the top of my head, but it is still too big.
Is there a way to tell what the size of library objects are and/or a way to identify which parts of your .fla are adding to the size of your .swf.
To size a rectangle I use the following actionscript:
Code:
function sizeRectangle() {
rectangle.onEnterFrame = function() {
with (rectangle) {[code]...
It all works fine.When a certain button is pressed it needs to size itself to zero again.This is easy to do by altering "w=(Stage.width);" to "w=0;". What happends is that it will shrink from right to left. But how do i code this when I want the rectangle to shrink from left to right?
I have a button that inserts an mc on the screen every time it is pushed. So say I push it 3 times, the 3rd mc will shrink to be like 1 pixel wide when I use a key press that is in another mc, and I don't have the key press shrinking it.
View 1 RepliesHow to keep the same rounded corner even when I want to shrink it's width?
View 2 RepliesI am trying to make an interactive slideshow. I have nine pictures thumbnail size and I want it so that when you click on one of them they will grow, then when you click again it will shrink.
View 3 RepliesI am trying to create a zoom effect on my buttons "home - about - contact" so that when you rollver "home" that button gets bigger and the "about & contact" buttons move to compensate the size increase and the same for the other two buttons.
View 1 RepliesI have a grid of many 10x10 pixel squares separated only by a pixel line. When the user rolls over the sprite, it grows, animating to about 4 times its size--to around 40x40 pixels. The sprite stays large while the mouse is over the sprite, but if the user wants to rollover the neighboring sprite it is obscured by this sprite and its larger size.
Is it possible to shrink the size of the hit area so that even though the sprite grows in size the mouse can still access or trigger the neighboring sprites underneath--to the right, left, top, bottom? I thought about using Mouse_move, but wasn't sure if that would fire off too many events.
I read the following posts. However, my hitArea needs to be the same size or just slightly larger than the original 10x10 pixel sprite. I've had little success. [code]...
In AS2 I have a full browser flash setup with some centered movieClips.I only want them to shrink (proportionally) IF the browser window is 1024x768 or less.How do I code that into my listener?
View 4 RepliesI have a final published movie of 1024x768 it is pretty much all set.BUT when I look at it on some laptops it is just too big and looks awful.I would love to "SHRINK" it and all of its contents proportionally with out going in and reducing each and every MC and asset within the Source file.Is this easily achievable?I am using SWFobject to embed the swf.
View 2 RepliesI'm going to have a row of images all of which will need to enlarge when you mouse over. the images surrounding the enlarged image will need to shirk when it enlarges. So I have multiple images that need to shrink and grow depending one which image is moused over.
View 7 RepliesHow can i shrink the following code, so that I dont need to write a function for each single button?
Code:
_root.project1.onPress = function()
{
projects_counter = 0;
move();
[code]...
I've been trying to have all of the movieclips on stage grow bigger when the mouse rolls over them, then shrink back to normal size on roll out. I have that working, but it seems that my mouse detection is sometimes too sensitive.I say that because sometimes my movieclip will alternate rapidly between rollout and rollover, usually when I place my cursor near the edge of a movie clip.I've tried only adding the rollout event after the tween finishes, but by then the user could have moved their mouse off the movieclip, and no rollout event fires. I was wondering if anyone knows of another way to manage a rollover grow effect without the stutter.[code]
View 2 RepliesI'm trying to make a circle grow and then shrink back to it's original size, it will grow if I remove all of the shrink function
Code: Select allimport flash.display.MovieClip;
import fl.transitions.Tween;
import fl.motion.Tweenables;
import fl.transitions.easing.Strong;
import fl.transitions.easing.None;
import fl.transitions.TweenEvent;
[Code] .....
i'm an AS2 novice but I wanted to write a class that when you rollover a button it would grow and the others would shrink! At this point it's only missing the other buttons to shrink cause I have no Idea on how to refer them in the code!
[Code]...
I'm using the "loadMovie" method and according to the using flash manual.. it's supposed to import a swf and resize it to the size of the movieclip it's replacing... only here's the problem.. I cant get it to shrink the incoming swf to the size of the clip calling the method... it keeps importing the swf at full size..
View 1 RepliesIn the Spark DataGrid the default row height is about 22 px. I would like to set the default row height to 18 pixels and I can do this easily enough with the rowHeight property but what happens is when the rowHeight is set to anything less than 22 px the bottom area of the text in each row is cut off. It seems that the default grid itemrenderer or grid label has a min height set to it. Since I have multiple columns and want to have shorter rows but not have the bottom of the text cut off in each row how would I do this?
View 2 RepliesWhat code can I use to shrink a piece of text in a dynamic text field to fit within a certain height and width.
View 1 RepliesI can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 RepliesWhen I call a .php file from flash and then echo a value back to flash from said .php file flash does not read it. My code is like this:
[Code]....
Note that there is a successful connection to a database using xampp as a server.
If you have an .as file in the global include directory do you have to upload it to your server with the flash file or does it compile the flash file with the included info?
View 2 RepliesI have to work with a .fla file. I would like to rewrite this file in AS3. Is it possible?
I mean, I would get a .swf file as result of compilation of mxml file in Flash Builder 4 IDE, not Flash CS5 (I don't know CS5, I'm a newbie) . Main target is getting a .swf file by compilation of mxml file, not fla file. Could you explain in detail how this code works? For example what's TXT ? Is it a inputText? Where is this variable defined?
Now I 'm linking .fla file ....
[Code]...
I have the need to change a variable in a child Flash file.
The setup is a parent Flash file, that has called a child Flash, and placed it in a movieClip.
I can send a variable using Javascript to the parent Flash file, but not directly to the child Flash file. Is there a way that I can access the child Flash file directly with Javascript?
Or do I need to send the variable to the parent Flash file, and then have the parent send the variable to the child Flash file? Is there a sort of dot notation that I can use with Javascript to get to the child Flash file without first accessing the parent, when the child is added to the parent using the loadClip function in flash?
I have created a booklet in InDesign cs4 that includes page turn transitions. I have saved it as a SWF file and it works perfectly on my PC with the ability to sweep through the page turns. My issue is now, what type of file can I export the SWF file to so that I can view it on an iPad and am still able to have the page curls?
View 3 RepliesI'm having some problems inserting my ammap into my webpage. I've read through the documentation and it isn't helping. The map works with if I use the .html file in my original folder but all the paths are relative and I'm trying to make this work in an ASP.NET MVC project using visual studio. It's rather tough to explain the problem since I don't know what's wrong (no javascript or flash debugger).Here is the code that embeds the ammap:
<script type="text/javascript" src="../../Content/AlcoholAndWar/WarStuff/ammap/swfobject.js"></script>
<div id="flashcontent">
[code]....
Is there any "mainstream" library used for this purpose? Commonly spread, well maintained, documented etc.I found these (using flash):
Uploadify - not many releases, latest 12/2010, no documentation (!)
SWFUpload - latest release 03/2010, documentation
fancyupload - looks buggy.
phpfileuploader - looks heavyweight, and looks commercial (?) I cannot read the licence (you can download it but are you allowed to use it forever without paying?) plupload New version of pure javascript (no flash) Valums' ajax upload claims to handle file size limit and progress bar, which is quite suspicious to me: these features require to guess the file size before the upload, which seems impossible in javascript (look also here). Or can it work?
I need to find a way to detect keystrokes when the flash file is not selected and send that information to an .swf file. The file would be stored locally (not on the internet).
View 3 Repliesis there a simple way to just pull back a true or false value from an associated javascript file to a flash file? here is what i have:
Code:
var bincheck:Boolean = fscommand("eval", "parent.check_bins(\'"+img+"\')");
if (!bincheck){return false;}
return true;
check_bins(img) is a function in my javascript file that simply iterates through an array, returning false if "img" is found. im simply trying to get the true or false value back into flash, but its not proving that simple. i added a couple alerts so that i could see what the "bincheck" value was, and i keep getting an 'undefined' value for "bincheck" in flash.