2 Problems....
Wednesday, November 8, 2006 by WickedDesktop | Discussion: DesktopX Development
I looked everywhere here... tried some scripts but I cant get them to work at all....
I am making a mp3 player, and 2 things never works:
1 - Scroll text with
so it doesnt leave the skin background ...in case the name of artist/song is big
2 - volume!, i cant get the volume to work....when i click to put the images, the OK button isnt available...i did that twice as wide thing and evrything....
please help! i am going crasy....
thanks
Reply #2 Wednesday, November 8, 2006 2:34 PM
but since it is in others posts people dont see my problem cause they dont see the titlle of it..so i decided to put it here
Reply #5 Wednesday, November 8, 2006 7:21 PM
In any case, here's another script for you to try.
This script will wait 2 seconds before starting to scroll the text in a loop.
Your dealing with 2 objects here, the text object and a mask object (the area your scrolling in).
Create the mask object.
Set the width and height of the mask object.
Position the text object inside the mask object.
Set the text object's parent to the mask object.
Set the mask object's opacity to 1.
You should have this:
Maskobject: Parent, opacity=1
Textobject: Child, parent= maskobject
Insert this script into the your text object:
Dim startposX
Dim startposY
Dim startoverpos
startposX = desktopx.object("maskobject").width/2 - object.width/2
startposY= desktopx.object("maskobject").height/2 - object.height/2
startoverpos= desktopx.object("maskobject").width
Sub Object_OnScriptEnter
'--Set the starting position center of mask
object.top = startposY
object.left = startposX
object.settimer 1, 2000
End Sub
'---2 second pause before scrolling
Sub object_ontimer1
object.killtimer 1
object.settimer 2, 10
End Sub
Sub object_ontimer2
'--If object is completely out of view move to start over position
If object.right <= 0 then
Object.left = startoverpos
End If
'--Move object back 1 pixel everytime the timer fires
object.left= object.left - 1
End Sub
Hope you work everything out with the scrolling and volume.

Reply #6 Wednesday, November 8, 2006 10:44 PM
| i asked this on other threads.... but since it is in others posts people dont see my problem cause they dont see the titlle of it..so i decided to put it here |
If it looks like your thread is disappearing without trace/response simply repost to it yourself [the word 'bump' will do] as the threads rearrange themselves to most recently responded, and thus do not stay at the date of their inception...
As you probably now have realised....
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Wednesday, November 8, 2006 2:19 PM