Re: OT: director and microcontroller

2004-06-28 Thread Rodrigo Peres
Stuff like smoke machines, audio devices, water pumps etc.


on 6/28/04 4:38 PM, Mathew Ray at [EMAIL PROTECTED] wrote:

> What kinds of lights and equipment? there is some stuff that can be
> controlled with midi, there is other professional show control stuff
> that may integrate in as well:
> 
> <http://www.mathewandamanda.com/blogs/index.php?blog=5&title=controlling_stuff
> _1&more=1&c=1&tb=1&pb=1>
> 
> ~Mathew
> 
> Rodrigo Peres wrote:
>> Let's say that for now there's nothing defined. Just the need to control the
>> devices from director..
>> 
>> 
>> on 6/28/04 11:08 AM, Mathew Ray at [EMAIL PROTECTED] wrote:
>> 
>> 
>>> Do you have any technical requirements, budget, etc? or do you have
>>> carte-blanche? :0)
>>> 
>>> ~Mathew
>>> 
>>> Rodrigo Peres wrote:
>>> 
>>>> Hi list,
>>>> 
>>>> 
>>>> 
>>>> I Have a presentation that will need to sync to lights and FX equipments.
>>>> Can someone point in good microcontrollers that can be triggered by
>>>> director?
>>>> 
>>>> Thank's
>>>> 
>>>> Rodrigo
>>> 
>>> 
>>> [To remove yourself from this list, or to change to digest mode, go to
>>> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
>>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
>>> for learning and helping with programming Lingo.  Thanks!]
>>> 
>> 
>> 
>> --
>> 
>> Rodrigo Peres
>> www.rodrigoperes.com.br
>> escritório/office: +55(11) 3781.7017
>> celular/mobile: +55(11) 9108.6169
>> --
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: OT: director and microcontroller

2004-06-28 Thread Rodrigo Peres
Let's say that for now there's nothing defined. Just the need to control the
devices from director..


on 6/28/04 11:08 AM, Mathew Ray at [EMAIL PROTECTED] wrote:

> Do you have any technical requirements, budget, etc? or do you have
> carte-blanche? :0)
> 
> ~Mathew
> 
> Rodrigo Peres wrote:
>> Hi list,
>> 
>> 
>> 
>> I Have a presentation that will need to sync to lights and FX equipments.
>> Can someone point in good microcontrollers that can be triggered by
>> director?
>> 
>> Thank's
>> 
>> Rodrigo
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


OT: director and microcontroller

2004-06-27 Thread Rodrigo Peres
Hi list,



I Have a presentation that will need to sync to lights and FX equipments.
Can someone point in good microcontrollers that can be triggered by
director?

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


OT: Shockwave director silent install

2004-06-08 Thread Rodrigo Peres
Hi list,

There's a way to install the shockwave director in a transparent way to the
user. Without the prompt, warnings etc?


Thank's


Rodrigo Peres

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Convert string to list

2004-05-06 Thread Rodrigo Peres
It work's :)

Thank's


on 5/6/04 12:32 PM, Alexandre Cop at [EMAIL PROTECTED] wrote:

> Hi Rodrigo,
> 
> You're probably better off getting rid of these quotes first, e.g.
> Repeat with myItem = 1 to mainList.count
> mainList[myItem] = value(mainList[myItem])
> End repeat
> 
> Or something like that.
> Then you can do mainList[3][1] = 12
> 
> HTH!
> 
> ... Alex ... 
> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> Rodrigo Peres
>> Sent: 06 May 2004 16:20
>> To: Lingo
>> Subject:  Convert string to list
>> 
>> Hi list,
>> 
>> I'm retieving from a txt (I don't have control over it) a
>> list with values for example like this: ["[1,2]","[3,4]","[12,1]"]
>> 
>> There's a way to acces the values as a list in order to
>> retrive using GetAt().. Something like
>> mainList[3].internal[1] and get 12???
>> 
>> Or any other way to get the values one by one.. I've tried to
>> use pregex xtra, but after I realize it's not shockwave safe so...
>> 
>> Thank's
>> 
>> Rodrigo
>> 
>> [To remove yourself from this list, or to change to digest
>> mode, go to http://www.penworks.com/lingo-l.cgi  To post
>> messages to the list, email [EMAIL PROTECTED]  (Problems,
>> email [EMAIL PROTECTED]). Lingo-L is for learning and
>> helping with programming Lingo.  Thanks!]
>> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Convert string to list

2004-05-06 Thread Rodrigo Peres
Hi list,

I'm retieving from a txt (I don't have control over it) a list with values
for example like this: ["[1,2]","[3,4]","[12,1]"]

There's a way to acces the values as a list in order to retrive using
GetAt().. Something like mainList[3].internal[1] and get 12???

Or any other way to get the values one by one.. I've tried to use pregex
xtra, but after I realize it's not shockwave safe so...

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Collision detection (was: 3D maze game)

2004-04-13 Thread Rodrigo Peres
Hi list,

I believe my brain is fried at the moment :-/

Does anyone can point me in tutorials, docs anything that helps me on my 3D
maze game.

I'm needing help to create collision. I have a camera (first person) and I
like to check where it enters in a room for example and then trigger an
action.

Thank's in advance


Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: 3D maze game

2004-04-12 Thread Rodrigo Peres
Thank's everybody for the answers, but I'm still have a doubt: There's a way
to get my position inside the maze? Not the giant coordinate number, but
something like the name of the model, node etc.

Thank's


on 4/11/04 11:11 PM, Troy Rollins at [EMAIL PROTECTED] wrote:

> 
> On Apr 11, 2004, at 7:04 PM, Steve Rachels wrote:
> 
>> How do you map 2d onto the 3d models using 3dpi?  Is there a tutorial
>> somewhere?  Havn't tried that yet.
> 
> 3DPI is not required to do that, but it helps. Using 3DPI, or just
> plain ol' lingo, you need to create a new 3D plain and a shader for it
> which includes a 2D texture. You'll find that using 3DPI this is a
> pretty intuitive process, through lingo alone, you'll have some tricky
> stuff to deal with (first time out, anyway.)
> 
> There are more than a couple good books on SW3D, and nothing has
> changed about it in the last 2 versions of Director, so even "older"
> books are fine.
> 
> Beyond that, play around in 3DPI (which has even been updated for
> DMX2004.) You will learn so much just from opening a 3D world and using
> it as an exploration and experimentation tool.
> --
> Troy
> RPSystems, Ltd.
> http://www.rpsystems.net
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


3D maze game

2004-04-11 Thread Rodrigo Peres
Hi list,

I'm trying to develop a labyrinth game using this article,
http://www.director-3d.com/article.php?story_id=40, regarding 3D maze. But
I'm stuck... Does anyone know if it's possible to retrieve my position
inside the maze? I want to map some places in maze and put things like
weapons, money etc. And how can I put this things, in other words, how to
insert elements into the 3D scene. It seems that my inserted sprites are
under the 3D scene.

Thank's


Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: some kind of bug??? WAS: Re: OT: Windows media activex

2004-02-25 Thread Rodrigo Peres
Arghhh!!! I want my Mac back :-/

on 2/25/04 7:32 PM, Jeremy Aker at [EMAIL PROTECTED] wrote:

> Welcome to Windows :)
> There has always been some sort of inaccuracy with Windows interpreting
> the current time of digital video. What you need to do is check to see
> if the the current time is "close enough" to the end.
> 
> if myWmpSprite.currentPosition >= myWmpSprite.duration - 0.25 then
>  -- movie done
> end if
> 
> Jeremy Aker
> 
> 
> On Feb 25, 2004, at 4:44 PM, Rodrigo Peres wrote:
> 
>> Valentin,
>> 
>> Thank's for the tip, but look what I've got:
>> 
>> Put sprite(3).duration
>> -- 282.989
>> 
>> After play all the movie
>> 
>> Put sprite(3).currentPosition
>> -- 282.899
>> 
>> So the script never intercepts the end of the movie
>> 
>> 
>> on 2/24/04 11:14 PM, Valentin Schmidt at [EMAIL PROTECTED] wrote:
>> 
>>> maybe there is a better way, but what I've done before is checking the
>>> currentPosition:
>>> 
>>> if myWmpSprite.currentPosition>=myWmpSprite.duration then
>>> -- movie done
>>> end if
>>> 
>>> valentin
>>> 
>>> Rodrigo Peres wrote:
>>>> Hi list,
>>>> 
>>>> 
>>>> I'm using the activex windows media control under director mx to play
>>>> some
>>>> mpg movies. There's a way to check if the video is still playing or
>>>> already
>>>> done?? I've tried some methods from the activex window but almost of
>>>> then
>>>> return errors.
>>>> 
>>>> Thank's
>>>> 
>>>> 
>>>> Rodrigo
>>>> 
>>>> [To remove yourself from this list, or to change to digest mode, go
>>>> to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
>>>> email [EMAIL PROTECTED]  (Problems, email
>>>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>>>> programming Lingo.  Thanks!]
>>> 
>>> [To remove yourself from this list, or to change to digest mode, go to
>>> http://www.penworks.com/lingo-l.cgi  To post messages to the list,
>>> email
>>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]).
>>> Lingo-L is
>>> for learning and helping with programming Lingo.  Thanks!]
>>> 
>> 
>> --
>> Rodrigo Peres
>> www.rodrigoperes.com.br
>> escritório/office: +55(11) 3781.7017
>> celular/mobile: +55(11) 9108.6169
>> --
>> 
>> 
>> [To remove yourself from this list, or to change to digest mode, go to
>> http://www.penworks.com/lingo-l.cgi  To post messages to the list,
>> email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
>> 
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


some kind of bug??? WAS: Re: OT: Windows media activex

2004-02-25 Thread Rodrigo Peres
Valentin,

Thank's for the tip, but look what I've got:

Put sprite(3).duration
-- 282.989

After play all the movie

Put sprite(3).currentPosition
-- 282.899

So the script never intercepts the end of the movie


on 2/24/04 11:14 PM, Valentin Schmidt at [EMAIL PROTECTED] wrote:

> maybe there is a better way, but what I've done before is checking the
> currentPosition:
> 
> if myWmpSprite.currentPosition>=myWmpSprite.duration then
> -- movie done
> end if
> 
> valentin
> 
> Rodrigo Peres wrote:
>> Hi list,
>> 
>> 
>> I'm using the activex windows media control under director mx to play
>> some
>> mpg movies. There's a way to check if the video is still playing or
>> already
>> done?? I've tried some methods from the activex window but almost of
>> then
>> return errors.
>> 
>> Thank's
>> 
>> 
>> Rodrigo
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
>> email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


OT: Windows media activex

2004-02-24 Thread Rodrigo Peres
Hi list,


I'm using the activex windows media control under director mx to play some
mpg movies. There's a way to check if the video is still playing or already
done?? I've tried some methods from the activex window but almost of then
return errors.

Thank's


Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Especial chars (ISO-8859-1)

2004-02-10 Thread Rodrigo Peres
Thank's for the help Kerry. With a little modifications your script worked
perfectly.

on 2/9/04 5:09 PM, Kerry Thompson at [EMAIL PROTECTED] wrote:

>> Hi,
>> 
>> I'm developing a game (hangman). But in Brazilian Portuguese.
>> How can I make the director recognize chars like "á", "ã" or
>> "ê" for example. To minimize the problem I've built a
>> keyboard in the game with the alphabet, so I'd like to click
>> "A" and compare all the possibilities like "A","Ã","ã".
> 
> I'd build a handler to check the ANSI value. Something like this
> (untested e-mail Lingo):
> 
> on convertToAscii aString
> localString = aString
> repeat with i = 1 to aString.length
>   -- check for high ANSI characters
>   tempChar = charToNum(aString.char[i])
>   if tempChar > 127 then
> case TRUE of
>   (tempChar >= 224) and (tempChar <= 229): put "a" into
> aString.char[i]
>   --other cases
> end case
>   end if
> end repeat
> return localString
> end
> 
> Cordially,
> 
> Kerry Thompson
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Especial chars (ISO-8859-1)

2004-02-09 Thread Rodrigo Peres

Hi,

I'm developing a game (hangman). But in Brazilian Portuguese. How can I make
the director recognize chars like "á", "ã" or "ê" for example. To minimize
the problem I've built a keyboard in the game with the alphabet, so I'd like
to click "A" and compare all the possibilities like "A","Ã","ã".
When I teste it in message windows everything goes fine, but not when I save
the movie in shockwave format:

Put "a" = "Ã"
-- 1
Put "A" = "â"
-- 1

Thank's

Rodrigo


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Help needed

2004-02-08 Thread Rodrigo Peres
Try this, pretty good reference:

http://www.macromedia.com/support/director/internet/using_xml_parser_xtra/us
ing_xml_parser_xtra03.html


on 2/7/04 7:35 AM, Saravanan appya at [EMAIL PROTECTED] wrote:

> Hi all 
>   I am creating a tool to get datas frm a xml file and generate a xml file as
> i discribed if any one have used a xmlparser pls send me a code sample file
> with all the xml funtionality..
> 
> regards
> saravanan A.M
> 
> -
> Still single? Click here to find the perfect match.
>  
> http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

------
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Filename in shockwave

2004-01-21 Thread Rodrigo Peres
Thank's Ken and Buzz... It worked with the dswmedia folder.

on 1/21/04 12:36 AM, Buzz Kettles at [EMAIL PROTECTED] wrote:

> if it's failing when running locally, you probably need to honor the
> dswmedia folder.
> 
> 1. make a folder w/that name
> 2. move you project into it
> 3. resave the movie, resave as shockwave & then test in the browser
> 
> for more explanations, search the tech notes on MACR for 'dswmedia'
> 
> hth
> -Buzz
> 
> 
> At 9:06 PM -0200 1/19/04, you wrote:
>> Hi list,
>> 
>> 
>> I'm trying to link some images in my shockwave movie. I'm using
>> preloadnetthing and the member(..).filename and the url. Everything goes
>> fine when it runs from director, but when I save to shockwave no image
>> appears.
>> 
>> 
>> ps: thank's for the other answers regarding my xml problem. In fact the
>> problem was me :) I had a netid = -1 in a wrong place.
>> 
>> 
>> Rodrigo
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Filename in shockwave

