Flash :: FLVPlayback Resizing?

Jul 20, 2010

Alright, so I'm playing several different videos at different sizes with the FLVPlayback component and something odd is happening that I don't remember happening before...Now, when I switch from video to video, the FLVPlayback physically resizes to match the height of the video... I don't remember this happening before. Before, the FLVPlayback would just vertical center the video no matter what size the height of the video is.

View 1 Replies


Similar Posts:


Actionscript 3 :: Resizing A Sprite Without Resizing Its BitmapFill (or Its Contents For That Matter)?

Nov 1, 2010

I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:

I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.

From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..

in my library there is an image called 'pattern' and my code looks like this:

stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, resizeHandler, false, 0, true);

[code]....

View 2 Replies

ActionScript 3.0 :: Smooth Resizing As Opposed Going In And Resizing Every File Manually?

Sep 11, 2009

I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?

View 1 Replies

ActionScript 3.0 :: Resizing A Sprite Without Resizing Its Auto-fill?

Nov 2, 2010

I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .

I have an image in my library called 'pattern' and my code is as follows:

ActionScript Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

[Code].....

View 2 Replies

Professional :: Video On Site - Showing Error - Warning : The Linkage Identifier 'FLVPlayback' Was Already Assigned To The Symbol 'Video/FLVPlayback',?

Apr 27, 2010

I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
 
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.

I really don't know what that refers too.

View 1 Replies

IDE :: FLVplayback In FLash 8 And FMS 3.5?

Feb 22, 2009

I have a little Flash 8 FLVPlayback-based video player, designed to read a list of video URLs (pointing to a demo version of FMS 3.5) from XML. The player works the first couple of times you select a video but then stops displaying anything when you select more videos. The seek bar seems to move but there is not picture or sound. You can see it here:

[URL]

My ActionScript is as follows:

Code:
var vidList:XML = new XML();
vidList.ignoreWhite = true;
vidList.onLoad = function() {

[code]....

View 1 Replies

Flash :: Using FLVPlayBack In FlashDevelop?

May 24, 2011

Trying to learn some flash and got a question. How do I play a flv video, below code compiles correctly and load flash player but doesn't play anything

var vid:FLVPlayback = new FLVPlayback();
var ui:UIComponent = new UIComponent();
this.addChild( ui );

[Code]....

View 1 Replies

Professional :: CS4 Flash Button After FLVPlayback

Jan 12, 2011

I have a quick clip playing in FLV player. See it here: [URL]. At the very end of the FLV, I want to bring a button on underneath word "tutorials" so you can click and it takes you somewhere.

View 3 Replies

Actionscript 3 :: Flash FLVPlayback States?

Mar 12, 2010

I'm writing my own class to manage a skin for an FLVPlayback component. It works 90% of the time, but sometimes the state get really messed up. Specifically, the video is playing, meaning I can see it play and the VideoEvent.PLAYHEAD_UPDATE event is firing, but when I poll the FLVPlayback component about its playing property, it returns false. Instead the buffering state is set to true.I assume this may be because 'buffering' is kind of a subset of 'playing', but I cannot confirm this in the documentation. I guess another way to ask this question is, "Does the FLVPlayback component ever buffer while it is in a stopped state?"

View 1 Replies

Flash :: As3 - Stream An FLVPlayback Through The Internet?

Jul 4, 2011

I have a video in flash in the size of 19 MB (5 minutes) and I want the user to see what that has been loaded so far, or even get an indication of what has been loaded - so he won't be stuck in a blank screen until the video loads. The quality of the video is important so I won't resize it - but how can I: stream it so the user can see what that has been loaded so far give him an indication of how long he will need to wait until it loads.
My Code looks something like this:

[Code]....

View 1 Replies

Flash :: Mute FLVPlayback On Default?

Sep 8, 2011

I'm using the default flv player component in Flash cs4. I want my video to start on page load, but I would like it to be muted in the beginning, so the visitors can chose to unmute it if they want.

I tried to google and found a number of solutions which doesn't work for me(or rather I don't know how to make it work).

There seems to be a good solution here: [URL]

But the zip link is broken, and I'm not sure how to piece the tutorial together.

Edit: I tried something like this but unfortunately it didn't seem to work:

myVideo.volume = 0;
myVideo.muteButton.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(e:MouseEvent) {
myVideo.volume = 1;
}

View 1 Replies

Flash Resizing Workspace?

Feb 17, 2010

I'm starting to learn flash with AS 3. I can handle flash quite ok at the moment, but now I'm learning AS3.However, sometimes when I start Flash, the workspace "Actions" is larger than my screen. This means that a part of my script is not readable. #$Q^$!! I've tried everything to resize it, but didn't find a solution. I've flash professional for mac. I've tried switching 'workspaces' , try to move the workspace in another position. It doesn't work 'cause I can't drag the space above my screen.

