Pardon the OT. Since php is becoming a popular backend language for
netlingo, I thought some here may appreciate the following.
A two shell command method for debugging php as it executes. Output
is directed to a fifo on the server which can be viewed like the msg
window in a terminal window.
On Friday, September 26, 2003, at 01:27 PM, Peter Bochan wrote:
This makes code less redundant, and, what was my aim, reauable.
Not to mention appropriate and functional. ;-P
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[To remove yourself from this list, or to change to digest mode, go to h
Thanks folks. This list is really usefull. As always, of course.
--So yes, instead of using
on beginSprite me
myCursor = sprite(me.spriteNum).cursor
end
on mouseEnter me
myCursor = 260
end
on mouseDown me
myCursor = 290
end
on mouseUp me
myCursor = 260
end
on mouseLeave me
myCursor
problem solved:
mouseWithin over a 0 alpha square
thanks
Steve Rachels
[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
Why not just use the command-
cursor 200
Stephen
- Original Message -
From: "Steve Rachels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 11:54 AM
Subject: Re: Another cursor property question
> Classical breakout game... paddle, ball, bricks. Nothing
No escape sequences are needed. I just created a new movie, pasted
the code I just posted into a movie level script, created a field
called musiclibrary. I went to the message window and typed test().
Now I see the member musicLibrary has:
Splish Splash - Bobby Darin
Runaround Sue - Dion
It m
On Friday, September 26, 2003, at 11:37 AM, Mindy McCutchan wrote:
--only stores the tag title
thisString = tempList[#tagTitle] & " - " & tempList[#tagArtist] &
RETURN
No matter what method I use to store the information from the list, it
won't even store anything that appears after the first "&
Classical breakout game... paddle, ball, bricks. Nothing covering the
entire screen, but I could put a box with 0 alpha over or under it if
necessary.
Steve Rachels
- Original Message -
From: "Charlie Fiskeaux II" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2
what types of media do you have on screen when you're trying to hide the
cursor? Do you have an item covering the entire stage?
Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29
cell: 859/608-9194
- Original Message -
From: "Steve Rachels" <[EMA
Hi Everyone,
Sorry about quoting the whole digest...i realized I forgot to delete the
rest after I sent.
Mike,
I've changed the item to line. Now I think I understand the difference.
Irv & Cath,
Thanks for your continuing help. My project works differently on
different computers. On my friend's,
Mindy, your data structure is fine. Try the following handler. Remember
that you are appending data to your text member, so you need to ...
set member("myText").text = member("myText").text & "some more text!"
on dispProps
gMusicLib = [[#tagTitle "Splish Splash", #tagArtist "Bobby Darin",#
tagAl
OK, so I had three typos - I warned that it was Email Lingo. This works:
on test
gmusicLib = [[#tagTitle: "Splish Splash", #tagArtist: "Bobby Darin",\
#tagAlbum: "The Bobby Darin Story", #tagYear: "1961", #tagGenre:\
"Oldies", #tagFilePath: "D:\My Music\old school\Bobby Darin - Splish\
Splash.m
Can't seem to find how to make the cursor disappear on my game when I start
the 'play' frame. I want to use the mouse to shoot, but don't want it
visible. I know the code is 200, but getting it to work sigh Hints?
Steve Rachels
[To remove yourself from this list, or to change to digest
Hi Sébastien,
I had to add two lines to get reasonable results:
>
>-- get the original alpha channel
>alphaBuffer = imgDest.extractAlpha()
imgDest.useAlpha = FALSE
>
>
>-- copy the bitmap data
>copyPixels(imgDest, imgSrc, rDest, rSrc)
>
>-- copy the alphachannel pixelmap
>
Setting the cursor property of a sprite means that the cursor only changes
when it's over that sprite, setting the cursor itself changes it for the
whole movie (except when it's over sprites like Flash, that take control of
the cursor themselves).
Charlie Fiskeaux II
Media Designer
The Creative Gr
After testing what I *thought* to be true...
I answered my own question.
Peter,
if you are going to use sprite(spritenum).cursor,
use it in the beginSprite handler (WITH the "me")
there is no need to repeatedly set the property in the mouseEnter handler
property spr,spritenum
on beginSprite me
On a semi-related note.
What's the difference between saying
on mouseEnter me
sprite(spritenum).cursor=280
end
and
on mouseEnter me
cursor 280
end
Why would you use one method over the other?
Thank you,
Stephen Ingrum
[EMAIL PROTECTED]
www.LeagueofDesign.com
- Original Message --
Cath & Irv--
Thanks for your suggestions, but neither will work. I'd previously tried
storing it into a variable before displaying. Also, I had used "item"
previously without writing over items in the list. At that time I had
each of my properties stored in separate arrays. My troubles started
whe
Sorry, folks, but sprite(me.spriteNum).cursor as well as
sprite(spriteNum).cursor doesn't want to work.
That's because you are saying on mousedown, and not on mousedown me.
Try sticking some "me"'s at the end of your handler's first lines.
[To remove yourself from this list, or to change to dig
Sorry, folks, but sprite(me.spriteNum).cursor as well as
sprite(spriteNum).cursor doesn't want to work. I've tried whatever I
knew, but the compiler complains. Though this happens only when you
manipulate the built in cursors. When you do the same action with the
cursors in castLib (I mean cursor m
Mindy,
The item[i] is generally used for 'chunking' through comma-delimited lists.
e.g. put "jazz,funk,blues".item[1] returns 'jazz'
In your code, if you would add:
member("musicLibrary").item[i] = member("musicLibrary") & &
gmusiclib[i].tagArtist & ...
you would see results like:
(member 2 of cas
Hi everyone
My original post starting this thread stated that copyPixels() does not
work when compositing _two_ images with alpha channels.
I haven't followed this thread since the start, so I might be out of
synchro, but FYI here comes a little movie script I used intensively when
compositing
Hi
on mouseDown
sprite(me.spritenum).cursor = 290
end
on mouseLeave
sprite(me.spritenum).cursor = 0
end
on mouseUp
sprite(me.spritenum).cursor = 260
End
whats happening is the code is referencing the sprite you attach it to so
sprite(me.spritenum) is what you need to use.
and it would even
Try this ..
on mouseDown
sprite(me.spritenum).cursor = 290
end
on mouseLeave
sprite(me.spritenum).cursor = 0
end
on mouseUp
sprite(me.spritenum).cursor = 260
End
whats happening is the code is referencing the sprite you attach it to so
sprite(me.spritenum) is what you need to use.
kee
Hi Lingo Developers!
I've got a little problem. I wrote a simple cursor change behavior for a
vector sprite(2):
on mouseEnter
sprite(2).cursor = 260
end
on mouseDown
sprite(2).cursor = 290
end
on mouseLeave
sprite(2).cursor = 0
end
on mouseUp
sprite(2).cursor = 260
End
This works fine.
25 matches
Mail list logo