[flashpro] Set contentpath parameter of FLV file in html
eric choisy
bbp at bbp-online.com
Mon Oct 31 11:26:51 EST 2005
you can use FlashVars parameters to transmit a variable in the flash
and assign this var to the media to Play...
or add a [?] after the path and swf name (from the help...)
.......
<param name="movie" value="urlvariables.swf?varFromHtml=blabla" />
........
<embed src="urlvariables.swf?varFromHtml=blabla" ......... />
</object>
in your flash
if mediaDisplay component or flvPlayBack component
myVideoComponent.setMedia(_root.varFromHtml, "FLV");
if video Objet from your library
my_NetStream.play(_root.varFromHtml);
hop this help
eric
Le 31 oct. 05 à 17:01, Stevio a écrit :
> Is it possible to set the contentpath parameter of a Flash video
> player in html, or does it have to be set within the Flash
> application before you create the SWF?
>
> Wondering if you can create a flash player to use with various flv
> files, and if I can rename flv files without having to recompile
> the swf file.
>
> Thanks,
> Stephen
> ------------------------------------------------------------------
> send message to the list: mailto:flashpro at muinar.org
> [FlashPro] list info, subscribe, archive: http://flash-list.com/
> There's also a WebPro mailing list: http://webdesign-list.com/
> cutting-edge sounds for flash: http://flash-sounds.com/
>
>
More information about the FlashPro
mailing list