View 3 Replies

IDE :: Resizing A Flash Movie?

Nov 12, 2009

I got a flash movie mostly composed of bitmaps and not a lot of tweening animations or actionscript. I initially made it quite large but now my customer decided he wants it smaller. This'd prolly be a piece of cake if it was made of vector shapes, but since it isn't, I need to resize the source images as well (no point in wasting bandwidth or introducing resampling artifacts with big images). Most my movieclips don't have a consistent registration point so I'm afraid they'll move around if I just resized the images and updated them from the library.

So I'm just wondering if there's a smart way of doing this or should I just start everything from scratch?

View 5 Replies

ActionScript 1/2 :: FLVPlayback Memory Leak In Flash CS3

Mar 31, 2010

I' making a flash file with AS2 in Flash CS3. I put a FlVPlayback in stage and let it load a couple of FLV files from my local HDD and playing continuously. I use "addEventListener" to check the current running flash movie is completed. After complete event occur, I load another flv movie to paly again.Here, I noticed that memory usage is increasing every time a new flv file is loaded and played. I heard "addEventListener" in CS3 is causing the memory leak and not being detected by GC. [code]

View 2 Replies

Flash :: Decode - Get Decoded Frames In (FLVplayback)

Dec 22, 2009

I want to know if it is possible to get the decoded frames from FLVPlayback, or if it is known another alternative to access the decoded frames from a flash player. What I want to do is to manipulate the decoded frames before they get rendered on screen. The video source could be an RTMP stream or a FLV (F4V) file.

View 1 Replies

Flash 8 :: FLVPlayback Component In (AS2) And Support For HD H.264 Video

Feb 19, 2010

I have developed a video player using Flash 8 Professional and the FLVPlayback component. Recently I have been testing a few 720p .mov files converted to FLV by FFMPEG running on an encoding server. I am noticing that these files do not play back in my video player. It appears that they do not have any audio attached to them but when I play them in Adobe Media Player the audio is there.

Is this due to the FLVPlayback component in Flash 8 not supporting HD videos? When I test locally the video picture plays with no sound but when I run in a browser the video freezes and does not play. The progress bar appears to move as if the video is playing however.

[Code].....

View 2 Replies

Flash :: FLVPlayback Component Won't Seamlessly Loop

May 19, 2010

Everything I've tried so far with a FLVPlayback component to seemlessly loop a progressively-downloaded 15 second video has failed. There's always a split-second pause when it's time to loop. For the scenario, embedding video in a flash project is not an option, and the split-second pause is unacceptable. I've tried setting autorewind to true and handling autorewind event fired by FLVplayback. I've tried watching the playhead of the flvplayer for when It gets upwards of 99.5 percent done and seeking to 0. My latest solution involves having two VideoPlayer instances with the same source behind the FLVPlayback component and toggling between them when it's time to loop, and there is still a seem between the end and beginning. I've tested the video in quicktime to make sure it's not an artifact of the video.

View 1 Replies

Flash - Use CS4 To Build An AS2 Project That Uses The New FLVPlayback Component?

Aug 8, 2010

We have a huge project written in AS2 with the old FLVPlayback component which was responsible for progressive download playback of FLVs. I'd like to support MP4 files (which is now supported in Flash 9 and up with the updated FLVPlayback) but would like to not have to rewrite all of the project.I've seen in various posts on SO surmised that one could possibly use CS4 to open the AS2 project, replace the FLVPlayback component with newer one and build.

View 1 Replies

Flash :: Can't Programmatically Control FLVPlayback With ActionScript

Oct 8, 2010

I'm trying to control the video playback of a live video stream using ActionScript 3 code in Flash Professional.

There's a FLVPlayback component on my stage titled "flvPlayer", and in Frame one of my "Actions" layer, I have the following code:

import fl.video.FLVPlayback;
import flash.display.Sprite;
var vidURL:String = new String("rtmp://www.mycompanyserver.com/test/live/livestream");

[Code].....

I can get it to work by adding the source to the Compenent Parameters window, but I need to be able to access those parameters in code.

View 2 Replies

Using Flash FLVPlayback Component With Skin On Facebook

Oct 30, 2010

I'm trying to insert a player on a Facebook Page tab with FBML with fb:swf. I have the following:[code]I can see the video, no problem. It plays inside a FLVPlayback component, which uses a skin (referred by /player/skinName.swf, I tried also the absolute path here). This player works perfectly everywhere else (even on an iframe Facebook application, where it's not inserted using the fb:swf tag, but with object, of course). However, I can't see the skin on the Page tab.

View 2 Replies

