| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Passing flash variables...
I know this can be done via the querystring and also with the param tags within the <object> tag, but those methods does not work in this case. The page I am creating this menu for uses ASP.NET Master Pages, I need the flash to recieve a variable from the page that is loaded to tell it which frame of the menu to display (there is a highlight on the buttons when one is selected, this variable will tell the flash which button to highlight on each page.)
Since the flash is embedded in the master page, I can not pass the variable to the flash from the <object> tag and really dont want the URL to display page.aspx?FlVar=Home, etc. Is there a way I can include something in the other coding of my page, without having to use other external files? |
|
#2
|
||||
|
||||
|
why can't you do that in the <object> code?
how do you include the Flash? |
|
#3
|
|||
|
|||
|
because the <object> code to include the flash is on an ASP.NET Master Page, and the variable that needs to be passed will differ depending on which section (page) of the site your on. If it's passed in the <object> code, the same value will be passed on every page.
|
|
#4
|
||||
|
||||
|
still can't see the problem. have such code in the master page:
Code:
<asp:Literal id="litFlashObject" runat="server" /> then in the code behind: Code:
litFlashObject.Text = "<object ...... params=" + this.FlashParams + "....</object>" and FlashParams will be public property of the master page that can be changed. |
![]() |
| Viewing: ASP Free Forums > Web Design > Multimedia > Passing flash variables... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|