Welcome To VertexTemplates.com Flash MX 2004 Tutorials Area - Passing variables to flash
Flash MX 2004 Passing variables to flash Tutorial.
As part of my site deign I was after a method in which I could have a reusable banner. This banner was going to be a flash program and would be cached for every page. I wanted to pass a variable to the flash program, and that would be the title for that page.
There are several methods of passing variables to a flash program. The first method that I used, passed the variables via the HTML tag value.
Below is an extract of the code that I use for the navigation bar:
<body onLoad="PassFlash()" >
Extra bits have to be added in the code that loads the swf plugin. They are the id=mndbanner in the codebase tag, the NAME=mndbanner and swLiveConnect=true in the embed tag. The movie name ( name of the swf file), in this case mndbanner has to be the same as shown.
|Home Web Templates Affiliate Program Template Tour Custom Website Design Tutorials Articles Contact Us FAQ's
All Rights Reserved © 2005 VertexTemplates.com
Flash Templates by Metamorphosis Design