Pulling in MP3 file names at runtime

Hi, I've been looking for tutorials for creating an MP3
player and I've found a few that work with an xml file, but this
means hard coding the xml file into the flash file before
publishing. I have a site im working on where once on each page the
user has to listen to a file and then at that point answer
questions on it. I don't want them to be able to browse the tracks
at each stage.
Is is possible to create a generic mp3 player and then at the
insertion point in the html pass the name of the file to be played
at that point? If so can someone point me in the direction of a
tutorial which shows me how to do it please.
Thanks form a new Flash user
Wheelz

>>Is is possible to create a generic mp3 player and
then at the insertion
>>point
in the html pass the name of the file to be played at that
point?
Yes, Google FlashVars. Or check out SWFObject - it's got an
addVariable
method that makes this easy.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Can MediaSource display MP3 file name instead of MP3 tag information? ; Playlist default locat

    ?I am using Creative MediaSource Player 5.0.38 as an MP3 player on my computer:?. Can we get MediaSource to display mp3 file names instead of mp3 tag information when file is being played as part of a Playlist???2. Playlists are stored in this location:
    C:\Documents and Settings\Administrator\Application Data\Creative\Media Database\
    or if not logged in as Administrator:
    C:\Documents and Settings\[name of your account]\Application Data\Creative\Media Database\?Unlike with Creative PlayCenter, default location of Playlists cannot be changed in Windows registry.?Is there any?way to change Playlist default location?
    ??3. If Shuffle play mode is selected, MediaSource will still always play the first file on the Playlist? and only then switch to shuffle mode. I found a workaround for this because old PlayCenter 2 had this problem, is this a known bug that they still haven't fixed after all these years???Message Edited by c627627 on 04-6-200706:33 PM

    Hi,
    I understand you want to place description of Content type as refiner in Search Refinement.
    Without coding, you may considering adding a column for description and use this column as refiner.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Change MP3 File Name

    Does anyone know how to change the name of an MP3 file (ringtone) that I've downloaded/saved on my BB Curve?  No information is easily found when I do an internet search, BB web search, or in the user's guide.

    1. Go to the media folder on your homescreen,
    2. Press the blackberry button, go to explore,
    3. find the file you want to rename,
    4. press the blackberry button,
    5. scroll down to rename
    Hopes this helps
    Styles

  • File to idoc how to get file name at runtime

    Hi Experts,
    In my file to idoc scenario,
    the requiremnt is like in mapping i have to give condition like if file name is name1 then one target filed is 40 and if file name is name2 then that target field is 60.
    how can we achieve this ?
    Regards,
    rohit

    Hi Rohit
    mughdha is right but you can do it through graphical mapping easily
    give condition in fix value under category conversion like this
    1) source-> FIX VALUE ->if value is true then map FIX value
    else nothing
    double click on first FIX VALUE function and assign your input values for file (for ex 40 or 60,......) in the key field and in the value field assign TRUE
    if this condition will be true the it willl map second FIX VALUE
    else assign a constant with empty value
    in second fix value assign values (for ex 40 or 60,......) which you have checked in first FIX VALUE function in key field and assign corresponding name which you required in the value field
    hope this will solve your problem
    Thanks
    sandeep
    if helpful reward points

  • "FILE NOT FOUND" KEEPS POPPING UP AND THE MP3 FILE IS MISSING?

    I PULLED AN MP3 FILE FROM MY ITUNES LIBRARY THAT RUNS OFF MY EXTERNAL HARDDRIVE INTO A SESSION AND CHOPPED IT UP AND EVERYTHING WAS FINE! THEN I DRAGGED MY FILES OVER TO MY EXTERNAL HARDDRIVES TO FREE UP SPACE BUT DRUG THAT PARTICULAR PROJECT FOLDER BACK TO MY MACBOOK PRO AND WHEN I OPENED THE SESSION THE FILE NOT FOUND ERROR POPPED UP AND THE MP3 IS NOT IN PLAYBACK SESSION? THE PARTS I CUT UP ARE NOW GREY AND THE AUDIO BIN SHOWS THE NAME OF FILE BUT WITH AN ! AT THE END AND WILL NOT PLAY?????? WHAT DO I DO???? THE AUDIO FILE FOLDER FOR THAT PROJECT SHOWS THE MP3 FILE???

    Please don't 'shout'. People really don't like it.

  • ITunes 6.0 messing up ID3 tags and file names

    Hey guys, i have just upgraded to iTunes 6.0. I have noticed that this new version is messing up my mp3 file names. When i start up iTunes, there would be files that have their Title, artist and other info either missing, reverted to the original mp3 file name or changed to something else. This is incredibly annoying and troublesome as i have a lot of mp3 files. Does anyone else have this problem?

    Welcome to the world of Gracenotes. This is the database that Itunes reads to name your files. Apple pays a royalty to these clowns and this is what you get; misspellings and just plain wrong info.
    I constantly sort and edit my 1300 CD collection so I would suggest you learn to do the same within iTunes. If the author names are reversed, fix one then copy. Itunes will let you select and change multiple fields once you learn to do multiple selection..not hard but tedious at times.
    Apple needs to threaten to let us use the free CDDB for an alternate look up and a swap button on authors names, and so forth..

  • Vaildating File name with the data in the file using sender file adapter

    Hi,
    Below is the scenario
    1)       Pick up files from a FTP server, the file name is dynamic, how do I put dynamic name in sender file adapter?
    2)       Determine if the user correctly named the file based on data in the file.
    a.       File naming structure that we will be concerned with is <company_code><accounting_time_period>.<extension>
    b.      The company code and the time period in the file name have to match the data in the file.
    i.      For example.  If the file name is 1001_200712.csv and the data in the file is for company code 1005, time period 200712, the file is incorrectly named.  Both values must be correct.
    How do we do this?

    Hi Sachin,
                    As Rightly said by Krishna, You can not put Dynamic name in sender File Adapter .You have to provide the name of the file like "*.txt" in Sender Adapter and at runtime you can access this file name by using following UDF:
    DynamicConfiguration conf  = (DynamicConfiguration) container
      .getTransformationParameters()
      .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String valueOld = conf.get(key);
    return (valueOld);
    As now you have picked up the file name at runtime.
    Now concatenate source file fields Company_code and Accounting_timeperiod using "_" as delimiter in properties.Also concat the extension .Now you have required file name.
    So using EQUALS standard function ,compare it with File Name fetched at runtime using above given UDF, and pass result as you desire to process further or not or to raise Alert to resend the file.
    Thanks & Regards,
    Anurag Garg
    You can validate this file name in Mapping itself.

  • File-2-Proxy: Get file name in the inbound proxy?

    Hi,
    I need to know the file name in the inbound proxy. After a search I found that's possible mapping the file name to the target structure as it's explained in that link: [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1731350750DB00274596951164745615End?blog=/pub/wlg/2664]
    But I need to know if there is another way to access the file name in the inbound proxy without modifying the mapping.
    Thanks.

    this is possible by a dynamic configuration (there is no other easy way)
    some references -
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1159980350DB00296046510040545862End?blog=/pub/wlg/13704
    the idea is to get the file name in runtime using the dynamic conf code and poulating it to any field that will be part of the proxy message

  • Receiver File Name assign dynamically

    Hi friends,
              In our scenario, receiver file name is assigned to dynamically. Example Inventory_Current date. Inventory is static, but CurrentDate is changed on runtime.
    I was tried to Variable substitution method and UDF method. In this type dynamic value is mapped to target structure, so Receiver payload shows the dynamic value in output file. But we don't need that dynamic value. So, in variable substitution method and UDF method is not achived to my requirement.    
           Please any one help me how to change file name at runtime (receiver communication channel). If using any module program pls forward to me.
    Thanks & Regards
    Vijay

    Hi,
    if we want to get the Output file name as One of the Field value from Payload and Current dase with it means,
    1) Write one UDF & map Like this
          Name(giri)-----UDFCurrent Date----MT_Target
    2) Check the ASMA Option in Receiver Adapter Aloneu2026..
    3)No need to check the ASMA Option in the Sender side
    UDF Code:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    String Outputfile = conf.put(key,a);
    return Outputfile;
    Regards
    Seshagiri

  • Blackbery Link - browse pc folders and copy mp3 files not in music folder

    Hello to all of you
    I have music archives in different drives and pendrives
    It is not intuhitive at all how to browse local PC drives and or PC folders to select and copy single or many .mp3 files from the PC to the BlackBerry device.
    Please don't tell me that the silly solution is to move the mp3 files to the windows music folder.
    Additionally, i find really against an user friendly approach the BlackBerry Link in the music section. It doesn't allow to show the mp3 files names and use, manage and browse .mp3 files by their name, I see only
    - All the music
    - Album
    - Artists
    - Genres
    - Playlists
    well,
    - I have so many .mp3 files
    - they don't have all the mp3 tags
    - I see only an unfinished list which doesn't allow me to select the file I need, and I must scroll all of them every time
    A TOTAL NO SENSE in my personal opinion
    Anyway , from BalckBerry Link and from PC side, how to select one single mp3 file, QUICKLY, and copy it inside the BlackBerry device in the music folder?
    Thank you
    C0r

    Yes CRAZY!!! It is confirmed,
    trying to find a solution to this crazy behavior, I've turned to documents side.
    I've added my mysic folder to the documents and TA-DAAAH! The .mp3 files don't show!!!
    On the right panel a big string says "The folder doesn't contain supported files"!!!
    Well, looks like that BlackBerry Link leaks like the OS 10
    Anyway, if you can provide a solution that allows to copy mp3 files ID3-less (http://en.wikipedia.org/wiki/ID3), mean that none of the ID3 has been filled, thank you so much in advance.
    To BB Link developers, think about allow users to tranfer files as files and not as you arbitrary want, thank you.
    C0r

  • How write the Outbound file name in the Inbound file

    Friends,
    I have a scenario like this.
    Outbout filename - sample.txt
    In sample.txt, i have having data like 20
    Inbound filename - vivek.txt
    i need data the like sample, 20
    (NOTE: sample is the outbound file)
    How to get this scenario.
    Thanks in advance.
    regards,
    Vivek.

    Hi Vivek,
      If your PI is of SP14 and more you have an option called Adapter Specific Message Attributes.(ASMA) in communicatoin channel configurtaion, Which will help you in capturing the Sender file name during runtime.
    So you will have to enable that option (ASMA) in Commchannel and capture file name  in UDF using Java Code with the help of sap related API and map it to the target field which u would like to get populated.
    follow the thread it has the discussion about acessing the Source file name.
       Re: Getting file directory using dynamic configuration:Code needed
    Thanks,
    Ram.

  • File names get jumbled when using Add Folder to Library

    I have a set of .mp3 files created by playing vinyl LPs into a software sound recorder. Each of these is named with a number as the first two characters of the file name (the track number) and then the name of the song.
    I create the appropriate folder with the ArtistName and subfolder with the AlbumName in the Itunes directory and then copy the .mp3 files into the subfolder.
    My problem occurs when I 'Add Folder to Library'. The .mp3 files don't change, but the names of the tracks listed in the Itunes library are goofed up. There is no strict pattern, but mainly it shows the 3rd track having the 2nd track's name, the 4th track has the 3rd track's name, etc. I have to go back and rename all the tracks to make the Itunes Library match the actual .mp3 files. (I can tell they are mis-assigned by the file sizes).
    It might be a Windows-only thing, I'm not sure. Any idea how I can make the Itunes Library match its index to the actual files added when importing? Or is there some other technique I should use to import these .mp3 files?
    It is possible it is related to the fact that that initially the internal data in the .mp3 files merely shows 'Freecorder' for the Album and Artist in every file.
    Where can I report this as an 'official' bug to Apple?
    Gregg Cattanach
    Message was edited by: GreggCattanach

    Actually, your suggestion was somewhat helpful. It wasn't the 'Freecorder' in the Artist and Album slots. But when I look at the properties of the files generated by Freecorder in Windows Explorer, it appears the internal file names are being mis-matched with the actual .mp3 file names, so it's Freecorder that's creating the problem.
    Interesting. OK, It looks like it isn't an Itunes problem after all. But it's easy enough to edit the internal properties tags (Windows Explorer/ Right-Click / Properties / Summary) before I add the folder to Itunes.
    Thanks.
    Message was edited by: GreggCattanach

  • Dynamically assign the file name for "on demand read"

    Hi.
    A quick question.
    I need to poll a directory using the on demand read function of the FB component, and change the file name in the BPEL process.
    Basically I need to dynamically overwrite the destination file name at runtime.
    These are the steps in my Process
    1. Pick up XML file,
    2. Assign a field in the xml file (fileName) to a variable (flatFileName)
    3. Poll a specific directory using onDemandRead and look for the fileName specified in the variable
    So obviously,
    I have tried to assign the variable flatFileName to the fileName property in the FB component of the readout variable. But it doesn't seem to work.
    Firstly I want to know if this is possible, and secondly, any idea on how to solve this issue.
    Thanks in advance

    I think it is not possible. becuase the date & time added at runtime. so if you check the table  PATH you can find filename and their definitions

  • Saving MP3 files in a different format

    I currently have an extensive MP3 library already tagged and named to avoid doubles. I wish to import this library into Itunes but had noticed with a test import of a few hundred it is renaming them.
    Is there any way to change Itunes so that when it renames the mp3 file name it will be the format of <artist> - <song> instead of just <song>?
    Also is there a way to change the folder it is saving to also? The format I would prefer is <Artist 1st Letter>\<Artist> or just <artist> instead of <Artist>\<Album>.
    Thanks for the help

    No and no.
    You can turn off "keep my music folder organized" and "copy files to iTunes library". Then it won't touch your songs names or locations or what have you.

  • Is it possible to view ".mp3" files in Mavericks "Tags" windows by file name (rather than the info in the "name" field of it's ID3 tag)?

    Short version:
    When viewing ".mp3" files in a "Tags" window, the information in the "name" column next to the file defaults to the information in the "song" field in the file's ID3 tag.
    Is it possible to change have the "name" column display the actual FILE NAME instead?
    I did some research and found nothing.
    Long version
    Let's say I have a ".mp3" file named "Todd Rundgren - Hello It's Me.mp3"
    When I open the folder this ".mp3" is in and find the file, the "name" column will read "Todd Rundgren - Hello It's Me.mp3" (of course)
    Now, I tag the file "jams"
    Now I go to my "jams" tag view everything tagged "jams", the "name" column in that window DOES NOT say
    "Todd Rundgren - Hello It's Me.mp3" , but instead just "Hello It's Me"
    The finder seems to be pulling this information from the "name" field of the ".mp3" ID3 tag metadata (aka, the information that would be written in the "name" column when viewing the file in iTunes.)
    Ok, that's fine Mavericks, but I want to see the ACTUAL FILE NAME of my ".mp3", (which "tags" windows seems to do for most other things [documents, folders])
    Q: Is it possible to display the filename of a ".mp3" file when viewing a "tag window?"
    Tags are super useful, but this inconsistency makes it inefficient, distracting, and confusing to move freely between the window for a given "tag", and a normal "finder" window.
    Any help would be greatly appreciated, thanks!

    You are not alone…
    https://discussions.apple.com/message/24065588
    https://discussions.apple.com/thread/5762545
    I think you have to avoid editing inside the tags list with the 'metadata names'. Instead right click an item, select 'Open enclosing folder'.
    In 'real folders' you can enable the 'Title' in column via the 'Veiw Menu > show columns', that way you can see the file name & ID3/ EXIF titles.
    'Fake folders' (smart searches & the recent tags list) don't feel finished yet IMO.

Maybe you are looking for