> What do I put for the third parameter in calling baCopyFile()? I
> have tried "yes", "true", "overwrite", etc.
>From the "Help" file for version 3.5 on Windows:
Overwrite determines how the copy is done. Can be:
"Always" always copies the file
"IfNewer"copies the file if So
> Huh - well strangely enough it seems that the audio xtra never shows an
> instance of itself - even with that weird return, it's there with its'
> builtin queries.
I'm not sure, but I think that you don't have to instantiate the audio xtra
to use it - kind of like BudAPI. The commands are immed
> Thanks you for your help and yes I shoudl have double checked the
> dictionary
Sorry for my post about this - I was more curt than necessary. I was trying
to suggest (unfortunately, without being more explicit) that the Lingo
Dictionary is a good first port-of-call for help (the exception being
> But the only problem I have is I'd like to write the files with a .TPL
> extension instead of a .TXT extension.
Try creating the files with the .tpl extension. FileIO is restricted to
writing ASCII, but it doesn't have to use the .txt extension - you can
provide whatever extension you like to t
> how to read the secon line.
Either use FileIO's "setPosition()" method so that it will read the correct
line, or (easier) read the entire file, figure out which line in the first
field the user clicked, and grab that line from the string you read in with
FileIO.
on mouseUp
set lineNum = the
> but is there a way to
> diable/forget (Idon't know the correct terminology) the timeOut
> script.
Straight from the dictionary:
"When the assigned event script is no longer appropriate, turn it off with
the statement 'set the timeoutScript to EMPTY'."
HTH,
-Sean.
[To remove yourself from thi
> unfortunately the text file
> is stored in the same directory as the movie which is no good as
> the movies are running from CD. The line causing me grief is
>
> filePath = the moviePath & "My Notes"
>
> is there anyway that I can save the file to a folder outside of
> the movie on the users har
> In one of my editable fields, I simulate the "overwrite" typing mode by
> intercepting keystrokes and replacing the characters that are already in
> the field. (The user is not allowed to insert or delete characters.)
>
> To make this visually clear, I would like to change the default blinking
>
> FileIO obviously doesn't overwrite an entire text file
> when it writes to a file, it just writes from char a to char b.
> If there are more characters already in the text file beyond
> char b, they remain untouched.
I've had the same problem. The only workaround I could come up with was to
del
> But I get error-
> variable used before assigned a value
You need to declare "global vol" at the top of each of your mouseUp
handlers.
Try:
on startMovie
global vol
set vol to 4
set the soundLevel to vol
end
-- for volume [ + ]
on mouseUp
global vol
if vol < 7 then
set v
>From my understanding, the MpegXtra uses MCI - which has been deprecated by
MS. We use - and have had absolutely no trouble with - the DirectMediaXtra.
The MpegXtra is getting a bit long in the tooth now, in that the last time I
used it commercially was in the days of D5.
[To remove yourself fr
> one of the main navigation buttons in this movie calls another
> dirwhen the new dir loads how can I get the slider in the new
> dir to represent the last setting from the main dir?
Storing your setting in a global variable and examining it when you get to
the next movie is perhaps the
> I had put all the dll files on exe file path & also in xtras
> folder but still
> error is not gone. This error is come only in window Nt & window
> 2000 system
> not in window 95,98 system. I had also put karnel32.dll but still
> error is not
> gone. I made projector file in window nt system bu
Version 3.5 is currently available and it appears it reads/writes binary
keys. As well as a bunch of other useful new functions.
http://www.mods.com.au/budapi/download.htm
> cannot read binary keys
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/L
> I have about 20 separate movies. Each movie
> represents a
> slide in a presentation.
> Each slide has animation, interactivity and buttons to move to
> the previous
> and next slides.
>
> I want to store the order that the movies are played (ie: the order of the
> slides in the presentation) i
James Newton has published a movie/behavior that allows this very easily.
http://perso.planetb.fr/newton/#text
Look for his "Custom hyperlink style" example movie.
[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
> Actually there IS a WM for the mac, but that's not what I asked, or meant
> to...
Sorry for my ignorance, I didn't realise Macs could handle .wmf
As to the original question
> If I force them to play as WM on the mac, is there any issues anyone knows
> of?
why force them to play as WM instead
How does a Mac play Windows Media files? AFAIK there isn't a WMP for Mac.
Use QT5 - it supports MPEG1 on both platforms ;)
> I know, it's been asked here so many times, and usually pointed to an
> xtra, but I've got a few mpg1 files that SEEM to play fine through Windows
> media (win2k) and I'm s
Watch for breaks.
http://www.macromedia.com/support/director/ts/documents/secure_sockets_unava
ilable.htm
While you can use https:// with shockwave, you *still* can't from a
projector. Agreed, you could implement your own encryption from the
projector and de-crypt server-side, but you can't pass
Director doesn't do https:// from a projector.
mailto:[EMAIL PROTECTED]
> is it possible from a projector??
[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 [EM
I'm not sure if it's your problem or not, but you are trying to spawn a
navigation from a beginSprite handler - in your case from a handler called
by beginSprite. This is a no-no, you can't navigate from beginSprite.
> on beginSprite me
> pickColor
> end
> on pickColor
> if the timer < 60 th
> Good to hear that! Would you mind sharing your solution, or at least its
> direction? There are so many things that "with imaging Lingo"
> might mean :-)
OK. Here's the process I used:
In a behavior attached to the block of text I create an image in the
beginSprite handler and store it as a pro
> I guess it may also be relevant that the text is displayed in an embedded
> font and is antialiased (it has to be). Kerning is off. Ink is Copy.
I tried mine with all kinds of combinations - saveBitmap, antiAliasing
FALSE, DTS etc., etc.
> Have
> you tried other ways of highlighting (e.g., bol
Hi Slava,
> The text member has only about 500 characters, but there's a noticeable
> delay before the color changes after the mouseclick. This happens
> with many
> text members in the same movie.
>
> Has this been noted before? Do these crashes make sense?
>
> If so, is there a workaround?
I p
Take a look at the pre-cooked Library palette of behaviors.
Methinks there's an entry in the Text section that may help you, at least
part of the way.
> In a text field i want to limit the users input to to certain
> Characters(only numbers), and Limit a field to a certain NUMBER of
> characters
> any links to sites or ini file reading functions
> that could help with storing settings externally. Do i need an
> xtra to read
> text/ini files of the same cd? i'd prefer not to.
Buddy API has some built-in ini file functions: baReadIni(), baWriteIni()
and baFlushIni()
You say you'd rather
> use an .ini file
>
> named the same as your projector. plus the dot inny of course.
>
> comment out the following line;
>
> MessageWindow=1
>
> that should do it.
> you can set the rect if you want, but you don't have to.
For D8.5, you also have to set the debugPlaybackEnabled system property t
> I've been asked to find a server across a network
> by the name of the server (not drive number) and
> then map it to a local drive (not even sure what
> all that means). This is to save a simple comma
> delineated list in a text file that needs to be
> saved into a specific folder on a named s
> I'm hoping this is an easy question:
>
> From a projector on a cd, is there a way to search for the pathname of a
> folder on the hard drive. Say the folder is called "einstein_data", but I
> don't know where on the hard drive it is located. I need a cross platform
> solution!
There are a coupl
Buddy API has a variety of shutdown/restart/log-off commands that work with
(most) versions of Windows.
http://www.mods.com.au/
HTH,
-Sean.
[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
> I have two quicktime movies and need to find some code that will send
> the user to the correct marker according to how fast their
> system...if they have a pentium 700 or highre they would go to the
> high quality movie and it they had a smaller processor they would go
> to the low end movi
> At Thu 5/07/2001 11:02, Jakob Hede Madsen wrote:
Beautiful.
[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 hel
> I have a question regarding timeout objects.
>
> Let's assume we have a behavior that creates a timeout object. Let's
> further assume that the behavior will be attached to two
> different sprites.
> When the timeout handler is executed how do I know to which sprite it
> corresponds?
If you tak
> Now that my movie has grown and slowed down, some of my sprites send
> messages to other sprites in the frame before the receiving
> sprite is fully
> initialized. So I see an error message saying that handler so and
> so is not
> found, or property such and such does not exist. If I send the
>
> you're looping through the names, and when you detect one of your files
> you exit the loop and display the name.
Or not building a RETURN delimited string while repeating through the
fileNames and being left with just the last one found.
The no-xtras solution (won't work in Shockwave, but the
Sorry for the length of this post.
SUMMARY: setting member.word[n].color OR word[n].foreColor is MUCH slower on
Win 9x variants than Win 2K.
BACKGROUND: I've been working on a (windows-only) application. In one
section of this, the user is required to click on words in a text member.
This text m
> I suggest that you have a placeholder MPEG that is also copied to the
> hard drive.
The placeholder is unnecessary. Use the message window to set:
member(10,1).file = EMPTY <- your DirectMedia cast member here
then swap the file link when you need to play an MPEG. Save it EMPTY and
publish/
> Is there a way to disable the 'PrstSc' key using lingo?
I'm not sure about disabling, but you can tell if it's down or has been
pressed using Buddy API's baKeyIsDown() or baKeyBeenPressed() and monitoring
for the 'virtual key code' of 44.
HTH,
-Sean.
[To remove yourself from this list, or to
Download this xtra (made by Gary Smith of Buddy API fame):
http://www.mediamacros.com/files/quitmsg.zip
It allows you to detect when someone has pressed the "close" button on your
windowed/titled projector, and take appropriate action.
HTH,
Sean.
> the close application
> button on the
> top r
> when i make a projector with the option
> In a window > Show title bar (Checked), to get a title bar on the
> top of the
> stage. The x box to close the applications (projector) does not work. The
> minimize button - works, but not close.
This happens if somewhere in your movie (on prepareMovie
> >1). Potentailly a long time to wait for the DV file to download.
> That depends on the data rate. If you are willing to trade image quality
> and motion for time, then you can stream directly to 56k users at around
> 4Kbytes/sec. That means expert compression and very low frame rates.
> Higher
> Thanks, but I tried that. Problem is that when I force our window to the
> foreground I still get the Windows taskbar on screen. Our program doesn't
> display fullscreen.
You can also use "baHideTaskBar( TRUE )" to hide the taskbar if it's proving
problematic. Just remember to reset it when you
Hi All,
Sorry to clog your in-boxes with a thread that recurs regularly, but I need
some help/suggestions about this.
The client needs video in a shockwave piece.
Setting up an RTSP server is a non-starter.
Alternatives:
1). DL the entire DV file then play it.
2). Use QT's http streaming abili
> It fails when the user's computer has NO sound card... because it keeps
> waiting (on the frame 11) for the first cue point that never comes
> because
> the sound is not being played or being 'timed' by director..
> does anyone knows any workarround this?? Any kind of help would be
> appreciate
> I am looking for a code that will allow my movie to stretch to fill the
> desktop area regardless of the user's screen resolution.
Try:
on prepareMovie
tRect = (the deskTopRectList)[1]
(the stage).rect = tRect
(the stage).drawRect = tRect
end
Maximises the stages rect in the first
> Is there a way to have superscripts and subscripts in Text members?
member("textMemberName").char[charNumber].fontStyle = [#superscript]
HTH,
-Sean.
[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,
em
> > member("media").filename = the applicationPath & "newMedia"
Don't forget to add the necessary file extension ie.
member("media").filename = the applicationPath & "newMedia.MPG"
(assuming - of course - that the named file exists at the path specified)
HTH,
-Sean.
[To remove yourself from thi
> Is there any way for me to know (e.g., get a callback or even
> "monitor" the current sound someway) to let me know when "A" has
> ended and "B" has started, and then when "B" has ended and "C" has
> started?
You could - perhaps - monitor sound(chan).member.name in a frame script, or
set timeou
> Does anyone have any advice for increasing the performance of flash
> the interactions and animations
> seem to run slow.
Try:
on beginSprite me
sprite(flashSpriteNum/me.spriteNum).playBackMode = #lockStep
end
This should force the flash sprite to run at the same frameRate as the
Director
> People, is it possible to
> in lingo
> search a folder using fILE io and using the returned path
> import all the JPG files into a new cast
Yes and no.
For folder operations, FileXtra3 will suit your purposes better.
www.kblab.net/xtras/
It has methods, such as fx_FolderToList, which mig
> No errors are generated in sending the message and the
> appropriate callback
> is firing. However it ALWAYS tells me that there is no message waiting.
> ?!?!?!?!?!?!?
The setNetMessageHandler takes an (optional - easily overlooked) parameter
to pass the contents of the message to the handler b
> If the user quits out of Acrobat completely, then the Director Projector
> starts responding again.
When you make your projector, in the "Options" section of the "Create
Projector" dialog, make sure you have "Animate in the background" checked.
HTH,
-Sean.
[To remove yourself from this list,
> do you know how to create an animate screenmate with Flash or
> director? maybe is there an authoring tool to realize it?
If by "animate screenmate" you mean a screensaver, then you need Buddy
Saver:
www.mods.com.au
HTH,
-Sean.
[To remove yourself from this list, or to change to digest mode,
A 'quirk' similar to what you describe is listed at:
http://www.updatestage.com/buglist.html
with a suggested workaround.
HTH,
-Sean.
> on beginSprite me
>sprite(me.spriteNum).member.html = "Link"
> end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penwor
Hi Teo,
You need to read
http://www.updatestage.com/previous/990901.html
In summary, there are a couple of 'flavours' of QuickTime floating around
that install on windows OSes differently.
D5 expects to find a version of QT pre version 3, while 7 and up expect to
find version 3 and onwards. The
Buddy API's baDiskInfo("O:\", "type") will return "network" if the drive is
on-line and "invalid" if it's mapped but not connected.
HTH,
-Sean.
> Is there a funcion in a free xtra that would allow me to check
> if some volume is a mapped network drive??
[To remove yourself from this list, or t
You need an xtra.
Either Buddy API (www.mods.com.au) or FileXtra3 (www.kblab.net/xtras) will
do this for you.
HTH,
-Sean.
> How can I create a folder in the same folder as my move?
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi
Perhaps you should read these 2 articles from DOUG:
http://www.director-online.com/accessArticle.cfm?id=827
http://www.director-online.com/accessArticle.cfm?id=831
HTH,
-Sean.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post
You might try opening the other exe with a commandLine of the marker you
want to navigate to and examining the commandLine in the exe file in it's
startMovie handler and navigating to the marker name.
eg. (in movie 1):
open "aMarkerName" with the moviePath & "Movie2.exe"
Once the other exe is op
Hi Ellen,
> the Glossary window display in black only and nothing else.
You have a separate file called 'Glossary', or something similar, which is
the fileName property of your MIAW. Is the stageColor of the Glossary movie
black? Is this the problem - and if not, what do you mean by "the window
I'm not sure if this is an answer to your question, but for Windows (only?)
there is an xtra called "quitMessage" that will detect a click on the close
box when the exitLock is true. It sends a system level message which can be
trapped via lingo.
Find it by searching, under "Xtras", at www.mediam
I have no first-hand experience of this, but having read about similar
sounding problems here are a couple of things to bear in mind:
1). If you're using Director 7, make sure you've updated the Flash Asset
xtra to (7.02?)r140 as there was a bug in the original release which caused
a memory leak
> I need the
> video to stretch beyond the size of the stage
Then you'll have to play it in a MIAW.
Or live with not seeing the clipped edges ;)
-Sean.
[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,
> Does anyone know of any quick, simple solutions to playing mpeg/quicktime
> movies fullscreen Director on a Mac like Directmedia does on a PC? Perhaps
> an undocumented quicktime xtra function?
(Untested). It may be useful to store a flag to tell your exitFrame handler
if the video is FS or not
> on keyPressed me
> keyup
> end
>
>
> on KeyUp me
> if the keyPressed = "c" or the keyPressed = "C" then
> sprite(17).blend = 100
> else
> sprite(18).blend = 100
> end if
> end
>
> If you press c it still does the else loop
>
> what ever key you press it is doing the else command
This thread ran recently on another list and may be relevent to you.
Certainly the reply about how Director parses sound files was
illuminating:
hello all,
was wondering if anyone has ever come across this:
NT, D8 will pla
> I think everybody has gone a little too nuts over BuddyAPI..
Agreed. No question but it's a *fabulous* xtra, but given the x-plat
requirements perhaps not the most appropriate for this situation.
> You want cross-platform dialog boxes for Open and Save? Then use
> the FileIO
> Xtra that ships
;go' command, but
it still crashes. I'm getting more and more resigned to not being able to do
the preloading I was hoping for.
Unless anyone has any suggestions ...
Thanks for listening.
Sean Wilson.
> This prepareMovie handler was causing intermittent crashes. Never the sa
the moviePath) & "movie 2"
else
go to movie (the moviePath) & "movie 1"
end if
end
---
This timeOut object will trigger a navigation once only, not repeatedly jump
between the two named movies every 10 seconds like I was expec
ve my sympathy.
Hopefully one of these suggestions, or one of the links, will help.
Sean Wilson
*
Aztech Productions
Level 2/172 Great South Road
Papatoetoe AUCKLAND
ph (09)279 5913
*
> I'm authoring in Director 7 on a Mac, for a proj
h of the
Direct-l archives will probably help.
Hope that helps,
Sean Wilson
*
Aztech Productions
Level 2/172 Great South Road
Papatoetoe AUCKLAND
ph (09)279 5913
*
> However the client tells me that he only gets a border around the
> gra
gt; (flash) contains 2 lingo commands calling 2 moviescripts
> on ReadyToMoveOn
> case the frame of
> 30:
> if gFlashStopped = 7 then
> put "All finished! frame 30 / 7 flash_sprites"
> go the frame + 1
|^(culpr
ni file is bypassed if the projector is
launched with any commandLine arguments. So if your ini file calls for a
message window, it won't appear.
budAPI's 'baCommandArgs()' function gives the same results.
Hope that helps,
Sean Wilson.
*
Aztech Produ
Hi Christopher,
Odd how these synchronicities occur. I have been in the process of creating
XML definitions for behavior properties and looking for a way of exporting
existing property lists into an external XML document - when you appear with
what looks like a part of the puzzle I'm needing to i
> The cast members are not in the internal cast but rather another cast
> called "eval" ... they do correspond to the correct cast location
> numbers. Obviously a rollover is supposed to occur (this simulates an
> email form) but instead what happens is the resulting rollover appears
> in the corn
> I installed it like the documentation required and it works
> fine in the
> demo movie. I moved it over to PC and there even the demo
> movie returns
> an error. I don't get it. I'm not terribly lingo savvy so I'm sure the
> problem is basic. I created a 'DirectXtras' folder inside the 'Xtras'
> ... could you please
> elaborate on this, or post a URL? I was just considering how
> to create a
> pseudo-message window with a field this morning in the shower. The
> technique you mention sounds like it's worth checking out.
Paste the following into a plain ASCII text file and save it calli
> I have this problem with the FileXtra... (on MAC)
> On a CDRom, when a user click on a specific button, I want to
> copy a folder
> from the cd into the hard disk of the user.
> At first, I taught about having a window with the option for
> the user to be
> able to browse where he wants to i
> Does D7 recognize alpha channel of a QT Movie
> if yes how to use
> my QT is made from InfiniD
> ( A globe rotating[ i want only the globe visible in D7])
I'm really not sure about an alpha channel _inside_ a QT movie, but perhaps
you can acheive the effect you're after by using a mask with the
Hi Brian,
Try making a start with
http://www.director-online.com/accessArticle.cfm?id=880
HTH,
Sean.
> I have a progect that I need to have the end user scroll
> through several thumbnails on the bottom of a 640x480 screen.
> Then they can click on the thumb of choice and it will update
> i
> > suppose after completion of a project if i just write in a
> > movie script "set my sound device to "qt3mix"", will it be
> > able to switch the sound device to qt3.
>
> Are you just asking whether the soundDevice property is
> writable? It is:
>
> on switchSoundDevice deviceIWant
> -- av
> I'm pretty sure someone has a more classic
> "looping flagWatcher" approach handy.
I also found the "looping flag-watcher" approach a bit plain-vanilla and
tried a little experiment prompted by (if memory serves) Jakob's telling a
list that each window maintains it's own actorList (as well as
> I'm working in dir7 on the mac side. My problem is: I have
> a projector
> that opens up shockwave movies. The shockwave movies are
> only 5 or 6 meg a
> piece in file size. My Projector is 9 meg. Only one
> shockwave movie is
> open at a time. When the shockwave movies open up, the
3D engine entirely done in lingo(downloadable source for engine and demos):
http://www.theburrow.co.uk/t3dtesters/index.htm
3DDreams (xtra driven)(recently made available for free):
http://www.doitin3d.com/3ddreams/download/down.html
Hope that helps,
Sean.
[To remove yourself from this list, o
Hi Brad,
> What is the best way to launch a movie on a Mac and PC in
> such a way that the user isn't waiting
> forever for something to happen.
Create a 'stub' or 'fast-start' projector. Essentially a projector file -
with or without the necessary xtras compressed into it - that immediately
na
Hi Sam,
> I have experienced a lot
> of problems
> when using sound under NT. Most recently, under NT 4.0, I
> have found that a
> game we are developing seems to have sound playback problems (using
> MacroMix) both when authoring and from the web.
"Sound playback problems" is a tad non-specif
86 matches
Mail list logo