Sorry, the answer to that question is no as the Xtra can only be used
under player version 10 (Director MX 2004, its projectors and
Shockwave 10). Authoring with Director MX only allows you to
author/test with up
to Flash 6 SWF files, publishing from Director MX you target the 8.5
player which
hi chris,
if I understand it correctly, the destination-point is at the same angle
(seen from the originion of the distortion) as the original point, just
the distance (polarDest) changes.
so you have:
destX/destY = sourceX/sourceY
and
sqrt(power(destX,2) + power(destY,2) ) = polarDest
[EMAIL PROTECTED] wrote:
Thanks for enlightening me, Valentin :)
There's still something fishy about it, it's not really doing what it
should... here's the code (and I'm having a float attack :) )
Maybe you can spot where it goes wrong...
Chris.
I don't really understand this spherize
-- start to load XML from the web
xmlFile = http//www.bulldogbroadband.com/xml/dataset.xml
hi ross,
propably this just happened when pasting into the email, but just in
case, in both urls in your sample scripts the : were missing (after
http).
valentin
[To remove yourself from this
propably this just happened when pasting into the email, but just in
case, in both urls in your sample scripts the : were missing (after
http).
when opening those (fixed) URLs with MU Xtra and my little HTTP Sniffer
(http://dasdeck.de/staff/valentin/lingo/http_class/http_class_v1.1.zip;
of interest, but how would that explain everything only breaking in my
office when it works perfectly well in the computer shop over the
road?
sorry, I missed that part about happening only on a certain computer.
so, does it work on that machine if you use MU xtra instead (e.g. by
opening the
depending on what you want to do, it might also be an option to hide the
real cursor and use a sprite as fake cursor that follows the mouse, but
only inside this rect.
valentin
Michael Nadel wrote:
Is there a way to contrain the user's mouse movement to a specific
rect?
Michael Nadel
Once you place a file named exactly shockwave.ini with the above
content in the same folder as shockwave is installed (right next to
DPLib and IMLib) a more descriptive error message will be displayed
at the first script error encountered.
those libs are called iml32.dll and DynaPlayer.dll on
sorry, I admit I was just guessing what DPLib might stand for, but I
knew that iml32.dll, dirapi.dll and proj.dll are the important ones
(e.g. for stub projectors). by the way, what 's happening in
DynaPlayer.dll?
Valentin
Thomas Higgins wrote:
DPLib and IMLib...
those libs are called
on getNearestPoint aListOfPoints, aRefPoint
...
end
depending on the exact characteristics of your project, you might be
able to speed up the process of finding the minimal distance (as
proposed by rob) by using vectors (with z=0) instead of points, and
their distanceto method. but this
Set the member's eventPassMode to passAlways using the Flash
Component tab of the Property Inspector, and implement a mouseUp
handler instead of click.
either that, or use code like
on beginSprite me
s = sprite(me.spriteNum)
s.setCallback(s, click, #click, me)
end
on click me
put click
end
getNetText(http://mydomain.com/myXMLFile.xml?time=; the
milliseconds)
Doesn't matter what the CGI var is, or its value. (As long as it's
unique.)
It doesn't even have to be a variable definition, any unique query
string does it as well, like e.g.
thanks for sharpening thomas and my remarks :-)
Mark Hagers wrote:
I had the same problem. Somehow Director insists on reloading a file
from the cache, even when you tell it not to.
The only sure-fire way to solve this is by appending a unique
parameter to the url on each new request, as is
hi slava,
I don't have an answer, but I have checked again, and my test movie also
crashes the browser when I force a reload of the page. This only happens
on a system where QT 7 (and Win XP) is installed, it doesn't happen on
another computer with QT 6.5 and Win98. So are there any known
just export them with SharpExport as PNGs, and then use any image
program that can do batch conversion (like photoshop, or the free
IrfanView) to convert them to GIF.
valentin
Michael Nadel wrote:
Hi everyone, thanks for all the Exporting help.
I have a problem though. The xtra SharpExport
Sean Wilson wrote:
If I have a cast of 1000 .wav sounds in a director cast and I want to
save each member as a .wav onto my computer somewhere as individual
files, is there an xtra to do this too?
You could use the Audio xtra and write a routine that uses
axLoadSound() and axConvertToFile() to
hi michael,
try (untested code!):
obj = sprite(2).newObject(Object)
obj._x = 40
obj._y = 85
sprite(2)._root.attachMovie(clip, clip, 50, obj)
cheers,
valentin
Mendelsohn, Michael wrote:
Hi list...
The following line of lingo works, but the params object gets ignored:
the script it is failing to
create!
Any ideas why it cant find the cst?
Ive created a dswmedia dir and put the cast in there, but im probably
missing something.
Does this help narrow it down for anybody?
-Original Message-
From: Valentin Schmidt [mailto:[EMAIL PROTECTED]
Sent: 14 February
have you found out why the message was unable to open MyLib.cst.lnk?
where does this .lnk come from if it's not a desktop link file? did
you rename you castlib to *.lnk on purpose?
valentin
Alan Skinner wrote:
Should also have mentioned im running it on my local machine and yes
all the cct
Kevan Dettelbach wrote:
1. For each level, compile a look-up table to determine which images
exist at that level. Drawback: due to the number of images involved,
this
look-up table would be huge, and memory is very tight in this program
already
to the number of large images being moved in and
here is what I use (for PC projectors). it parses the commandLine and
identifies parameters by analysing spaces and quotes.
e.g. for projector.exe -t xxx -f c:\some folder\some file.txt it
returns [-t, xxx, -f, c:\some folder\some file.txt]
if you opened a projector by double-clicking an
John R. Sweeney Jr wrote:
on 1/23/06 2:19 PM, Mark Hagers at [EMAIL PROTECTED] wrote:
One more thing to try (but it's what we call in dutch a 'horse
remedy'): if the user's browser is firefox, test to see if it's
currently
active, and kill it's process before calling gotonetpage (or
John R. Sweeney Jr wrote:
Howdy all,
I'm using the standard gotoNetPage(myURL) to launch a couple of
weblinks.
In IE it works everytime correctly. With FireFox (on a PC), the first
call
launches the browser just fine in foreground. Then if a user clicks
on the
task bar back to my program and
hi michael,
By the way: do you know, where I find a list of all keycodes?
unfortunately, no. but, of course, you could create such a list
yourself (on keyDown..put the keyCode..end) by successively stroking all
keys :-)
@ Thomas:
Yes, it seems that the BuddyApi Messagebox causes the
hi alan,
you can duplicate an existing flash member either with
oldFlashMem.duplicate(newMemPosition)
or with
new(#flash, member(newMemPosition, newMemCastlibNameOrNum) ).media =
oldFlashMem.media
cheers,
valentin
Alan Skinner wrote:
I think I found it
tMember = new(#flash, castLib
hi nik,
I havn't heard of this, but like john I usually only use halt instead.
If switching to halt doesn't help in your case, you could put a
lingo.ini next to your projector, with
on startup
the debugplaybackenabled = 1
the traceLogFile = log.txt
the trace = 1
end
and then run and quit
I'm not sure if those are the right files, but maybe have a look at
http://www.virtuo.com/dswMedia/
cheers,
valentin
Mike Warner wrote:
Hi everyone,
I tried to download the Shockwave Power Applications from Macromedia
just
now amd, after agreeing to the standard user stuff, got a 404 page.
hi michael,
you have to use something like:
function getPropertyDescriptionList(){
var pl = propList();
tmp = propList();
tmp.setAProp(symbol(comment), symbol(What file to open?));
tmp.setAProp(symbol(format), symbol(string));
tmp.setAProp(symbol(default), );
pl.setAProp(symbol(pFile),
hi list,
there it is, the first alpha version of a Lingo-WebDAV client:
http://dasdeck.de/staff/valentin/lingo/http_class/webdav_alpha.zip
Really very alpha, just a proof of concept, but I think still impressive
that it's possible to do this with good old Multiuser Xtra and a bit of
lingo
hi alex,
thanx for your feedback, and for the fake message window miaw. it's a
neat little tool - although I havn't fully understood it yet, need more
time to analyse - disassemble - deconstruct it :-)
btw. I didn't find a way around this specific problem. I thought
catching a script error
headers Firefox extension, but more powerfull). Maybe it can be useful
to examine http-network problems or debug server scripts...
It's at
http://dasdeck.de/staff/valentin/lingo/http_class/
Feedbacks and ideas for improvements welcome.
Cheers,
Valentin
Valentin Schmidt wrote:
Propably I'm
hi tim,
look up
proxyServer(serverType, ipAddress, portNum)
in the help.
you can either get the proxy server's IP from the registry (pc,
require's some (free) xtra; on the mac there is propably some comand to
use with shell xtra), or let the user specify it manually.
valentin
Tim
IN INTERACTIVE MEDIA
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Valentin Schmidt
Sent: November 23, 2005 11:46 AM
To: Lingo programming discussion list
Subject: Re: lingo-l getNetText and proxy
I wonder if (depending on the authorization scheme
with Squid 2.5 on win xp)
So, Tim, if your proxy server uses basic authentication only (which it
propably doesn't), there is no need to buy a third party xtra.
Valentin
Valentin Schmidt wrote:
thanks cole, laurent for your replies.
laurent, what part of the process that you described do you think
addendum:
digest authentication (RFC 2617) would be a little bit more
complicated, but totally doable as well, all you need is a md5
calculation, and there are good md5 implementations in lingo that are
fast enough for those tiny strings required for authentication.
Valentin Schmidt wrote
hi michael,
a common way do this is to use
tPathDelimiter = \ -- or: the last char of the moviepath
the itemdelimiter = tPathDelimiter
tFileName = the last item of tPath
cheers,
valentin
Mendelsohn, Michael wrote:
is it the # of the last element in a list?
Sorry, Buzz. I should've been
Hi Tim,
I don't know what Nik's solution was, but a possible solution is to use
an image with the DVD file system and mount it. In OS X you can use DMGs
or toast images, on the pc you can e.g. use Nero to create it and a tool
like Daemon Tools to mount the image.
Cheers,
Valentin
Tim
have you tried
the moviepath toto.w3d?
Cheers,
Valentin
Mike Castro Demaria wrote:
Hi all,
Does somebody know if it is possible to load a W3D by a lingo string
in a
shockwave file (played by IE) in a internet relative path?
I need to do the trick without using Director's internet import
hi john,
there are some suggestions at
http://www.updatestage.com/products_table.html#Screensaver
valentin
John R. Sweeney Jr wrote:
Howdy all,
I've got a client I did a screensaver for last Oct. of 2003. They had
me
make changes to the Director, recently. My problem is I don't have the
hi list,
does anyone know a way to check for the existence of a member with a
given name that works for both dmx and dmx2004?
I know the following 2 methods, but it would be nicer to have a
consistent method for all versions:
on memberExists (someName)
return (member(someName).membernum
return (tMemRef.type#empty)
end
unfortunately both require 2 lines of code, I was hoping for a one-line
solution.
Cheers,
Valentin
Alex da Franca wrote:
Am 07.10.2005 um 18:25 schrieb Valentin Schmidt:
hi list,
does anyone know a way to check for the existence of a member with
a given
Hi Alex,
great stuff, just one little flaw:
if there are 2 handlers in a script, on foo and on fooBar, and the
second comes first, searching for handler foo would find fooBar.
A simple fix might be to search (offset(...)) for either on fooSPACE
or on fooRETURN
Cheers,
Valentin
Alex da
Tim Welford wrote:
Thanks Alex, this works really well from what I have tested so far.
On a related note, it seems that when I use script xtras, they will
only open up once, i.e. If I have 2 instances of director open, the
script xtras will not open in the second instance of director it
gives
Hi Michael,
I'm not sure about the reg key, but you can directly query the app-data
folder by using:
tAppDataFolder = baEnvironment( APPDATA )
Cheers,
Valentin
Mendelsohn, Michael wrote:
Hi list...
[WinXP]
I use the below buddy command to get a safe place to store data for
the
projector.
put xtra(SQLite).interface()
-- xtra SQLite
-- SQLite Xtra v0.3 (c) 2005 Valentin Schmidt
-- contact: [EMAIL PROTECTED]
-- based on SQLite 2.8.16
-- see http://sqlite.org/
-- CONSTRUCTOR:
new object me
-- BASIC COMMANDS:
sqlite_open object me, string, *
sqlite_close object me, *
sqlite_exec
Now there is also a mac version (carbon):
http://dasdeck.de/staff/valentin/xtras/sqlite/mac/
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
lingo-l@penworks.com (Problems, email [EMAIL
Alex da Franca wrote:
Am 30.06.2005 um 16:53 schrieb Brennan Young:
Here's an interesting one.
it is a FOL, that director can't intercept (?) events, which are
generated from xtras.
it is the same with MUI callbacks for example.
any error fails gracefully (??) and must be handled by the
here some code that doesn't use any (lingo) repeat loop, so might be a
bit faster (but only works for lists that contain numbers only):
on howMany (tList, tValue)
tmp = tList.duplicate()
tmp.sort()
n = tmp.getPos(tValue)
if n = 0 then return 0
tmp = - tmp
tmp.sort()
return (tmp.count +
Hi Bryan,
totally untested, but the documentation says that selectableRange is
specified like:
myDC.selectableRange = {rangeStart: new Date(2001, 4, 7), rangeEnd: new
Date(2003, 5, 7)};
Those curly braces are just a short form for creating native Objects in
Flash, so I think the following
another option is using Shell Xtra. On windows you can use it like:
tPath = shell_cmd(echo %ProgramFiles%, EMPTY)
tPath = shell_cmd(echo %SystemRoot%, EMPTY)
tPath = shell_cmd(echo %TMP%, EMPTY)
for a list of all available system-variables do a
put shell_cmd(SET, RETURN)
and here some code to
Thomas W.J.C. McCrystal wrote:
There is also a online demo at
http://dasdeck.de/staff/valentin/lingo/tree_class/online_demo/
Wow. That crashes Safari pretty hard, and repeatably so. 10.2.8,
Safari
maybe safari discovered that the tree looks like the classic windows
explorer and has some
AFAIK, no, not as native javascript object. But since Director (or a
Shockwave app) is not a web page, you can easily rebuild this
functionality with techniques like MU Xtra, XMLParser Xtra or Flash
Asset.
Valentin
Mike Warner wrote:
what I meant to ask, was whether Director's javascript
Try
function convDate(s) { //seconds since 1970, not ms!
var t = new Date();
t.setTime(s) ;
put(t);
}
Cheers,
Valentin
Tom Jacobs wrote:
I need to convert a Java date -- expressed in milliseconds since Jan.
1, 1970 -- to a more readable format (e.g. April 18, 2005 16:53:00).
I
Hi Rodrigo,
you might also check out some script I wrote called Unicode Class
(http://dasdeck.de/staff/valentin/lingo/unicode_class/). it can
convert double-byte to unicode and v.v., and the demo also shows how to
pass unicode from director to flash. The demo uses japanese text
(Shift-JIS=CP932)
Hi Tim,
it won't help you in this situation, but in DMX2004 for javascript there
is the concat() function for arrays:
var a = Array(1,2,3);
var b = Array(4,5,6);
trace(a.concat(b));
// 1,2,3,4,5,6
Valentin
Tim Welford wrote:
Hi,
Thanks, that's similar to the method I am using at the
than making director less cpu-consuming?
and therefore; why would you want to know this exact timing?
because once sleeping, you can't 'unsleep' director, isn;t it?
\rri
On 24 feb 2005, at 18:25, Valentin Schmidt wrote:
thanks colin and roy, I must have missed this. good to know!
valentin
hi list,
I have an apple g4 (os x 10.3.3) where director's sleep() function
(UiHelper-xtra) doesn't work as it should. a simple sleep(1000) in the
message window needs about 15 seconds to return, and the ratio
consistently seems to be about 15:1 (sleep(200)-about 3 sec). apart
from this
thanks colin and roy, I must have missed this. good to know!
valentin
Colin Holgate wrote:
At 5:01 PM +0100 2/24/05, Valentin Schmidt wrote:
a simple sleep(1000) in the
message window needs about 15 seconds to return, and the ratio
consistently seems to be about 15:1 (sleep(200)-about 3 sec
Hi Zoran,
first of all, I'm definetely not saying that this script can totally
substitute for native unicode support in director. it's just what it is,
a parent script with methods for converting Unicode or UTF-8 text to
single-byte text with given codepage, converting single-byte text with
given
Hey Daniel,
what exactly do you mean with single-byte unicode? the scripts
supports UTF-8 and the full Basic Multilingual Plane of UCS-2/UTF-16,
i.e. all 2-byte-chars (=the original Unicode) from U+ to U+
(more than 6 characters, that include all alfabets in the world).
excerpt from
represented with
single-byte encoding, as opposed
to, say, Chinese. And so it doesn't fully implement Unicode in
Lingo, but it goes a long way
towards that goal.
Kind Regards,
Daniel
Valentin Schmidt wrote:
Hey Daniel,
what exactly do you mean with single-byte unicode? the scripts
language packs.
I've only ever worked with those.
Kind Regards,
Daniel
Valentin Schmidt wrote:
Ah, ok, I see. I have to admit that I don't know anything about
director on double-byte systems (chinese, japanese, korean). Maybe
the script could be extended in this direction, if I knew more about
oops, I forgot to mention:
http://dasdeck.de/staff/valentin/lingo/unicode_class/
Valentin Schmidt wrote:
Hi List,
I've created an alpha version of Unicode-Class, a simple but
efficient parent script for handling Unicode text with lingo. It's
still quite rough, and not optimized for speed
I've uploaded a list of commands for dispatchCommand() that I've found
out so far to
http://dasdeck.de/staff/valentin/lingo/dispatchCommand.txt
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,
Hi Leif,
...
Basically, we are traveling through each pixel of the image and adding
the chars to the string. I tried using:
data = data chr(col.red) chr(col.green) chr(col.blue)
since using put seemed too old school, even for and old man like me.
But I got the same results.
AFAIK, it's
] On Behalf Of Valentin
Schmidt
Sent: 27 January 2005 18:28
To: Lingo programming discussion list
Subject: Re: lingo-l Build Scripts (i.e. Publishing
fromacommandline)[Direct-L cross-post]
Troy Rollins wrote:
On Jan 27, 2005, at 11:56 AM, Valentin Schmidt wrote:
I've uploaded a list
I got it, it's really possible to publish from the commandline with
DMX2004 and windows.
this is how:
1) create a little dir (e.g. 240 * 32 px) with the following
frame-script on frame 2 or later:
on exitFrame
cl=the commandLine
if cl.word[1] = -p then
tell the stage
go movie
Hi Michael,
2 ideas:
1) if you only want to block lingo generated alerts, not error alerts,
just put a
on alert
nothing
end
in some movie script of your miaw, which overwrites the alert command.
2) instead of changing the alerthook you could also have different
return values in your alerthook
Kerry Thompson wrote:
...
- slow as hell: directly interpreted source code. The runtime
engine reads
the source code directly and figures out how to execute it.
Out of curiosity I also tried the same in PHP (interpreted language)
the empty repeat loop:
$m0 = microtime(1);
for ($i=0;
A) Lingo (DMX)
ms0 = the milliseconds
repeat with i = 1 to 1
j=1
end repeat
ms1 = the milliseconds
put (ms1-ms0)
-- 26917
B) VC++ 6.0, console app
...
_ftime( tstruct0 );
for (i=0; i1; i++) j=1;
_ftime( tstruct1 );
...
-- 240 (milliseconds)
So a ratio of about 100:1 on my
70 matches
Mail list logo