lingo-l re: bitmaps showing up white II

2002-03-27 Thread Heike Schmidt

hello again,

thanks for your responses!

i've tried chaning my dummy to all sorts of different members with no
results (still white squares).
then i thought the whole thing through overnight and it seems to me that it
could really be a memory problem. several reasons:
- my sprites didnt all dissapper into white at once but one by one as i was
adding other stuff to the movie;
- it's only the relatively big cast members that dont show anymore
(bitmaps, text members); smaller ones are still fine (fields);
- the earlier on during my intro you jump to the first static screen
layout the better the chance that at least some of the sprites wont show up
white.

for the moment it seems i have fixed at least part of the problem (at least
for now) by simplifying my scripts  (i'm still in the middle of adding stuff
so i was thinking i'd first add everything and then see how many lines of
code i could get rid of... not a good idea it seems).

when the user changes from one screen layout (page) to the next the
sprites are all filled with a dummy (a 1x1 pixel / 8 bit bitmap member) in
order to clear away any unwanted leftovers and then they are filled with
the
new elements for the next screen layout / page.

That's what's happening then. The pixels are being expanded to fill
the frame but the vcast members are not being switched out.

sorry for being so stupid, howdy-tzi, but i didnt quite understand what you
meant by the last sentence...  did you mean that the one pixel of my dummy
is expanded to fill the area that the new member in the new screen layout is
supposed to take up? but then i think the whole area should appear as black,
since my 1-pixel member is black, not white. non?
the sequence i have is for example:

sprite(1).member= member(oldmember, 1)
sprite(1).locH= 0
sprite(1).locV= 0
sprite(1).width= 100
sprite(1).height= 100

then

sprite(1).member= member(dummy, 1)
sprite(1).locH= 0
sprite(1).locV= 0
sprite(1).width= 0
sprite(1).height= 0

and finally

sprite(1).member= member(newmember, 1)
sprite(1).locH= 100
sprite(1).locV= 100
sprite(1).width= 150
sprite(1).height= 150

thanky'all!
heike .-)


[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: lingo-l Highlight or change formatting (clarifications)

2002-03-27 Thread James Newton

Teo Petralia [EMAIL PROTECTED] wrote:

 I have created a 32 bitmap graphic with Photoshop with color yellow
 then I have created an Alpha channel that I made white always with
 Photoshop then I have imported it inside Director and placed on the
 following sprite channel of the text member but it's only covering it
 and doesn't became transparent.

Hi Teo,

By default, Director considers that the alpha channel data in a Bitmap
member should be ignored.  You need to use ...

 bitmapMember.useAlpha = TRUE

... in order to get Director to pay attention to the alpha channel.

My behavior takes care of all this: you simply define the highlight colour
in the beginSprite() handler, and all the rest works automatically:

   tHilite.fill(tHilite.rect, rgb(255, 255, 0)) -- Yellow hilite

The bitmap member in the next channel need only have a 1x1 1-bit image; the
behavior will reset the size, depth and colour of the image as appropriate.

Cheers,

James

[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: lingo-l My turn to incur the wrath of the list

2002-03-27 Thread Andreas Gaunitz P11

If I try:

--
From: Christian Wach [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

unsubscribe lingo
--


Why don't you suse the links in the header of the mails you get from the list?
It seems you use some alternative formating everytime. If yiou use 
the link it will render:

To: [EMAIL PROTECTED]
From: Your adress
Subject: unsubscribe

Also make sure you use a computer with the same email settings (email 
adress) as the one you used for subscribing.


-Andreas


[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: lingo-l internet connection

2002-03-27 Thread Howdy-Tzi

At 13:38 -0500 03/27/2002, stacey.i.strickler.1 wrote:

Does anyone know how to check if an internet connection is present within
a director movie?

DirectConnection? Seems to do it for dialup.

http://www.directxtras.com/

-- 

  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://www.osborne.com/indexes/beginners_guides.shtml
[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: lingo-l internet connection

2002-03-27 Thread Andy Fuchs

at 27.03.2002 21:27 Uhr, Richard Poole wrote:

 use
 
 the environment.InternetConnected()

AFAIR this does not distinguish between a LAN and an Internet-Connection. If
you're on any network it returns '#online'.

Correct me if I'm wrong

-- Andy Fuchs
-- silent movie media
-- mailto:[EMAIL PROTECTED]
-- http://www.silent-movie-media.com

[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!]



lingo-l Containers

2002-03-27 Thread Hermann Brandi

Hello everyone!

I've made a map system using V12 as a database. I have 20 tables that have
approximately 80 records each. V12 uses global variables to refer to the
databases or tables. I store the name of the tables in a linear list. My
original idea was to call each name of the list using a REPEAT loop from 1
to the count of the linear list. I use a local variable to store the name of
the table. The problem comes when V12 doesn't recognize the local variable
as a container of the name of the table. Is there a way to convert the local
variable to its content? I hope you understand me.

Thank you 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!]