Hi,
Not sure if this is the easiest way to do this, but you could use
ExternalInterface to call into a javascript function which returns
window.location.
Eg: In MXML:
private function getHostName():String
{
return ExternalInterface.call("getHostName");
}
In your container HTML file, have the following javascript function:
function getHostName()
{
return window.location.toString();
}
Regards,
----
Anirudh Sasikumar
http://anirudhs.chaosnet.org/
On Wed, Feb 27, 2008 at 4:06 AM, Manjith <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> ilder we used and availability of these commnads.
>
> We use Flex 2.0.1 which doesn't coer most of these commnads. For
> example mx.manager.IBrowser.
>
> therefore is there any easy way for us to find url details within
> Flex 2.0.1
>
> Thanks
>
> Manjith
>
> --- In [email protected], "Sujit Reddy" <[EMAIL PROTECTED]>
> wrote:
>
> >
> > check out the below URLs
> >
> http://livedocs.adobe.com/labs/flex3/html/deep_linking_7.html#251252
> >
> http://livedocs.adobe.com/labs/flex3/html/deep_linking_5.html#245869
> > Hope this helps.
> >
> > Regards,
> > Sujit Reddy G
> >
> > On Tue, Feb 26, 2008 at 9:46 AM, Manjith <[EMAIL PROTECTED]> wrote:
> >
> > > Hi
> > >
> > > I am new to FLex 2.0.I want to find a host name within a flex
> program.
> > >
> > > Also I would like to know any of you guys are using some
> commandline
> > > parameters to passs to flash file.
> > >
> > > for example I want to find a parameter to falsh file and within
> a flex
> > > code I should be able to get that parameter values.
> > >
> > > Thanks
> > >
> > > Manjith
> > >
> > >
> > >
> >
> >
> >
> > --
> > Regards,
> > Sujit Reddy. G
> >
>
>
--
Anirudh Sasikumar
http://anirudhs.chaosnet.org/ - PGP Key ID: 96F81F5D