Flash :: Playback Of F4V Using FLVPlayback Won't Use Progressive Download

Dec 17, 2010

I am using FLVPlayback Component in Flash AS3 to play an F4V video hosted on a different server. I want it to start playing as soon as possible, but the video won't start playing until the F4V is completely downloaded (I checked with Firebug). I tried fooling around with the component's bufferTime parameter, but it didn't seem to make a difference. For what it's worth, the SWF is being embedded in a Facebook profile using the FBML tag fb:swf, although I can't see how that would make a difference here.

View 1 Replies

Flash :: FLVPlayback Component And A Playpause Button ?

Jun 16, 2011

I'm using a FLvPlayBack component and I have the skin setting set to none. I've dragged a PlayPauseButton from my library to my stage in a movieclip. The button pauses and plays the video, but now what i want to do is mimic the "autohide" feature in a normal skin.how i might accomplish this?

View 2 Replies

Flash :: Detecting When FLVPlayback Source Is Bad Or Not Found

Sep 23, 2011

I'm totally at a loss as to how to detect if my instance of FLVPlayback component has been handed a source that either doesn't exist or it can't play for one reason or another.

[Code]...

View 1 Replies

ActionScript :: Flash FLVplayback SeekBar Noise

Oct 7, 2011

my issue is with flash FLVplakback control with a seekBar attached to it. example can be found here. for some unknown reason when i try to rewind using the seekbar, it produces a loud noise at the start. whereas if i let it play out the entire movie (mp4) and then play again using the play button it does not produce such noise. in case i rewind using the seebBar after playback has completed even then it does not produce the noise.

View 1 Replies

Flash :: Call Code When FLVPlayback Finishes?

Feb 26, 2012

I hope I won't sound like an idiot, but this is my problem - I imported an SWF video file, it's an instance of FLVPlayback, named the instance 'video'. I need to invoke some method when the video playback is completed. So the question is - how can I do something when FLVPlayback ends? Using Flash CS 5.5, actionscript

Code I use:
video.addEventListener(VideoEvent.COMPLETE, playbackComplete);
function playbackComplete(event:VideoEvent):void

[code]......

View 1 Replies

ActionScript 3.0 :: Flash Creating A Seekbar For FlvPlayback

Jun 13, 2010

I'm trying to provide a seekbar for a FLVPlayback. I have MovieClips (Graphics) for the base bar, fill bar and thumb. How can I attach these MovieClips to the FLVPlayback using AS3 code? Do I have to create a skin, if so then how? I'm using the Flash CS4 (Not Flex).

View 1 Replies

Javascript :: Resizing Div With Js From Flash Makes Flash Appear To Freeze In Chrome?

Jan 30, 2011

I have flash resizing it's container div by using external interface to call the javascript:[code]Now this appears to work fine in every browser except chrome. For some reason after the div is shrunk back down to size, the flash player looks like it's frozen. It's actually not frozen because if you resize the window the flash player starts playing again and you can see it had made progress since it appeared frozen. This only happens in chrome. Does anyone have any idea why something like this might happen?The site so you can check it out yourself(yes I know it's a broken mess in IE, but I'm kind of ignoring that for now):[code]I've tried different window modes but that doesn't help. The problem is when it resizes the div back down because if I comment that line out the flash never appears to freeze. But I need to be able to resize the div...

View 2 Replies

Resizing Flash Images On Disk Without Affecting Flash Stage?

Mar 31, 2011

I've got an animation in Flash that's made of a number of large images - too large it turns out - flash keeps crashing and running out of memory.

I'd like to scale these down to 50% but maintain their on-stage size in Flash (or at least keep the positioned the same). I've scaled them down on disk, but this scales them in flash too (so messes up their relationships).

View 1 Replies

Disable Resizing Of Flash Scene In Flash Desktop Player?

Aug 19, 2011

I am using Flash CS5 and when I exprt my file to swf I notied that after exporting and playing it in Flash player (on my desktop) I can change the size of the window and the scene itself eventthough I have set the width and height dimension to e.g. 468x60.

So, the bad thing is that if I ahve some objects that are moving from this area and in banner I do not see them in flash player I can see all which is not good.

Is there a setting in export option to disable this behavior or some actionscript, so my client will not be able see the "mess-behind-the-scenes" :)?

I can probably remove some objects using actionscript, however if I have looping background image it is necessary to be bigger than 468px In my case 3x.

View 2 Replies

CS5 Flash - Resizing Multiple Layers?

Sep 17, 2010

I'm illustrating a growing corn plant and want to start close up to the seed, then "zoom out" as the plant grows to 7'. Is there a way to link multiple layers, re-size multiple layers, or something else to achieve this result??

View 2 Replies







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