2004-01-19 Thread Rodrigo Peres
It's running from the web.

on 1/19/04 10:28 PM, Ken Hubbell at [EMAIL PROTECTED] wrote:

> If running from your hard drive, remember your directory structure to the
> html/shockwave file MUST be inside a folder called dswMedia or it will not
> run.
> 
> Ken
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Rodrigo Peres
> Sent: Monday, January 19, 2004 6:06 PM
> To: Lingo
> Subject:  Filename in shockwave
> 
> 
> Hi list,
> 
> 
> I'm trying to link some images in my shockwave movie. I'm using
> preloadnetthing and the member(..).filename and the url. Everything goes
> fine when it runs from director, but when I save to shockwave no image
> appears.
> 
> 
> ps: thank's for the other answers regarding my xml problem. In fact the
> problem was me :) I had a netid = -1 in a wrong place.
> 
> 
> Rodrigo
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Filename in shockwave

2004-01-19 Thread Rodrigo Peres
Hi list,


I'm trying to link some images in my shockwave movie. I'm using
preloadnetthing and the member(..).filename and the url. Everything goes
fine when it runs from director, but when I save to shockwave no image
appears.


ps: thank's for the other answers regarding my xml problem. In fact the
problem was me :) I had a netid = -1 in a wrong place.


Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: GetNetText bug (more strange)

2004-01-16 Thread Rodrigo Peres
mx

on 1/16/04 4:37 PM, Colin Holgate at [EMAIL PROTECTED] wrote:

>> Message window:
>> -- "
>> "
>> 
>> But If I use the same script line by line in message window, the xml file is
>> returned complete.
> 
> 
> It works fine from here. Lots and lots of lines with carta this and carta
> that.
> 
> Which version of Director is it? I tried it in 8.5.1 and 7.0.2, and
> both ran fine.
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


GetNetText bug (more strange)

2004-01-16 Thread Rodrigo Peres
Hi list,

In addition of my last post regarding GetNetText, I've tried a very simple
script just to see what's happened.

