Re: list of files from Director to a cd-burning software

2003-02-26 Thread Valentin Schmidt
hi rmarino, one possibility on windows would be to use the CDWriterXP ActiveX object to burn your cd: http://www.nugroovz.com/Products.htm#CDWriterXP to burn with external burning-software, you could generate CUE-sheets (special sort of file listing) with fileIO xtra, and import them to your burn

Re: silent alert boxes in Shockwave

2003-05-28 Thread Valentin Schmidt
hi slava, as far as i remember it doesn't work in some (old?) browsers, but there is also the javascript-solution for alerts and prompts: for alert: on mouseUp me gotoNetPage("javascriptalert('Hello world!')") end for prompts: on mouseUp me gotoNetPage("javascriptdoPrompt();") end and

Re: silent alert boxes in Shockwave

2003-05-29 Thread Valentin Schmidt
strange, for some reason all the colons dissapeared in my mail, although it was direct copy/paste from lingo. of course it's javascript: alert... (or, if they dissapear again, javascript alert... ;-) valentin [To remove yourself from this list, or to change to digest mode, go to http://www.penwor

Re: silent alert boxes in Shockwave

2003-05-31 Thread Valentin Schmidt
better not start another OS dispute :-) i think xp's alright, especially if you develop mainly for the win32-platform, and mac isn't that much better anymore, you won't convince me, i've seen and had to much g4 trouble... but maybe you're right, outlook has some serious problems, especially in the

recording sound from Director to Ogg Vorbis

2003-04-12 Thread Valentin Schmidt
hi slava, a method to record to compressed sound format I've used before is to record to a temporary wav file, and then, in a second step, convert it with lame.exe (commandline version) to mp3 (and afterwards delete the wav). lame is free, it's small (190 KB) and it's really fast. if you don't lik

Re: acrobat reader

2003-07-02 Thread Valentin Schmidt
> On Wed, 02 Jul 2003 , Kurt Griffin wrote: > Lingo alone can't search a hard drive. You could use another xtra, like > fileXtra3 (free, but a whole lot of effort to use for this) or masterApp. > But, I think the Buddy way is the best way - baOpenFile("path") is short and > sweet - it does all of

Re: Mpeg pathing problem

2003-08-14 Thread Valentin Schmidt
hi john, here a simple solution for finding the correct drive-letter with lingo. this solution requires that the rest of the video-path is exotic enough not to occur accidently a second time on the users computer, otherwise you would have to add a check for the videofile itself to the handler. --

Re: Creating PDF's on the fly

2003-08-27 Thread Valentin Schmidt
hi steve, a couple of months ago i've started to learn programming xtras, and my first xtra was "postscript-xtra", a scripting-xtra which you can use to produce PDF on the fly from director. it's a wrapper to the ghostscript-dll, so you can create any file-format that ghostscript can create, like

Re: Creating PDF's on the fly

2003-08-27 Thread Valentin Schmidt
don't want to to scare you, the zip does contain a little bit of documentation in the readme-doc. valentin Valentin Schmidt wrote: > hi steve, > > a couple of months ago i've started to learn programming xtras, and > my first > xtra was "postscript-xtra", a

Re: playing wmv files

2003-08-28 Thread Valentin Schmidt
hi anand, you could check MediaPlayer Xtra from http://www.starsoftmultimedia.com/ you might also try to use the WindowsMediaPlayer directly as ActiveX-Control without an xtra. regards, valentin Anand Ravi wrote: > Hi List, > > I need to play a number wmv files (audio and video) as part of the

Re: HELP with ActiveX - Microsoft Web Browser

