Welcome to TalkGraphics.com
Results 1 to 10 of 24

Thread: Flash Jukebox

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Denver, CO
    Posts
    533

    Default Re: Flash Jukebox

    I think Paul was wanting to see your AS code. Unless you can decompile an swf, you can't see that.

    Josh, I took the liberty of decompiling your swf to peek at your code.

    First, you can move your swf's - tatjukebox2.swf, tat1.swf and tat2.swf into the root of your site. (Where your main html page is). I've done this and it works.

    Or second, you can try to change your AS code on your button states to have your FlashDocs subfolder.

    Your jukebox should be looking in it's same folder by looking at your code. It might be looking in the root of your site for your music.

    Code:
    on (release)
    {
        loadMovieNum("tat2.swf", 2);
    }
    Third would be to change your html so it doesn't look in the FlashDocs folder at all and move all your swf files into the root of your site.

    Here's an example. All I've done is take your files and put them into the root of your site. I then removed the FlashDocs from the paths in your html code. The code you posted above.

    http://www.bigplan.net/client/z_test...5single02.html

    Does this make sense?

    Those are some funky mixes!

    My wife and son had the opportunity to meet Cindi in Denver a few years back when she was touring with Cher. She's an incredibly nice person!

    Hope it helps.
    Last edited by RedWombat; 05 October 2007 at 01:33 PM. Reason: Change of information

    Red

    Big Plan Creative - Napoleon had one . . . Einstein had one . . . Do you have one?
    IP

  2. #2
    Join Date
    Oct 2007
    Posts
    8

    Default Re: Flash Jukebox

    Superstar! Thank you so much!

    I moved the 2 songs swf files to the root and all works fine. They take about 10 seconds to load.

    One last question hopefully. How do I create remix 1 loading or remix 2 loading to appear on screen after the on release has occurred?

    Basically what did with his example.
    IP

  3. #3
    Join Date
    Sep 2004
    Location
    Denver, CO
    Posts
    533

    Default Re: Flash Jukebox

    Glad it worked for you Josh.

    What you're asking would require a preloader. Basically counting the bytes downloaded and when it reached 100%, would go away and play the song.

    I have some simple code for one I created awhile back, I'll try to find a sample for you. Unless someone else here has one at their fingertips?

    Red

    Big Plan Creative - Napoleon had one . . . Einstein had one . . . Do you have one?
    IP

  4. #4
    Join Date
    Oct 2007
    Posts
    8

    Default Re: Flash Jukebox

    Just want to say thank you to everyone for your help.

    I did a 5 day course for Flash, Actionscript, HTML, XHTML, Javascript, Photoshop and of course that just touched on the very basics.

    Having said that it has enabled me to build my site from scratch.

    So much more to learn and that I want to achieve. You guys will probably hear alot from me as this has been the best forum that I have found.

    Josh
    IP

  5. #5
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Flash Jukebox

    Quote Originally Posted by acyn04 View Post
    I did a 5 day course for Flash, Actionscript, HTML, XHTML, Javascript, Photoshop and of course that just touched on the very basics.
    Wow. It's hard to believe anyone would attempt to teach all those things in five days. It's more usual to spend five days on just one of those subjects as an introduction.

    Paul
    IP

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,951

    Default Re: Flash Jukebox

    Hi Josh,

    I'm not sure a preloader is the best method to use here as the file should stream such that the whole file doesn't need to download before it starts playing. It might be better to just have a LOADING FILE text block in frame1 and the load music file in frame2 but without the text block. This way frame1 (LOADING FILE) will display until the music starts streaming when it will disappear.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •