Results 1 to 4 of 4

Thread: Is there way to "blink" two different images when an indicator is "ON"

  1. #1
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448

    Is there way to "blink" two different images when an indicator is "ON"

    When the indicator is "OFF," I want no indicator image to be displayed.

    When the indicator is "ON," I want it blink two alternating images when using "INDICATORCODE:B" in the skin code.

    Can I accomplish this using an extension plugin?
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  2. #2
    Variable Bitrate
    Auto Apps:loading...
    marteline's Avatar
    Join Date
    Sep 2007
    Location
    Brazil, Sao Paulo
    Posts
    307
    yes you can, just point the indicator for one of desired images, use an external batch or script to continuously swap the name between the first image and the second image... it will looks like what you want.
    Engineering: Where the rubber meets the road!
    RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

  3. #3
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Quote Originally Posted by Sal R. View Post
    When the indicator is "OFF," I want no indicator image to be displayed.

    When the indicator is "ON," I want it blink two alternating images when using "INDICATORCODE:B" in the skin code.

    Can I accomplish this using an extension plugin?
    Yes, instead of returning "True" in the ext pi, just return the path to one of the two images and then just use a bool var to toggle between the two paths when that ind func is called from RR. You'd also need to know when the ind would be off so that you coud return "False"

    Quick sample I through together for ya.
    Code:
    Dim IndToggle as Boolean
    Dim IndOn As Boolean
    
    
    Public Function ReturnIndicatorEx(IND As String) As String
    
        'Default (No Action)
        'ONLY return something else IF AND ONLY IF you process that code
        ReturnIndicatorEx = ""
    
        Select Case LCase(IND)
            Case "myindicator"
            	If IndOn Then
    			If IndToggle Then
    				ReturnIndicatorEx = <PATH TO FIRST IMG>
    			Else
    				ReturnIndicatorEx = <PATH TO SECOND IMG>
    			End If
    			IndToggle = Not IndToggle
    
    		Else
    			ReturnIndicatorEx = "False"
    			' If you always want the first img to show when it turns back on then use the line below
    			'IndToggle = True
    		End If
        End Select
    End Function
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  4. #4
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Suh-weet.

    I was thinking of using images, but couldn't figure out how to toggle b/w the two.

    TY!

    EDIT: Worked like a charm...
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

Similar Threads

  1. Replies: 9
    Last Post: 09-22-2010, 08:17 AM
  2. Blue Devil Skin RELEASED
    By JohnWPB in forum RR Skins No Longer Supported
    Replies: 1005
    Last Post: 01-05-2007, 07:54 PM
  3. NEW images about MTX (in China)
    By mike_guo in forum Car Audio
    Replies: 2
    Last Post: 06-18-2006, 07:06 PM
  4. Access 2003 help needed
    By veedubya in forum Off Topic
    Replies: 2
    Last Post: 05-31-2006, 06:49 PM
  5. Coyote, launch images
    By more mods in forum MediaCar
    Replies: 5
    Last Post: 03-21-2004, 12:48 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
  •