General post until you provide additional requirements.
Flash , ActionScript.
on (press) {
fscommand("Variable1", "Variable2");
}
Visual Studio COM Object Shockwave Flash Object. , embed true.
Visual Studio Properties fscommand, Flash Movie.
AxShockwaveFlashObjects._IShockwaveFlashEvents_FSCommandEvent
Flash. e.command e.arg, , , - . , ...
lbl_Result.Text="The " + e.args.ToString() + " " + e.command.ToString()+ " was clicked.";
Flash- Flash Visual Studio. , .
# Flash-.
:
- ,
embed true. , Path References Flash-. .
:
Solution Explorer.Reference Add Reference.COM Object.
:
Shockwave ActiveXFlash AccessibilityFlash BrokerShockwave Flash
Flash , , # . , RTMP Flash. # Flash.
, , , . , F-In-The-Box, LibRTMP, .
, ; , Flash Video Object; # :
<% MyYoutubeUtils.ShowEmebddedVideo("<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/gtNlQodFMi8&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/gtNlQodFMi8&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>") %>
...
public static string ShowEmbeddedVideo(string youtubeObject)
{
var xdoc = XDocument.Parse(youtubeObject);
var returnObject = string.Format("<object type=\"{0}\" data=\{1}\"><param name=\"movie\" value=\"{1}\" />",
xdoc.Root.Element("embed").Attribute("type").Value,
xdoc.Root.Element("embed").Attribute("src").Value);
return returnObject;
}
: .
Flash #, # ActionScript. , , , .
, FLV # Flash. , . , # .