ActionScript 3.0 :: .swf With Embedded .flv Much Smaller?
Jan 11, 2009Don't know why it's smaller.Also, I could use .flv in Dreaweaver, but DW always insists on putting a skin on it.
View 1 RepliesDon't know why it's smaller.Also, I could use .flv in Dreaweaver, but DW always insists on putting a skin on it.
View 1 RepliesI 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?
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
View 10 RepliesI'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:
Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)
Is this possible by using Javascript and HTML5 from a browser extension?
Would I have to use something like the SWFObject Javascript API [URL]
I made a flash mp3 player and it works fine in any other test pages. but when i embed it onto my site it just shows blank. what do i do? my site is [URL] and the flash player i tested here [URL] and it plays. What im i doing wrong? i tryed everything. right now i just got it in a iframe but i dont want that iframe.
View 1 RepliesLooking at the attached file, why does bottomScrollV give me the wrong value when the text is dynamically embedded and correct when manually embedded?
Here's the code:
ActionScript Code:
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoad);
loader.load( new URLRequest("info.xml") );
[Code]...
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?
View 7 RepliesI'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]...
View 2 RepliesI have created my website with flash pro cs5 and when i open my html it looks okay but when i upload it to my server host and view swf file it looks smaller in myindex html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
[code].....
I made a Flash 8 movie (Swf) that is 212kb in size. I could reduce the size of my .Swf by compressing its pictures. I did so, reducing the pictures inside it from 518kb to 183kb with Irfanview but when I import them into my movie/library and save it there is NO difference in size - it stays on 212kb.
View 5 RepliesI made a Flash 8 movie (Swf) that is 212kb in size.
I could reduce the size of my .Swf by compressing its pictures.
I did so, reducing the pictures inside it from 518kb to 183kb with Irfanview but when I import them into my movie/library and save it there is NO difference in size - it stays on 212kb.
I created a stage size 960 by 640, than i create a movieclip exactly the same size as the stage, but when i double click to get into the movieclip everything get smaller an object with 960 by 640 has reduce to 184by 140??? How do I get it back to the original size?
View 2 RepliesI 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?
View 3 RepliesHow to check if value is not smaller (!<=) or bigger (!>=) than value x?
View 4 RepliesWhy 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.
View 2 RepliesLet's say I have some background made up of 4,000 small vector images (doesn't matter what they are, say flowers or stars or something). Once this background is set, these small items won't move or animate. The background will stay the same.What I would do, rather than keep 4,000 sprites on the stage, I would create one single background "Bitmap" which has all the sprites drawn onto it once.Is this still a good idea if that Bitmap is so large it covers the entire stage (which may be quite large for larger monitors if using NO_SCALE and fullscreen or something), or is it better to break that large Bitmap into 4 or more smaller ones placed seamlessly alongside eachother to seem like a large one?
View 2 RepliesHow i can to, knowledge, my text is smaller or larger of the value? If my text1.text the value is 10 and my text2.text is 20, how i can to flash detect if is smaller or larger?
View 1 RepliesI have a simple yet mind boggling problem on my hands,simply put I have a large MC (with its registration point in the center, i need it there), and it sits in a smaller stage (think of it like as if you were panning a map thru a viewer, like google maps) but i need a set of boundaries to prevent it from going haywire. Now i have tried a couple of methods ie [code]The above just manages to stop it but once it reaches that point the drag stops totally.
View 2 RepliesWhen I previewed my flash site before uploading it, the site appeared much larger. Are there any settings I can asjust so the site appears the same size when people visit online as when I previewd it in flash?
View 4 RepliesI want to embed an swf file that is on a different server.
The thing is that i want the swf to be shown at a smaller size (500X333 instead of 900X600 ).
The problem is that when i change width&height, the swf gets cut-off instead of show shrinking it.
I tried playing with the params, but couldn't get it to work.
I don't think it matters but it's a swf of a flex project.
I can make a circle (filled) turn. I want it to go gradually smaller or bigger while turning.
View 2 RepliesI'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.
At first I had all my sprites in an array and cycled through them to detect for collisions but now I am trying to put them in 1 big sprite and testing just that. I don't know if I am doing something wrong or this is to be expected but testing for 1 big sprite creates lag within the engine. Am I correct to assume that it's because I am constantly testing the pixels of the 1 sprite? When cycling through the sprites individually i never noticed this lag.
View 0 Repliesive seen this done before but i dont know the code, i want to have an image that is moved with the arrows decrease in size as the y value gets lower...so kinda like a 3d type of deal so the farther back you go the smaller you are...
View 3 RepliesThe following actionscript is some that I got from lostinbeta from an alpha fade question I had, that works fine but I now would like to have the movieclips get smaller at the same time as fading. So I put in some code that went like this
[AS]
//set the transform
mc._xscale = (i*10);
mc._yscale = (i*10);
[Code]...
I want a circle to get large. No problem:
onClipEvent (enterFrame) {
if (_xscyle<200) {
_xscale+=10;
}
}
but now: when the circle has reached the desired size I want him to shrink back to e.g. 150
onClipEvent (enterFrame) {
if (_xscyle>150) {
_xscale-=10;
}
}
I have problems because at a certain time both if-conditions would be fullfilled and nothing happens.
ive seen this done before but i dont know the code, i want to have an image that is moved with the arrows decrease in size as the y value gets lower...so kinda like a 3d type of deal so the farther back you go the smaller you are...
View 3 RepliesI'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?
View 13 RepliesI have a lot of questions about how to optimally load my newly created flash site (very large file size). I have created an entire site in Flash (one swf). It will take quite some time to load on smaller bandwidths, so I am wondering: Is there a way to have the main movie clip load, with the others loading in the background, instead of the user having to wait for the entire site to load.
Also, if I add a preloader to the entire swf, how can I get the flash movie to start before it reaches 100%? If not, is there a way to add preloaders to individual movie clips within the site. If not, how can I quickly break my fla apart and make my movie clips into separate swfs. After this, how do I add preloaders to those? Any general tips to greatly reduce fla or swf file sizes?
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).
View 1 Replies