Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: parameter |
| From: | Jonathan Mao |
| Date: | Tue, 7 Dec 1999 01:10:45 GMT |
Hi John
Thanks for the prompt response.
John said:
> > How do I load a parameter?
> > i.e., How can I read the 'EMBED' parameters?
>You can't do that directly.
Hmmmm... so how can I do it indirectly? :-)
> > I have a .SWF that I want to read a URL out of the parameter part of
> > the HTML file. Flash already reads some parameters (e.g. WIDTH), if I
> > add a parameter how do I read this into Flash?
> > e.g param name="sessionID" value="awli"
>If in Flash 4 you could convey the variable via the .swf URL:
>
>filename.swf?sessionID=awli
So where exactly in the HTML file would I put "filename.swf?sessionID=awli"?
e.g., would it be in:
<embed src="netxIndex.swf" loop="false".....>
so that it becomes <embed src="netxIndex.swf?sessionID=awli" loop="false"....>
Because I'm inexperienced in this area, let me clarify the situation:
We have a Flash intro page (index.html) that contains a button that
users can click on to go to the main page (home.html) of the site.
The main page will be different for every user.
So I need to be able to append stuff to the URL which will be served
live. i.e., the complete URL is only available at the time it's
served.
I thought the logical place to put the variable would be in the
"parameter" part of the HTML file that contains the .swf file.
Again, thanks for the help. I hope I can achieve this and prove to
ourl ead programmer that Flash is more than a toy.
--
--------------------------------------------
Jonathan Mao
design and production director
spark TCP
52 Mugga Way
Red Hill ACT 2603
Australia
--------------------------------------------
voice: +612 6260 8093
mobile: 0419 215 172
mailto: jon
--------------------------------------------
- Live each day as if it were your last -
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