On startMovie
global gNetID
gNetID = 
getNetText("http://www.rodrigoperes.com.br/desen/games/php/memoria_xml.php?a
tividade_id=12")
End


In another frame

global gNetID

on exitFrame me
  if (netdone(gNetID) = true AND netError(gNetID) = "OK") then
put netTextResult(gNetID)
halt
  end if
  go to the frame
end


Message window:
-- "
"

But If I use the same script line by line in message window, the xml file is
returned complete.

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


GetNetText bug?

2004-01-15 Thread Rodrigo Peres
Hi list,

I'm using getNetText to return a xml from a php script. When I try to use
the script director open debuger and tells that my var (gListaXML) is empty
when I try (gListaXML[1].memoria.cartas[3].carta2[2]). But If I use the same
script, line by line in message window everything works fine. Can someone
has an idea?

gNetID = 
GetNetText("http://www.rodrigoperes.com.br/desen/games/php/memoria_xml.php?a
tividade_id=12")

Global gXml
on exitFrame me
  if(netdone(gNetID) = true AND netError(gNetID)="OK") then
gXml = netTextResult(gNetID)
interpretaXml
  else
go to the frame
  end if
End

on interpretaXml
  global gListaXML, gXml
  parseObj = new(xtra "xmlparser")
  
  erro = parseObj.parseString(string(gXml))
  if parseObj.doneParsing() then
if erro = void then
  gListaXML = parseObj.makeList()
  gNetID = -1  
  go "carrega_cartas"
else
  put "error in xml"
  halt
end if
  end if
End

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


GetNetText bug?

2004-01-15 Thread Rodrigo Peres
Hi list,

I'm using getNetText to return a xml from a php script. When I try to use
the script director open debuger and tells that my var (gListaXML) is empty
when I try (gListaXML[1].memoria.cartas[3].carta2[2]). But If I use the same
script, line by line in message window everything works fine. Can someone
has an idea?

gNetID = 
GetNetText("http://www.rodrigoperes.com.br/desen/games/php/memoria_xml.php?a
tividade_id=12")

Global gXml
on exitFrame me
  if(netdone(gNetID) = true AND netError(gNetID)="OK") then
gXml = netTextResult(gNetID)
interpretaXml
  else
go to the frame
  end if
End

on interpretaXml
  global gListaXML, gXml
  parseObj = new(xtra "xmlparser")
  
  erro = parseObj.parseString(string(gXml))
  if parseObj.doneParsing() then
if erro = void then
  gListaXML = parseObj.makeList()
  gNetID = -1  
  go "carrega_cartas"
else
  put "error in xml"
  halt
end if
  end if
End

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


3D labirynth first person

2003-11-27 Thread Rodrigo Peres
Hi list,

Can someone point me in examples of 3D labyrinth or maze (I typed right?!),
like the old wolfenstein 3d game? I'd like to create a first person walk in
a labyrinth and with lingo control the walls position (letf, right ) etc.


Thank's in advance

Rodrigo


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Oops

2003-11-17 Thread Rodrigo Peres
Hi list,

Does anyone com point me in a direction, docs, tutorial anything that can
help to build interactions like this. With interactions I mean the ability
to control your avatar and don't cross walls, chairs etc.

www.habbohotel.com



Thank's

Rodrigo

------
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Oops

2003-11-12 Thread Rodrigo Peres
Hi list,

Does anyone com point me in a direction, docs, tutorial anything that can
help to build interactions like this. With interactions I mean the ability
to control your avatar and don't cross walls, chairs etc.

www.habbohotel.com



Thank's

Rodrigo



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Multiuser Xtra received bytes

2003-08-14 Thread Rodrigo Peres
Hi,

How can I make a movie wait a string to be completely send by a server using
Multiuser Xtra? I'm using the xtra to conect to a server in text mode, I
pass a string and in response the server always will send 57 bytes. The
problem it's seems that multiuser is to quick in send the string and ask for
response, but the server sometimes is overloaded and take a few seconds to
respond.

Thank's

Rodrigo
------
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Multiuser Xtra received bytes

2003-08-14 Thread Rodrigo Peres
Hi,

How can I make a movie wait a string to be completely send by a server using
Multiuser Xtra? I'm using the xtra to conect to a server in text mode, I
pass a string and in response the server always will send 57 bytes. The
problem it's seems that multiuser is to quick in send the string and ask for
response, but the server sometimes is overloaded and take a few seconds to
respond.

Thank's

Rodrigo
------
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Multiuser xtra wait full data

2003-07-31 Thread Rodrigo Peres
Hi,

I'm using Multiuser xtra to make a text connection to a server and retrieve
data. Basically the user use the barcode in my terminal, I grab the data and
send it to the server. My problem is that my script is sending only  part of
the barcode and receiving only a piece of information. How can I make my
script wait the end of transmission (13 bytes) before execute anything else
and more important how I tell it to wait the full response (57 bytes) before
"go to ..."


Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Filename, path and other

2003-07-26 Thread Rodrigo Peres
Oops, sorry I've clicked the wrong button in the other email :-/

Hi list,

I think this is a dummy question but It's frying my brain.
I have a folder with many dxr files. In another folder outside of this one I
have some images that I'm linking dinamically to those .dxr files. How I
need to make the path in order to link this images correctly??
Everytime I rename the root folder (where the two other folders are) or
change from mac to pc, the link to the images stops working.


Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Filename, path and other

2003-07-26 Thread Rodrigo Peres
Hi list,

I think this is a dummy question but It's frying my brain.
I have a folder with many dxr files. In another folder outside of this one I
have some images that I'm linking dinamically to those .dxr files. How I
need to make the path in order to link this images correctly??
Everytime I rename the root folder (where the two other folders are) or
change from mac to pc, the link to the images stops working
------
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--
.


Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: remove castLib -thanx-

2003-06-18 Thread Rodrigo Peres
I've used this xtra sometime ago to manage a 6 cd project. It worked very
fine without any bug...that I could notice :)

on 6/18/03 3:55 AM, Tom van Gemert at [EMAIL PROTECTED] wrote:

> Pranav thank you!
> 
> I googled it and found it (of course, otherwise it would be in a verrry
> dark corner). First trying it out now. Do you have experience with this
> xtra? Do you know about bugs r stuff...
> 
> peace
> 
> Tom van Gemert
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

------
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


OFF Topic: xtranet xtra

2003-06-17 Thread Rodrigo Peres
Does anyone know where I can download the xtranet xtra?? Every link related
to it that I found in web is "dead".

Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Multiuser Xtra and databases

2003-06-17 Thread Rodrigo Peres
This project will be running from Kiosk. It will among other things check
prices. The client use the barcode in package, and the system go to the
database and get the price, description and present on screen.
I've never heard about PHP executable where I can find it?? Or Perl
executable?? And how can I send it with instalation CD?? And more important
deal with webserver is ok, but how can I talk to the .exe to grab the
retieved information from database?
If this is too much of topic, please respond in private, I don't want to
bother the rest of list with this!

Many thank's

Rodrigo

on 6/17/03 3:58 PM, Evan Adelman at [EMAIL PROTECTED] wrote:

> is that really the case? if the solution involves ASP, you're probably
> right, you need a webserver. but php, perl, and the like are actually
> separate executables that you could include (1. the distribution
> licenses are pretty loose if i remember, and 2. all the perl executables
> and lib that come in the distro i have are 13MB - good enough to include
> on a cd)
> 
> if writing in those languages is a problem, then that's a different matter.
> 
> chiming in for no particular good,
> evan
> 
> Rodrigo Peres wrote:
> 
>> First, thank's for the answers use PHP or ASP is not the case here, because
>> I need a quick response and this aproach can delay things a little. The
>> other problem is that there's no way to put a webserver in this project.
>> 
>> on 6/17/03 2:00 PM, Mathew Ray at [EMAIL PROTECTED] wrote:
>> 
>>  
>> 
>>> I agree with Troy...I am using php/mysql and it works pretty well. I've
>>> heard you can do similar things with flash and coldfusion, but it seems much
>>> more expensive without a big payoff. If you are using some complicated
>>> SOAP-compliant app or something, flash may be easier to interface with, but
>>> for simple database stuff posting to a web form and getting a reply is
>>> usually good enough.
>>> 
>>> Although, I seem to remember reading something quite a while ago about MUS
>>> being able to access databases and stuff, but I can't recall in what
>>> capacity or technically how it was done :0/ Overall though, the end product
>>> is much more flexible if done with some sort of full-featured middleware
>>> like php or asp.
>>> 
>>> ~Mathew
>>> 
>>> - Original Message -
>>> From: "Troy Rollins" <[EMAIL PROTECTED]>
>>> To: <[EMAIL PROTECTED]>
>>> Sent: Tuesday, June 17, 2003 12:12 PM
>>> Subject: Re:  Multiuser Xtra and databases
>>> 
>>> 
>>>
>>> 
>>>> On Tuesday, June 17, 2003, at 12:01  PM, Rodrigo Peres wrote:
>>>> 
>>>>  
>>>> 
>>>>> Is it possible to use multiuser xtra to connect to databases like
>>>>> mysql,
>>>>> oracle etc. I need to connect and retrieve some data. If possible I'd
>>>>> like
>>>>> to run away from third part xtras, but...
>>>>>
>>>>> 
>>>> You'll probably want to use a PHP/ASP intermediary.
>>>> 
>>>>  
>>>> 
>>>>> ps: DirectorMX doesn't use multiuser anymore??
>>>>>
>>>>> 
>>>> Yes it does (on all platforms), but the xtra has been moved to the
>>>> "goodies" folder on the distribution CD. Macromedia needs to reconsider
>>>> this. That xtra can serve many purposes - more than what the Flash
>>>> Communications Server alone can offer.
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Troy
>>>> RPSystems, Ltd.
>>>> http://www.rpsystems.net
>>>>  
>>>> 
>>> 
>>> [To remove yourself from this list, or to change to digest mode, go to
>>> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
>>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
>>> for learning and helping with programming Lingo.  Thanks!]
>>> 
>>>
>>> 
>> 
>> --
>> Rodrigo Peres
>> www.rodrigoperes.com.br
>> escritório/office: +55(11) 3781.7017
>> celular/mobile: +55(11) 9108.6169
>> --
>> 
>> [To remove yourself from this list, or to change to digest mode, go to
>> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
>> for learning and helping with programming Lingo.  Thanks!]
>> 
>>  
>> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Multiuser Xtra and databases

2003-06-17 Thread Rodrigo Peres
First, thank's for the answers use PHP or ASP is not the case here, because
I need a quick response and this aproach can delay things a little. The
other problem is that there's no way to put a webserver in this project.

on 6/17/03 2:00 PM, Mathew Ray at [EMAIL PROTECTED] wrote:

> I agree with Troy...I am using php/mysql and it works pretty well. I've
> heard you can do similar things with flash and coldfusion, but it seems much
> more expensive without a big payoff. If you are using some complicated
> SOAP-compliant app or something, flash may be easier to interface with, but
> for simple database stuff posting to a web form and getting a reply is
> usually good enough.
> 
> Although, I seem to remember reading something quite a while ago about MUS
> being able to access databases and stuff, but I can't recall in what
> capacity or technically how it was done :0/ Overall though, the end product
> is much more flexible if done with some sort of full-featured middleware
> like php or asp.
> 
> ~Mathew
> 
> - Original Message -
> From: "Troy Rollins" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 17, 2003 12:12 PM
> Subject: Re:  Multiuser Xtra and databases
> 
> 
>> 
>> On Tuesday, June 17, 2003, at 12:01  PM, Rodrigo Peres wrote:
>> 
>>> Is it possible to use multiuser xtra to connect to databases like
>>> mysql,
>>> oracle etc. I need to connect and retrieve some data. If possible I'd
>>> like
>>> to run away from third part xtras, but...
>> 
>> You'll probably want to use a PHP/ASP intermediary.
>> 
>>> ps: DirectorMX doesn't use multiuser anymore??
>> 
>> Yes it does (on all platforms), but the xtra has been moved to the
>> "goodies" folder on the distribution CD. Macromedia needs to reconsider
>> this. That xtra can serve many purposes - more than what the Flash
>> Communications Server alone can offer.
>> 
>> 
>> 
>> --
>> Troy
>> RPSystems, Ltd.
>> http://www.rpsystems.net
> 
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Multiuser Xtra and databases

2003-06-17 Thread Rodrigo Peres
Hi,

Is it possible to use multiuser xtra to connect to databases like mysql,
oracle etc. I need to connect and retrieve some data. If possible I'd like
to run away from third part xtras, but...
ps: DirectorMX doesn't use multiuser anymore??

Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Again copy files in network

2003-06-15 Thread Rodrigo Peres
Hi,

I need to copy files from one machine (server) to many others. Is it
possible to do this in this way:

- Read the file with FileIO xtra
- Send the data to the client machine with Multiuser
- Grab the data in client and write back to a file
???


Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


GetPixel() to compare colors

2003-06-05 Thread Rodrigo Peres
Hi list,

I'm using getPixel to compare 2 images and return the differences between
them. After I run a list of points and check if some points are diferent
from the bgcolor (white). The problem: The image is scanned so there's a lot
of "dust" confusing the getPixel(). There's a way to compare if colors are
greater than or darker than??? Example
My background color is white (255,255,255) and if the pixel I test is close
to gray or black (0,0,0) it is diferent.


Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Copy files from local network

2003-06-02 Thread Rodrigo Peres
Yeah! I've tried, but I couldn't  figure out how to locate the file in the
other machine. Is it possible?


on 6/1/03 3:52 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> On Sunday, Jun 1, 2003, at 00:20 America/Chicago, Rodrigo Peres wrote:
> 
>> Hi list,
>> 
>> I need to copy some files from one machine to other one via a local
>> network(tcp/ip). Does anyone have an idea??
> 
> Have you tried downLoadNetThing?
> 
> 
> Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
> nightwares LLC | Consulting  Programming http://www.nightwares.com/
>  Developer | Structor, a presentation development/programming tool
>  Info and demo | http://www.nightwares.com/structor/
> Author | Director 8.5 Shockwave Studio: A Beginner's Guide
> Chapter samples | http://www.nightwares.com/director_beginners_guide/
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Copy files from local network

2003-06-01 Thread Rodrigo Peres
Hi list,

I need to copy some files from one machine to other one via a local
network(tcp/ip). Does anyone have an idea??

Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Copy files from local network

2003-05-27 Thread Rodrigo Peres
Hi list,

I need to copy some files from one machine to other one via a local
network(tcp/ip). Does anyone have an idea??

Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


more effective constraint

2003-03-26 Thread Rodrigo Peres
Hi list,


I have a shape (square) and a bitmap(circle). I want to drag freely the
circle inside the square but without let it pass over the borders of the
square. How can I do This. I tried constraint, a mix of left and right pos
but everytime I drag The circle it passes a little out of the square border.


Thank's in advance


Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


loc to mouse position

2003-03-22 Thread Rodrigo Peres
I'm trying to create a color pallete that looks like the color pallete of
Photoshop. The idea is, when the mouse is over the color square, a little
circle follows the mouse position without enter the border of the square.
Can someone send me an idea? I've couldn't made the sprite follows the mouse
everytime but only when it enters the square for the first time.

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: search folders and subfolders

2003-03-21 Thread Rodrigo Peres
Hi, first of all thank's for the help. I've tried your script, but I don't
understando what I'm doing wrong, because it's not made recursive. I put the
folder path as My HD. It returns the files but don't take care of the other
folders.


Rodrigo



on 3/21/03 9:00 AM, Fraser Campbell at [EMAIL PROTECTED] wrote:

> on GetFiles(vFolderList)
> 
> --a recursive function which goes through all of the folders
> --dropped on the stage and test them for sub-folders
> --if folders are added
> 
> --check to see that that a list has been passed
> --if not create one
> if not listP(vFolderList) then
> vFolderList = [vFolderList]
> end if
> 
> if vFolderList.count > 0 then
> --go through the list of folders
> repeat with i = 1 to vFolderList.count
> --check to see whether there are sub-folders present
> if(baFolderList(vFolderList[i]).count) > 0 then
> --if there are subfolders present
> --add them to a temporary list
> vTempFolderList = baFolderList(vFolderList[i])
> repeat with j = 1 to vTempFolderList.count
> --go through the list and rebuild the pathname
> --and add them to the list of folders to be recursed
> vFolderList.add(vFolderList[i] & vTempFolderList[j] & "\")
> end repeat
> end if
> --when finished going through the folder
> --get the path to the folder
> vStrPath = vFolderList[i]
> --get the files in the folder
> vFileList = baFileList(vStrPath,"*.*")
> --go through the list of the files
> --if any, and add the path to the filename
> if vFileList.count > 0 then
> repeat with i = 1 to vFileList.count
> vFileList[i] = vStrPath & vFileList[i]
> end repeat
> --return the file list
> return vFileList
> end if
> end repeat
> end if
> 
> end


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


search folders and subfolders

2003-03-21 Thread Rodrigo Peres
Hi list,

I need to develop an application that will dig the hard drive, folders and
subfolders, and search for font files.
I'm using DirectOS xtra to know if it's a folder or a file. But things is
not going right. My script is very slow and left folders behind. There's
anyone with a good idea in search folders and subfolders?

thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: was comparing 2 images

2003-03-10 Thread Rodrigo Peres
well, this is a test that will be presented in many companies to evaluate
the employes. So the idea is to optimize the time checking the answers.
I try this script and could get only the filled checkboxes, now how can I
grab the result and count it's points. Maybe using coordinates, or trying to
read the checkbox word??? All questions have only two options "A" "B".

check = new(#bitmap)
  
member(check).image = thisMem.image.duplicate()
  
member(check).image.copyPixels(thatMem.image, thatMem.rect,
thatMem.rect,[#ink:#reverse])


on 3/10/03 3:19 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> On Monday, Mar 10, 2003, at 11:31 America/Chicago, Rodrigo Peres wrote:
> 
>> Buzz,
>> 
>> but this will return only a geral difference, and I need to know one
>> by one
>> in the checkboxes.
> 
> Well, then, it's time to start experimenting, isn't it?
> 
> This doesn't strike me as being a particularly efficient way to do
> things, BTW. Why are you analyzing scanned images, as opposed to a
> document sent electronically, such as an HTML page with CGI to process
> the checkmarks, or using a Director interface to handle the checkmarks
> directly?
> 
> 
> Warren Ockrassa | http://www.nightwares.com/
> Director help | Free files | Sample chapters | Freelance | Consulting
> Author | Director 8.5 Shockwave Studio: A Beginner's Guide
> Published by Osborne/McGraw-Hill
> http://shop.osborne.com/cgi-bin/osborne/0072195622.html
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: was comparing 2 images

2003-03-10 Thread Rodrigo Peres
Buzz,

but this will return only a geral difference, and I need to know one by one
in the checkboxes.


on 3/10/03 1:37 PM, Buzz Kettles at [EMAIL PROTECTED] wrote:

> At 11:25 AM -0300 3/10/03, you wrote:
>> Hi,
>> 
>> 
>> I think my previous post need a little o Vulcan's Logic :-)
>> 
>> I don't need to compare two images but confirm if the checkbox is filled or
>> not. For example, someone fill a test and then I scan the page and check
>> throw the checkboxes for it answers and returns that was filled, so I can
>> compute if the answer is right or not.
>> Any Ideas??
> 
> I believe that you can use imaging lingo & compare the images
> 
> s = member("empty checkbox").image
> t = member("marked checkbox").image
> 
> if (s <> t) then
> isMarked()
> end if
> 
>> 
>> 
>> Thank's
>> 
>> Rodrigo
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


was comparing 2 images

2003-03-10 Thread Rodrigo Peres
Hi,


I think my previous post need a little o Vulcan's Logic :-)

I don't need to compare two images but confirm if the checkbox is filled or
not. For example, someone fill a test and then I scan the page and check
throw the checkboxes for it answers and returns that was filled, so I can
compute if the answer is right or not.
Any Ideas??


Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


comparing 2 images

2003-03-09 Thread Rodrigo Peres
Hi list,

There's a way to compare two images and retieve the diferences from it
other?
For example I have a test where someone check the answers with "X". Then I
scan that sheet and compare it with a blank version of the test in order to
check where the user filled the questions or not.

Thank's

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


smart card reader

2003-02-20 Thread Rodrigo Peres
Hi list,


Things is never easy as we think :-/

Some weeks ago I asked about barcode readers and credit card readers
(thank's everybody for the answers), but now someone here goes nutt and want
an integration between Director and Smart Card readers. I've found a set of
protocols and functions to call the reader and contact the bank and etc. But
how can I implement this in director. Does anyone have idea? Maybe Serial
Port communication??


thks'

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



smart card reader

2003-02-20 Thread Rodrigo Peres
Hi list,


Things is never easy as we think :-/

Some weeks ago I asked about barcode readers and credit card readers
(thank's everybody for the answers), but now someone here goes nutt and want
an integration between Director and Smart Card readers. I've found a set of
protocols and functions to call the reader and contact the bank and etc. But
how can I implement this in director. Does anyone have idea? Maybe Serial
Port communication??


thks'

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: Web Services

2003-02-13 Thread Rodrigo Peres
I think it's only a matter to understand XML. Web services is based on it.
Since Director can parse XML, a lot of work could make it possible.

http://www.directorxml.com/


Rodrigo


on 2/13/03 4:21 AM, pjg at [EMAIL PROTECTED] wrote:

> Hi all,
> 
> I haven't been actively involved in the lingo list for some time now
> (although that is soon set to change). I was wanting to know if anyone on
> this list has had some experience using web services with director. If so do
> you know of any good resources for integrating and working with web services
> and director. Seems that Macromedia has heaps of documentation on web
> services and flash but little (if not nothing) on web services and director.
> 
> Any assistance is greatly appreciated!
> 
> Paul
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: Re: multiple undo

2003-02-11 Thread Rodrigo Peres
ok. Multiple undo will be the paradise. but nested movie clips...urghhh!!! I
hate it in my opinion is the best way to mess up the things. Imagine a huge
CDROM project with hunderds of movie clips and it one of it with your own
lingo script. :-/

on 2/10/03 6:54 PM, Kyle Smeby at [EMAIL PROTECTED] wrote:

>>> Do the developers like this way?
>> 
>> I don't mind like others do.
> 
> I certainly wouldn't complain if Director suddenly had multiple undo,
> but I'm sure it's not something that would be easy to add.
> 
>> I can imagine how difficult (and therefore buggy) multiple undos are
>> to implement in an app like director where one command may start a
>> chain of multiple commands caused by a lingo script or a miaw etc.
> 
> I agree that it would be difficult, but I would like to point out what
> an amazing job Flash does in this respect.  Undoing actions in
> scripting, the timeline, and in nested movie clips.  Considering the
> difficulty in implementing it, I think Macromedia did an excellent job.
> 
> The three things I would love to see Director take from Flash would be:
> 
> #1: Font management.
> I've never even had to think about fonts in Flash--that's about as high
> a compliment as that functionality can get.  I wish I could say the
> same for Director.
> 
> #2: Nested Movie Clips:
> Makes the timeline so much easier to manage, and makes it far simpler
> to build in complex interactivity without a lot of code.
> 
> #3: Multiple Undo.
> Not something I consider vital, but it sure is nice when it's there.
> That and I think having it available in almost every other app I use
> has made me somewhat complacent.  I need to remind myself I'm in
> Director and if I'm going to experiment with something I better do a
> "Save As."
> 
> It's funny I actually started working in Director and couldn't stand
> Flash--over the last couple of years I find myself doing more and more
> of my Director projects in Flash then bringing them into Director.
> That's mainly because of #1 and #2 listed above.  If I was a better
> lingo programmer #2 probably wouldn't be as much of a factor though.
> 
> just my thoughts on the subject,
> 
> kyle
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: barcode reader and other devices

2003-02-06 Thread Rodrigo Peres
Thank's everybody for the answers.


Colin, if not too dificult for you, i'd like if you can send me the docs you
have regarding credit cards.


Rodrigo


on 2/6/03 2:08 PM, Colin Holgate at [EMAIL PROTECTED] wrote:

>> Does anyone knows if it's possible interact director with devices like
>> barcode reader and credit card machines? How it can be done? there's anybody
>> else around with crazy ideas like this? :-)
> 
> 
> Mostly ignore the other two posts. You can get USB barcode and credit
> card readers, they plug into a USB port (on any platform that
> supports USB) and work right away, without any Xtras. The numbers
> coming from a barcode exactly match what you can read on the label.
> You can configure the barcode reader to put characters before or
> after that, so for example you could append a return character, and
> then just watch for a return coming in. If you choose not to use a
> return, you would probably need to watch letters coming in and try to
> spot when the end of the number is reached, possibly by timing how
> long it was since the last letter came in.
> 
> Credit cards are a bit tougher, as there are two track and three
> track magnetic strips. There are definitions for both, so it is
> possible to get the person's first and last name, and the card
> number, from the right place in the stream of text you get.
> 
> If you have a client who has existing serial barcode readers, then
> you might need to get into serial Xtras, etc, but if you're starting
> from scratch it would be worth getting a USB one, and not have any of
> that hassle.
> 
> BTW, the hardest part of all of this is how to deal with regular
> keyboard input, how can you tell whether it's a user typing or a
> barcode coming in? I've used both barcode and credit card at the same
> time, and got around the keyboard entry part by having that as an on
> screen touch keyboard, which doesn't involve the normal keyboard at
> all, leaving all keyboard input to be coming from the two devices.
> 
> I have info somewhere on the format for a credit card if you need it.
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



barcode reader and other devices

2003-02-06 Thread Rodrigo Peres
Does anyone knows if it's possible interact director with devices like
barcode reader and credit card machines? How it can be done? there's anybody
else around with crazy ideas like this? :-)



thk's

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



OOPS

2003-02-03 Thread Rodrigo Peres
Hi,

Who has already saw the game "The sims"?? I need to develop something like
that but more simpler.  What I need is to develop a room with some furniture
and my character that will walk in this room and don't cross throw walls
neither tables etc. It will turn around or take another way.

Does anyone knows any kind of book or resource or anything that can point me
in a direction.

Thank's in advance

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: remote update

2003-01-31 Thread Rodrigo Peres
Florian,

the connection will be made by modem, some of the kiosks are in other city.


on 1/31/03 10:59 AM, Florian Bogeschdorfer at [EMAIL PROTECTED] wrote:

> Am 31.01.2003 13:24 Uhr schrieb "Rodrigo Peres" unter <[EMAIL PROTECTED]>:
> 
> So the updated via Serial Port connected to another PC?
> 
> How about a network? Just open the text file on the server?
> I like to use getNetText for such things, in combination with php.
> 
> Also a FTP download might be interesting. Depends very much on your
> limitations.
> 
> Regards, Florian
>> Hi list,
>> 
>> 
>> I'm working in a project of a Kiosk that was developed by other company.
>> They used DirectCommunication Xtra and FileIO to connect the Kiosk with
>> another machine to get the updates (text) and display it. There's another
>> way to implement this kind of remote update? Multiuser maybe?
>> The goal is a admin interface (remote) where someone type the new text and
>> store it. The kiosk connect to the server and get the updated information
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]
> 

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



remote update

2003-01-31 Thread Rodrigo Peres
Hi list,


I'm working in a project of a Kiosk that was developed by other company.
They used DirectCommunication Xtra and FileIO to connect the Kiosk with
another machine to get the updates (text) and display it. There's another
way to implement this kind of remote update? Multiuser maybe?
The goal is a admin interface (remote) where someone type the new text and
store it. The kiosk connect to the server and get the updated information
-- 

.


Tks

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: 2 cdrom project

2003-01-22 Thread Rodrigo Peres
recently I had almost the same problem in a project that ended in 6 cd's :-/
To solve my problem I've made an application that runs from the hd and have
an index of all images and it's cd. when the user clicks I look in the index
and if not the right cd ask the other one.

Rodrigo

on 1/22/03 10:46 AM, Tab Julius at [EMAIL PROTECTED] wrote:

> 
> Unless you have two CD drives in your machine, if you want to have a
> program that spans multiple CDs, you will need to install the program on
> the hard drive.
> 
> Most programs do not load all up into memory upon startup.  The operating
> system will go back to your CD-ROM drive looking for your projector.  If
> you've swapped the CD-ROMs and your projector's not in there any more, the
> operating system will complain.
> 
> The way around this is to install the projector onto the hard drive and run
> it from there.  Then you can swap CD-ROMs all you want without running into
> this problem.
> 
> - Tab
> 
> 
> At 06:08 AM 1/22/03, Francesco Scarfato wrote:
>> i've a lot of pdf and jpg files so i must share my project on 2 cdrom
>> i use pdfxtra to read pdf files and i've a dummyjpg link external to the
>> projector to import (changing the filename property's member) on the fly the
>> selected jpg that i've another jpg files called legenda that i show in a
>> miaw
>> when i burn my cdroms and try to open a pdf file that isn't on current cdrom
>> all its ok, but when i try to read a jpg file and its own legenda i've an
>> error message by OS that said me the wrong volume on cdrom! :-(((
>> someone have already develop cdrom like mine? on 2 or more cd?
>> how can show a jpg without a wrong OS message about volume in cd?
>> i develop this project only on Windows system
>> i try to importFileInto() instead of changing filename property but the
>> error happen the same!
>> i hope someone can help me (and i hope my english ins't so horrible to
>> understand! :-)
>> 
>> 
>> enjoy
>> Francesco Scarfato
>> lingo developer
>> Ritram srl
>> via Marconi 45/7
>> 40010 Bentivoglio (BO)
>> tel +390516640932
>> fax +390516640938
>> www.ritram.it
>> 
>> [To remove yourself from this list, or to change to digest mode, go to
>> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L
>> is for learning and helping with programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



again with other subject: characters and interaction inenviroments

2003-01-15 Thread Rodrigo Peres
Hi,

I'd like to develop some characters and it's interactions with the
enviroment. I have a robot an a room full of furniture. What I want is when
my sprite moves around it's detects the furniture and turns around or avoid
to walk into a wall. Where I begin to learn this? I'd appreciate if someone
can send me url, or tutorials.
My goal is something like www.habbohotel.com


Thank's in advance

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



develop enviroments interaction

2003-01-12 Thread Rodrigo Peres
Sorry by strange the subject but I couldn't find a way to express the idea.
What I need is a place to start (documents, tutoriais, code examples,
anything) in how I develop enviroments and interaction with it. For example
I have a robot that walks in a room and if it encounters a desk it turn
around etc. interactions like www.habbohotel.com or www.brahma.com.br


-- 


Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



develop enviroments interaction

2003-01-10 Thread Rodrigo Peres
Sorry by strange the subject but I couldn't find a way to express the idea.
What I need is a place to start (documents, tutoriais, code examples,
anything) in how I develop enviroments and interaction with it. For example
I have a robot that walks in a room and if it encounters a desk it turn
around etc. interactions like www.habbohotel.com or www.brahma.com.br


-- 


Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: shaped stage

2002-11-19 Thread Rodrigo Peres
uhh!! If it's not ask too much, can someone tell me how to do it, so? I've
tried the 1 bit mask trick, but doesn't work for me.

tks'

Rodrigo

on 11/19/02 1:04 PM, Andreas Gaunitz P11 at [EMAIL PROTECTED] wrote:

> Works. You can even animate it.
> 
> -A.
> 
> 
>> Are you referring to a masked MIAW? As in setting a 1-bit cast member as the
>> MIAW.windowType? If so, that *should* work on the Mac too, but I've never
>> done it.
>> 
>> Give it a try.
>> 
>> Ross
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



shaped stage

2002-11-19 Thread Rodrigo Peres
Hi list,

Is it possible to have a diferent shape in the stage in a Macintosh. I've
look in web and many other places but couldn't find anything other than
information regarding PC.

tks'


Rodrigo 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



handlers and boolean return

2002-09-02 Thread Rodrigo Peres

Hi list,

I think that my subject is a little confusing uh???
Is it possible in lingo to make handlers return a value and atribute this to
a variable?? for example:


on test
if 2 + 2 = 4 then
return false
else
return true
end if
end

x = test()
if x = true then .


Thank's in advance

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: **SOLVED** problems to attach castlib in windows

2002-08-19 Thread Rodrigo Peres

Hi list,

after many tries I found solution. After link the cast I set the searchPaths
to the drive letter. Problem solved :-/

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



cursor and Windows

2002-08-14 Thread Rodrigo Peres

Hi list,

I have made a set of cursor to use in my project all of them in 16 x 16
pixels 1 bit (win pallete). Guess what?? Mac works fine bu windows doesn't
show nothing..only the default arrow. What is wrong?

to call the cursor I'm using

property spriteNum

on MouseEnter me
sprite(spriteNum).cursor =
[member("finger").number,member("finger_mask").number]
end

thks

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



credits like text field

2002-08-09 Thread Rodrigo Peres

Hi list,

Does anyone have an idea where I begin to make an field scroll like the
final credits in the movies?? I've tried to use scroolbyline and scrolltop,
but in both I couldn't set up the speed neither the end point in order to
begin again (loop forever).

Thks

Rodrigo 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: find next and previous values in list***

2002-08-09 Thread Rodrigo Peres

Hi, I'm sorry but i didn't explain rigth. The problem is that I have all the
castmembers filled but only  a few of them has this parameter. So the user
could be in an member that don't have your number in list and this is the
problem.
example the user is seeing the image from member 20, but this image is not
in list because it's name doesn't have the parameter. and the next value in
list is 32 ( the next image near that has the parameter) so.. how can i made
this jump?? I have to types of navigation a linear one (+ 1 and -1) and this
non-linear that jumps from where user is to the next point the has a
parameter...


on 8/8/02 6:04 PM, Andreas Gaunitz P11 at [EMAIL PROTECTED] wrote:

> -- Moving to the right in a list:
> 
> memberList = [21, 32, 43, 54]
> 
> oldMemNum = sprite(blabla).memberNum
> oldMemIndex = memberList.getPos(oldMember)
> newMemIndex = oldMemIndex + 1
> newMemNum = memberList[newMemIndex]
> 
> sprite(blabla).memberNum = newMemNum
> 
> -- Watch out for the ends of the list
> 
> 
> HTH
> -A.
> 
> 
> 
>> Hi list,
>> 
>> I have a big cast with lot of images. Some images have an identifier in it's
>> names like "s" or "m" so, I want to create a button that let's the user
>> jumps to the specific images with this parameter. In the startmovie i made a
>> repeat and built a list[] with the number od members that have the parameter
>> "s" or "m". Now the problem how can I jump between this list. Example if my
>> member (on stage) is number 4 and the next in list is 10 how can I tell the
>> director to go to sprite(blabla).member = member(10) ??? and so on.
>> 
>> Thank's in advance
>> 
>> Rodrigo
>> 
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: **still have** problems to attach castlib in windows

2002-08-04 Thread Rodrigo Peres

hum... in the property window the path is absolute to my HD , mac style
(hd:folder:). How can I change this to doesn't affect the PC side?? I tried
to re-import everything, but the path remains the same.


on 8/3/02 7:08 PM, Buzz Kettles at [EMAIL PROTECTED] wrote:

> the Member Tab of the Property Insector shows the path saved for a member.
> 
> It's OK if a path has the other platform's characters as long as they
> are not mixed ... (Director tries the stored path & then tries
> obvious character substitutions to guess that the may have been moved)
> 
> the BEST paths to set are web-style, relative to the movie's location
> 
> i.e.
> a project folder could contains:
> movie.dir
> @/casts/external1.cst
> @/images/blah.jpg
> @/images/blah2.jpeg
> 
> the @ sign = the movie's location = Lingo's 'the moviePath'
> 
> hth
> 
> -Buzz
> 
> At 11:37 AM -0300 8/3/02, you wrote:
>> good question!! Well I have 2 castlib in the cd "altacast.cst" and
>> "baixacast.cst". For each cast I have a folder with images. What I've did is
>> to import the images in each cast and them burned the cd. So how can the
>> path be wrong? and If has a possibility, how can I check it or correct the
>> problem?? You are rigth about the linkup is OK.
>> 
>> Thank's
>> 
>> 
>> on 8/2/02 1:51 PM, Buzz Kettles at [EMAIL PROTECTED] wrote:
>> 
>>> At 11:36 AM -0300 8/2/02, you wrote:
>>>> but, since the PC attached the castlib the supply of vitamin "\"
>>>> isn't ok???
>>>> What is making me crazy is it, the evil side (PC) attach the castlib, but
>>>> when I try to use any member of the attached castlib it asks for a
>>>> replacement file.
>>> 
>>> It sounds like the cast linkup is ok
>>> 
>>> Are it's the linked files (referred to by it's members) in the
>>> correct location?
>>> 
>>> Could their paths contain the inappropriate platform separator character?
>>> 
>>> hth
>>> 
>>> -Buzz
>>> 
>>> 
>>>> 
>>>> 
>>>> on 7/31/02 11:36 PM, roy crisman at [EMAIL PROTECTED] wrote:
>>>> 
>>>>> I'm not convinced that the .cst is necessary...depends on your
>>>>> code.  Makes
>>>>> it a bitch when you protect them and they turn into .cxt's if it is
>>>>> required to be that way.
>>>>> 
>>>>> Sounds like your problem is in the drive variable...
>>>>> 
>>>>> MAYBE the mac is getting it's full day supply of vitamin ":" while (as
>>>>> Howdy will remind us) Bill Gates is stealing an extra "\" in the Win side.
>>>>> 
>>>>> You have two choices:
>>>>> 
>>>>> Keep dropping little clues for us to try and guess what the heck you are
>>>>> doing, OR maybe post a little more code so we don't have to
>>>>> guess...depends
>>>>> on how much time you want to spend feeding us clues...
>>>>> 
>>>>> roymeo
>>>>> 
>>>>> At 12:37 PM 7/31/2002 -0300, you wrote:
>>>>>> Hi Howdy...
>>>>>> 
>>>>>> I did what you sugest but the problem still there, only in windows.
>>>>>> 
>>>>>> on 7/29/02 12:56 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:
>>>>>> 
>>>>>>> At 09:04 -0300 07/29/2002, Rodrigo Peres wrote:
>>>>>>> 
>>>>>>>> Does anyone knows what could be wrong??
>>>>>>> 
>>>>>>>> If the cd is the right one them
>>>>>>>> 
>>>>>>>> AttachCastLib("baixacast", drive & "baixacast")
>>>>>>>> AttachCastLib("altacast", drive & "altacast")
>>>>>>> 
>>>>>>> You need to include the file extension as well -- particularly on
>>>>>>> Windows. Without that .cst extension Director's likely, on Win, to
>>>>>>> not know that you have actually attached a cast file.
>>>>>>> 
>>>>>>> Rename the casts so they all have .cst extensions, even on Mac, and
>>>>>>> try again like:
>>>>>>> 
>>>>>>> AttachCastLib("baixacast", drive & "baixacast.cst")
>>>>>

Re: **still have** problems to attach castlib in windows

2002-08-03 Thread Rodrigo Peres

good question!! Well I have 2 castlib in the cd "altacast.cst" and
"baixacast.cst". For each cast I have a folder with images. What I've did is
to import the images in each cast and them burned the cd. So how can the
path be wrong? and If has a possibility, how can I check it or correct the
problem?? You are rigth about the linkup is OK.

Thank's


on 8/2/02 1:51 PM, Buzz Kettles at [EMAIL PROTECTED] wrote:

> At 11:36 AM -0300 8/2/02, you wrote:
>> but, since the PC attached the castlib the supply of vitamin "\" isn't ok???
>> What is making me crazy is it, the evil side (PC) attach the castlib, but
>> when I try to use any member of the attached castlib it asks for a
>> replacement file.
> 
> It sounds like the cast linkup is ok
> 
> Are it's the linked files (referred to by it's members) in the
> correct location?
> 
> Could their paths contain the inappropriate platform separator character?
> 
> hth
> 
> -Buzz
> 
> 
>> 
>> 
>> on 7/31/02 11:36 PM, roy crisman at [EMAIL PROTECTED] wrote:
>> 
>>> I'm not convinced that the .cst is necessary...depends on your code.  Makes
>>> it a bitch when you protect them and they turn into .cxt's if it is
>>> required to be that way.
>>> 
>>> Sounds like your problem is in the drive variable...
>>> 
>>> MAYBE the mac is getting it's full day supply of vitamin ":" while (as
>>> Howdy will remind us) Bill Gates is stealing an extra "\" in the Win side.
>>> 
>>> You have two choices:
>>> 
>>> Keep dropping little clues for us to try and guess what the heck you are
>>> doing, OR maybe post a little more code so we don't have to guess...depends
>>> on how much time you want to spend feeding us clues...
>>> 
>>> roymeo
>>> 
>>> At 12:37 PM 7/31/2002 -0300, you wrote:
>>>> Hi Howdy...
>>>> 
>>>> I did what you sugest but the problem still there, only in windows.
>>>> 
>>>> on 7/29/02 12:56 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:
>>>> 
>>>>> At 09:04 -0300 07/29/2002, Rodrigo Peres wrote:
>>>>> 
>>>>>> Does anyone knows what could be wrong??
>>>>> 
>>>>>> If the cd is the right one them
>>>>>> 
>>>>>> AttachCastLib("baixacast", drive & "baixacast")
>>>>>> AttachCastLib("altacast", drive & "altacast")
>>>>> 
>>>>> You need to include the file extension as well -- particularly on
>>>>> Windows. Without that .cst extension Director's likely, on Win, to
>>>>> not know that you have actually attached a cast file.
>>>>> 
>>>>> Rename the casts so they all have .cst extensions, even on Mac, and
>>>>> try again like:
>>>>> 
>>>>> AttachCastLib("baixacast", drive & "baixacast.cst")
>>>>> AttachCastLib("altacast", drive & "altacast.cst")
>>>>> 
>>>>> Should do it...
>>>> 
>>>> --
>>>> 
>>>> 
>>>> [To remove yourself from this list, or to change to digest mode, go to
>>>> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
>>>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L
>>>> is for learning and helping with programming Lingo.  Thanks!]
>>> 
>>> [To remove yourself from this list, or to change to digest mode, go to
>>> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
>>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
>>> for learning and helping with programming Lingo.  Thanks!]
>> 
>> --
>> 
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: **still have** problems to attach castlib in windows

2002-08-02 Thread Rodrigo Peres

but, since the PC attached the castlib the supply of vitamin "\" isn't ok???
What is making me crazy is it, the evil side (PC) attach the castlib, but
when I try to use any member of the attached castlib it asks for a
replacement file.


on 7/31/02 11:36 PM, roy crisman at [EMAIL PROTECTED] wrote:

> I'm not convinced that the .cst is necessary...depends on your code.  Makes
> it a bitch when you protect them and they turn into .cxt's if it is
> required to be that way.
> 
> Sounds like your problem is in the drive variable...
> 
> MAYBE the mac is getting it's full day supply of vitamin ":" while (as
> Howdy will remind us) Bill Gates is stealing an extra "\" in the Win side.
> 
> You have two choices:
> 
> Keep dropping little clues for us to try and guess what the heck you are
> doing, OR maybe post a little more code so we don't have to guess...depends
> on how much time you want to spend feeding us clues...
> 
> roymeo
> 
> At 12:37 PM 7/31/2002 -0300, you wrote:
>> Hi Howdy...
>> 
>> I did what you sugest but the problem still there, only in windows.
>> 
>> on 7/29/02 12:56 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:
>> 
>>> At 09:04 -0300 07/29/2002, Rodrigo Peres wrote:
>>> 
>>>> Does anyone knows what could be wrong??
>>> 
>>>> If the cd is the right one them
>>>> 
>>>> AttachCastLib("baixacast", drive & "baixacast")
>>>> AttachCastLib("altacast", drive & "altacast")
>>> 
>>> You need to include the file extension as well -- particularly on
>>> Windows. Without that .cst extension Director's likely, on Win, to
>>> not know that you have actually attached a cast file.
>>> 
>>> Rename the casts so they all have .cst extensions, even on Mac, and
>>> try again like:
>>> 
>>> AttachCastLib("baixacast", drive & "baixacast.cst")
>>> AttachCastLib("altacast", drive & "altacast.cst")
>>> 
>>> Should do it...
>> 
>> --
>> 
>> 
>> [To remove yourself from this list, or to change to digest mode, go to
>> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
>> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L
>> is for learning and helping with programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: **still have** problems to attach castlib in windows

2002-07-31 Thread Rodrigo Peres

Hi Howdy...

I did what you sugest but the problem still there, only in windows.

on 7/29/02 12:56 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> At 09:04 -0300 07/29/2002, Rodrigo Peres wrote:
> 
>> Does anyone knows what could be wrong??
> 
>> If the cd is the right one them
>> 
>> AttachCastLib("baixacast", drive & "baixacast")
>> AttachCastLib("altacast", drive & "altacast")
> 
> You need to include the file extension as well -- particularly on
> Windows. Without that .cst extension Director's likely, on Win, to
> not know that you have actually attached a cast file.
> 
> Rename the casts so they all have .cst extensions, even on Mac, and
> try again like:
> 
> AttachCastLib("baixacast", drive & "baixacast.cst")
> AttachCastLib("altacast", drive & "altacast.cst")
> 
> Should do it...

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



problems to attach castlib in windows

2002-07-29 Thread Rodrigo Peres

Hi list,

I'm using the CastControl xtra to link external castlibs from cd on the fly.
In Mac everything works great, but in windows it links the cast but when I
try to change the member to one of the linked cast the project begins to ask
for replacement files.

Does anyone knows what could be wrong??

I'm using this:


routine to ask for cd, using DirectOS Xtra

If the cd is the right one them

AttachCastLib("baixacast", drive & "baixacast")
AttachCastLib("altacast", drive & "altacast")

atual = sprite(22).member.name
sprite(22).member = member(atual,"altacast")

ps: drive is a variable that grab the letter of cd or name of it is running
on Mac. To acomplish this I used a repeat in dosGetDrives() " DirectOS"

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: list and castlibs

2002-07-23 Thread Rodrigo Peres

Hi...

First, thank's all for the answers.

I don't know what happened, but I tried with

add gPontosTimeline, gEscale * .

and all goes fine :-/

The minus 1 was a dirty trick to get a 0 value in my slider bar, but not in
it response, cause I will ask for a cast member 0. :-(

Rodrigo


on 7/22/02 8:12 PM, Irv Kalb at [EMAIL PROTECTED] wrote:

> At 5:55 PM -0500 7/22/02, Howdy-Tzi wrote:
>> At 19:34 -0300 07/22/2002, Rodrigo Peres wrote:
>> 
>>> gCovers = the number of members of castlib "low cover"
>>> repeat with x = 1 to (gCovers - 1.0) -- subtract one because don't have
>>> castmember 0
>> 
>> Who told you to subtract 1? The count you're using will go to
>> whatever the value is of gCovers minus one.
>> 
>> Try this:
>> 
>> gCovers = the number of members of castlib "low cover"
>> repeat with x = 1 to gCovers
>> gPontosTimeline.add(gEscale * float ( x )) -- to make a decimal
>> end repeat
>> 
>> Of course I don't see a declaration for gEscale either, which means
>> it might be void. Are you sure gEscale has a nonzero value?
>> 
> 
> In addition to this, you must also initialize gPontosTimeline as an
> empty list before your loop:
> 
> gPontosTimeline = []
> 
> It's not clear to me what you are trying to create.  Do you want to
> build a list of [1, 2, 3, 4, ...] where each element is multiplied by
> some floating point constant?  That's what this loop seems to do.
> 
> Irv

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



list and castlibs

2002-07-22 Thread Rodrigo Peres

Hi list,

I have this piece of code that should make a loop and grab the number of
members in castlib "low cover" , internal castlib with 178 low res images.
The problem is that it function sometimes in authoring and never in runtime.
if i go to the message and "put gPontostimeline" sometimes it's ok,
sometimes the list is full of 0.0.


 gCovers = the number of members of castlib "low cover"
  repeat with x = 1 to (gCovers - 1.0) -- subtract one because don't have
castmember 0
gPontosTimeline.add(gEscale * x)
  end repeat


Does anyone have an idea??

Rodrigo Peres
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



PrintOmatic problem

2002-07-21 Thread Rodrigo Peres

hi list,

I'm trying to print my stage in 2 pieces the left side and the right side.
My stage has 800x526 so to print the left side I've used rect(0,0,400,526),
but when I try to print the right side using rect(400,0,800,526) I got a
blank page or a page like a broken TV. Does anyone knows how cann I make
this works?? Director 8 printOmatic 1.6.5


Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



navigate in external cast

2002-07-19 Thread Rodrigo Peres

Hi list,

I'm in a project where the aplication is instaled in the user HD. And in
another cd I have a cast with 1500 images. I'm using castcontrol to link
this cast to the main project, that's fine. The problem is..While the cd is
loading There's a image in the application in HD saying "loading", after
loading I change the member of this image to the first image of the attached
caslib. Now I need to go back and forward in the images on that castlib. To
change I've used

sprite(53).member = member(1,"lowcast")

but now, how I can go + 1 and -1 in the other images??

Thank's in advance

Rodrigo Peres
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: constraint to area

2002-07-03 Thread Rodrigo Peres

Well... my english isn't so goog, but let's try to explain better :-)

Imagine a black background (sprite) and over it a big image that goes out of
the stage because it's size. I want to drag it to see all of it, but when
the edges of the bigger image begins visible it stops so that the user can't
see the black behind it. The same effect that we can apply to a smaller
image confined to another bigger, but in tis case only to limit the larger
image to pass the limits of the smaller ( that is the borders os interface).

Thank's

Rodrigo
BRAZIL *

on 7/2/02 11:23 AM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> At 20:49 -0300 07/01/2002, Rodrigo Peres wrote:
> 
>> How can i constrain one sprite to a determinated area. I have a big image
>> moveable and i want to drag it inside a smaller image in a way that the big
>> image only goes when it reachs the boundaries of the smaller
>> image..something like goes untill bottom reaches bottom of the smaller one,
>> or top reaches the top of the smaller one and so on.
> 
> I'm not sure what you're asking here, because you cannot (logically)
> drag a larger image *into* a smaller one.
> 
> Do you mean you want the larger image to be dynamically resized to
> fit the dimensions of the smaller? If so, you would do this in two
> steps (I would, anyway):
> 
> 1. Devise the dragging code so Director knows when the image has been
> successfully dragged; and
> 
> 2. Use some thumbnail-generating Lingo (such as what I have online
> under free --> howdygoodies) to scale the image down once it's been
> dropped.

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: constraint to area

2002-07-02 Thread Rodrigo Peres

Well... my english isn't so goog, but let's try to explain better :-)

Imagine a black background (sprite) and over it a big image that goes out of
the stage because it's size. I want to drag it to see all of it, but when
the edges of the bigger image begins visible it stops so that the user can't
see the black behind it. The same effect that we can apply to a smaller
image confined to another bigger, but in tis case only to limit the larger
image to pass the limits of the smaller ( that is the borders os interface).

Thank's

Rodrigo
BRAZIL *

on 7/2/02 11:23 AM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> At 20:49 -0300 07/01/2002, Rodrigo Peres wrote:
> 
>> How can i constrain one sprite to a determinated area. I have a big image
>> moveable and i want to drag it inside a smaller image in a way that the big
>> image only goes when it reachs the boundaries of the smaller
>> image..something like goes untill bottom reaches bottom of the smaller one,
>> or top reaches the top of the smaller one and so on.
> 
> I'm not sure what you're asking here, because you cannot (logically)
> drag a larger image *into* a smaller one.
> 
> Do you mean you want the larger image to be dynamically resized to
> fit the dimensions of the smaller? If so, you would do this in two
> steps (I would, anyway):
> 
> 1. Devise the dragging code so Director knows when the image has been
> successfully dragged; and
> 
> 2. Use some thumbnail-generating Lingo (such as what I have online
> under free --> howdygoodies) to scale the image down once it's been
> dropped.

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



constraint to area

2002-07-01 Thread Rodrigo Peres

Hi list,

How can i constrain one sprite to a determinated area. I have a big image
moveable and i want to drag it inside a smaller image in a way that the big
image only goes when it reachs the boundaries of the smaller
image..something like goes untill bottom reaches bottom of the smaller one,
or top reaches the top of the smaller one and so on.


Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



multiple cd project

2002-07-01 Thread Rodrigo Peres

Hi list, 

regarding my problem with a multiple cd project, here is my problem. The
piece is a cdrom from a magazine. The part that is installed in the user hd
will have the magazine's cover, when clicked will open the pages to the user
to browser with next,previous buttons. Something like if he is reading the
magazine. Since it's magazine have many pages, we put 30 of each in each CD
totalizing 6 cd's (18.000 pages totally). My question is, how I made this,
click on the cover (in HD) and navigate in the respective pages of that
edition in another cd. Can I dinamically link the external cast in cd with
pages?? I use play movie and duplicate the interface in each CD?? I couldn't
think in a good way to do this!

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



multiple cd project

2002-06-29 Thread Rodrigo Peres

Hi list, regarding my problem with a multiple cd project, here is my
problem. The piece is a cdrom from a magazine. The part that is installed in
the user hd will have the magazine's cover, when clicked will open the pages
to the user to browser with next,previous buttons. Something like if he is
reading the magazine. Since it's magazine have many pages, we put 30 of each
in each CD totalizing 6 cd's (18.000 pages totally). My question is, how I
made this, click on the cover (in HD) and navigate in the respective pages
of that edition in another cd. Can I dinamically link the external cast in
cd with pages?? I use play movie and duplicate the interface in each CD?? I
couldn't think in a good way to do this!

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: multi cd (6 cd's) application

2002-06-24 Thread Rodrigo Peres

well, since i have no other way the 6 cd what's the best approach??
I have an interface in hd with thumbnails, the user click on it, and will be
asked for the cd, so they can navigate in the full size images. My doubt is,
what's the best the same interface in the others cd's with the larger images
or only one movie that I "jump" to it, or a external cast...


on 6/24/02 11:59 AM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> At 16:00 -0400 06/20/2002, Kurt Griffin wrote:
> 
 Sure, but DVD is not the market standard yet. Tough sell to a client who
 doesn't want to cut out a healthy chunk of legacy machines.
>>> 
>>> If this is being developed in Dir85, that question is moot anyway. ;)
>> 
>> How so? There are plenty of machines being sold right now with CDR drives,
>> not DVD drives?
> 
> Old, slow, funky machines abound, and not many of them have the oomph
> required to handle 8.5, I believe. That's all I was suggesting. The
> drive itself is nonrelevant if the chip can't handle the data.

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: update text field in real time

2002-06-24 Thread Rodrigo Peres

Buzz,

I've read it, but couldn't understood!! I've tried to change to ...while the
mousedown =true but it has the same effect.


on 6/23/02 10:12 PM, Buzz Kettles at [EMAIL PROTECTED] wrote:

> look up 'the stillDown' in the Lingo dictionary
> 
> example:
> 
> on mouseDown me
> put the ticks into myField
> repeat while the stillDown
> put the ticks into myField
> end repeat
> end
> 
> hth
> 
> -Buzz
> 
> At 11:34 AM -0300 5/23/02, you wrote:
>> Hi list,
>> 
>> I'm using this script to make an slider and put it's values into a text
>> field. The script is attached to a mousedown event. The problem is that the
>> text field only updates itself with the values when I release the mouse
>> button. How can I make it happens in real time??? while i move the slider
>> the values in text field changes??
>> 
>> on startMovie
>> global gLargura,gBarraDeslizante,gBotaoBarra,gEscala
>> set gBarraDeslizante = 8 -- sliderbar
>> set gBotaoBarra = 9 -- thumb
>> set gEscala = sprite(8).width/180.0 -- numbers that i need
>> set gLargura = sprite(8).width
>> the floatPrecision = 1
>> end
>> 
>> on deslizarBotao -- this is used in the mousedown
>> global gLargura,gBarraDeslizante,gBotaoBarra,gEscala
>> repeat while the stillDown
>> sprite(9).loch = constrainh(8,the mouseh) + 3-- plus 3 is to correct the
>> position of thumb in the beggining of the bar
>> posicao = abs(sprite(9).loch - sprite(8).left)
>> set the text of field "Position" to string(integer(posicao/gEscala))
>> set the stagecolor to integer(posicao/gEscala) -- only to give a visual
>> feedback to test
>> updateStage
>> end repeat
>> end
>> 
>> ps: thank's to Howdy-Tzi for the help with this slider script.
>> 
>> Thank's in advance
>> 
>> Rodrigo
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: external cast and cursor

2002-06-24 Thread Rodrigo Peres

yeap, I use sprite(spritenum).cursor = [1,2]
Since I have many movies that will use the same cursor I thought that i
could made an external cast to store it, but..


on 6/23/02 10:14 PM, Buzz Kettles at [EMAIL PROTECTED] wrote:

> does it work if they are in the internal cast?
> 
> -Buzz
> 
> At 8:24 PM -0300 6/23/02, you wrote:
>> Hi,
>> 
>> Is it possible to use a bitmap located in an external cast as cursor? For
>> example my external cast name library have 2 bitmaps, (1 and 2, respectively
>> cursor and it's mask), that I want to use as cursor, but I couldn't do it!
>> or it load the first one and the cursor becomes transparent or it loads the
>> mask, but not the both!!
>> 
>> Thank's
>> 
>> Rodrigo
>> 
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



external cast and cursor

2002-06-23 Thread Rodrigo Peres

Hi,

Is it possible to use a bitmap located in an external cast as cursor? For
example my external cast name library have 2 bitmaps, (1 and 2, respectively
cursor and it's mask), that I want to use as cursor, but I couldn't do it!
or it load the first one and the cursor becomes transparent or it loads the
mask, but not the both!!

Thank's

Rodrigo


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



update text field in real time

2002-06-23 Thread Rodrigo Peres

Hi list,

I'm using this script to make an slider and put it's values into a text
field. The script is attached to a mousedown event. The problem is that the
text field only updates itself with the values when I release the mouse
button. How can I make it happens in real time??? while i move the slider
the values in text field changes??

on startMovie
 global gLargura,gBarraDeslizante,gBotaoBarra,gEscala
  set gBarraDeslizante = 8 -- sliderbar
  set gBotaoBarra = 9 -- thumb
  set gEscala = sprite(8).width/180.0 -- numbers that i need
  set gLargura = sprite(8).width
  the floatPrecision = 1
end

on deslizarBotao -- this is used in the mousedown
  global gLargura,gBarraDeslizante,gBotaoBarra,gEscala
  repeat while the stillDown
sprite(9).loch = constrainh(8,the mouseh) + 3-- plus 3 is to correct the
position of thumb in the beggining of the bar
posicao = abs(sprite(9).loch - sprite(8).left)
set the text of field "Position" to string(integer(posicao/gEscala))
set the stagecolor to integer(posicao/gEscala) -- only to give a visual
feedback to test
updateStage
  end repeat 
end

ps: thank's to Howdy-Tzi for the help with this slider script.

Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



update text field in real time

2002-06-23 Thread Rodrigo Peres

Hi list,

I'm using this script to make an slider and put it's values into a text
field. The script is attached to a mousedown event. The problem is that the
text field only updates itself with the values when I release the mouse
button. How can I make it happens in real time??? while i move the slider
the values in text field changes??

on startMovie
 global gLargura,gBarraDeslizante,gBotaoBarra,gEscala
  set gBarraDeslizante = 8 -- sliderbar
  set gBotaoBarra = 9 -- thumb
  set gEscala = sprite(8).width/180.0 -- numbers that i need
  set gLargura = sprite(8).width
  the floatPrecision = 1
end

on deslizarBotao -- this is used in the mousedown
  global gLargura,gBarraDeslizante,gBotaoBarra,gEscala
  repeat while the stillDown
sprite(9).loch = constrainh(8,the mouseh) + 3-- plus 3 is to correct the
position of thumb in the beggining of the bar
posicao = abs(sprite(9).loch - sprite(8).left)
set the text of field "Position" to string(integer(posicao/gEscala))
set the stagecolor to integer(posicao/gEscala) -- only to give a visual
feedback to test
updateStage
  end repeat 
end

ps: thank's to Howdy-Tzi for the help with this slider script.

Thank's in advance

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: progress bar

2002-06-15 Thread Rodrigo Peres

uhmm!!! Sorry if it'll be a little newbie but,
this methods can check if i'm importing from other source than web. Because,
my files will be all in cd.




on 6/15/02 6:02 AM, Alex da Franca at [EMAIL PROTECTED] wrote:

> At 23:47 Uhr -0700 14.06.2002, Buzz Kettles wrote:
>> Neither replaces the other.
>> The 'tellStreamStatus' boolean turns the movie-level 'on
>> streamStatus' event handler on & off.
>> The getStreamStatus() function is the manual equivalent where you
>> control the polling by doing the calls yourself.
>> 
>> 'on streamStatus' & 'getStreamStatus()' both get the same data back.
>> 
>> getStreamStatus(netID) is usually is used to track a specific
>> download, although since the first parameter returned to on
>> streamStatus is URL, one could case that & get similar results.
> 
> may well be I was wrong, buzz, but I remember, that I had a problem
> with tellstreamstatus + on streamStatus and was told by one of the
> engeneers that it is better to use getStreamstatus in all
> circumstances.
> the problem I had was, as memory serves, that the streamStatus event
> won't get sent, if the movie is restartet or if it comes from the
> cache and therefore is already loaded and thus the event is never
> sent.
> so the movie 'waits forever' to get the streamstatus event, whereas
> if you check the status yourself with getstreamstatus you'll notice
> at the first call that everything is already loaded and the show
> continues right away.
> sorry, as I am not at home at the moment, I can't search for the
> exact mail in my archives.
> 
>> 
>> All 3 items were implemented simultaneously (In d702, if memory serves me).
>> 
> I am pretty sure, that tellstreamstatus was there in D6 (or even D5,
> since the birth of shockwave/afterburner ??), whereas getstreamstatus
> was introduced in D7.

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



progress bar

2002-06-14 Thread Rodrigo Peres

Hi list,

Is it possible to develop a progress bar in lingo? I want that my users have
the ability to import files in the project (ok, it's fine) but, there's a
way to check the time, or percentage or anything and make a progress bar?


Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



progress bar

2002-06-07 Thread Rodrigo Peres

Hi list,

Is it possible to develop a progress bar in lingo? I want that my users have
the ability to import files in the project (ok, it's fine) but, there's a
way to check the time, or percentage or anything and make a progress bar?


Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



avoid 180 sprites "got worst"

2002-05-31 Thread Rodrigo Peres

Hi list,

First of all thank's very much for the help in this tread. My problem got
worst since the designers here changed the layout. Now the 180 division
became so close that I don'tknow how to check the positions. Maybe is it
possible to work in a relation of the position on the bar and image??
something like an slider??

If someone could help, in this url is the layout. The bar is int the rigth
of the window

http://www.arteria.com.br/adriano/interface2.jpg

Thank's again

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Best way to avoid 180 channels in score??

2002-05-23 Thread Rodrigo Peres

Hi list

In my project I'll have a cronologic line with 180 dots in it. Each dot will
have a rollover effect and when clicked go to a specific session of the CD.
Is there another way to build it, without using 180 channels in the score??
I thought in film loop, but I think that this "dummy" thing can't control
the main stage, right??

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: change between hi-res and low-res images

2002-05-21 Thread Rodrigo Peres

Buzz, first of all thank's for the help, but If I could understand right,
the code doesn't do any kind of delay until changes the image to the hi-res.
This won't make things slower, i mean since it will try to show the hi-res
everytime the user do a key up?? There's a way to put a little delay before
it change the image, so if the user change his mind and press the key again
the project jumps to next quickly, or Am I worng??? :-/

Thank's in advance

Rodrigo


on 5/19/02 5:04 PM, Buzz Kettles at [EMAIL PROTECTED] wrote:

> Here's a way (it sequences through at the key repeat rate)
> 
> global whichImage
> -- the image counter = the member
> -- within castLib("images") or castLib("lowres")
> global numImages
> -- the number of images in each of these casts
> 
> on startMovie
> whichImage = 1
> numImages = the number of members of castLib("images")
> end
> 
> on keyDown
> case the keyCode of
> 123 : put "left arrow"
> -- decrement the image counter, then show it lowres
> if whichImage > 1 then whichImage = whichImage-1
> else whichImage = 1
> showLowRes (whichImage)
> 124 : put "right arrow"
> --increment the image counter, then show it lowres
> if whichImage < numImages then whichImage = whichImage+1
> else whichImage = numImages
> showLowRes (whichImage)
> end case
> end
> 
> on keyup
> -- display the full res version of the current image
> sprite(1).member = member (whichImage, "images")
> end
> 
> on showLowRes whichImage
> --  display the lowRes version
> sprite(1).member = member (whichImage, "lowres")
> end
> 
> hth
> 
> -Buzz
> 
> At 3:25 PM -0300 5/19/02, you wrote:
>> Hi list,
>> 
>> I'm in a project that will deal if BIG images and the user will
>> navigate to view them using the arrow keys. To reduce the time I
>> thought in use low-res images (preview) and when the user stops
>> pressing and stays in the preview for 10 secs the image switchs to
>> the hi-res one. Is it possible to do it??Someone has ideas in how to
>> implement this or steps?
>> 
>> Thank's in advance
>> 
>> Rodrigo Peres
>> 
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
> [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
> for learning and helping with programming Lingo.  Thanks!]

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



change between hi-res and low-res images

2002-05-19 Thread Rodrigo Peres

Hi list,

I'm in a project that will deal if BIG images and the user will navigate 
to view them using the arrow keys. To reduce the time I thought in use 
low-res images (preview) and when the user stops pressing and stays in 
the preview for 10 secs the image switchs to the hi-res one. Is it 
possible to do it??Someone has ideas in how to implement this or steps?

Thank's in advance

Rodrigo Peres

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: dialup with director

2002-05-07 Thread Rodrigo Peres

What I thought (is this the right spell?) is a file with ISP numbers in each
city. the user chooses it city put your pass and login and the program do a
connection with this inputs to the number of that choosen city, so after
that he/her can open the browser and navigate. I never saw the earthlink
program but I think it's something like that, withou the modem configuration
that the user had to have done before. The idea is to build a way that the
user conects to the ISP, without the need to configure numbers, etc..


on 5/6/02 7:21 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> At 18:56 -0300 05/06/2002, Rodrigo Peres wrote:
> 
>> This soft (or the idea of it :-) is to give the user the hability to connect
>> to an ISP, based on his/her location. So the user is the guy who's decide
>> when to connect or disconnect. Taking this in consideration this can be
>> created without much "pain" in director??
> 
> Well, if you want to let the user enter the phone number and so on,
> you're going to really really *hate* doing it in Director. If all you
> want to do is ask permission before going online with a pre-defined
> ISP in the user's internet configuration, it's not so bad.
> 
> If what you have in mind is sort of like what Earhlink or AOL does
> when you install their software for the first time -- letting the
> user pick a location, modem port and speed, dialup numbers and so on
> -- trying it in Director would probably be only a little less
> excruciating than having major dental work done with incomplete
> anesthesia.
> 
> What do you envision this program doing? How would it be used, in
> what way, what would it ask of the user, and what would it do on the
> user's machine?

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: dialup with director

2002-05-06 Thread Rodrigo Peres

First of all, thank's for the answers.
This soft (or the idea of it :-) is to give the user the hability to connect
to an ISP, based on his/her location. So the user is the guy who's decide
when to connect or disconnect. Taking this in consideration this can be
created without much "pain" in director?? or I will be insane to try it in
this way??


on 5/6/02 5:28 PM, Howdy-Tzi at [EMAIL PROTECTED] wrote:

> At 17:00 -0300 05/06/2002, Rodrigo Peres wrote:
> 
>> Hi list,
>> 
>> Is it possible to develop an application with director that makes dialup
>> connections to an ISP??
> 
> Yes, but it is a huge pain in the ass. Long and short is that if you
> want to connect to the net, you should really ask the user first, and
> then let him/her decide if you are going to do it via modem or
> hardwired connection.
> 
> Director is one of the least internet-aware programming environments
> in use today; its ignorance is rather shocking, in fact. It's nearly
> impossible to reliably and unobtrusively automatically detect (from
> within Director) whether the user has a net connection and whether
> it's active or not.
> 
>> I've been looking the DirectConnection xtra, but if
>> I stabilish a connection with it, can i navigate in internet with a web
>> browser or this connection is restricted to "projector" enviroment??
> 
> I don't quite know what you are asking here. If you've got a net
> connection established you can do pretty much anything you want to do
> of whioch Director is capable.

-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



dialup with director

2002-05-06 Thread Rodrigo Peres

Hi list,

Is it possible to develop an application with director that makes dialup
connections to an ISP?? I've been looking the DirectConnection xtra, but if
I stabilish a connection with it, can i navigate in internet with a web
browser or this connection is restricted to "projector" enviroment??

Thank's

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



best database xtra

2002-04-24 Thread Rodrigo Peres

Hi list,

I'm about to develop an application that will need to store about 10.000
pages of text and images. My users will need to be able to perform search in
this texts. Based on this, i'd like to ask advices about the best aproach to
store this data and search it. I'm experienced in SQL and dynamic languages
for web, but never had done anything so big in director.
If someone can help with ideas in the best xtra, or storing procedure I'll
apreciate.

Thank's in advance

Rodrigo Peres
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



best database xtra

2002-04-23 Thread Rodrigo Peres

Hi list,

I'm about to develop an application that will need to store about 10.000
pages of text and images. My users will need to be able to perform search in
this texts. Based on this, i'd like to ask advices about the best aproach to
store this data and search it. I'm experienced in SQL and dynamic languages
for web, but never had done anything so big in director.
If someone can help with ideas in the best xtra, or storing procedure I'll
apreciate.

Thank's in advance

Rodrigo Peres
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



  1   2   >