Paul,
To detect this, use flashvars. You can send them either as flashvars
parameter or as part of swf url:
(for IE Object tag)
OR
Then try to check these vars at _root (as _root.var1 etc).
BTW, Actionscript.org uses this to hide emails from spammers.
--
Best regards,
Gregory_GOusab
Thanks I will give that a go
Cheers
Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
o.uk/test_url.html
>
> and
>
> http://www.mediakitchen.co.uk/test_url.swf
>
> Cheers
>
> Paul
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of eric
> dolecki
> Sent: 14 November 2005 14:10
> To: Flashcoders m
[http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=1742.html]
For Example:
// shows the player type
/*
Read-only property; a string that indicates the type of player.
This property can have one of the following values:
"St
if you are writing the url, the make sure that the html passes in a
variable to the flash movie.
if the variable isnt set then you know you have been accessed directly.
martin
On 11/14/05, Paul Steven <[EMAIL PROTECTED]> wrote:
Is it possible to detect if a swf is being viewed in a html /
November 2005 14:10
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Detect if swf being viewed in html page
check mc._url
On 11/14/05, Paul Steven <[EMAIL PROTECTED]> wrote:
>
> Is it possible to detect if a swf is being viewed in a html / asp page OR
> just a direct l
check mc._url
On 11/14/05, Paul Steven <[EMAIL PROTECTED]> wrote:
>
> Is it possible to detect if a swf is being viewed in a html / asp page OR
> just a direct link?
>
> So for example I may view a file as
>
> http://www.mysite.com/test.html (which embeds test.swf)
>
> or
>
> http://www.mysite.com
Is it possible to detect if a swf is being viewed in a html / asp page OR
just a direct link?
So for example I may view a file as
http://www.mysite.com/test.html (which embeds test.swf)
or
http://www.mysite.com/test.swf
I would like the swf to be able to detect if it is being viewed directly o
8 matches
Mail list logo