2003-09-09 Thread Valentin Schmidt
hi matt, i think this error just means your path is incorrect. or maybe some strange/unallowed filename? is it an absolute or a relative path? how do you try to open the file, by Navigate()/Navigate2()? valentin - Original Message - From: "matt johansson" <[EMAIL PROTECTED]> To: <[EMAIL

Re: HELP with ActiveX - Microsoft Web Browser

2003-09-09 Thread Valentin Schmidt
quot;pdf/bro.pdf") > > the folders are at the same level as the projector > > Thanks for the help > > Valentin Schmidt wrote: > > > hi matt, > > > > i think this error just means your path is incorrect. or maybe some > > strange/unallowed filename? is

Re: clarification on images

2003-09-15 Thread Valentin Schmidt
hi murali, depending on your button behaviour imaging lingo might be the best choice, but other than that i think the easiest way to have such a scrollable control panel with buttons would be to implement it as a LDM (control.dir imported to main.dir as "link to external file", with option "Enable

Re: clarification on images

2003-09-15 Thread Valentin Schmidt
need to find out each and every button rect manually. > > thank you > murali.s > > - Original Message - > From: "Valentin Schmidt" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 15, 2003 9:35 PM > Subject: Re: cla

Re: Open a folder

2003-09-22 Thread Valentin Schmidt
hi michael, not sure if i understood your question, but if your are on windows and want to open a folder in a new explorer window, try something like: open "explorer.exe " eg. open "explorer.exe C:\WINDOWS" if you just want to find out the files in a folder, check out getNthFileNameInFolder() v

Re: Autorun

2003-09-24 Thread Valentin Schmidt
I think the others were right with their objections, but in case you still want to try, here is some code for the RegistryXtra: val = ReadRegValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Polici es\Explorer","NoDriveTypeAutoRun")[3][1] cd_autorun_off = (bitAnd(32,val)=32) v

Re: dcr security

2003-10-18 Thread Valentin Schmidt
It's quite easy to extract all media (including swf) from protected or shocked movies or casts, you can do this with director and some lingo or with the tool dirOpener (http://www.j-roen.net/diropener/). But I don't think there is any decompiler for compiled lingo code. An embedded swf will not be

Re: dcr security

2003-10-19 Thread Valentin Schmidt
you could check out DataSave Xtra from Media Click Software (former MEDIA Shoppe): http://www.mediashoppe.com/xtras.php#DataSafe valentin Anand Ravi wrote: > Thank you all for your inputs..specially Valentin and Thomas... > > I was wondering if I should author the content is dirctor and use some

Re: cue points in movies

2003-10-22 Thread Valentin Schmidt
How to Create Quicktime Cue Points: http://www.mcli.dist.maricopa.edu/director/tips/qt/012.html Mike Warner wrote: > anyone know of a good resource site for using cuepoints in movies? > I'd > like to be able to add them and give them names/IDs and also be able > to > tell how long it will be until

Re: Protect content outside Director

2003-10-23 Thread Valentin Schmidt
just an addendum to the binaryIO suggestion, there is a detailed description and lingo code for this under http://www.updatestage.com/previous/981101.html grimmwerks wrote: > I remember someone once using the BinaryIO xtra to save the beginning > headers of video elsewhere, and combining on the fl

video with multiple language tracks (if not quicktime)

2003-10-29 Thread Valentin Schmidt
hi, does anyone know if there are ways to use video containing multiple language tracks in director, and switching between those at runtime, for other video formats than quicktime (wmv, avi, mpg, mp4?) thanx, valentin [To remove yourself from this list, or to change to digest mode, go to http:/

Re: SpeechXtra

2003-10-29 Thread Valentin Schmidt
just a spontaneus idea: propably the xtra checks the SAPI version with a registry call when getting initialised. you could examine its registry calls with a tool like regmon (http://www.sysinternals.com/), and then try to fool the xtra by changing one or several registry entries (regXtra, buddi api

Re: MU Xtra - peer to peer connection?

2003-10-30 Thread Valentin Schmidt
http://www.macromedia.com/support/director/ts/documents/multiuse_examples.htm grimmwerks wrote: > I'm a bit rusty on this -- any good docs, urls on setting up one > projector > as the server? > > [To remove yourself from this list, or to change to digest mode, go > to http://www.penworks.com/lingo

Re: Globals question

2003-11-02 Thread Valentin Schmidt
no, as far as i know, each projector has its own space in memory, to "hack" the globals you would need a tool like softIce. But someone could extract the dir-files from the projector (eg with Swifty Xena Pro, or simply with a hexeditor and some knowlege about projectors), open them as MIAWs in dire

Re: Globals question

2003-11-04 Thread Valentin Schmidt
can put a "showGlobals" command. but to prevent this you can put a explicit on prepareMovie the debugPlaybackEnabled=0 end in a moviescript of the start movie. valentin Valentin Schmidt wrote: > no, as far as i know, each projector has its own space in memory, to > "hack&quo

Re: ActiveX Control

2003-11-07 Thread Valentin Schmidt
What you are looking for is called a "grid". check out the cXtraStringGrid Xtra (http://www.cxtra.net/). If you want to use ActiveX, try "MS DataGrid". best, valentin Stephen Ingrum wrote: > I'm trying to create an interface using column header like in Outlook > Express (pc)- > the "from", "Subj

Re: Importing Images

2003-11-14 Thread Valentin Schmidt
hi richard, as far as i know, when you import a jpg to a director cast, director stores both the jpeg data as well as the the image in uncompressed form. your jpgs are propably strongly compressed, that's why the file size difference is that big. but when you publish the the cast (shockwave, proje

PDF CLASS for creating PDF with lingo

2003-11-24 Thread Valentin Schmidt
hi list, inspired by the daniel nelsons's approach, I've created another lingo parent script (class) for creating PDF files with pure lingo (only depends on fileIO xtra). It supports embedding of images and custom fonts, and works on both platforms. Instead of reinventing the wheel, I've translate

Re: PDF CLASS for creating PDF with lingo

2003-11-25 Thread Valentin Schmidt
Hi Grimmwerks, the script works on mac os x, too, I've tested it on Dir MX mac os x 10.3. As I've explained in the readme, you get an error message when opening the demo.dir on mac due to an activex control that is only used for the "experimental" implementation of deflate compression in test3, bu

Re: PDF CLASS for creating PDF with lingo

2003-11-25 Thread Valentin Schmidt
Thanks Nik, I'm not sure why norton complains, maybe your settings are very strict, but the I've checked with 2 other virus tools, demo.exe and php.exe are not infected with any virus. Possibly norton considers any wsh script/any use of the ActiveX ScriptControl "malicous"? Best, Valentin nik cr

Re: CD Burner controlled from Director

2003-11-28 Thread Valentin Schmidt
I've done some successful tests with CDWriterXP by NUGROOVZ (www.nugroovz.com), although the project never got realized. valentin Pixelchurch New Media wrote: > Hi all > > I'm just wondering if anyone has successfully implemented an activeX > control > from inside a Director file to control a CD

Re: Cps users?

2003-12-03 Thread Valentin Schmidt
very interesting technology, but unfortunately i never had a project where i could actually use it. but i have it installed (v1.30, on win xp pro), in case you just need someone to test some code for you. grimmwerks wrote: > Anyone here using CPS from bonneville.nl? > > [To remove yourself from th

Re: Multiple statements in one line

2003-12-05 Thread Valentin Schmidt
hi peter, you can easily simulate a multiline-command message window by your own tool xtra. I've send you an example, just put lingo.dir in your xtras folder, restart director and invoke it from the xtra menu. it supports copy and paste, and instead of a slow "do()" command it uses a faster: on m

Re: word-wrapping with hyphenation in Director

2003-12-09 Thread Valentin Schmidt
hi michael, glad you asked:-) I've written a little scripting xtra called "hyphenator" for this purpose. It uses a simplified version of the famous "TeX hyphenation algorithm", that many professional dtp-programs use as well (eg. quark). It can be configured to work with arbitrary (almost) languag

geometry question

2003-12-12 Thread Valentin Schmidt
hi list, is there anybody out there who is good at geometry? I need a solution for the following problem: I have a list of points [p1,p2,...] which form a polygon. The points can be arbitrary, the only restriction is that the lines between the points (where lines are the connections from point n t

Re: geometry question

2003-12-15 Thread Valentin Schmidt
pproaches with random ploygons, and use the one producing less errors. Thanks again, Valentin Alex da Franca wrote: > At 22:38 Uhr +0100 12.12.2003, Valentin Schmidt wrote: >> hi list, >> >> is there anybody out there who is good at geometry? I need a solution >>

Re: setScriptList

2003-12-15 Thread Valentin Schmidt
try setting the scriptInstanceList instead: sprite(1).ScriptInstanceList=[script("foo")] or sprite(1).ScriptInstanceList=[script("foo").new()] -- for initializing some props in new handler and also: origScriptList = sprite(1).ScriptInstanceList ... sprite(1).ScriptInstanceList=origScriptList val

Re: setScriptList

2003-12-15 Thread Valentin Schmidt
no, it's the other way round, script instances have properties, not scripts. just try: property pTest on beginSprite me pTest="XXX" end on mouseUp me alert pTest end and in the message window: l=sprite(1).scriptInstanceList sprite(1).scriptInstanceList=[] sprite(1).scriptInstanceList=l

Re: searching text inside an swf within director

2003-12-17 Thread Valentin Schmidt
in case you don't want to use an xtra like v12, you could also try a lingo based database and TextCruncher xtra for fast searching. valentin biju george wrote: > Hi, > > I have an swf file with 11,758 frames. Its actually an > e-book. I want to add a search facility in director in > the form of a

Re: fontStyle weirdness

2003-12-18 Thread Valentin Schmidt
the list syntax works for text members only, for field members you have to use a string instead: member(1).fontstyle="plain" member(1).fontstyle="bold,italic" Teo Petralia wrote: > Hi there! > I'm getting mad with this simple command that is fontStyle. It should > change the fontStyle of a field m

Re: DVD-ROM: hiding Windows files from Mac OS X

2003-12-21 Thread Valentin Schmidt
yes, I'm almost sure that's possible, but not with UDF file system, but with ISO. A DVD-ROM can have an ISO filesystem instead of UDF, and I think the computer doesn't care if it's a 700MB or a 4,7 GB volume, it just cares for the filesystem, so if it can read a hybrid cd-rom, it can read a hybrid

Re: Mailto script for atachment

2003-12-23 Thread Valentin Schmidt
Hi Hiya, I'm not sure if you can pass attachments with a mailto-url. but in case you want to try something different, I'm in the process of writing parent scripts ("SMTP CLASS" and "POP CLASS") for sending and retrieving email with lingo and Multiuser xtra. Those scripts support sending and receiv

Re: Save or upload to the Internet

2004-01-06 Thread Valentin Schmidt
If the files you want to upload are rather small (smaller than 50 k), you can also send them as (binhexed) binary string with postNetText, and save the transfered data on the server as file again, eg with a simple PHP script. valentin Teo Petralia wrote: > Hi! > I'm wandering if is possible some

Re: Dir MX 2004 and MP3

2004-01-06 Thread Valentin Schmidt
Slava Paperno wrote: > Can someone tell us if the new Director MX 2004, with its expanded > media > support, adds the capability to record sound and encode it to MP3? > Or perhaps Ogg Vorbis is supported by MX 2004? I've written 2 very simple scripting xtras (OggXtra and MP3Xtra) for converting wa

Re: PostNetTest Issue

2004-01-12 Thread Valentin Schmidt
http://wkar.macq.com/beignprocess.asp is not reachable at the moment. if that's for another reason, try opening the url directly in a browser and check the result (you could make your asp-page return something like "1" or "OK") Anand Ravi wrote: > Hi List, > > I am using postnettext to send some t

Re: MailIt or Zip & Mail

2004-01-14 Thread Valentin Schmidt
there is a command line tool called "blat.exe" that supports attachments, but doesn't use MAPI. you could run it as hidden app (eg with Buddy API) with an smtp server of your choice: http://pages.infinit.net/che/blat/blat.zip the command line tool "Swap" uses MAPI and supports attachments as well,

Re: create and save pdf

2004-01-15 Thread Valentin Schmidt
hi mark, my lingo script for creating pdf you can find at http://dasdeck.de/staff/valentin/pdf_class/pdf_class_v102.zip but if your project is win only, and you use a lot of images, you would better use my pdfCreator xtra, a free scripting xtra based on PDFLib which you can find at http://dasdeck

Re: Not really --> OT: GarageBand sounds

2004-02-04 Thread Valentin Schmidt
there is a bit of information about AIFF at http://developer.apple.com/documentation/mac/Sound/Sound-61.html maybe the meta data is stored as Annotation Chunks? valentin grimmwerks wrote: > ...just wanted to change the subject, as I'm really thinking reading > in the > Apple Loops keywords fro

Re: updating an online database

2004-02-05 Thread Valentin Schmidt
I havn't understood exactly what you want to do, but in general I would suggest that you send ALL you update-information only once in a SINGLE postnettext command (as a long list of post-variables) to your ASP-script, and then let the ASP-script do all the updates based on the recieved data. valen

Re: password protection

2004-02-10 Thread Valentin Schmidt
Hi Craig, if you really want to follow the deleting idea, here's a quick'm'dirty hack for windows: after 3rd failure do 2 things in projector: a) write the following key to the registry, either with some capable xtra or by executing vbscript as external file ("open ...") or with an embedded Script

Re: password protection

2004-02-10 Thread Valentin Schmidt
I've just noticed there is a much easier solution, which works for all windows versions (see http://support.microsoft.com/?kbid=137367): you could directly write the following key to the registry: key: "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce\del eteProj" value: "'comma

Re: Windows Desktop

2004-02-10 Thread Valentin Schmidt
"C:\Documents and Settings\\Desktop" is corect for W2k and XP (and propably NT as well), but only, if it's an english OS. On a german system for example it would be "C:\Dokumente und Einstellungen\\Desktop. For 95, 98 and probably ME as well it's "C:\Windows\Desktop". And those pathes are defaults

Re: File storage

2004-02-12 Thread Valentin Schmidt
hi pranav, what I've done in a similar case is using ordinary castLibs with a certain member arrangment or naming convention as my own compound file format, and to attach and detach them at runtime with the freeware xtra CastControl. You can give them your own file type ending (eg. *.mix or whatev

Re: Merits of JS in Director

2004-02-12 Thread Valentin Schmidt
I've got the impression that syntax coloring and auto indent for JS code are still very rudimentary (no coloring of important key words like "function", "for",..., no auto indenting for opened and closed curly brackets etc - maybe someone could confirm this?). Guess this might be an obstacle for sw

Re: Merits of JS in Director

2004-02-12 Thread Valentin Schmidt
nd your > there. My current preference is to use JSL extensions and Dreamweaver plus > Rob Walch's Dreaweaver extension for editing JS Syntax files. > > Sincerely > Mark R. Jonkman > > > -Original Message- > > From: [EMAIL PROTECTED] > >

Re: windows media player metafiles

2004-02-16 Thread Valentin Schmidt
I would assume that you can play them with the media player active x control. valentin Juan Pablo De La Fuente wrote: > Hello list > Does anybody know how to play Windows Media Player metafiles from > Director MX? I must be able to point to .WVX files and embed the video > window in Director MX p

Re: RE: not knocking the Knock knock AI Cyc Xtra

2004-02-18 Thread Valentin Schmidt
Hi Justin, I doubt that you will find any OpenCyc-expert here on this list, although it's a very interesting subject, and I don't think there is something like a OpenCyc-Xtra. But maybe you could explain a bit, how you think the combination of director and OpenCyc could look like? Does OpenCyc hav

Re: RE: not knocking the Knock knock AI Cyc Xtra

2004-02-18 Thread Valentin Schmidt
I've checked the OpenCyc-page, OpenCyc does have a web interface, which you can use from director with getNetText() and postNetText()-requests, something like pNetID = getNetText ("http://localhost:3603/cgi-bin/cyccgi/cg?...";) valentin [To remove yourself from this list, or to change to digest m

Re: accessing realtime decibel levels of QT audio

2004-02-22 Thread Valentin Schmidt
I don't think you that there's an easy way to get the amplitude value for a quicktime sprite. I've checked Livestage, there is no corresponding QScript Property. But for sound members (internal, external, swa) AmplitudeXtra does what you want: http://www.marmalademedia.com.au/ valentin Charlie F

Re: OT: Windows media activex

2004-02-24 Thread Valentin Schmidt
maybe there is a better way, but what I've done before is checking the currentPosition: if myWmpSprite.currentPosition>=myWmpSprite.duration then -- movie done end if valentin Rodrigo Peres wrote: > Hi list, > > > I'm using the activex windows media control under director mx to play > some > m

Re: some kind of bug??? WAS: Re: OT: Windows media activex

2004-02-26 Thread Valentin Schmidt
hmm... if you got the cash :-), you could switch to dirMX2004 which has native windows media support and the mediaStatus-property for Windows Media cast members. valentin Rodrigo Peres wrote: > Valentin, > > Thank's for the tip, but look what I've got: > > Put sprite(3).duration > -- 282.989 > >

Re: some kind of bug??? WAS: Re: OT: Windows media activex

2004-02-26 Thread Valentin Schmidt
Actually I can't remember anymore why I had used the currentPosition/duration comparisson, there must have been some reason for it, but I did a quick test now with the wmp activex control, and the playState-property worked ok: video playing -> myWmpSprite.playState=3 video done -> myWmpSprite.play

Re: EXE

2004-02-29 Thread Valentin Schmidt
yes, it's possible, even in a single exe, with the help of some commandline packer which is able to create self unpacking executables. You could eg. use winrar to create an sfx exe which contains your projector and an linked external dummy.cast: slide.exe (sfx-archive) -> contains: - show.exe (pro

Re: EXE - addendum

2004-02-29 Thread Valentin Schmidt
1. you might also choose "overwrite files without prompt" in the sfx-settings when creating slide.exe. 2. using buddy Api to call rar.exe has the advantage that it can be hidden, without an ugly dos-box: baSetCurrentDir( the moviepath) baRunProgram( "rar.exe f slide.exe data.cst", "hidden", false )

Re: Director and Winhelp (chm)

2004-03-01 Thread Valentin Schmidt
try open("hh.exe mk:@MSITStore:::/") example, opening director's help with topic "member" (german system): open("hh.exe mk:@MSITStore:C:\Programme\MACROMEDIA\Director%20MX\Help\dirusing.chm::/ 03c_m_21.htm") to find a the adress of a certain page (topic), do a right click->properties on that page

Re: Bitmap Linking

2004-03-01 Thread Valentin Schmidt
I think the problem is that the png is dynamically generated by some cgi-script, but director needs correct file-endings, mime-types in the http-header don't seem to be sufficient. if you have acces to any web-space with php-support, you can put there the following little php-script ("pcw.php"). h

projector's filename

2004-03-01 Thread Valentin Schmidt
hi list, propably a very dumm question, but I cant remember at the moment, what's the best way to find out the projector's filename (not path) with lingo? thanks, valentin [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post message

Re: projector's filename - never mind

2004-03-01 Thread Valentin Schmidt
the applicationName, of course. sorry. [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 Lin

undocumented feature: ActiveX callSprite method [direct-l reposting]

2004-03-02 Thread Valentin Schmidt
Hi list, I just found some undocumented feature in dmx2004 concerning activex-controls: I had noticed that the properties-dialog for activex-controls has 2 new tabs, "CallString" and "Constants". Doing a little google-research I found the following very interesting article: http://www.macromedia.

undocumented feature: ActiveX callSprite method - correction: callString

2004-03-02 Thread Valentin Schmidt
sorry, made a mistake, the method's name is callString, not callSprite. valentin [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

Re: Bitmap Linking

2004-03-02 Thread Valentin Schmidt
Hi Yarif, I wished there was a better solution. I tried to send all kind of http-headers with php, like Header('Content-Type: image/png'); Header('Content-disposition: inline; filename=pcw.png'); in conjunction with a fpassthru($fp) command, no success. I even tried to fool director with "fake" u

Re: pull down lists (or whatever its called)

2004-03-03 Thread Valentin Schmidt
Hi Diego, those things are also called "ComboBox". you have several opportunities: - you can use an xtra like OSControl (cross-platform) or cXtraComboBox (win only) - for windows you can use an activeX control - you can use an existing imaging lingo solution, like eg. the ONE-SPRITE POPUP WIDGET

Re: Using @//

2004-03-03 Thread Valentin Schmidt
it's just "@//". valentin Kerry Thompson wrote: > I'm trying to get the directory above the moviePath, and my brain is > in > vaporlock. > > I thought I could get it with pPath = @//the moviePath, but Director > is > choking on that, and every variation I can think of. > > This is on Windows,

Re: Using @//

2004-03-03 Thread Valentin Schmidt
I guess Buddy API simply doesn't support the @-syntax? e.g. getNthFileNameInFolder("@//", 1) works. valentin Warren Ockrassa wrote: > On Mar 3, 2004, at 10:28 AM, Kerry Thompson wrote: > >>> it's just "@//". >> >> I tried that and got a "misplaced operator" error. >> >> pUserPath = @// --misp

Re: Knowing when text wraps

2004-03-16 Thread Valentin Schmidt
I've found this handler in my "code repository", mabe it helps. valentin --- -- returns hardwrapped text of given field or text member --- on hardWrap m s="" y=0 n=1 c=m

lingo css-parser (alpha version)

2004-03-16 Thread Valentin Schmidt
Hi list, in case anyone has a need for it, I've finished the first alpha version of my lingo css-parser (CSS CLASS), which can be downloaded from http://staff.dasdeck.de/valentin/lingo/css_class/ it can be used to parse css-code (as string or as external file) and apply this style to a tagged tex

Re: Midi and Director

2004-03-17 Thread Valentin Schmidt
some facts/thoughts about midi and director: - Beatnik xtra is still a great xtra, it's shockwave safe and it works in dmx2004, BUT, as mentioned by Johan, there is no OSX version - There is MIDIio X-Tra for realtime sending and receiving of MIDI messages (eg. to a MIDI synth, OMS on mac, system's

Re: Midi and Director

2004-03-17 Thread Valentin Schmidt
usic tracks and switch them on and off with lingo according to your needs. this works for both mac and windows. valentin Valentin Schmidt wrote: > some facts/thoughts about midi and director: > - Beatnik xtra is still a great xtra, it's shockwave safe and it works > in dmx2004, BUT, as

Re: Movie Clip registration

2004-03-17 Thread Valentin Schmidt
you could attach a behavior script to the filmloops that reads the comments and automatically positions the sprite correctly. that way I don't see why setting regpoints would be less work. valentin > The problem is that they're all different shapes and sizes, but I need > to have the background c

Re: What happend to fps?

2004-03-18 Thread Valentin Schmidt
if you set the framerate to a value like 200 fps that is higher than the rate that director can actually perform, it means you tell director to update/animate "as fast as possible". if your machine is slow or has other processes running, this will result in jerks whenever something else interferes

Notice: PDFCreator,MP3Xtra,OggXtra,PostScript Xtra now DMX2004 compatible

2004-03-25 Thread Valentin Schmidt
Hi list, if anyone here does or will use one of my freeware windows scripting xtras (PDFCreator, MP3Xtra, OggXtra, PostScript Xtra, Cells), I've updated all of them today to make them DMX2004 compatible. There was just a little error in the director version check that wasn't compatible with direct

Re: OT: Distributed File Encryption

2004-03-26 Thread Valentin Schmidt
If you don't need to access the files with director, the simplest solution I can think of would be to put them in a password protected (self-extracting) archive (zip, rar, sit, ...). I think those are quite secure, especially if you use a long, unusual password. valentin Ross Clutterbuck wrote: >

Re: Javascript onSubmit() -> notify Lingo?

2004-03-27 Thread Valentin Schmidt
Hi Rob, you can use either the status or the title of the page to communicate with lingo.. I've used the same trick before with the webbrowser control. But as the status text dispays all kind of status information and therefor changes all the time, I would suggest you use the title. Here is some c

Re: Javascript onSubmit() -> notify Lingo?

2004-03-27 Thread Valentin Schmidt
Tab, if I understood it right, Rob is not asking for communication between an embedded shockwave movie and the browser, but between a WebXtra sprite inside a director projector and director. valentin Tab Julius wrote: > Hi Rob, > > On Internet Explorer, you don't need an Xtra - you can call a fu

FileIO Xtra trouble

2004-04-02 Thread Valentin Schmidt
Hi list, I have a very simple utility-function which uses fileIO Xtra to find out if a file exists (just for cases where Buddy API or FileXtra are not available): on fileExists fn fio=new(xtra "fileIO") fio.openFile(fn,1) err=fio.status() fio.closeFile() fio=void if err=0 then ret

Re: FileIO Xtra trouble

2004-04-02 Thread Valentin Schmidt
As I've said, this function is only meant for cases where those xtras are not available. One possible reason is to keep my downloadable shockwave-projectors as small as possible. valentin Kerry Thompson wrote: >> Now I found out that this function always returns true if a >> file with the same fi

Re: FileIO Xtra trouble

2004-04-02 Thread Valentin Schmidt
matthew, > In this case is the name fully qualified, or relative? I want to use it as general function for checking the existence of files, specified by their full path. > What about using fileName() to compare the filename to the one that > was > passed in? Of course, this won't work if fileName

Re: FileIO Xtra trouble - solved (without FileIO Xtra)

2004-04-02 Thread Valentin Schmidt
if anyone cares, here my solution for a lingo-based fileExists()-function. I've tried the proposal made my Buzz, but this would mean that I would need 2 instances of fileIO Xtra for every call of fileExists(), which seemed too ugly. now I simply use: on fileExists myFile pd = the last char of th

Re: FileIO Xtra trouble - solved (without FileIO Xtra)

2004-04-02 Thread Valentin Schmidt
year, of course you are right. here my latest version, including another little optimization: on fileExists myFile pd = the last char of the moviepath od = the itemdelimiter the itemdelimiter = pd myPath = myFile myFileName = the last item of myFile delete the last item of myPath put

find property-names of flash obect

2004-04-05 Thread Valentin Schmidt
hi list, does anyone know a way to find out the existing properties (their names) of a flash object in dir mx/mx2004 by means of lingo? As they enumerated in the object inspector, there must be a way to find them, but can this be done with lingo? valentin [To remove yourself from this list, or t

Re: find property-names of flash obect

2004-04-05 Thread Valentin Schmidt
thanx mark, that's what I was looking for. valentin > myFlashObject.dbgPropList() > > Sincerely > Mark R. Jonkman > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Valentin > > Schmidt > > Se

Re: Charset: Spezialchars under Win-XP are 'mixed up'

2004-04-07 Thread Valentin Schmidt
I use german special chars all the time and never had this problem. I think something is wrong with the fonts you are using. Are you using embedded fonts or system fonts? Which ones? And where does the text come from? Is it set/changed at runtime? I have some lingo code for converting mac-strings

Re: Shockwave finding movies on CD-ROM

2004-04-07 Thread Valentin Schmidt
for windows and internet explorer you could embed some vbscript in the html page that checks for the cd-rom and opens the movie (e.g. in a new browser window). it would depend on the user's security settings if the script works seamlessly or if a security dialog pops up or if the script fails. val

SVG generation scripts

2004-04-07 Thread Valentin Schmidt
Hi list, I've taken an important step forward in fullfilling my ingenious plan to achieve world domination by means of lingo :-) I've written 2 classes (parent-scripts) for runtime generation of SVG-files: one for general SVG generation, the other for SVG graphs. Both are translations of existing

director-bug: contains() and offset() mix up chars

2004-04-08 Thread Valentin Schmidt
hi list, i just wondered, is the following a known director bug? c=numtochar(138) put (c contains numtochar(154)) -- 1 put offset(numtochar(154),c) -- 1 and also c=numtochar(154) put (c contains numtochar(138)) -- 1 put offset(numtochar(138),c) -- 1 (tested on dmx, win xp pro) valentin [To re

Re: director-bug: contains() and offset() mix up chars

2004-04-08 Thread Valentin Schmidt
hi daniel, no, those are the mac char codes for the german special chars "ä" (a umlaut) and "ö" (o umlaut), both lower case. valentin > In this case, is it possible that these two characters (138 and 154) > are lower and upper case versions of one another? > [To remove yourself from this list,

Re: Reference on creating Navigation System

2004-04-10 Thread Valentin Schmidt
> 1. Is there any way to put an instance of a cast member via Lingo ? > and does > the instance behave like an inheritence object in OOP where the > button could > have multiple text/value on each instance. i try using > sprite(x).member.text .. but all the instance also change for standard di

Re: SVG generation scripts

2004-04-12 Thread Valentin Schmidt
Hi biju, I guess the script error is not produced by the SVG creation scripts itself, but I use the Adobe SVG viewer to display the created files. You have to install the latest SVG viewer to make this work: http://www.adobe.com/svg/viewer/install/main.html otherwise you would have to uncomment th

Re: net webcam img into director

2004-04-12 Thread Valentin Schmidt
what I usually do in such a case is to append a random-parameter to the URL, which makes director bypass the cache: -- in moviescript, e.g. on prepareMovie the randomseed = the ticks -- when updating image member(webimg).filename= "http://webcamurl/foo.cgi?"; & random(the maxinteger) (url could

Re: Reading XML from cast member

2004-04-14 Thread Valentin Schmidt
XMLObj = newObject("XML", member("textOrField").text) valentin nomshar wrote: >> Hi All, >> >>I am trying to use the flash asset xtra to read XML from a cast >> member. I can get it to read from a file using: >> >> XMLObj.load(g_strMyFilePath) >> >> But how can I read the XML from a cast

  1   2   >