How To: Create Download Mp3 Link

Hello fellow flash users-
I have been building my website in flash and have a simple
question that I cannot figure out for some reason (maybe its too
simple) . Anyhow I have uploaded my mp3 songs of my music and used
the geturl and _blank so that when someone clicks on my link the
music opens right into thier quicktime player (if on mac) or
windows media player (if on pc). I want the user to be able to
download the mp3 to there computer (ie like a normal download
window appears stating "do you want to download this file to disk"
is there some other code or line I need to add ???? It seems so
simple? I would really appreciate the help as I have tried a number
of things with no success. Thanks!
Matt

Hello mattyfuse,
Oh - OK - now I see what it is you're after. This whole time
I thought you were wanting to create a way of downloading a file
using the Flash player. You're actually after a normal download
type situation like if you're in a regular HTML page. Where the
browsers GUI is used to prompt you with panels for progress and
completion of downloads.
As far as Flash is concerned, the FileReference object is
limited in it's control of the GUI tools in the browser. Apart from
a few more commands, the script I showed you above is basically it.
You are right that you have to "STAY in the exact page" because
that's how a Flash movie works. You close the page - you close the
movie (and consequently, any downloads).
You can make the Flash movie behave like the browser tools by
building your own preloaders, info panels, and prompt boxes. But
this would require a lot more work on your behalf and you would
need a good knowledge of Actionscript. And again, you would still
have to STAY in the exact page!
My only workaround is to perhaps zip your mp3 files and have
a button that points to it. That way it'll behave like a regular
file and trigger the browsers default download functions.
You can use the same script that you use to open the mp3
file.
on(release){
getURL("
http://www.mysite.com/mysong.zip",
"_blank");
Hope that helps

Similar Messages

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • How can i download mp3,mp4,flv,vedio,all tape file.

    how can i download mp3,mp4,flv,vedio,all tape file.

    If I understand the question correctly, you want to download certain file types and not play them. See
    [[Set how Firefox handles different types of files]]

  • Download MP3 links/files

    Hi guys,
    Is there a way to save/ download MP3 links like old style blackberries?
    Thanks,
    M

    When you press the link for n second or 2 , a menu will slide open from the right.
    Right at the bottom of the menu , you will find 3 horizontal dots (...)
    Press it.
    At the bottom of the next menu you will find the option to "Save Linked File"
    Hope this was helpful..

  • How do I Download mp3s to Touch without PC

    I do not have a PC with iTunes, but have a 4G touch.   How do I download mp3s purchased at Amazon to my Touch?   thanks

    You need iTunes to import non-iTunes purchased music into the Music app of your iPod.
    However, a third-party program like PodShare may work.

  • How to create an mp3 download link (AS3)

    I'm having a lot of trouble figuring out how to let users
    download mp3s from my flash website (so the user gets the same sort
    of dialogue box that they would from a normal html site). Part of
    the issue is that I have a very, very piecemeal knowledge of as3
    and flash. So far, it's been a couple of tutorial books and a lot
    more ambition than knowledge : ) With that being said, I would
    greatly appreciate not only the answer, but an explanation of how
    and why the answer works. The tutorial books I used really dumbed
    down as3, so the "correct" way is much different than what I
    learned. Thank you so much in advance, and I really appreciate the
    help!
    Thanks!
    Dave

    Zip up the MP3 then link to it.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • XML Forms: how to create download link

    Hi,
    can anybody tell me, how i can create a download link to a document rid
    in an XML form?
    I can create a link which will open the referenced document, but "right klick
    link | save target as..." will produce an error, since the link is a javascript call.
    Thanks for any help,
    bye,
    Markus Steinberg

    Hi Markus Steinberg,
         i need to create the Download attachement Option In XML Form..
         U got the solution for that above thread..
         If so please tell me how to create? and then how to create multiple Link ?
    Regards
    Thillai J

  • How to Create a Dynamic Link Oracle 10g

    Hi all,
    I have a requirement like i am using the below sql query in my application
    select * from emp@testlink;Now i have 3 users i have created the seperate link for this three users.
    ex: test and work and office
    Now if test login to pc the above code will be
    select * from emp@testlink;if work entered dynamically it will be as
    select * from emp@worklink;same as office .
    @||variable||link;
    variable i have to pass it in dynamic.
    How to achieve this??
    Can anyone suggest me thanks in advance.
    Cheers,
    San..

    Did you try dynamic SQL?
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/dynamic.htm
    Something like this.... (UnTested)
    DECLARE
    v_user VARCHAR2(50);
    BEGIN
    EXECUTE IMMEDIATE 'select * from emp@' || v_user || 'llink';
    END;In your case, the link name is based on the user, you can simplify it like this
    DECLARE
    v_user VARCHAR2(50);
    BEGIN
    EXECUTE IMMEDIATE 'select * from emp@' || LOWER(user) || 'llink';
    END;You might need to use INTO clause for the select statements.
    Regards,
    Rakesh
    Edited by: Rakesh on Apr 6, 2011 6:05 PM

  • How to create a database link on an ms acces data source

    Hello every body
    Is it possible to create a database link on an MS access data source under
    oracle 10 g and Apex ?
    If yes how to do it ?
    Thanks in advace

    I don't know what Apex is!!! But try to follow these instructions.
    It works for Oracle 9i.
    As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
    1. Control Panel / Administrative Tools / Data Sources (ODBC)
    Folder: System DSN /
    click add
    Choose : Microsoft Access Driver
    Data Source Name : my_test
    Description : any_description_you_want
    click Database/Select... : full pathname for <your_file.mdb>
    click OK
    Click OK
    2. Goto OH\hs\admin:
    2.1) Create a copy of "inithsodbc.ora" file giving it this name:
    initmy_test.ora
    2.2) Edit "initmy_test.ora" and change as below.
    # HS init parameters
    HS_FDS_CONNECT_INFO = my_test
    HS_FDS_TRACE_LEVEL = OFF
    3. Add this entry to listener ( Don't forget to stop/start the listener )
    (SID_DESC =
    (SID_NAME = my_teste)
    (ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
    (PROGRAM = hsolesql)
    4. Now you need to add entries to point to the HS in the tnsnames.ora :
    access =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
    (CONNECT_DATA=(SID=my_test))
    (HS=my_test)
    5. Now you need to go into the database and create the database link:
    CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
    6. select * from your_table@ACCESS_DB;
    HTH
    RK
    Message was edited by:
    RKravcenko

  • How to create a database link ?

    i want to create a database link.please give mesteps

    There is a chapter in the DBA Administration manual for versions 8.1, 9.2, and 10g on this topic which provide all the information you need.
    You will need to choose the type of database link: global, current user, or imbedded user and if you need a public or private link.
    Basically all you do is create a tnsnames.ora entry for the remote db and then create a database link (See SQL manual entry CREATE DATABASE LINK) that references the tnsnames.ora entry.
    The manuals or the entire manual set can be downloaded from technet.
    HTH -- Mark D Powell --

  • How to create a file links .....

    Hi All!
    I want to achieve following, using the IFS java apis. How can i do that. what classes - methods i can use from ifs. A code snippet will be really helpful.
    Here goes my task of creating links to a file from different folders in repository..........
    To create a file link:
    Select check box to the left of the file or folder you want to display in another folder....
    Click the Edit icon and choose Copy.......
    Navigate to the folder in which you want to create the link....
    Click the Edit icon and choose Paste as links....
    If you want to create a link in more than one location...:
    Navigate to the next folder in which you want to create a link.....
    Click Edit and choose Paste as links.....
    Continue until you have created links in all desired locations.....
    But, I want to achieve above using Java API.
    Your help is appreciated.
    thanks,
    sa pa

    Why not make them one file?
    Dan Smith > adobe community expert
    Flash Helps >
    http://www.smithmediafusion.com/blog/?cat=11
    http://www.dsmith.tv
    "tanktery" <[email protected]> wrote in
    message
    news:fpmrmi$jiq$[email protected]..
    >I created two XML files an XML file A and an XML file B
    and would like to
    >know
    > how to create a link between the two.
    > But in file B I have articles that I would like to
    create links to from
    > the a
    > A file. How do I link 2 XML files and link to
    subsections with in them.
    > any
    > thoughts
    >

  • How to create a database link between an 8i (apps) database and APEX

    Want to link my Oracle APPS databse on 8i with Oracle XE and APEX. Any idea how to achieve this ?

    I don't know what Apex is!!! But try to follow these instructions.
    It works for Oracle 9i.
    As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
    1. Control Panel / Administrative Tools / Data Sources (ODBC)
    Folder: System DSN /
    click add
    Choose : Microsoft Access Driver
    Data Source Name : my_test
    Description : any_description_you_want
    click Database/Select... : full pathname for <your_file.mdb>
    click OK
    Click OK
    2. Goto OH\hs\admin:
    2.1) Create a copy of "inithsodbc.ora" file giving it this name:
    initmy_test.ora
    2.2) Edit "initmy_test.ora" and change as below.
    # HS init parameters
    HS_FDS_CONNECT_INFO = my_test
    HS_FDS_TRACE_LEVEL = OFF
    3. Add this entry to listener ( Don't forget to stop/start the listener )
    (SID_DESC =
    (SID_NAME = my_teste)
    (ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
    (PROGRAM = hsolesql)
    4. Now you need to add entries to point to the HS in the tnsnames.ora :
    access =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
    (CONNECT_DATA=(SID=my_test))
    (HS=my_test)
    5. Now you need to go into the database and create the database link:
    CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
    6. select * from your_table@ACCESS_DB;
    HTH
    RK
    Message was edited by:
    RKravcenko

  • How do I download mp3 songs?

    I'm trying to download mp3 songs but when i click on the download option the song starts playing instead of being downloaded,I've some other sites to download songs but the problem perisists..please help on it.

    You can toggle the <b>browser.altClickSave</b> pref to true on the <b>about:config</b> page with a middle-click or via the right-click context menu.
    That way you can hold down the Alt key and left-click a link to save the (mp3) file.
    You can disable the HTML5 media player by setting the <b>media.directshow.enabled</b> pref to false on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config

  • Crystal report ( how to create a hyper link for the crystal report file)

    hello all,
    how to create a hyperlink for my report file....nd i want it open in excel format.

    Hello Uher,
    sorry for the insufficient details,
    actually we are calling some actuate reports from actuate server, and the URL looks like this
    "https://iconsole.xxx.com/iconsole/viewer/viewreport.jsp?
    outputFileType=XLSX&fromwhere=viewDocument&outputName=
    /filelocation/ReportOutputs/Reportname.xlsx&serverurl
    =http://xx.xxx.com:8010&volume=xxx&userid=xxx&password=xxx"
    which would generate an excel output,
    my question is, can we have some url in which we would specify the output format, as far my research i found  URL reporting
    some thing like this
    "http://" + servername +
    ":8080/OpenDocument/opendoc/openDocument.jsp?outputfiletype=xlsx/
    filelocation/userlogondetails
    but my client needs an excel output, with out going through any web page or viewer controls and generating buttons.
    Thank you

  • How to Create Public database link in oracle 9i?

    Friends,
    OS: RHEL AS 3
    DB: 9iR2
    database name 1 = nubul
    database name 2 = test
    in the 'nubul' database server using system user.
    i created a database link to connect the 'test' database
    sql> create public database link test using 'test';
    database link created.
    then i logged in as normal user....
    sql> select count(*) from employee@test
    Error at line 1:
    ORA-12154: TNS: could not resolve service name
    where i am making mistake?
    i gave the linkname as my remote database name.
    am i have to make any entry in the tnsnames.ora?
    thanks & regards

    You have to remember that when you access a dblink, the database where the link is defined is acting as a client to the database to which the link points ... exactly the same as if you you were using sqlplus on the machine hosting the db where the link is defined. In other words, given:
    Host 'Host-src', with database 'db-src', with a dblink 'lk_target'
    Host 'host-trgt', with database 'db-trgt'
    When you connect to db-src and access lk-target, db-src is now acting as a client to db-trgt. Exactly as if you had opened sqlplus on host-src and connected directly to db-trgt. So, given the above scenario
    host-src$> sqlplus scott/tiger@db-src
    sql> select * from emp@lk_target;when you execute that SELECT to the link, the same tns considerations are in effect as if you had
    host-src$> sqlplus scott/tiger@db-trgtThe same tnsnames.ora entry, on the source machine, is required for both.

Maybe you are looking for

  • Not only does Adobe flashplayer continue to crash on my operating system (windows 7) but now java script is having issues .... what is wrong with firefox????

    for months I have checked the forums, and seen the same issues with Adobe Flash Player ... I have uninstalled and reinstalled too many times now and am totally frustrated with Firefox,. I just get it working again and Firefox updates and then I have

  • Missing loops on garageband

    hi i have the most recent garageband on mountain lion. I noticed in the loops browser that im missing vocals, celesta, harp, harpsichord, and slideguitar and i was wondering if anyone else ran across this and why theyre missing. thank you!

  • HTML formatter in cfml-files

    Hi everybody, How is HTML formatting managed in cfml-files. Currently on formatting <h*>-Tags got a newline and I would prefer the tag to stay on one line without break. greets

  • Problems wih export to pdf

    I've created a newsletter in pages (Version 2), with jpeg images (Fix Object) with a drop shadow around a coloured border. Also title text with a drop shadow. Looks great in pages but when I export to pdf, all the drop shadows disappear, creating a v

  • Available disk space varies by 100 GB

    Recently I made a defrag on my computer, and for that I had to create a partition of 100 GB, because that's the lowest. After I've done that i deleted the partition. Now i remember it said something about deleting some space or something but I can't