PDA

View Full Version : CS3 Video Componet


butterbean105
07-06-2008, 05:48 PM
Hi everyone, im new to this website and i really need some help.

Im using the Video componet in flash, and i i know how to load my video from a url or what ever. But id like to be able to tell my video player what flv to play through the html code. I knw its like content path or what ever. But i get errors when i try that can someone please help?

Ill be online checking to see if anyone has thanks.

BB15


Edit, im willing to paypal someone who can assit me with this -

ramm19
07-14-2008, 08:09 PM
you can use flasvars... something like this:

HTML SIDE:
<PARAM NAME=FlashVars VALUE="videolink=myVideo.flv"> include it also in the embed tag.

ACTIONSCRIPT SIDE:
videoplayers_instance_name.contentPath = _root.videolink;

Haven't tried it myself, but it should work.

gnomeontherun
07-15-2008, 02:21 AM
No, don't use <param>

View the embed Flash properly in my signature and it will show you how to best embed flash as well as how to pass some variables.

_Aerospace_Eng_
07-15-2008, 06:07 AM
you can use flasvars... something like this:

HTML SIDE:
<PARAM NAME=FlashVars VALUE="videolink=myVideo.flv"> include it also in the embed tag.

ACTIONSCRIPT SIDE:
videoplayers_instance_name.contentPath = _root.videolink;

Haven't tried it myself, but it should work.

Besides the OP asked for AS3. What you've given is AS2.

ramm19
07-15-2008, 05:50 PM
The OP NEVER said AS3... the fact that he uses CS3 doesn't mean he's using AS3. Specially since he's asking very basic questions.

ramm19
07-15-2008, 05:55 PM
No, don't use <param>

View the embed Flash properly in my signature and it will show you how to best embed flash as well as how to pass some variables.

jeremywilken: I doubt he'll want to use swfobject (even though it's the best approach), I've also noted some problems with it on IE7 browsers (on vista), both versions 1.5 and 2.1

_Aerospace_Eng_
07-16-2008, 08:57 AM
My mistake I thought he said AS3 not CS3.