user310291
user310291

Reputation: 38190

Is it possible to do in silverlight like in flash: loading a flash movieclip at runtime and remotely?

I can't see how to do this because silverlight is compiled.

I don't want to load a video, I want to load a component/object that will be instantiated at runtime. Flash can easily do this as movieclip is also an component/object.

Upvotes: 1

Views: 96

Answers (3)

bendewey
bendewey

Reputation: 40245

Check out the MefShapes sample from this presentation. It uses MEF to dynamically load different XAP files. http://www.bendewey.com/blog/index.php/337/silverlight-using-mef-presentation-at-philly-net-code-camp

Upvotes: 0

Chris Taylor
Chris Taylor

Reputation: 53709

Yes you can, for the nitty gritty details take a look at Managing Dynamic Content Delivery In Silverlight, Part 1.

For a ready made solution you can look at using MEF to provide the framework for building a dynamically compose-able solution. Take a look HERE for a quick start.

Upvotes: 3

Andy May
Andy May

Reputation: 4070

What video format are you trying to use? You can certainly load remote video files and play them in Silverlight, but it depends on the format. This article should help you get started.

Upvotes: 0

Related Questions