Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Loading variable from URL
From: John Dowdell
Date: Mon, 17 Apr 2000 23:03:45 +0100

At 9:29 AM 4/17/0, Jason Bouwmeester wrote:
> I think I read that you could pass a variable from a URL. I have
> a client that may possibly want a current temperature on the
> site, I was wondering 1) if this was possible 2) if there is a
> place on the web I could load the current temperature from.

Well, it's *possible* to grab data from a distant URL, Jason, the only
kicker is that it needs to be formatted so Flash can read it. This data
needs to be URL-encoded, as it would be for FORM transfer, and there's an
example on p183 of the Flash 4 manual.

This is one of those areas where the Shockwave Player pays for its
increased download size... in addition to its other abilities, it can
retrieve and parse data in XML or any arbitrary format. Flash *can*
retrieve, but the tradeoff for small player size is that the data needs to
be preformatted, sorry.


My current fave weather site, and cool newsfeed resources:
http://www.wunderground.com/
http://www.moreover.com/
http://www.isyndicate.com

jd





John Dowdell, Macromedia Tech Support, San Francisco CA US
Search technotes: http://www.macromedia.com/support/search/
Offlist email risks capture by the spam filters. I may not see your
email if it's not on the list. Private one-on-one email options are
available via Priority Access: http://www.macromedia.com/support/



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]