Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
The easiest way in the world to pass information INTO a Flash
Author: Tiran Dagan
| Website: http://www.TiranDagan.com |
The Answer
All we need is to copy the parameters passed to the containing
html page (the page on which the SWF is “sitting”). What we do is alter the name
of the source SWF file to contain the parameters. Here is an example:
<PARAM NAME=movie VALUE="URL.swf[parameters]">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="URL.swf"
quality=high
bgcolor=#FFFFFF
WIDTH=550
HEIGHT=400
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
Fig. 1 – Sample code with [parameters]
passed to URL.swf
| » Level Intermediate |
|
|
Added: : 2001-10-17
Rating: 8.03 Votes: 43
Hits: 6950
|
| » Author |
|
At the age of 14, Tiran got his first "gig" as a programmer for a film production company. Since then, he has managed large development teams on PC, VAX and Unix. His roots are in the Z80, 8086 and Apple Green Book of operating system mnemonics, but Tiran incorporates his extensive background in art, music and general knowledge into object-oriented programming. His work combines video, audio, animations and server side programming.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (2 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|