Results 1 to 3 of 3

Thread: Flash Help sending a $var to RR

  1. #1
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,707
    Blog Entries
    1

    Flash Help sending a $var to RR

    Ok, I have been working on a flash project for a few days, and have it working perfectly! (First thing I have written in flash)

    I now need to get a variable from the flash program, to Road Runner.

    I have googled all over the forums and the net, and have come up empty handed. I found ways to send variables to HTML, PHP, even workaround for .bat files......

    I did find out how to send RR commands to flash:
    fscommand("MUTE", "");
    but still need to send a variable.......

    Here is the function where I am attempting to send the $var from flash to RR:

    cClip.onMouseUp = function()
    {
    selectedColor = bmd.getPixel(this._xmouse,this._ymouse);
    myHexColor = trace("0x"+pixelColor.toString(16)) //outputs : 0xffcc00
    fscommand("SETVAR;HexColor;'myHexColor';", "");
    }

    I have tried single quotes ' Double quotes ", a few variations on syntax and have had no luck. I am stuck.

    For someone that knows flash this probably looks so simple to do!
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I would assume you'd want something like this (But I don't know much about flash -- it's just basic coding standards):

    myHexColor = trace("RGB"+pixelColor.toString(16)); // myHexColor = RGBffcc00
    fscommand("SETVAR;HexColor;" + myHexColor, ""); // $HexColor$ = RGBffcc00
    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
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,707
    Blog Entries
    1
    Thanks Guino! That did the trick!

    This was for a color chooser that I FINALLY have done for my skin now.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

Similar Threads

  1. RR Config Updated - Blue ZX3
    By Blue ZX3 in forum Road Runner
    Replies: 616
    Last Post: 06-09-2011, 04:17 PM
  2. compact flash raid
    By B3AND1P in forum General Hardware Discussion
    Replies: 37
    Last Post: 03-13-2008, 07:23 PM
  3. RR + Flash Playlist
    By Jdot in forum Road Runner
    Replies: 18
    Last Post: 07-01-2007, 06:04 PM
  4. Flash Intro to RR
    By moahdib in forum RR Skins
    Replies: 12
    Last Post: 01-16-2007, 07:18 AM
  5. Can RR set frame of flash movie?
    By Arathranar in forum Road Runner
    Replies: 1
    Last Post: 06-09-2005, 09:57 AM

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
  •