Results 1 to 5 of 5

Thread: Flash Question?

  1. #1
    Constant Bitrate
    Join Date
    Jul 2008
    Location
    Lee's Summit
    Posts
    138

    Flash Question?

    Why are you all using a guide to move the needle in the speedometer? What would you not use some like this. "needle._rotation" and then toss in something like this?

    if (needle._rotation<var1*2 && needle._rotation>=0) {
    needle._rotation += 2;
    } else if (needle._rotation>var1*3 && needle._rotation>=0) {
    needle._rotation -= 2;
    } else if (needle._rotation<var1*3 && needle._rotation<0) {
    needle._rotation -= 2;
    }
    Can anyone explain why it will not work this way... I don't have a real way of testing in just yet but my guess is it will work.

    and you don't need all them frames... Just frames to make it work.

    Just asking? If there is a reason it is done the other way I would to know before I put all this effort into coding my flash gauges...

    Thanks
    Troy
    Batmaninls
    www.evorbust.com

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,159
    Blog Entries
    51
    i dont really see a reason this wont work.. thats just ALOT of conditionals for 365 degrees of rotation. I guess either way its alot of work though.
    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. #3
    Constant Bitrate
    Join Date
    Jul 2008
    Location
    Lee's Summit
    Posts
    138
    Well it reduces the number of frames on the file. Making it smaller I believe. If you think it will work out that sounds great... and the RRFusion will do ok with it correct... I'm needing to come up with my inputs so it can read them.

    like
    _root.gpsspd
    _root.cpu
    _root.gps
    __root.stc (my "state of charge")
    _root.Avolt
    _root.volt
    _root.amp

    Will all these work ok for collecting the data from RR and providing it to Flash?

    I can't wait to show you all this gauge cluster. It's turning out to be a work of art.
    The photoshop file is a monster but it's will be worth every meg...

    lol

    Sonic Let me know on this stuff will you please.

    Thanks
    Troy
    Batmaninls
    www.evorbust.com

  4. #4
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,159
    Blog Entries
    51
    Quote Originally Posted by Batmaninls View Post
    Well it reduces the number of frames on the file. Making it smaller I believe. If you think it will work out that sounds great... and the RRFusion will do ok with it correct... I'm needing to come up with my inputs so it can read them.

    like
    _root.gpsspd
    _root.cpu
    _root.gps
    __root.stc (my "state of charge")
    _root.Avolt
    _root.volt
    _root.amp

    Will all these work ok for collecting the data from RR and providing it to Flash?

    I can't wait to show you all this gauge cluster. It's turning out to be a work of art.
    The photoshop file is a monster but it's will be worth every meg...

    lol

    Sonic Let me know on this stuff will you please.

    Thanks
    Troy
    as long as its a supported rr label AND defined in your .skin file. RRfusion doesnt declare _root.volt _root.amp etc, but you have the right idea. Lemme know when ur ready to implement it and i'll help if you need
    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
    Constant Bitrate
    Join Date
    Jul 2008
    Location
    Lee's Summit
    Posts
    138
    Ok thanks...
    Batmaninls
    www.evorbust.com

Similar Threads

  1. Replies: 3
    Last Post: 12-11-2007, 05:07 PM
  2. Replies: 5
    Last Post: 04-08-2007, 08:38 PM
  3. Forum Etiquette
    By Enforcer in forum Newbie
    Replies: 5
    Last Post: 01-09-2006, 05:58 PM
  4. Can this be done in RR and flash
    By tolisn in forum Road Runner
    Replies: 4
    Last Post: 06-16-2005, 01:57 PM
  5. Can Flash resize?
    By froop in forum Road Runner
    Replies: 1
    Last Post: 04-16-2005, 10:58 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
  •