public _url : String [read-only]
Retrieves the URL of the SWF file that created the button.
*Availability: *ActionScript 1.0; Flash Player 6
Example
Create two button instances on the Stage called one_btn and two_btn. Enter
the following ActionScript in Frame 1 of the Timeline:
var
The referrer is not the page displaying your SWF. The referrer is the page
you linked FROM to get to the page displayign your SWF. If I come from a
link in my blog to your site, my blog is the referrer.
You can't get the referrer from Flash, so you must use ExternalInterface and
use JavaScript to
]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Mudge
Sent: Thursday, May 03, 2007 9:00 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Detecting referrer in Flash
You can use FlashVars to pass it into your SWF via the HTML embed.
I'm currently using an anchor (foo.swf#abc
3 matches
Mail list logo