Thanks eric Unfortunately that gives the same value for both scenarios
See http://www.mediakitchen.co.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 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 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 > or > embedded? > > Any help much appreciated > > Paul > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders