Results 1 to 10 of 10

Thread: flash movie like a button?

  1. #1
    Newbie
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    9

    flash movie like a button?

    wass'up homies?
    Is possible use a flash movie like a button?
    I made a new skin and i used flash logo but i would like use it like a button...

  2. #2
    Variable Bitrate
    Join Date
    Jul 2004
    Location
    NL, Druten
    Posts
    380
    yes you can.. just place the button above the flash movie :P

  3. #3
    Newbie
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    9
    i tryed to do this but the button don't work
    Where is my mistake??

  4. #4
    FLAC Spaghetti's Avatar
    Join Date
    Jul 2003
    Location
    Spagcave, in da UK Today's phrase: J'aime Alizee
    Posts
    1,716
    Post your code and someone might tell you!!
    In da club....

    ALIZEE WANTS YOU.....

    (\__/)
    (='.'=)
    (")_(")
    Bunny's first poo
    __ U

  5. #5
    Newbie
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    9
    You are right! I'm not very expert...



    MEDIACAR Skin
    MEDIACAR F-CNS(800x600Stretched)"audioplayer"skinskinskinskin skinskinskinskinskinskinskinskinskinskinskinskinsk inskinskinskinskinskinskinskinskinskinskinskinskin skin
    audio_player_off.jpg,audio_player_off.jpg,audio_pl ayer_on.jpg,audio_player_down.jpg

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B,684,344,110,105,"DOWN",
    B,684,119,110,105,"UP","up"
    B,4,228,110,105,"NEXT",
    B,458,516,210,68,"VOL+",
    B,130,516,210,68,"VOL-","vol-"
    B,4,119,110,105,"PREV","down"
    B03,4,5,110,105,"PLAY","play"
    B12,698,470,79,97,"EXIT","Exit"
    B,684,230,110,105,"SEARCHLIST",
    B16,684,5,110,105,"SHUFFLE/REPEAT","shuffle/repeat"

    /, L, x, y, w, h, color R;RGB, G, B, font size;FONT, font name, Code;LABELCODES, Tooltip;LABELALIGNMENT
    L08,10,130,410,020,255,255,255,20,"Arial Narrow:B","PLAYLIST","Playlist"
    L05,290,5,100,040,255,255,255,17,"Arial Narrow:B","KBPS","Track bitrate"
    L06,380,5,100,040,255,255,255,17,"Arial Narrow:B","KHZ","Track freq"
    L08,10,160,070,030,255,255,255,15,"Arial Narrow:B","STATUS","Status"
    L02,90,160,050,040,255,255,255,15,"Arial Narrow:B","CURRENTTRACKTIME","Current track time"
    L01,150,160,050,040,255,255,255,15,"Arial Narrow:B","TRACKTIME","Total Track Time"

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B,4,465,110,105,"GPS","gps"

    /, F, x, y, w, h, Movie name
    F,4,465,110,105,"earth.swf"

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B,344,516,110,67,"LIST","list"
    B,4,344,110,105,"STOP","stop"

    /, L, x, y, w, h, color R;RGB, G, B, font size;FONT, font name, Code;LABELCODES, Tooltip;LABELALIGNMENT
    L09,150,05,130,030,255,255,255,18,"Arial Narrow:B","TIME","Time"
    L10,10,05,130,030,0,255,0,18,"Arial Narrow:B","DATE","Date"

    /, I, x, y, w, h, Code;INDICATORCODES
    I,738,16,26,37,"SHUFFLE"
    I03,708,16,26,037,"REPEAT"

    /, S, x, y, w, h, forecolor R;RGB, G, B, backcolor R;RGB, G, B, played color R;RGB, G, B, selected color R;RGB, G, B, select color R;RGB, G, B, trs, font size;FONT, font name
    S01,152,60,496,380,255,255,255,000,000,000,255,245 ,000,000,000,000,255,0,0,TRUE,20,

    /, A, x, y, w, h, color;RGB
    A01,149,20,503,380,000

    END

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Your Flash object would have to be Transparent for the button to be clickable... other than that you'd have to make the FLASH movie execute the command using the fscommand in flashscript. Check the sample.fla file in the BMV2 skin as an example.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  7. #7
    Maximum Bitrate DiNASTY's Avatar
    Join Date
    Mar 2005
    Location
    Concord, California
    Posts
    598
    To make the button, you can just use the rectangle or circular shape tool and set the alpha of the shape to 0. That way there is a hit area for your button and you can see through it at the same time.

    Otherwise you can load the earth.swf into a container sprite of a separate flash movie and use the earth.swf as a button.

  8. #8
    Newbie
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    9
    I have one image.swf of the globe that rotates and i want open MM in RR but if i use:



    on (release) {
    fscommand("exec", "xxxxxxxxxxx.exe");
    }


    for xxxxx.exe what do i put??

  9. #9
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I don't know what you're trying to do but:

    fscommand("exec", "xxxxxxxxxxx.exe");

    does nothing... the first parameter needs to be a RR COMMAND (as in skin commands.txt) and the second parameter is used on very RARE situations (i.e. to simulate Up/Down mouse events)...

    If you want to run something then look at the RUN or LOAD command for RR and use: fscommand("RUN;C:\...\MM.exe", "");
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  10. #10
    Newbie
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    9
    thanks guino but i think that I am too much stupid.....
    i'll put one normal static image.

Similar Threads

  1. sending keystrokes to flash?
    By Nitrov8 in forum Road Runner
    Replies: 7
    Last Post: 04-07-2006, 01:51 AM
  2. Replies: 10
    Last Post: 10-31-2005, 05:17 AM
  3. Can a hovering button be implemented ?
    By tolisn in forum Road Runner
    Replies: 4
    Last Post: 10-15-2005, 12:11 PM
  4. Panasonic Slot Load DVD Player....Lost the button
    By Cheekz185 in forum General MP3Car Discussion
    Replies: 0
    Last Post: 10-11-2005, 02:24 PM
  5. Working w/ Flash??
    By emayers04 in forum MediaCar
    Replies: 0
    Last Post: 06-01-2004, 06:53 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
  •