Hi Kavitha,
You can use the "Constrain to Line" behavior from the library to build your
slider. Then, on your Flash sprite, put the following behavior:
property mySprite
property myFrameCount
on beginSprite me
mySprite = sprite(me.spriteNum)
myFrameCount = mySprite.member.frameCount
end beg
Can someone tell me how to open the message window in Shockwave? I've made
an ini file called shockwave.ini and put this in it:
[Settings]
MessageWindow=1
[Lingo]
DisplayFullLingoErrorText=1
The errors pop up great. But there is no message window opening. What am I
missing?
I'm running this of
Are you sure that -21474836547 is the error code that's returned? Coz it's
beyond the maxInteger value.
BTW, you can use the MOAErrorToString() function to find out the meaning of
error codes.
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 804
You're right Slava. Repeat loops suspend _all_ other animation in Director.
Frame scripts won't work well either when the frame rate drops down too
much.
However, courtesy of timeOut objects, you can have smooth motion without
the lockout of repeat loops. Here's some code over the top of my head
AFAIK, avi files do not have cue points. If you need cue points in your
digital video use QT.
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
How can i set cue point in avi file by lingo. & go to that cue point.
[To remov
1) have the object publish the data publicly to a global variable?
this will work fine, tho I just try to keep globals down.
This one works just fine if speed is the issue here. Kerry had mentioned a
project he tackled a while back which illustrates this point very nicely.
He had a sprite b
If you really have to do this stuff often, and your strings aren't too long
(64k, if I remember correctly) you can try the setPref command.
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
Deleting the file requires recreating t
Gosh! Wouldn't it just be easier to delete the file and then rewriting to
it rather than going through all those repeats and stuff?
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
I figured out a workaround, clunky as it may be
You haven't declared 'vol' as a global in the scripts for the volume up and
volume down.
You can also shorten your scripts like so:
For volume [+]
on mouseUp me
global vol
vol = max(7, vol + 1)
the soundLevel = vol
end mouseUp me
For volume [-]
on mouseUp me
global vol
vol = min(0, vol -
Frankly speaking...I don't. Not for FileIO atleast. Now if you're talking
about Networking Lingo, then we've got plenty of code libraries on that. :
-)
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
the thing to do here is to
I've been majorly pissed off using FileIO to open files off read only media
in WinNT and W2k. Just doesn't work properly on them. You can try using
getNetText instead.
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
> It's file
Check that your WinNT system has the latest service pack (i.e. SP6).
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
>Hi friends,
>
>I have created one project before one mount in window 95 system at that
>time it was work in w
QT has this tendency to hog away file associations on Windows. You might
need to open Media Player and reassociate it with mpg's
You can reset file associations from View>Options>Formats in Media Player.
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91
Personally speaking, I avoid Flash sprites that contain movie clips inside.
However, you might check out the static property of the Flash member to see
if it stops the animation from playing inside the movie clip. Look up the
syntax in the docs.
Cordially,
Pranav Negandhi
New Media Applications
You're welcome.
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
Yep, fully agree with you reg. the flash movieclips, unfortunally I did not
have a say in this matter...
The static works! THANKS
-Natalia
[To remove yourself
You cannot update movies that have been compiled into executables. To be
saved during runtime, the movie must be separate from the .exe file as
either a .dxr or .dcr
And ofcourse, it cannot be on a read-only media a.k.a. cdroms (but you
already knew that, didn't you?)
Cordially,
Pranav Negandhi
I thought you said that WM player correctly plays the files on Win2k also.
If you're getting the "unknown format" error for only a few files check
that they are indeed rendered with Cinepak and have not been corrupted
somehow.
Try using a different codec too. I've used Indeo 5.4 (I think that w
Try importing the AVI's as QT cast members. Although you'll need to install
QuickTime to make them run, you'll be sure that they'll work without any
anomalies.
Don't forget to ship the QT Asset Xtra's too.
Cordially,
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 9
You haven't mentioned what kind of videos you're playing. If it's avi, then
you'll need to install that specific codec on your system. Check the
properties of the video files in Media Player.
If you're using QT movies, you're going to have to install QuickTime on
your system.
Cordially,
Pranav
Actually Charlie, using the movieRate property works fine too. While the
movie is not playing (i.e. when it reaches the end of the file), the
movieRate is set to 0. Zero is also interpreted as FALSE by Lingo, so it's
ok to check the movieRate.
One reason why this might be failing is that the QT
Try comparing the movieTime property with the duration property of the cast
member on every exitFrame.
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
I am needing to know how to get the QT movie that I
Didn't play on my dialup...
My system is:
P III 733/128MB/about 20 Gigs of free space
Win2K Professional
IE5.5
56K modem(but my actual connection was at about 48k)
I waited for about 10 minutes, but there was no playback. This was pretty
late into the night, so there was no question of high ser
All that is ok, but I found a funny thing happening while I tried to
capture the stage.
If the size of the stage is changed, (the stage).image continues to return
an image whose size is the same as the original stage width and height.
Changing the size, saving the movie and restarting Director i
It stutters a few seconds into the song (after the "who you gonna call...")
P3 500/128MB RAM/Plenty of free disk space
WinNT 4 SP6/IE5.5
And I've got a dual ISDN...
I'll try the dialup at home.
Regards,
Pranav
---
Samuel Colt - the invent
Actually Florian, that is not allowed either. The runtimes that you
distribute can only be used to playback movies that you have authored
yourself. I had queried the chaps at Macr. about this and they made this
point pretty clear.
Regards,
Pranav
-
I'm sure we'd all like to see it Kurt. Can you upload it someplace?
Puh-leeez?
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
I missed this thread because I've been away, but (with a lot of help from
Co
Oh but you can use FileIO too, Kerry. Just attempt to open a file and if it
fails, the open method returns a 0. We use that always to detect the cdrom
in our software.
Macr has a nice technote on FileIO on their site. Just visit them and hit a
search.
Regards,
Pranav
---
Tried restarting Director?
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
any other suggestions?
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/
Uh-ohTabs gonna throw the book at us now... :-P
Jus' Lingo here guys. Use Direct-L post job offers. I think I'll follow my
own advice from now on.
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
Are
Me too! Any openings for someone who's been working for about a year and a
half with Director and Lingo, knows graphic design and has prior experience
working in an animation studio?
...not just in Sweden, ofcourse. :-)
Regards,
Pranav
--
Try FileXtra3. Its available at http://www.kblab.net/xtras/
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
Is there any other way of copying files from the cd-rom to disk (not text
files), besides using
Does anyone know why the size of the image of the stage refuses to get
updated when I change the size of the stage?
If I change the stage size and reposition some sprites on stage, then try
updating a bitmap member to the image of the stage, it gets the new sprite
positions, but not the new size.
Pretty easy to do that. Import an image file into Director, right click on
its thumbnail in the property inspector and click copy. Similarly select
the behavior script, right click on its thumbnail and click paste.
Regards,
Pranav
---
Samue
Ur welcome Chris
I think Colin deserved some thanx too...he _wrote_ it! :-)
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
Thanks Pranav,
I knew I saw it somewhere...
[To remove yourself from this
Here's something Colin had posted on the list a while back...
on inttorgb int
b = int mod 256
int = int / 256
g = int mod 256
int = int / 256
r = int mod 256
return rgb(r,g,b)
end
Regards,
Pranav
---
Samuel Colt - the inv
Hi...
In FX3 directoryToList() goes by the name fx_FolderToList().
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
I took a glance into a documentation of FileXtra3. But I could not
find out an equivale
You can set your movie to stream (Modify>Movie>Playback) and use the
library streaming behaviors.
If you're more ambitious then whip up your own behaviors. You'll need to
look up the basics of streaming in the Lingo dictionary.
Regards,
Pranav
---
It's not too clear if you want to resize images at runtime or while
authoringbut, ah well...
To resize images while authoring, open them in the paint window and double
click on the bit depth displayed on the lower left.
During runtime, you can resize images by using copyPixels. Just specify
Look up browserName() in the Lingo dictionary. It lets you specify which
browser Director will use.
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
Why does the goToNetPage command always open in Netscap
In a word, yes. But I found an interesting article today on DOUG on the
"demise" of Director. It's been written by Alan Levine and the url is
http://www.director-online.com/accessArticle.cfm?id=818
If you are trying to open a Flash file in D6.5, I don't think it will
work...D7 was the first version to support Flash files.
However, if you are using a newer version of Director(just update the file
to the new format) you will be able to import Flash in the cast. To play it
back in a separate
Thanx Bill...just might be wot we're looking for. I like it, but I'm not
sure if my boss with like that price tag.
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
Sounds like your trying to find the sa
WebXtra is not cross platform... Thanx anyway
Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.
I once used Webxtra from Tabuleiro to display html pages with VRML objects
(sure, it was in a pre D8.5 er
I've gone through the HTML Xtra documentation and I think that its a
wonderful solution for displaying html pages in Director...except, it
doesn't support images.
Does anyone know of a cross platform solution to displaying images and text
together in one sprite? And ofcourse, the sprite should b
Try this handler. It's untested...I might've missed an "end if"
someplace...
on UCase vChar
-- Convert the character to ascii
vAscii = charToNum(vChar)
-- The lower case alphabet lies between
-- ASCII values of 97 and 122
if vAscii >= 97 AND vAscii <= 122 then
-- The value of the uppercase alpha
I had written this set of two parent scripts a while back to do all my
network operations. Didn't really get time to document it. I've just
completed a very rough readme. And if someone asks me a specific "how-to"
question, I can help you out.
I've uploaded the files on http://www.geocities.com/p
Yeeowch! Director 6.5? That's a long while back. I don't think D6.5 has any
kind of network support built in.
Anyways, you can use the XtraNet xtra. Get it at
http://www.humancode.com/xtranet
It's a free xtra that provides support for network operations in Lingo.
Built for the pre-NetLingo days
I'm not too clear about what you want, but if it's something like posting
the form data to a web page, yes you can. Look up postNetText and
getNetText.
But if you want to _email_ the form data to someone then you can use the
Multiuser Xtra. It can send emails through SMTP. There was an open sour
If I remember, there was some Xtra which displayed a progress bar while
copying files. ProgressCopy or something...
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
What I want is to do a fe
Thanx Jakob. Seems Terry already beat me to my reply. I _never_ get
to be first.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
>objects, in this case sprite behaviors in a list, and
What do you want to multi-thread Miguel? Media playbacks, net ops, bake
cookies? :-P
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
What's multi-tread?? Do you mean multi-THRead?
At 01:
I haven't been following this thread, so excuse me if I'm completely off
base with my reply.
The 'call' function can be used to send a message to multiple locations and
it's much faster than either repeat or sendAllSprites. You can save the
objects, in this case sprite behaviors in a list, and t
That is a bug with Director 8 that occurs on WinNT boxes. If you need a
splash screen, use an Xtra or maybe MasterApp or something can help you
bring the projector in front of other apps.
Regards,
Pranav
---
"Simply stated, it is sagacious
Hi Matthew,
Welcome to the list.
I'm sorry I'm a little late with this thread, but I figured you could
still use some help since I didn't notice any other replies posted. Your
problem lies in sending too many messages at one time. Even if you are
running at a comfortable 15 frames per second, e
Hi Steve
Are you using long filenames? Sometimes they can cause a problem with older
Windows apps such as Write which have been "upgraded" to Win9x.
If you really must have a long name, consider using the DOS 8.3 version of
the path and file when passing it to open.
e.g.
open "My Documents\Some
What you really need is something like this:
on mEllipsePath vSpritenum, vTheta, vCenter, vRadX, vRadY
-- Moves a sprite(vSpritenum) along a circular or elliptical
-- path. The radii of the path are specified by vRadX and vRadY
-- vCenter indicates the center of the path
-- e.g. mEllipse
Ok...I replied myself.
I wasn't returning an acknowledgement to the peer movie with a when I got
the connection request.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
I have 2 movies, on
I have 2 movies, one acting as the host, the other as the peer.
The host has a "wait" button in it, with the following script:
global gconn
on mouseUp me
gconn = new(xtra "multiuser")
gconn.setnetmessagehandler(#defaultHandler, me)
gconn.waitForNetConnection("Pranav", 1626)
end
on defaul
Have a look at the Lingo keywords "offset" and "contains".
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
Now why would you want two regpoints to a sprite?
You cant have that, but there might be a workaround if you explain what you
want.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
Can a si
Let me rephrase that. Macromedia should _ship_ one of those Xtras with
Director rather than making people go hunting for one all over.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
Well.
Hi Kerry,
When assigning images to members from the memory buffer, Director
automatically creates a duplicate of the image. However, when reversing the
process, i.e. if you assign the image of a member to an image object, thats
when a pointer is used.
Heres what the message window had to say:
-
Whoops! Forgot to mention that. :-P
Try BudAPI, DMRes, AniRes(I think...)..there's a lot of them and many are
free. Run a search on updateStage's Mile High Table for the urls.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew o
Seems like its high time such a widely used function was built into Lingo
itself, rather than being dependant on Xtras.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
> You can use the baS
You can try dir Opener. Lets you open the dxr, and entirely rebuilds the
dir for you in unprotected form'cept for the scripts, ofcourse.
It does seem rather unethical to pry around in someone elses work, but as
long as you dont use his media assets and simply learn his techniques, I
guess it
Bingo. I say we knock him out.
I support software companies against piracy too. We all write software. The
least we can do is prevent outright robbery of other peoples work.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obf
Our mail server has been down and I missed all the fun!! :(
Why do such furores happen only when I'm not around
BTW...is what Bhakti saying, true? If it isn't legal to give out your
serial number, then why is it displayed on the splash screen everytime
Director opens? Someone can just look
Precisely why I said that it's a good solution for occasions when security
is not all that essential. I would use this for my next project. Irv wants
to use it for his current project. If it suits immediate needs, I think it
is good.
And please...no one start a debate now on "security is prime"
Someone's got to be really idle to actually take time out to memorize the
keystrokes of a font like Wingdings.
You do have a point there though. Using common fonts might not be a good
idea for applications that are supposed to be entirely foolproof. But I
guess this should work as a cheap workar
Hi Irv,
I must agree, that's a nice idea. But if making fonts is not possible then
maybe you could use one of the fonts that already ships with your machine,
such as WingDings or Monotype Sorts. They're all dingbats and effectively
serve the purpose of masking the keystroke.
Regards,
Pranav
Hi Martijn,
Since getpeerconnectionlist is a function and not a property, you need to
put two parenthesis at the end of it
e.g. gConn.getPeerConnectionList()
HTH
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
Hi Manisha,
If I am getting you right, you are opening a MIAW which you want to center
on the monitor. Try this code...
vMIAWWidth = gMIAW.rect.width
vMIAWHeight = gMIAW.rect.height
vDiff = the desktopRectList[1].width - vMIAWWidth
vLeft = vDiff / 2
vRight = vLeft + vMIAWWidth
vDiff = the desk
I saw a nice ripple effect on http://www.evilfish.org/movs/mousepuddle.html
You might have to dabble with imaging lingo since you are using text
members. Or you could simply create bitmaps of the text in Photoshop and
get it in Director.
Regards,
Pranav
This is my checklist for debugging Director-ASP communication
- The property names in the parameter list match the form variables
expected by the ASP page
- Set the data type explicitly to string
- Recheck the ASP code to make sure it is correct
Sometimes, especially when you're testing the ASP
Theres a big section dedicated to MIAWs on the macromedia site. Besides,
the online help covers MIAWs. And usually, all Director books have a whole
chapter on them. What more can u ask for? :-P
Regards,
Pranav
---
"Simply stated, it is saga
If I remember correctly, you could transport any media that Director
supported over the network with MUS 2.1 too. You dont need MUS 3 for that.
However, you can't write an external file from the server application
itself. Atleast not with version 2.1
What you can do is set up a host movie on th
Victor, is that your query or have you forwared someone else's post here?
Any which ways, the solution is simple. All you need to do is try to
retrieve a file from a remote server using the network xtra's. If the
operation completes successfully, you'll know that the user is connected to
the int
Try gotonetpage ("c:\your html filename.htm")
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
I have project on cd presentation &
i have to link some ofline(On harddisk)html pages in direct
I love using XML for transferring ASCII data. It's easy to build, transport
and parse.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
when sending data to a text file via a cgi script, wha
Yes. I have.
You could be more specific with your problem tho. Does the MUS throw an
error? Does your movie throw an error? Do you try to connect 2 users from
the same machine? Pitch that one again bud.
Regards,
Pranav
---
"Simply stated,
Look at the brighter side Karinathat guy really really thinks you're
smart...even smarter than everyone else on the list put together!! :->
Does that bring a smug grin on your face?
Regards,
Pranav
---
"Simply stated, it is sagacious t
Look at getPos. It returns a 0 when a value doesn't exist in a list.
Something like so...
vList = ["Oranges", "Watermelons", "Grapes"]
if NOT vList.getPos("Apples") then
vList.add("Apples")
end if
Regards,
Pranav
---
"Simply stated,
I'm afraid intersect is the only way to go about what you want to do. Set
the ink of both sprites to matte and keep their backgrounds to white. When
you use the intersect function then, it'll use the actual outlines rather
than the rect.
The drawback of this method is that the visuals leave a lo
Does anyone know all user levels available in the Shockwave MUS(I'm talking
of version 2.1 here) along with the permissions for each level?
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
[
Tab, can you place the archives address at the bottom of every post? It'll
be helpful I bet.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
> There's a Lingo-L archive at:
> http://www.mai
Hi,
Try a netTextResult() after the getNetText operation is complete.
Something like this
on beginSprite me
myNetID = getNetText(myUrl.com)
end beginSprite me
on exitFrame me
if netDone(myNetID) then
put netTextResult(myNetID)
end if
end exitFrame me
Regards,
Pranav
Hi Clars,
The MUS is definately a good choice to develop a game like that. I have
done a fair bit of programming with it and found it to be very stable,
reliable and easy to use. As far as documentation goes, MUS has been
treated like a foster child by Macromedia. However, it's been around long
Wots SOL?
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
...Director doesn't support this (not even using undoc'd
features or hacks) so you are SOL.
end visitWebsite
[To remove yourse
You can use the tell command for that.
e.g.
tell the stage to set the text member "scrore" to string(gScore)
tell the stage to mAnimateBall()
In these cases, both the "Score" member and the mAnimateBall handler are in
the movie running on the stage.
You can also use tell to pass commands betwe
Oh but there is! It goes by the name of "the keyBoardFocusSprite". Do look
it up in the Lingo Dictionary.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
I naively assumed there would be a
Wouldn't it be a whole lot easier to use the tempo channel? Just place the
sound or video member in the score and double click the tempo channel(the
first channel in the score, even before the script channel) and choose
"Wait for cue point". Then choose the sprite to wait for from the drop down
l
You'll need an Xtra for that kind of functionality. Try PrintoMatic. We had
used one called the MPrint Xtra earlier. They sell for the same price, so
it's up to you about which one to buy.
mPrint is available at http://www.mediashoppe.com/xtras/mprint/
Printomatic is available at http://printoma
Wouldn't Flash throw an error if a movie with the new action scripts
commands is exported into Flash 4 format?
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
>* am using .swf files in dire
Thanx Ramesh.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
[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
Does anyone have a working example of how to use raw integers during
getpixel and setpixel operations in imaging? I was reading an article by
Tim Banks on Director Online but the example uses regular color objects.
Regards,
Pranav
---
"Simpl
Just a late thought Jakob...
How can an object that is not added to the actor list be used in another
movie? Do I use a global to point to to the behaviors instance? The
timeOut, I guess, would keep it alive by referring to the objects
handler(which does not exist, ofcourse). But what if I need
Ummmcommenting the scripts, maybe. I dont think there is one. I'd
rather use a flag to decide whether to run a particular bit of code or not.
BTWis there a keyboard shortcut to comment and uncomment lines in the
script editor?
Regards,
Pranav
Thanx Jakob. I've learnt this trick too, but I forgot to mention it. :-]
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
Yeah but these days I would forego the actorList and rather create a
Hi John,
Although the stepFrame and enterFrame events are identical in function,
what differs is the objects they are sent to. Enterframe events are sent to
sprites on the stage. Behaviors attached to these sprites can then
interecept this event and perform some action. Parent scripts, although
s
Hi Karina,
A shot in the dark...can you use Glu32 to call a dll that returns the
process list? I've never used Glu32, but I figure it should.
Regards,
Pranav
---
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
1 - 100 of 258 matches
Mail list logo