Macromedia Flash Server - VideoProxy component

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > July 2005 > VideoProxy component





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author VideoProxy component
Frédéric v. Bochmann

2005-07-14, 8:45 pm

If you are a Component Fan.

=20

I've extended the UIComponent and created this VideoProxy component =
which
can be quite useful.=20

=20

It basically gives you the typical UIComponent interface to the =
instance.

=20

The reason I've done this component is because of the lack of interface
methods in the Video interface that macromedia shipped with its IDE =
Classes.

This will stop you of using compiler hacks like videoInstance["_height"] =
=3D
180.

=20

This component also provides a .dimension property (basically an Object =
with
the width and height property of the component). You can use that =
property
in a read/write matter.

=20

To set the NetStream to this component set the .video property to the
netstream instance you are using and it will automatically do =
'attachVideo'.

Property is read/write too.

=20

=20

It can be downloaded at this following link:

=20

<http://ftp.snm-nms.ca/~fbochmann/vi...y_component.zip>
http://ftp.snm-nms.ca/~fbochmann/vi...y_component.zip

=20

=20

The whole source is in there. I've also included a SWC version of it in =
this
zip file, so that you can add it to your great list of Components.

=20

*this component does not auto-resize to the video original size, since =
it
doesn=92t really fiddle with the NetStream data except displaying it.

=20

Enjoy.

=20

Fredz./

=20


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com