overlay question

Help each other out

overlay question

Postby lar282 on Sun Jan 23, 2005 9:32 pm

Hi
Is it possible to have a overlay popup when I click on a album OR track(diff overlay). In the overlay I want to button. One add and one play. U can call it context menu if u want. This way its much simpler for new user to secelt either add or play and I get ride of those buttons on my skin.
When I try this the album starts to play before the overlay is even shown, but I don't have an event there? Am I missing somehing.

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lar282 on Mon Jan 24, 2005 12:13 pm

Do I actually want something that cant be done? Amazing......, or is it that u guys dont think its relavant?


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dalanik on Mon Jan 24, 2005 1:07 pm

It's possible to have an overlay open when you click/press enter on an category item (ie. song, movie). Just assign it an event.

First create an overlay in editor. then press F2 and go to the events, and create new event which opens the overlay. Then close setup window and press pause/break again to goto editor. Assign the category (song list) the event you just created (event->assign event).

I'm not sure about add/play, but I believe it could be possible with the category->track add or category->track play.

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby lar282 on Mon Jan 24, 2005 1:10 pm

thats what I did. but even without an event it start to play?(even without my overlay)
I got the overlay part and all that, but how do I stop the category from default adding or default playing somthing.
In other words. what makes the music start to play? there is no event, there is no info screen?
see picture(document) at
http://hem.passagen.se/lar282/temp/ xlobby.doc


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dalanik on Mon Jan 24, 2005 2:10 pm

lar282 wrote:thats what I did. but even without an event it start to play?(even without my overlay)
I got the overlay part and all that, but how do I stop the category from default adding or default playing somthing.
In other words. what makes the music start to play? there is no event, there is no info screen?
see picture(document) at
http://hem.passagen.se/lar282/temp/ xlobby.doc


//Lasse


Ahh, you're right... those are actually SWITCHES, so one or the other must be active....

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby lar282 on Mon Jan 24, 2005 2:13 pm

Actually...

I got it to work now with add play album. I added the info screen with the name of the event, and I have NO switch active now. Works GREAT.

BUT, the add track I cannot figure out. Trying category musicdetails, but then nothing happens. Do u know more parameters that I can use. I have a catagory
Name: musicdetails
Info screen: Overlay_musictrack_Show
Display: %display%

this gives me all the track names but what is the parameter for the event to play that track?

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dalanik on Mon Jan 24, 2005 2:17 pm

lar282 wrote:Actually...

I got it to work now with add play album. I added the info screen with the name of the event, and I have NO switch active now. Works GREAT.

BUT, the add track I cannot figure out. Trying category musicdetails, but then nothing happens. Do u know more parameters that I can use. I have a catagory
Name: musicdetails
Info screen: Overlay_musictrack_Show
Display: %display%

this gives me all the track names but what is the parameter for the event to play that track?

//Lasse


music->track play

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Thank u

Postby lar282 on Mon Jan 24, 2005 3:26 pm

Thank u dalanik for all the help. Got it to work. If curious see screenshot of the music module at
http://hem.passagen.se/lar282/temp/ music.jpg

the trick was to use this event for add track
1/ track add
execute (category name=musicdetails)
close overlay

Now I dont have to mess with those controls anymore and less buttons on the screen is easier for users.

thanks again

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden