ActionScript 3.0 :: Video Size Available To Flash?

Apr 27, 2009

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?

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Flash Video Sites - Add Video And Resize The Video Acoording To The Page Size

Aug 18, 2011

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..

View 3 Replies

Flash :: Professional - Maximum Video Size To Keep The Video Running Correct?

Mar 28, 2011

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..?

View 5 Replies

Flash :: Video Size In Html?

Jul 18, 2011

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:

[Code]...

View 1 Replies

Video Does Not Play Well In Flash Canvass Size 550 X 400

Nov 25, 2010

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?

View 1 Replies

Flash :: Attched Video Size Not Set Properly?

Dec 26, 2011

I have a Video object that i set like below

this._VideoInput = new Video(241,241);
addChild(this._VideoInput);
this._VideoInput.x = 50.05;
this._VideoInput.y = 50.05;

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

View 1 Replies

Flash 10 :: Video File Size Optimization?

Aug 13, 2010

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.

View 1 Replies

Flash :: Optimize Loading Of Hd .flv Video With Large Size

Apr 2, 2011

There is a simple html page with intro video (.mp4 file). Video frame size is 1280*1024 (I need video to be as large as page up to 1280 px).

With such quality settings video file size is:

.mp4 = 42 mb (HD 1690*1080)
.flv = 32 mb (1280*1024, 25 fps)

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?

View 2 Replies

Flash :: Resizing A High Resolution Video To A Smaller Size?

Nov 2, 2011

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?

View 1 Replies

Actionscript 3 :: Setting Size Of Flash Video Through Frame Count?

Jul 25, 2011

Is it possible to set the frame count of a video manually in Flash BUilder 4? How is the frame length of a video determined in Flash Builder 4? I need to do this in order to trick video format converters into thinking that my video is actually x frames long instead of just 1 (my swf video is controlled completely through as3 code and thus resided on just the 1st frame). This way, the video format converters will be able to automatically (and correctly) convert my videos to another format (flv is desired). Another solution to this would be a converter that actually automatically converts based on video length rather than frame count, but I have already thoroughly searched for one and one doesn't seem to exist.

View 1 Replies

ActionScript 2.0 :: Linking To A Video - Open A Popup Window In Flash With 320 X 240 In Size

Jun 18, 2009

I can only do so much with flash. I am having issues with linking to a video. Here is my question: please refer to [URL] and click on the video link. I have 3 videos that I want people to view when they click on the links:

- SI TU T'EN VAS (2001)
- GWADA (2004)
- JODIA (2008)

I need the links to be able to open a popup window in flash with 320X240 in size.

1- I imported each video in flash (separatly) using the 30rates/frames, progressive dowload from webserver. (the usual).

2- I allready uploaded the videos (.swf and .flv) on the server (godaddy.com)

3- In my main file, I created a button for each one of the links above using the invisible button with their own instances. they are each on a different layer.

View 2 Replies

ActionScript 3.0 :: SWF Sound And Make The Flash Stage The Size Of The Original Screen Capture Video Of 1024 X 768

May 24, 2010

Made a swf [URL] some viewers see and hear fine but others are having sound and size issues and I need some practical answers. SIZE: I make the Flash stage the size of the original screen capture video of 1024 x 768 and right now it is set to

[Code]...

View 2 Replies

Professional :: Video Size Of FLVPlayer?

Apr 16, 2010

I have a videos of 16:9 and 4:3 ratio.When I play them in flvplayer having dynamically loaded skin, in 4:3 ratio video the video and skin both get squeezed.I put scale mode to 'mainaspectratio'as desired.But I want skin not to squeeze.As the controls are disorted. How to achieve this?

View 1 Replies

Professional :: Automatic Size Of A Flv Video?

Mar 24, 2011

I need to create a flv file that change automaticaly his dimension if I modify the dimension of the window of the browser. Is that possible? which is the right way to do this? Is there a tutorial? 

View 1 Replies

Actionscript 3 :: Set Video Size In OSMF?

Apr 29, 2010

OSMV is very thick so so I'm trying to put a series of minimalist tutorials and again I'm stuck with something that should be dead simple.I have a VideoElement that I added to a MediaPlayer. Now now do I set the size of the video?I'd like to just set the size on the mediaPlayer or MediaElement and not include 20 layout classes like the OSMF examples.

