Ask a Question related to Macromedia Director Basics, Design and Development.
-
vij010 #1
Getting only the filename ??
I'm creating a player that allows you to have multiple files stacked and play anyone of them. The problem now is i need to get only the filename out of the string...like C:\music\samples\test.mp3".. need to only have test.mp3... how do u get that alone ?...not very cofident in loops and logic like this...
Vj
vij010 Guest
-
Exporting Changes my filename
Sometimes when I go to export a pdf the filename has somehow changed to a new file name. It doesn't happen all the time only sometimes -
split filename
who can split this file name then subtract "kenny.pdf" file name--> C:\programfiles\funk\pdf\kenny.pdf -
Opening the same filename
On my computer, (Windows XP FMP 5.5 & FMD 6) I can open two files with the exact same name that are stored in different directories. On my friend's... -
Get .PHP Filename?
I've been looking thru my PHP functions and can't find what I need - is there a function that will tell me what .php file is currently executing? ... -
PC to Mac jpg Filename Problem
I'm using PS 7.0.1 on XP Pro, and whenever I save a jpg file and burn it to disc, the filenames dislay completely different on a Mac. For example,... -
SafariTECH #2
Re:Getting only the filename ??
basically you use the backslash (\) as an item separator and pull the last item, which will be your filename.
i.e.
DefaultDelimiter = the itemDelimiter
the itemDelimiter = "\"
ActualFile = the last item of member("SourceFile").text
the itemDelimiter = DefaultDelimiter
member("Output").text = ActualFile
this example uses 2 fields and a button as a demo (attached)
[url]http://webforums.macromedia.com/attachments/filestripdemo.zip[/url]
============================
Glen Palmer
SafariTECH
Cold Fusion Specialist
[url]www.safaritech.com[/url]
============================
SafariTECH Guest



Reply With Quote

