Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner


Reply
 
Share Thread Tools Display Modes
Old 06-28-2009, 04:47 AM   #1
Newbie
 
Join Date: Sep 2006
Posts: 40
Serfio is an unknown quantity at this point
progressbar or loading image?

How I can obtain a progressbar or a loading gif image?

I've made a plugin with a slider code.

Then I've tried to change the slider value every 'x' seconds

....the slider simply is not working, it is not displayed...


thanks
Serfio is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-28-2009, 09:30 AM   #2
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
post up the slider code you have used in the skin.

plus the slider code you have used in the extension.cls slider


One thing to note, make sure you return an integer between 0 - 65536 otherwise it won't work.

Last edited by Enforcer; 06-28-2009 at 09:33 AM.
Enforcer is offline   Reply With Quote
Old 06-29-2009, 03:57 AM   #3
Newbie
 
Join Date: Sep 2006
Posts: 40
Serfio is an unknown quantity at this point
BUG

This is my C#code:
Code:
private int count = 0; public long ReturnSlider(string SLD) { long ret = -1; switch (SLD.ToLower()) { case "cpc_loading": ret = 4096 * count; count++; count = count % 17; break; } return ret; }

This is my skin code, I'm using slider battery image to test:
Code:
Y01,"SLIDER_BATTERY\SLIDER_*.gif" S01,596,59,47,34,596,59,47,34,H,01,"",0,"cpc_loading",""


thanks
Serfio is offline   Reply With Quote
Old 06-29-2009, 09:35 AM   #4
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,063
guino will become famous soon enoughguino will become famous soon enough
1-Verify that the skin portion is working as desired:
-change the slider code to something like "MASTER"
-add a pointer to the slider (so you don't depend on the backimages to view its position)

Once you have verified the skin portion works by itself, then you can check the plugin portion:

2-Check the debug log to see if the plugin is loaded correctly, verify it is enabled, and that it didn't crash when loading or something like that -- anything that causes the plugin to not load or to crash will prevent your code from taking action.

3-Code wise, I don't know how forgiving C# is with type conversions and such, but you may want to make "count" into a long to avoid a problem when calculating the "ret" value -- if possible, even typecast 4096 as a long value to avoid any issues. Other than that, your code should work.

Alternatively you can use a slider from a skin that you know works and change just the slider code to "cdc_loading" code. Just be sure that RR isn't "waiting" for anything else in your application to load/process or it will not have time to update the slider on screen while you're loading/processing other things.
__________________
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."
guino is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EniCar the RR Clone enitalp Software & Software Development 296 12-13-2008 06:12 PM
GPS Loading splash image spdwebdotnet Media Engine 4 08-26-2008 01:26 PM
problems with navigation in streetdeck customaudioman StreetDeck 3 01-25-2008 01:46 PM
Holux GPS Trouble mangus580 StreetDeck 34 11-26-2007 09:56 PM
Archive Bitoholic Mobile Media Center 2358 09-21-2006 06:59 PM



All times are GMT -5. The time now is 03:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics