Page 1 of 4 1234 LastLast
Results 1 to 10 of 32

Thread: Flash expert needed

  1. #1
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671

    Flash expert needed

    I am trying to change text color from keyboard commands to a flash.exe

    Control+y = Yellow
    Control+b = Blue
    Control+w = white

    So I can activate and sendkey from RR to change colors

    It would probably take me a week to figure this out but some of the people on here could probably do it in 5 minutes.

    I will post the .fla file I am working on if someone wants to give it a shot

    Thx chuck

    ps post 1000
    Attached Images Attached Images  
    Attached Files Attached Files
    2001 S10 ZR2

    Chucks Skin - to old

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    are you using this flash file as a SWF defined in the .skin file or as an EXE file embedded with the LOAD command ? I'm pretty sure SWF files will not receive keyboard input (so that would not work).
    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."

  3. #3
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    This is an .exe embedded just to set it in place.


    now i just change exe to change color - funky to watch
    PHP Code:
    "CHUCKSTOP","LOAD;CHUCKSTOP.skin||BYVAR;COLORPICK;RUNTOPYELLOW<<RUNTOPBLUE<<RUNTOPWHITE||EXIT||SHOWWINDOW;ChucksTop;True"
    "CLOSECHUCKSTOP"
    ,"ACTIVATE;ChucksTop||SENDKEY;%{f4}"
    "RUNTOPYELLOW"
    ,"RUN;$CHUCKSPATH$ChucksTopYEL.exe;ChucksTop"
    "RUNTOPBLUE"
    ,"RUN;$CHUCKSPATH$ChucksTop.exe;ChucksTop"
    "RUNTOPWHITE"
    ,"RUN;$CHUCKSPATH$ChucksTopWHT.exe;ChucksTop" 
    2001 S10 ZR2

    Chucks Skin - to old

  4. #4
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,173
    Blog Entries
    53
    actually guino i've had success sending keystrokes to flash with the new solid tag. I'll take a look at this for ya chuck. Least i'll try to.. i think my flash trial expired (swishmax FTW!)
    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. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I don't understand one thing though... I mean, you're MAKING this flash file, so why don't you just have the color in the flash file selected by a global variable you set in RR ? That's what "setflashvar" is for... "SETFLASHVAR;COLOR;2"

    then use:

    if (_root.COLOR == "2") {
    <COMMANDS TO CHANGE THE COLOR/FRAME etc>
    }

    That's coming from someone who knows nothing about flash.. and again that's only useful if there's no special reason why you're using keystrokes to get the job done.
    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."

  6. #6
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    Here you go Chuck, hope this is what you were looking for.

    But if you test it within the flash ide, make sure you select "Disable Keyboard Shortcuts" from the "Control" menu in the swf preview, or else is won't work.
    Attached Files Attached Files

  7. #7
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Quote Originally Posted by guino View Post
    I don't understand one thing though... I mean, you're MAKING this flash file, so why don't you just have the color in the flash file selected by a global variable you set in RR ? That's what "setflashvar" is for... "SETFLASHVAR;COLOR;2"

    then use:

    if (_root.COLOR == "2") {
    <COMMANDS TO CHANGE THE COLOR/FRAME etc>
    }

    That's coming from someone who knows nothing about flash.. and again that's only useful if there's no special reason why you're using keystrokes to get the job done.
    Will this work with an flash.exe?
    2001 S10 ZR2

    Chucks Skin - to old

  8. #8
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Quote Originally Posted by kembond View Post
    Here you go Chuck, hope this is what you were looking for.

    But if you test it within the flash ide, make sure you select "Disable Keyboard Shortcuts" from the "Control" menu in the swf preview, or else is won't work.
    Kembond thanks a bunch

    Works good but every time the time or date changes the color goes back to the startup color

    Almost there
    2001 S10 ZR2

    Chucks Skin - to old

  9. #9
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    Your all set.
    Attached Files Attached Files

  10. #10
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Kembond thanks a million

    Works like a champ

    Now I have a timer to do but I think I can do it from your example

    Thanks again
    2001 S10 ZR2

    Chucks Skin - to old

Page 1 of 4 1234 LastLast

Similar Threads

  1. compact flash raid
    By B3AND1P in forum General Hardware Discussion
    Replies: 37
    Last Post: 03-13-2008, 08:23 PM
  2. help needed with flash Clock
    By Nomader in forum Road Runner
    Replies: 0
    Last Post: 06-26-2006, 05:07 PM
  3. Flash solution needed
    By netrider in forum Software FAQs, Solutions, Tutorials
    Replies: 0
    Last Post: 01-23-2006, 07:08 AM
  4. Open Call, Flash help needed for tracker !!!!
    By frodobaggins in forum Software & Software Development
    Replies: 28
    Last Post: 05-08-2005, 07:25 PM
  5. Help needed from VB expert !
    By CdRsKuLL in forum Software & Software Development
    Replies: 4
    Last Post: 12-27-2004, 04:28 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
  •