For video playing I used as3 sample script (because there must be only playpause, replay, mute buttons with custom styles), like that
var strSource:String = "video.flv";
// create a new net connection, add event listener and connect
// to null because we don't have a media server
[Code]....
The problem is that I can't find a way to play it smoothly. It's loading in very annoying way, video is interrupted after each few seconds of playing.
I understand that the main problem is large video file size and hd quality, but may be there is some way to largely decrease .flv size or handle playback in more friendly way?
I have a large ON2 VP6 encoded FLV video (334 MB, 75 minutes) hosted on the web and being played back using a basic Flash movie player:
[URL]
Many people are having problems getting the entire video to load. The loading progress bar will increase quite quickly at first, but then it will either slow down to a crawl or will stop completely. If the progress bar stops increasing before the video has fully loaded, it will not continue no matter how long you wait. Reloading the page does help.
Is this likely to be a problem with the FLV file, the Flash player or is it more likely to be a problem with our web host?
I have recently "inherited" several websites that feature 1 to 10 minute video animations in SWF formatOne of my challenges is to get these files to appear or play in a timely manner so that the viewer does not loss interest as it is loading. My questions will start with file size.reduce or minimize the size of published SWF files while still maintaining high quality video output? Second, how about this business of preloading.I don't really understand that term but my thinking is that if a large movie could be loading while another, shorter, movie is playing, or a graphic displaying, that this could be useful in my case. Lastly, how about streaming in general. Are there ways to optimally use a given download speed to efficiently stream SWF video?
I have an Embedded (synchronized with timeline) clip in a flash movie.I am controlling the currentFrame of the clip by dragging a slider left to right (to simulate rotating an object).The problem is when I go forwards, motion is smooth, but if I drag to the left Flash cannot seem to efficiently play back in reverse and the motion is extremely jerky.Obviously I'm skipping frames depending upon the position of the mouse, but there is a very noticable lag when currentFrame is decreased vs. increased. Is there a way to optimize an embedded timeline clip for reverse random seeking like this?Possible solutions (untested) :Use video instead of embedded - I would expect this to make the situation worse though!Create a second reversed video for when scrolling to the left. This would probably double the file size.
I'm loading a lot of external videos and pictures and I'm wondering what is the best way for handling the loaded videos and images. Should I unload them after they have finished playing and reload them whenever they are needed, or it's not required since they just use the clients memory and not the cpu cycles when inactive?
We have developed flash video player which needs to playe large videos (at least 500 MB videos).We have some issues in the player right now.I am playing a 100 MB + video, it start playing and say it is buffering upto 50% of that video. Then I am closing that page. If I take that video again, it starts downloading from beginning. It never resume downloading from where it buffered previous time. But for small video files, this is looking ok. Is there any size limit a video player can buffer?Is there any better way to play large videos (more than 500 MB). Any other protocol or any other settings in flash player?
i am looking to use a fair amount of music in a project that a user has dynamic control over. because file size is an issue i was wondering the best way in which to optimise file size and performance? i have noticed the loadSound command for retrieving it from a server and also considered using a linkage and not exporting in the first frame (if i do this how do i export it afterwards?).
I have a textarea where I measure the textWidth and textHeight to make sure the user cannot enter more text than can fit in the text area. I also extended the textArea with a textHeightNow and textWidthNow that measure the textField's dimensions since they update w/out requiring validation. Now this works great for 90% of the embedded fonts I'm using but any fonts that have giant serifs are not measured properly, for instance look at the 'f's in this text area:You can see they get cut off on both sides because textWidth and textWidthNow both return an incorrect size not taking into account the massive serifs.
Recently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..
i'm making a website and it has some parts with flash such as the background. You can see the site here: [URL] You will see that the preloading of the background is too long beacuse i have 4 images as background in the library. the images are 950 x 650 pixel jpegs that in the library use the Photo(compression). So when the swf is on loading it take a lot of time.
I have an Mp3 which is approx 100mb on my server how can i load only small segments at a time so that when people listen to the mp3 it not downloading the full 100mb mp3 file all the time
i am using streaming mode, here some of my code i am using the loadsound command
I am creating a Flash site for a client who wants to display many (about 15) fairly hi-res photos as well as a video. I am using the Video class to display and control the video, and the Loader class to load the photos. I preload them from an XML file up front, while "loading..." is displayed.
The video plays immediately after the loader finishes, and the user can also choose to view the slideshow, which has left/right arrows which show each photo with a simple fade tween between each one.
The problem I am having seems to be that when all these assets are loaded, the video and the "fade" effects are very choppy. If I cut down on the number of photos, everything works fine; but I have to include all of them, plus the video.
I am storing all the Loader instances in an array, and when they are requested, I add them to the stage and fade them in. When it finishes fading in I remove the previous one from the stage. So they are all stored in Flash's "memory", but there is only one Loader or Video instance on the stage at any given time. Is there a better way to handle this? Perhaps some way to cache the images but not bog down Flash's memory? I would prefer to have everything loaded up front in order to avoid needing a "loading..." for every slide.
I'm currently working on a website design. The idea is a big chromakeyed interactive video in Flash. The size of the video is 1080 (width) x 1500 (height) pixels.I've exported the video in After Effects with the standard settings for flash (File>Export>Adobe Flash Player(SWF)). Now when I import the video in Flash and preview the file, the video plays in a slower speed and it's not playing smooth at all...Is the video too big? Is there a maximum video-size to keep the video running correct in Flash? Is it something else that causes this problem..?
i made a masking anim using frame by frame animation on the mask layer...
when i exported the swf it was of 83 kb (too huge) and i checked it was all due to shapes in the mask layer....
i found "eltima swf optimizer" on internet but it gives only black and white output in the demo version ....
i opmitized all shapes one by one by using modify>shape>optimize using 100% optimization but when i exported swf this time was 114kb(even more) this sux!!!
my question is that is there any other "swf optimizer" that i can use for free.. (hey its my school project and i just need to mask a single jpeg)
I have made one one mobile application in flash builder using flex mobile project I have a question that "why size of an .ipa file is large as I export a mobile application as iOS application.???? in compare to that same application for android takes small size!
I am involved in project managment for a large video conferncing project involving over 100k simultanous connection and most likely to be increased 4 times by next six months.While figuring out the scalability area ,it was concluded that smart selection of hardware and origin-edge clustering will be suited most. Well while studying this documentation says it supports thousands of calls but unfortunately I could not determine the actual numbers. Can you tell me how many edge server will be needed for 100k simultanous calls/number of sessions per edge server and will we need license (4500$) for each edge server?
I'm trying to load a local file using FileReference load(). It will load small files just fine, but when I try to load a file of around 4-80 megabytes the flash player will crash. I read the load method officially supports up to 100 megabytes.
Here is the exact class I'm using to test: ActionScript Code: import flash.events.Event; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.net.FileReference; import flash.net.FileFilter [Code] .....
I'm working on a final schoolproject at the moment and the file size is getting really large... Because I might update this project later with more footage, I've already put a lot of code on the buttons which I have put between comment tags for now, so I'll be able to update it later easily.
The max on our project is 10MB, now there is a lot of external footage like sound and video, but still all the flash files together are taking up a lot of space.
Does anyone know if a lot of comments in the code have any effect on file size?
I was wondering if somebody could point me in the right direction as I don't have much time for trial and error...I have a bunch of FLVs that have a large file size that I would like to compress and resize...what would you recommend as the best software or method of doing so without losing too much quality?
I am loading images of different size and then images are scaled and border is drawn for each image as shown in below link,[URL]... I want that border of images to be of the same width and height and for that I need to find out the max width and height size image before loading all the images. Is there any way that I can know the width and height of an image before loading it completely?
I am trying to put a 1024x168 flash video(swf) in a web page and but the video is getting clipped, I wish to have scroll bar appear whenever it overflows. Below is my code:
I'm building a video player but are running into some issues with the original size of the FLV:s. What I need to know is when the size of the FLV is available to me in the code.
[Code]...
I've tried to include a button which writes out the value of these properties when I click it, and the properties seem to always be set. The problem is that I need to know when I can be sure that the size is available. Is there some event I can catch or something?
I have created a video using ScreenCorder: The canvass size is 1440 x 900 pixels for the video file I have imported this video in Flash.
The canvass size for my flash is 550 x 400. When I import the video to the canvass I have to shrink the video so it fits onto the stage however when i do this you can no longer so the quality of the video.
For example I want to keep my Flash canvass to 550 x 400 as I have done a lot of work on Flash and don't want things to move.
I want the video to play at a good quality how do I do this?
The size dimensions are perfect in Mozilla when i run the application but in IE the width of the video object expands a further 100 pixels why is this?
EDIT: Even when i set the width 100 pixels the width size remains at 320 pixels everytime i run the application in IE
we are doing a seamless interactive video-game-video project, but are having optimization problems. Because the client wants a full-screen option for both the video and game segments, our file size is too big. Any advice on how to minimize load time yet retain a relatively high-quality image standard? The h.264 image quality, but there are licensing issues, and we need the transparent alpha channel for the video segments.
Loading takes too long time. Maybe there are some workarounds to make it load at least a bit faster. There is a way of creating static XML - it means splitting existing database records in one, and new records - to dynamic XML (so it's not requesting all Mysql rows in every single page request), but I'm not sure if it's going to make it load fasterWhen loading XML some browsers stop at apprx. 70% and does nothing. (can't figure this one out)