[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Editing the dimensions of the stage

From: Chris Pugh
Subject: Re: [Swftools-common] Editing the dimensions of the stage
Date: Fri, 9 Apr 2010 22:04:23 +0100

On 9 April 2010 11:52, Joe Billings <address@hidden> wrote:
> Hi,
> I have a SWF file that I'm passing FLV files in through FlashVars - trouble 
> is, if the videos are different aspect ratios they get squashed into the 
> dimensions of the original stage. Is there any way I can either:
> a) Access my SWF file through SWFTools and change the stage (and FLVPlayback 
> instance) dimensions to match that of the video being passed in?

If by 'stage',  you are referring to the Bounding Box, then
swfcombine's -X and -Y flags
will change the Width and Height respectively, of the SWF.  Grabbing
the dimensions
of the flv is possible after 3 frames or thereabouts are loaded in,
yes?  However..

> or
> b) Generate a SWF file from Actionscript that has access to the video source 
> files (so I can add a FLVPlayback instance to the page) using SWFTools?

.. as far as I am aware ( I've not tried it lately), swftools does not
support flv playback.
Someone please yell at me if it does now!  There was a basic
ancoder/decoder support
in the source code at some stage.  That said, there are plenty of flv
out there which may be adapted, for example,


or you can code it yourself if you really must, using the Netstream
object, and then
compile outside of swfc.



If you are using Adobe tools, there is I believe an FLVPlayback component?

Anyway, HTH somewhat.


> Many thanks,
> Joe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]