Page 5 of 5 FirstFirst 12345
Results 41 to 50 of 50

Thread: Flash Skin Tutorial?

  1. #41
    Constant Bitrate
    Auto Apps:loading...

    Join Date
    May 2005
    Posts
    164
    Sorry for reviving an old thread. Am new to SWiSHmax flash coding hopefully some experts here can provide an answer...

    How do i convert the ALBUMART label from RR from single to double backslash?

    For example, RR gives "C:\XYZ\album_art.jpg" to the flash. However, in order for flash to load it, it needs C:\\XYZ\\album_art.jpg

  2. #42
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    51
    you dont need to convert the label(at least i dont). Just use the album art label within your movie like so

    Code:
    loadMovie(_root.albumart)
    because the data is saved in a variable there's no conversion needed. Make sure you have the ALBUMART label in your .skin file.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #43
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,291
    ok i might aswell post this here...for Cdr to answer it
    has anyone succeded in creating a song position slider in flash.. to enighten me

    EDIT: ...for Cdr to answer it, OR Sonicxtasy02 if he is not too busy..
    (hope that fixes it)

  4. #44
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    51
    i've got a working one in my skin.. but because u asked CDr i'm not answering
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  5. #45
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,498
    I slider is quite easy to do.. what you need it a couple of things.. the total track time and the current track time. You then need a sprite going from frame 1 (1%) to frame 100 (100%).. then you just find out what percentage the track is upto and set the sprite accordingly..

    its no good without examples os here you go....

    Code:
    onFrame (1) {
    
            totalsec = _root.TRACKTIME.split(":");
            ts = int((totalsec[0] * 60)) + int(totalsec[1]);
            current = _root.CURRENTTRACKTIME.split(":");
            ct = int((current[0] * 60)) + int(current[1]);
            _root.AUDIO.Songpos.gotoAndStop(Math.round((ct / ts ) * 100));
    
    }
    onFrame (10) {
        gotoAndPlay(1);
    }
    The above it on a 20 FPS Movie, so it checks twice a second.


    hope this helps :-)

    CdR

  6. #46
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,291

    that is perfect cdr, thanks.
    Sonicxtasy02, i edited my post just for u

  7. #47
    The Vauxhall Vectra Project ccsnet's Avatar
    Join Date
    Jan 2003
    Location
    Morecambe, Lancs, UK ( Just For The Moment )
    Posts
    2,680
    Bump.... its worth making this a sticky... some good info in here....

    Terran

  8. #48
    Newbie
    Join Date
    Apr 2007
    Posts
    6
    Hello, I try to load a song position bar, but iīm canīt. I use SwhisMax. CDR was posted a code, but this is the result. Can you help me, please? Excuse my poor english. thank you.
    Attached Files Attached Files

  9. #49
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Here you go. Try this one.
    Attached Files Attached Files

  10. #50
    Newbie
    Join Date
    Apr 2007
    Posts
    6
    Thanks, MCG for your reply. The problem is when the bar stop in the percentage of track. Donīt stop!! Flash reply one time... and start again from 1st frame to 101 (infinite). If I order to bar stop in frame, donīt stop. Thank you (my english is horrible, hehe)

Page 5 of 5 FirstFirst 12345

Similar Threads

  1. Flash Skin .Fla help with commands
    By neon_eddy in forum Road Runner
    Replies: 4
    Last Post: 07-18-2008, 05:18 PM
  2. Full Flash Skin
    By camsgs3 in forum Road Runner
    Replies: 16
    Last Post: 01-04-2006, 06:40 PM
  3. flash skin preview
    By holistic in forum RR Skins
    Replies: 58
    Last Post: 07-09-2005, 04:17 AM
  4. New Skin - Spaced_Out for FrodoPlayer 1.08
    By WeeZyFellA in forum FrodoPlayer
    Replies: 24
    Last Post: 10-17-2004, 09:50 PM
  5. v.3 SKIN
    By WeeZyFellA in forum FrodoPlayer
    Replies: 89
    Last Post: 10-15-2004, 08:29 PM

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
  •