private function handle_elementLoaded(e:MediaFactoryEvent):void
{
mediaPlayer = new MediaPlayer(e.mediaElement); [code]....

View 1 Replies

Professional :: Encoding Video At A Larger Size?

Feb 11, 2011

Given:I encode video at 600kbpsI set the video to display by default at 448x336 (4:3)Users can set the video to display at full screen (let's say full screen = 1280x960)I can only provide one video resolution to cover all scenarios .Is there any logic to encoding the video for the larger size of 1280x960? Am I wrong in thinking:

Video encoded at 1280x960 and displayed at this size will look better than video encoded at 448x336 and enlarged to 1280x960; andThere will be minimal difference between video encoded at 1280x960 (and shrunk to 448x336) and video encoded at 448x336.

View 10 Replies

ActionScript 3.0 :: Any Way To Limit Size Of Video Object?

Jan 28, 2009

Is there a way to have a video object whatever the camera size is but have it displayed on the screen as a certain size? I cannot get the video object to stay a certain size...even if I put it in a movieclip.

View 1 Replies

IDE :: Maintaining Browser Screen Size With A Video?

Sep 7, 2009

I'm having a conundrum. I am trying to duplicate the link effect: http:[url]....The thing about that is that I am trying to create this for an HTML site as link transitions for a client. My issue is that the swf has to maintain size on ALL browsers and sizes. I've tried setting the html object sizes to 100%, but the video is smaller. Is there something I'm doing wrong?

View 3 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

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 :: 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

ActionScript 3.0 :: Pause Video Until Size Info Arrives

Nov 10, 2008

I'm using a class to load external .flv files in as3. To get the width and height i'm using the following line:

[Code]...

All works fine, BUT the video will load and start playing at a small default size then the size info will load after a short delay and then the movie gets resized. This doesn't look to great, so how to i pause the video, then only addChild and resume when i get the size info?

View 5 Replies

Flex :: Detect Source Video Size VideoPlayer?

Apr 30, 2010

Is it possible in Flex 4's VideoPlayer control (spark.components.VideoPlayer) to detect some attributes of the source video?

In my case, it's a local file. I would need to detect the original width and height of the input source video (an h264 f4v).

View 2 Replies

Flex :: Resize Video Child Of VideoDisplay To The Same Size?

Nov 23, 2011

i have the following code to play a video stored in the media server:

<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]......

View 1 Replies

Image (Reducing The Size) Sequence Or Import Video?

Feb 11, 2010

I'm building a Flash site that features a three-dimensional interface and I'm facing a significant file size problem, which will mean serious bandwidth problems when the site is online. I don't particularly want to go the route of actually bringing a 3D object into Flash, mainly because my object features transparency (it's made from glass) and papervision3d confuses me to no end. So I have two options: import as video or import as image sequence.

So I went with the image sequence idea. It was easy for me to give the viewer the ability to scrub back and forth through the looped animation and click on certain things at certain times (using invisible buttons). This gives the appearance the viewer is in a three-dimensional word, albeit on a fixed path backwards and forwards, much like a roller coaster

There's also an array of buttons down the bottom of the website that you can click on, and it will play through the image sequence (either in forward or reverse). So that works great, but even with high compression of jpegs and a low 12 fps, the swf file will be somewhere between 10 and 30mb, which is quite ridiculous!

Possible solutions include reducing the amount of images I use in the sequence, squishing it down to half the amount of images. Reducing the size of the images down to something smaller, like 800 x 600. But do you think I would get better results if I can import this as a movie instead and try to control the movie? Can I have the same control if it's an actual video file and not an image sequence?

View 3 Replies

ActionScript 3.0 :: Player (Full Screen Projector) And Video Size

Mar 9, 2012

I have an issue with video. I have a full screen projector running Flash Player 10.1. I call the video with this code:
function fbtnclickj(e:MouseEvent):void{
var loadera = new Loader();
addChild(loadera);
loadera.load(new URLRequest("videos/video1a.swf"));
}
The videofile (video1a.swf) uses the Flash FLV Playback component 2.5 (size 320 x 240) and the source movie is external (video1a.flv). The videoloads and runs fine but enters in full screen despite I have configure the component to exactFit. Any way to make it stay to 320x240?

View 1 Replies

ActionScript 3.0 :: Putting Video Object In Container To Control Size

Jan 13, 2009

I have a video object that dynamically changes. I want to put that inside of a movieclip that is always 320,240 no matter what the video object size is. I want the video object to increase or decrease but I always want to display it at 320,240. How would I write this? I tried:

ActionScript Code:
videoDisplay = new Sprite();
videoDisplay.graphics.beginFill(0xCCFF00,100);
videoDisplay.graphics.drawRect(0, 0, 320, 240);

[Code].....

But the video object still is large (my video object is 480,360 in this case). It seems like it is not nested inside of the the videoDisplay sprite which should only be 320,240.

View 1 Replies







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