Sorry, let me offer more information.
I am creating a custom control inheriting from System.Web.UI.Control.
The control is a wrapper for embedding a flash movie in a web page.
There is a property called OutputMethod that is an enumeration
[possible values]
ClientScriptVersionDetection, //This value will tell the control to
output the client script to perform a plugin version detection(Mimics exacty
what Macromedia outputs from publish)
SWF_VersionDetection, //This value is added to handle MX2004's version
detection inwhich an SWF movie actully performs the detection and rediects
to a good or bad page.
FlashOnly only outputs the Object and Embed tags for the flash movie.
There is also a property called MovieName which is a virtual path to the
flash movie.
There are also two properties (AlternateContentUrl) and (GoodContentUrl).
--------------------------------------------------------------------------
My Problem is with setting the OutputMethod to SWF_VersionDetection
--------------------------------------------------------------------------
(SWF_VersionDection is implemented in Flash MX2004 and actually uses a SWF
file to redirect to a good or bad url depending on if the plugin was found.
If the plugin is NOT found the SWF redirects to the AlternateContentUrl else
it wil redirect to the GoodContentUrl.)
When the control is rendered using the SWF_VersionDetection OutputMethod the
AlternateContentUrl and GoodContentUrl are passed as a querystring to the
flash movie: Example below:
<Param name="movie"
value="FlashMovieName.swf?AlternateContentUrl=MyAltValue&GoodContentUrl=MyGo
odContentVal">
The proplem is that when I set the MovieName to the Redirecting Flash.swf
file and then set the OutputMethod to SWF_VersionDetection and then Specify
the GoodContentUrl the flash movie is tring to open the GodContentUrl in a
seperate IE window.
Soit seems that If I can hide the values of the two Urls from the designers
rendering of the content but still allowing the user to set them in the
properties window.
I should be in business
Thanks
Alan Corbett (.NET MVP) said:
What Webcontrol are you using?
You could try disabling the webcontrol in the server-side and enabling
it
in
the client-side.
You could add a hidden field to the page, and on the client-side move the
value from the hidden field to the webcontrol....
I'm not exactly sure what you're after, here.
when