Flasher Archive

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


Subject: RE: FLASH: Displaying the file name as a variable
From: Paul Allman
Date: Thu, 6 Apr 2000 13:36:02 +0100

Thanks Nathan.

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Nathan
Dicken
Sent: 06 April 2000 12:27
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Displaying the file name as a variable


Hi Paul,

You can do this using the "_url" property on the main timeline. This can
then be used as a variable, in a text field, etc... On some browsers this
will return a full url (http://www.whatever.com/yourmovie.swf) and some
others return just the filename for the swf (yourmovie.swf). You could
bring in the _url property and check to see if it's the long or short
version and chop it down with subString if you need just the filename.
Used outside of a browser setting, this will return the path to the local
file.

Examples:
Set Variable: "myFilename" = /:_url
(or)
Set Variable: "myFilename" = _level0:_url

Hope that helps...
Nathan

--------------------
Nathan Dicken
Fusionary Media
www.fusionary.com



>This is almost undoubtedly a beginners question. I am currently building
>outline software for a project built in Authorware. I have a number of
Flash
>assets being developed and I want to set up the icons ready for these. To
do
>this I'm going to set up a number of shockwave files referred to the script
>we use. What I'm looking to do is to create one file which states we're
>waiting for the real asset AND also has the filename on screen. this way I
>can keep duplicating the file and all will work.
>
>But I don't know how to display a filename on screen...
>
>TIA
>
>Paul Allman
>Fullard Group
>www.fullard.co.uk


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpatchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpatchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Displaying the file name as a, Nathan Dicken

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