Source language: Translate to:

move a line

Share sample pubs, scripts, etc. with other NeoBook users

Moderator: Neosoft Support

move a line

Postby lwilde » Tue Feb 22, 2011 3:42 pm

need some help
I want to move a line, like a vu meter.
And place several lines as a mark point of the read out .
And a reset to clear al marked posisions, or delete only 1 mark pont.
( posible to redraw the line in the same color of the background )
I need to have 160 posible positions of the line and mark points or more, and to make 160 posible objects, and use hide and show objects is not a option.

Laurens
lwilde
 
Posts: 4
Joined: Thu Feb 17, 2011 6:08 am
Location: Netherlands Eindhoven

Postby beno » Tue Feb 22, 2011 4:37 pm

Hi,

Wellcome to NeoBook Forum.

What you are describing is not possible to accomplish using NB objects.

But surely you can do it using PFlash for NeoBook (from luihp), take a look at:

http://neosoftware.com/forum/viewtopic.php?t=17824&highlight=pflash

HTH,

beno
User avatar
beno
 
Posts: 678
Joined: Fri Apr 01, 2005 9:03 am
Location: México

Re: move a line

Postby dpayer » Wed Feb 29, 2012 9:16 am

lwilde wrote:need some help
I want to move a line, like a vu meter.

Laurens


Here is something you may be able to use. It places a rectangle over the line with the same color as the background and then adjusts the rectangle's width and left location. I increment by 10 pixels but you could determin the incrementation so it gives 1% increase/decrease, as needed.

Image

I put in a percentage calculation but it is a couple points off as the rectangle and line length are a bit different. It should give an idea though of how to calculate it.

Here is a pub file you can view
User avatar
dpayer
 
Posts: 1383
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby chromebandit » Wed Feb 29, 2012 10:50 am

May this could help you tmvumeter plugin -

you can download here :

http://neofrbook.free.fr/crbst_40.html

Regards
User avatar
chromebandit
 
Posts: 283
Joined: Wed Nov 24, 2010 5:00 pm


Return to Sample NeoBook Pubs

Who is online

Users browsing this forum: No registered users and 2 guests

cron