|
 |
04-24-2009, 02:02 AM
|
#1
|
|
Variable Bitrate
Join Date: Mar 2008
Location: Toronto Canada
Posts: 435
|
Can't autorun command in skin file
If i enter this in my audio_browser skin and press the button it works...
B,305,0,90,60,"SEARCHFILES;folder.jpg"
What I want is NOT to have to press a button but have the command autorun each time the skin file loads...
I tried just entering...
"SEARCHFILES;folder.jpg"
but this doesn't do anything...
Skin gurus, please enlighten me....
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
04-24-2009, 02:22 AM
|
#2
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
|
"LIST||SEARCHFILES;folder.jpg"
or in flash
fscommand("LIST")
fscommand("SEARCHFILES;folder.jpg")
also not sure but maybe "ONSCREENCHANGE"
|
|
|
04-24-2009, 07:29 AM
|
#3
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,565
|
Yep, could use the
"ONSCREENCHANGE","LIST||SEARCHFILES;folder.jpg",xx .skin (skinfile name on then end)
will only run after that screen is loaded, everytime.
|
|
|
04-24-2009, 07:52 AM
|
#4
|
|
Variable Bitrate
Join Date: Mar 2008
Location: Toronto Canada
Posts: 435
|
Thx guys, will give them a try ...
|
|
|
04-24-2009, 09:49 AM
|
#5
|
|
Variable Bitrate
Join Date: Mar 2008
Location: Toronto Canada
Posts: 435
|
OK, got this to work by putting it in exectbl.ini..
"ONSCREENCHANGE","SEARCHFILES;folder.jpg",covers.s kin
Now I'm having another issue...The larger picture is I want to import a list of folder.jpg paths into flash. I've got it somewhat working using CUSTOMDL.
Originally I issued the searchfiles command from flash ,like this...
fscommand("SEARCHFILES;folder.jpg");
//fscommand("WAITEXEC");
fscommand("GETDL","");
This gets me what I want into flash....but I'm having a timing issue though, flash continues executing commands while the search is going on, as you can see I tried the "WAITEXEC" command, but that hangs the screen skin.
Thats why I was hoping to run the search in RR, do a WAIT;5 then load the swf.
The 5 second delay doesn't happen, the swf loads up right away...is this broken?
I know the search is working and CUSTOMDL does get the populated with the paths...I have a button in my swf that also issues fscommand("GETDL","").
On another note , why is GETDL needed? all my other lables auto update.
Thx for any help or suggestions..
|
|
|
04-24-2009, 09:53 AM
|
#6
|
|
Terminal flasher
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
|
Quote: Originally Posted by pcpete 
OK, got this to work by putting it in exectbl.ini..
"ONSCREENCHANGE","SEARCHFILES;folder.jpg",covers.s kin
Now I'm having another issue...The larger picture is I want to import a list of folder.jpg paths into flash. I've got it somewhat working using CUSTOMDL.
Originally I issued the searchfiles command from flash ,like this...
fscommand("SEARCHFILES;folder.jpg");
//fscommand("WAITEXEC");
fscommand("GETDL","");
This gets me what I want into flash....but I'm having a timing issue though, flash continues executing commands while the search is going on, as you can see I tried the "WAITEXEC" command, but that hangs the screen skin.
Thats why I was hoping to run the search in RR, do a WAIT;5 then load the swf.
The 5 second delay doesn't happen, the swf loads up right away...is this broken?
I know the search is working and CUSTOMDL does get the populated with the paths...I have a button in my swf that also issues fscommand("GETDL","").
On another note , why is GETDL needed? all my other lables auto update.
Thx for any help or suggestions..
You can create a check loop in flash with a variable that RR sets to acheive what you are looking for
change RR's command to
fscommand("SEARCHFILES;folder.jpg");
//fscommand("WAITEXEC");
fscommand("GETDL","");
fscommand("SETFLASHVAR;COMMANDCOMPLETE;TRUE")
then check for _root.COMMANDCOMPLETE. If true then perform your flash stuff... then set _root.COMMANDCOMPLETE to false.
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
|
|
|
04-24-2009, 10:23 AM
|
#7
|
|
Variable Bitrate
Join Date: Mar 2008
Location: Toronto Canada
Posts: 435
|
Thx Sonic, will give this a shot and report back....
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:28 AM.
| |