Imaging Lingo 2 response1

2001-08-04 Thread Locke Morgan

Yes, the destination member did return an error in the paint editor, but
when I allowed it to continue (making it editable in the paint window), the
results were still the same.  I did the same thing with the source image,
with no results.

>Date: Fri, 3 Aug 2001 21:34:35 -0400
>From: Colin Holgate <[EMAIL PROTECTED]>
>Subject: Re:  Imaging Lingo 2
>
>There are some things about your code that make it seem odd. For
>example, using the same variable to represent the member one moment,
>and then the member's image another makes it harder to follow. For
>now I'm assuming that it ought to work, so something that could upset
>our plans is that the JPEG destination member may not be available
>for changing. Open that member in the paint window and try to erase
>part of it. Do you get an error message?

~~~
Property psourceImage, pdestImage, psourceChannel

on getPropertyDescriptionList
description =[:]
< snip >
addprop description, #psourceImage,[#comment"Source Image",#format#bitmap,
#default#VOID]
addprop description, #psourceChannel,[#comment"Source Channel"
,#format#integer, #default0]
addprop description, #pdestImage,[#comment"Destination Image"
,#format#bitmap, #default#VOID]
return description
end

on exitFrame me
< snip>
set mnum1 = (member(pdestImage).membernum)
set mnum2 = (member(psourceImage).membernum)
set mnum1 = member(mnum1).image
set mnum2 = member(mnum2).image
r1 = sprite(psourceChannel).rect
r2 = sprite(the currentSpriteNum).rect
mnum1.copyPixels(mnum2,r2, r1)
end


W. Locke Morgan
New Orleans, LA - USA


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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: imaging Lingo challenge: resizable speech bubble

2001-08-04 Thread Al Hospers

> I'm sure this is child's play for some of you guys, but my
> geometry (and my
> imaging Lingo expertise) fail here. I want to create speech
> bubbles on the
> fly around my text, sized to fit around the text sprite. Is
> imaging Lingo
> the way to go? Are there other ways? Someone must have done
> this, it seems
> like a commonly useful thing to have.
>
> I'll always know the size of my text sprite, of course. But
> how do I draw a
> complete speech bubble around it, including that pointed end?

since you know the rect of the text sprite, why not use a vector
graphic or a Flash as the bubble graphic. then place it accordingly
relative to the text, or vice versa.

just a thought...

Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com

A famous linguist once said:
"There is no language wherein a double
positive can form a negative."

YEAH, RIGHT



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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: imaging Lingo challenge: resizable speech bubble

2001-08-04 Thread Jorge Pena

I guess you could use imaging lingo for this but I *think* it is just better
to use a vector cast member... The advantage to this is that you can scale
it without loss of quality... Simply have a *reference* bubble and depending
on the text size scale it accordingly.

HTH

Jorge Pena
Mobius Multimedia

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Slava Paperno
Sent: Saturday, August 04, 2001 2:02 PM
To: [EMAIL PROTECTED]
Subject:  imaging Lingo challenge: resizable speech bubble


I'm sure this is child's play for some of you guys, but my geometry (and my
imaging Lingo expertise) fail here. I want to create speech bubbles on the
fly around my text, sized to fit around the text sprite. Is imaging Lingo
the way to go? Are there other ways? Someone must have done this, it seems
like a commonly useful thing to have.

I'll always know the size of my text sprite, of course. But how do I draw a
complete speech bubble around it, including that pointed end?

Slava


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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: MovieRate and Tempo channel

2001-08-04 Thread Al Hospers

> I have aan AVI  movie., and I have in the tempo channel a
> "Wait for end of
> MOV1" tempo setting that works fine.
> But I also have control buttons (play, pause, RW, FW) that
> also work fine
> except that:
>   when the Pause button is clicked, the movie pauses but the
> tempo channel
> considers that as the end of the movie and lets the playback
> head continue
> its way.
>
> The script of the Pause button is:
> on mouseUp me
>sprite(x).movierate = 0
> end
>
> Any help welcomed.

you really don't want to combine these two things, the tempo channel &
the button the way you have it. try something like this in the score
script. I think that this will work with an AVI... (untested)

---

property pMovieDuration

on beginSprite me

 pMovieDuration = sprite(yourVideoSprite).member.duration -- get the
length of the video

end

on exitFrame me

 if sprite(yourVideoSprite).movieTime < pMovieDuration then
 -- still playing so loop on the frame
  go to the frame
 else
 -- we've reached the end
  go to the frame + 1
 end if

end

---

hth

Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com

A famous linguist once said:
"There is no language wherein a double
positive can form a negative."

YEAH, RIGHT



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]




imaging Lingo challenge: resizable speech bubble

2001-08-04 Thread Slava Paperno

I'm sure this is child's play for some of you guys, but my geometry (and my 
imaging Lingo expertise) fail here. I want to create speech bubbles on the 
fly around my text, sized to fit around the text sprite. Is imaging Lingo 
the way to go? Are there other ways? Someone must have done this, it seems 
like a commonly useful thing to have.

I'll always know the size of my text sprite, of course. But how do I draw a 
complete speech bubble around it, including that pointed end?

Slava


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]




MovieRate and Tempo channel

2001-08-04 Thread Centre Generation Emploi

Hi,
I have aan AVI  movie., and I have in the tempo channel a "Wait for end of
MOV1" tempo setting that works fine.
But I also have control buttons (play, pause, RW, FW) that also work fine
except that:
  when the Pause button is clicked, the movie pauses but the tempo channel
considers that as the end of the movie and lets the playback head continue
its way.

The script of the Pause button is:
on mouseUp me
   sprite(x).movierate = 0
end

Any help welcomed.

Anna


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]