Flasher Archive

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


Subject: Re: FLASH: Detect player environment?
From: John Dowdell
Date: Mon, 18 Sep 2000 21:05:58 +0100

At 9:28 AM 9/18/0, Tobie Kerridge wrote:
> In certain circumstances it would be nice to branch the actionscript
> depending on the context of the swf, if it was being played locally
> or over http, or in a browser or in the player. Is there an easy way
> of detecting this, and using it in an "if" structure?

I don't know of a readymade universal approach, sorry, but one thing that
can help can be to pass some info along in the HTML tags, to check the _url
property, to try to make a loadvariables or xml request... these can all
have different results in different playback situations.

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/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]