Check out AS3.

var myVideo:Video = new VIdeo();

Eric

On 8/2/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
>
> Ok, I guess my message was too extensive. Let me simplify it:
>
> By taking this article as a base: http://www.bit-101.com/blog/?p=546(Quick
> and Dirty FLV Player, by Keith Peters)
>
> 1) Is there a way to programmatically create these video instances without
> the need to put an actual instance on the stage through the IDE?
> 2) Is there a way to create this video object (the one we have to put on
> the stage) purely through ActionScript ? Or do we really need to have this
> object present in the library (either put via IDE or swfmill) ?
>
> I guess one possible solution would be to create a MovieClip with this
> video
> object instance and then attach it programmatically via AS.
>
> What do you think ?
>
> Thanks,
>
> Marcelo.
>
> On 8/1/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I consider myself an intermediate to advanced flash developer. It has
> been
> > almost 3 years since the first time I played with it. However, I never
> > really dived into video with flash and or flash video (flv) - and I ask
> > myself - why haven't I studied and tested it earlier, now things start
> to
> > get confusing.
> >
> > Here's what I want to do: A series of "video-thumbnails" created on a
> kind
> > of grid. The video starts playing in the thumbnail as soon as it gets
> its
> > first bytes. When the user clicks on a thumbnail, the video stretches to
> its
> > natural size and then plays with sound.
> >
> > It's simple, but I have no idea on how to programatically create FLV
> > players. I don't want to use the heavyweight UIComponent for that. I've
> > already saw the method where a "video" instance is created and placed on
> the
> > stage - I don't want to place any instance on the stage through the
> flash
> > IDE, I want to create all of them solely through AS, without using the
> Flash
> > IDE, if possible (use swfmill or pure-mtasc generated swf). Is that
> > possible?
> >
> > Thanks in advance,
> >
> > Marcelo.
> >
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to