> quick flash question. is there any way to supply (in flash 5
> and up) a custom param tag when embedding in a web page, and
> use it in the actionscript of the flash.. for example, with
> a web banner, I want to be able to parametrically supply the
> click-through URL, etc...
The common way these days to pass data to the SWF through its hosting
markup is via the FlashVars parameter & attribute for OBJECT and EMBED
tags, respectively:
"Using FlashVars to pass variables to a SWF"
http://www.macromedia.com/go/16417
But you mentioned the Macromedia Flash Player 5... FlashVars was introduced
two years ago with the 6.0 Player. For earlier approaches, try:
"Different approaches to setting variables in a Flash movie"
http://www.macromedia.com/go/14253
Unless you have a specific and odd audience, I'd urge you to reinvestigate
that "MFP5 or better" constraint... from the MediaMetrix March consumer
audit, fewer than 3% of consumers have only the Macromedia Flash Player 5
installed, and well over 90% have either of the last two versions:
http://www.macromedia.com/software/player_census/flashplayer/version_penetra
tion.html
(If you're on a landlocked intranet or other situation where people cannot
install software onto their own machines, then it may be useful to lobby
the client to have their machines upgraded to something recent... there
have been many security and performance improvements over the past few
years.)
If you're by chance creating a web banner advertising system, then
DoubleClick's DART Motif and similar resources have already worked through
these issues:
http://www.macromedia.com/devnet/rich_media_ads
jd
John Dowdell, Macromedia Developer Support, San Francisco
(Best to reply on-list, to avoid my mighty spam filters!)
Technotes: http://www.macromedia.com/support/search/
Technical daily diary: http://www.macromedia.com/go/blog_jd
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

