semi transparent drop down menus

2002-01-21 Thread Jeremy Aker

Rodrigo,

To get the desired effect you're going to have to use more than one shape
sprite. Use one in front of your menu with the ink set to Reverse. Use
another behind the menu with the ink set to Copy or Blend. You'll have to
set the color of the sprite behind the menu to the spectral opposite of what
you want since it is under a sprite with Reverse ink. For example, if you
want the highlight to appear blue, you'll need to set the color to yellow.
And don't forget to make the menu sprite to Background Transparent or Blend
(other inks may work as well).

And here's a pretty neat thing - if you set both of the shape sprite to
reverse, they both appear transparent, but the menu test reverses out.

Jeremy Aker
[EMAIL PROTECTED]
http://www.periscope3.com/



Date: Mon, 21 Jan 2002 18:00:17 -0200
From: Rodrigo Peres <[EMAIL PROTECTED]>
To: Lingo <[EMAIL PROTECTED]>
Subject:  semi transparent drop down menus
Reply-To: [EMAIL PROTECTED]

Hi list,

I'm using a drop down menu, crated by Peter Small in the book Lingo Sorcery.
it's great. The basis is a black shape that is constrained to another
vertical shape all over a text field. It works pretty well but I need to
create a semi transparent drop down menu and with the highlight in blue and
white letters, does anyone have an idea??? I've tried to modify the script
but I couldn't make it to work with text castmembers (that may supposed to
blend ink) and tried to change the color of the highlight shape, but the
text
still black. The real example use a reverse ink.

I appreciate any help.

thank's in advance

Rodrigo Peres

[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 Lingo.  Thanks!]



Re: Imaging Lingo

2002-01-30 Thread Jeremy Aker

You should check out archived articles on Director Online User's Group 
(D.O.U.G.) at http://www.director-online.com/
There are some very good articles with examples and code there.

Jeremy Aker

John At Home wrote:

>on 1/30/02 10:35 AM, Jean Legault at [EMAIL PROTECTED] wrote:
>
>>Can anybody recommend a good book or websites that talk about imaging
>>lingo - thanks.
>>
>>jean
>>
>
>www.setpixel.com
>
>A great site with examples, demos and code. :)
>
>
>
>L8R,
>JRS
>
> 
>===
>John R. Sweeney Jr.([EMAIL PROTECTED])
>Interactive Multimedia Developer/
>Digital Media Specialist
>
>OnDemand - Interactive, Inc.
>847.651.4469 (cell)  847.310.5959 (office/fax)
>=== 
>
>[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 Lingo.  Thanks!]
>


[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 Lingo.  Thanks!]



Re: Working with List

2002-02-19 Thread Jeremy Aker

It's member(whichMember).comments (don't forget the "s"). And Yes, I'm
working on a project where we are using the comments property to store
lists (at least they're lists once converted from a string that is.)

-- 
Jeremy Aker
5010 Sweetbriar Drive
Raleigh, NC 27609
(919) 789-0871
[EMAIL PROTECTED]
http://home.nc.rr.com/daker/

Colin Holgate wrote:
> 
> >A question occurs to me -
> >
> >Does anybody USE a member's .comment property to store text info
> >related to that member?
> 
> There's a comment property?
[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 Lingo.  Thanks!]



Re: Time Stamping in Code at Publish Time

2002-03-18 Thread Jeremy Aker

Christopher,

As far as I know there is no lingo command to publish a movie to
Shockwave and Director does not appear to be AppleScriptable. However,
you could automatically store the date and time in a field or text
member using the stopMovie handler. That would allow you to view a date
& time reasonably close to the publish date & time assuming that you
would publish just after testing your last fix. You might use something like:

on stopMovie
  member("timeStamp").text = the date && the time
end


-Jeremy Aker

"Watson, Christopher" wrote:
> 
> Here's an interesting one.
> 
> We've got several development and R&D servers onto which I deploy the DCR I
> produce. The manual deployments happen relatively irregularly over the
> course of a week or so, and then the DCR is intergrated into a site build
> that is installed onto other servers at other times. Depending on the time
> of day, one set of servers may have one version of the DCR, and another set
> may have another version. Eventually, a specific version is tagged as a
> build candidate, and it gets packaged up in our build process and installed
> on the QA boxes for testing.
> 
> The DCR can be run in a "QA Mode" that displays several bits of information
> in the stage area for testing purposes only. One bit of info, which is very
> important to the testers, is the "Submission Level". That's simply a letter
> (A, B, C...and so on), which is manually incremented in my "startMovie"
> handler each time a I publish a DCR destined for the build and a submission
> into QA. We track our defects (bugs) using the Submission Level as the key
> for regressions, etc.
> 
> But at the development and R&D boxes, there may be several versions of the
> DCR deployed during any given day, and it becomes important for the content
> reviewers and production people to know EXACTLY what version of the DCR
> they're looking at. It becomes even more important to ME when the content
> and curriculum people approach me wondering if the version they're looking
> at has that one little fix I implemented earlier in the day...or not. I
> don't have any way of telling them if it does, because all we can see as a
> result of running it in "QA Mode" is a Submission Level letter. For these
> particular servers, that's just not enough info.
> 
> I need more granularity in my versioning display. But I do not want to have
> to increment or edit a string in Lingo every single time I publish the DCR
> (which is dozens of times per day). I need some sort of automated way to get
> my DCR the information it needs to display a "version" tied to the specific
> instance of publishing the DCR. How can I do that???
> 
> I really wish there was some message sent to movie scripts whenever a DCR
> was about to be published, so that I could alter via Lingo the movie script
> that contains my version string. I could insert the current date and time,
> and have that available via a global variable at runtime. That way, I could
> also display the "publish date and time" of the DCR when it was run in "QA
> Mode".
> 
> Anybody got any tricks up their sleeves for doing this sor of thing? Any
> alternative ways of looking at this problem?
> 
> Christopher Watson
> Sr. Software Engingeer
> Director/Shockwave Development
> Lightspan, Inc.
> Tel: 858.824.8457
> Fax: 858.824.8008
> 
> [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 Lingo.  Thanks!]

-- 
Jeremy Aker
5010 Sweetbriar Drive
Raleigh, NC 27609
(919) 789-0871
[EMAIL PROTECTED]
http://home.nc.rr.com/daker/
[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 Lingo.  Thanks!]



Re: MPG file

2002-08-29 Thread Jeremy Aker

You can find the Direct Media Xtra at
http://xtras.tabuleiro.com/products/direct/index.tdb

IMHO - The best way to play MPEG on Windows. This Xtra is rock solid!
You CAN use QuickTime to playback MPEG on Mac OS, but not Windows.

-- 
Jeremy Aker
5010 Sweetbriar Drive
Raleigh, NC 27609
home: (919) 789-0871
mobile: (919) 539-5157
mailto:[EMAIL PROTECTED]
http://home.nc.rr.com/daker/
[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 Lingo.  Thanks!]



Re: Re: Lingo-l digest, Vol 1 #556 - 15 msgs

2002-11-17 Thread Jeremy Aker
> They need to be loaded...

I always do better when I'm loaded

[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 Lingo.  Thanks!]



Re: QT xtras in Shockwave

2003-01-21 Thread Jeremy Aker
Hi Alan,

The videos play from my computer (400MHz G4 Mac, Mac OS 10.2, QT 6.1, 
cable modem, Internet Explorer 5.2.2 and Safari beta 1.0 (v51)). No 
audio though. Either the video doesn't have any or you need to set the 
SoundDevice = "QT3Mix".

You did the right thing by setting the QuickTime Asset Xtra 
(QT3Asset.x32) to download if needed. The QT Asset Xtra is not 
installed by default, therefore you have to tell the Shockwave movie to 
download the Xtra to the user's computer by checking "Download if 
needed" option.

You should also be checking to see if QT is installed (and the version 
is recent enough) on the user's computer by using the quickTimePresent 
and/or quickTimeVersion() - both of which are supported through 
Shockwave.

I'm guessing the the reason why the QT movies aren't playing for you is 
the slow speed of your 56k dial-up connection. I image that if you wait 
long enough the movies will eventually play.

If your project designed to be viewed by users having a dial-up 
connection you need to compress the heck out of your QT movies. I doubt 
you'll be able to get enough compression while retaining satisfactory 
quality. If your project is designed to be viewed by people with a fast 
connection then I wouldn't worry about it not working through dial-up - 
it's not a valid test.

Hope that helps.
Jeremy Aker

On Tuesday, January 21, 2003, at 11:14  PM, Alan Neilsen wrote:

Hi list

I am building some video editing simulations in Shockwave for delivery 
over the Web. To have a look, go to 
http://cowan.ls.deakin.edu.au/Media_Arts_Sims/index.htm and select one 
of the simulation from the menu. These work fine when I access them 
from a network computer, but when I tried to test the download time 
over a 56k modem at home, the Quicktime movies do not work and I get 
an error message -

"Director Player Error
The Application requires an Xtra (QuickTime) that either does not 
exist or failed to initialise properly. Please make sure the 
appropriate Xtras are in the Xtras folder(s)."

Can any body tell me what xtra this is referring to. I made sure each 
movie's xtras in Director included QuickTime Agent.x32 and 
QT3Asset.x32. But still got this error message. I then made sure 
"Download if needed" was selected for QT3Asste.x32, which seems to 
have stopped this error message appearing, but the QT movies still do 
not play.

According to http://www.accessity.net/xtralist/Macr%20Xtras.htm, the 
QT3Asset.x32 xtra -
"Enables Shockwave Player or projectors to play QuickTime cast members 
and provides the "QT3Mix" soundDevice."   -  but this does not happen.

Please help
Alan

[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 Lingo.  Thanks!]



Flash in Director

2003-11-07 Thread Jeremy Aker
Hello LINGO-Lers,

I've got a Flash movie playing inside Director MX. The Flash movie has 
dynamic text in it so that I can change the text by setting the 
variable of the Flash movie's Director sprite. All work well, except 
when the Flash movie is on the stage it traps ALL key strokes and my on 
keyDown script in Director no longer gets called. Anyone know a way 
around this?

Jeremy Aker

[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 Lingo.  Thanks!]


Re: Mpeg advance on the fly - register?

2003-11-10 Thread Jeremy Aker
Yes, you can use the command register(member x, registrationnumber) 
although I have not tested to see if this lingo command work in 
Projector mode.

-Jeremy Aker

On Monday, November 10, 2003, at 09:52  AM, grimmwerks wrote:

I'm creating new mpeg advance members on the fly, and it seems the
registration for the members is only added during authoring -- is 
there a
way to register the xtra via lingo?

[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


scriptList vs. scriptInstanceList

2003-11-10 Thread Jeremy Aker
What is the difference between sprite(x).scriptList and 
sprite(x).scriptInstanceList?

-Jeremy Aker 

[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 Lingo.  Thanks!]


Re: scriptList vs. scriptInstanceList

2003-11-11 Thread Jeremy Aker
Thanks Irv,

When using sprite(whichSprite).setScriptList(scriptList) to assign 
scripts to sprites, then using sprite(whichSprite).setScriptList([]) to 
remove the scripts does not seem to also clear the properties. When I 
use sprite(whichSprite).setScriptList(scriptList) to assign a script to 
the same sprite again it retains the original properties, not the new 
ones set with setScriptList. I believe I saw a previous post from Kerry 
mentioning this problem.

So, I'm switch to using add(sprite(whichSprite).scriptInstanceList, 
new(script "whichScriptMember", param1, param2,...)) passing values 
that I need as properties as parameters through the new() command.

What is the proper method for removing objects from a sprite's 
scriptInstanceList?
I've been using a script such as the following with good results:

  repeat with i = 1 to sprite(mySprite).scriptInstanceList.count
sprite(mySprite).scriptInstanceList[i] = VOID
  end repeat
  sprite(mySprite).scriptInstanceList = []
—Jeremy Aker

On Monday, November 10, 2003, at 05:14  PM, Irv Kalb wrote:

The scriptlist tells you what scripts are attached to a sprite, AND 
the value of the parameters that have been set in each 
GetPropertyDescriptList dialog box.  This is available at author time. 
 The scripts are listed as:  member x of castlib y.  The properties 
are reported as a property list [#myProp1: 1, #myProp2: "somevalue", 
...]

The scriptInstanceList is a runtime thing that tells you a list of 
what instances of behaviors scripts are attached to a script.   This 
list of behavior object references can be manipulated at run time 
(i.e., instantiate a new behavior and add it to the scriptInstanceList 
of sprite at runtime - or remove an instance of  a behavior at 
runtime).  There is no information available here about initial 
property settings.

Irv

At 4:46 PM -0500 11/10/03, Jeremy Aker wrote:
What is the difference between sprite(x).scriptList and 
sprite(x).scriptInstanceList?

-Jeremy Aker
[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 Lingo.  Thanks!]


--

Multimedia Wrangler.
[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: Passing prop lists between Director and flash.

2003-12-02 Thread Jeremy Aker
Check out the getVariable and setVariable Director commands. They allow 
you to get and set variables in a Flash sprite. Assuming your list is a 
Flash variable you can get and set it from Director.

sprite(whichFlashSprite).getVariable(variableName, stringOrReference)
sprite(whichFlashSprite).setVariable(variableName, newValue)
Jeremy Aker
Under the Hood
http://www.uthd.com/
mailto: [EMAIL PROTECTED]
On Dec 2, 2003, at 3:33 PM, Mendelsohn, Michael wrote:

Hi all...

Hope everyone is having an incredible day.

How exactly do I pass a property list back and forth between Director
and Flash?  I'm kind of stumped on this.
For example:

An array similar in format to this:
t = [#pGarbage:[#singer:"Shirley", #drummer:"Butch"]]
...needs to get into a Director global from either the Flash asset or
read in via FileIO.  If it's read in, I need to send this prop list to
the Flash asset.
Perhaps the flash object is something like:
t = new Object();
t["pGarbage"] = new Object();
t["pGarbage"]["singer"] = "Shirley";
t["pGarbage"]["drummer"] = "Butch";
It doesn't seem like the newObject() method works in this way (only
linear lists?).  Also, the number of properties is itself variable.
There might be 10 props in a prop list assigned to pGarbage, so how to
handle that?
I was thinking of changing the array to a string, but that doesn't seem
to make sense.  And, if anyone knows, how do you loop through all the
properties of a flash object?  In Lingo, it's obviously repeat with i =
1 to proplist.count.  But, what is it in actionscript?
thanks,
Michael M.
[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: bulleted lists in text members

2003-12-09 Thread Jeremy Aker
In Mac OS it is Option + 8

On Dec 9, 2003, at 12:16 PM, Slava Paperno wrote:

I know this line of lingo will create a bulleted list in the text 
member:

member(1).html = "" & "onetwo" & 
""

But does someone know how to *type* a bulleted list in Dir MX's text 
editor?

Thanks,

Slava
[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: stereo sound applescript ?

2003-12-16 Thread Jeremy Aker
If you can live without it being QT and can bring it in as a sound, 
then you can use the lingo command sound(whichChannel).pan
Or how about using two QT members and switching them out?

On Dec 16, 2003, at 11:59 AM, jean-louis valero wrote:

hello list
I need, on mac OS X and 9, to hear  only the right or the left portion 
of a stereo sound in a quicktime member.
As it seems impossible to do that with lingo, may be something exists 
which can set the panning into OS sound system.
An applescript ? But I have not the syntax.
If I had, it would be simple to launch the script with budapi.
Who could help me ?
Thank you very much...
jean-louis valero
[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 Lingo.  Thanks!]


Re: Classic Mac and xtras

2003-12-17 Thread Jeremy Aker
Are both the Classic and OS X versions of the Xtra named the same and 
in folders with the same name?

-Jeremy Aker

On Dec 17, 2003, at 2:25 AM, grimmwerks wrote:

I've been trying to build a classic projector from MX with the Budapi 
xtra
embedded; I've got the xtra in the classic mac xtras folder, but no 
matter
what, I keep getting a 'problem writing Budapi Xtra' alert

What the?

[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


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

2004-02-25 Thread Jeremy Aker
Welcome to Windows :)
There has always been some sort of inaccuracy with Windows interpreting 
the current time of digital video. What you need to do is check to see 
if the the current time is "close enough" to the end.

if myWmpSprite.currentPosition >= myWmpSprite.duration - 0.25 then
  -- movie done
end if
Jeremy Aker

On Feb 25, 2004, at 4:44 PM, Rodrigo Peres wrote:

Valentin,

Thank's for the tip, but look what I've got:

Put sprite(3).duration
-- 282.989
After play all the movie

Put sprite(3).currentPosition
-- 282.899
So the script never intercepts the end of the movie

on 2/24/04 11:14 PM, Valentin Schmidt at [EMAIL PROTECTED] wrote:

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
mpg movies. There's a way to check if the video is still playing or
already
done?? I've tried some methods from the activex window but almost of
then
return errors.
Thank's

Rodrigo

[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 Lingo.  Thanks!]
[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 Lingo.  Thanks!]

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--
[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 Lingo.  Thanks!]



[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 Lingo.  Thanks!]


Re: FileIO Xtra File Path Limit

2004-03-31 Thread Jeremy Aker
Nope, 126 is the limit. And it's been around for quite some time with  
apparently no plans to fix it.

You can use BuddyAPI (http://www.mods.com.au/budapi/) to get the short  
file name (DOS 8.3 format) and pass the short file name to the FileIO  
Xtra.
e.g.:  
baShortFileName("C:\Work\Current\Work\Spreadsheets\17-02-04\state- 
standards\ss-v005\New Folder\New Folder1\New Folder2\New  
Fo\bm-OK-Rev-v02.csv")
returns something like:  
("C:\Work\Current\Work\Spread~1s\17-02-04\state-~1\ss-v005\New Fo~1\New  
Fo~1\New Fo~1\New Fo\bm-OK-~1.csv"
Of course if the short file name is longer than 126 characters you're  
screwed.

-Jeremy Aker

On Mar 31, 2004, at 3:59 AM, Des Marron wrote:

Hi All,

Has anyone ever come accross a limit to the number of of  
characters in a
file path that can be used in the file IO Xtra to open a file?
The limit for the path seems to be 126 characters. After that the file  
can
be found.

For example:

This will find the file (The las folder is New Fo)
C:\Work\Current\Work\Spreadsheets\17-02-04\state-standards\ss-v005\New
Folder\New Folder1\New Folder2\New Fo\bm-OK-Rev-v02.csv
This will not (The las folder is New Fol)
C:\Work\Current\Work\Spreadsheets\17-02-04\state-standards\ss-v005\New
Folder\New Folder1\New Folder2\New Fol\bm-OK-Re-v02.csv


I would like to keep using the FileIO xtra so is there an update or a  
work
around using the FileIO xtra?
Thanks All,

Des.

[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: Framing text

2004-04-01 Thread Jeremy Aker
There is for a field member, check out the "Field" tab in the property 
inspector when you have a field member open or selected. You can not do 
this for a text member, you'll have to use a shape or bitmap to 
simulate a border.

-Jeremy Aker

On Apr 1, 2004, at 3:22 PM, Kerry Thompson wrote:

Is there a property of a text field that I can set to have a 1-pixel
frame drawn around it? Or should I just do it with a shape?
Cordially,

Kerry Thompson

[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: Dot syntax for 'delete the last char of...'

2004-05-26 Thread Jeremy Aker
try: delete myString.char[myString.length]
Jeremy Aker
http://www.uthd.com/
mailto:[EMAIL PROTECTED]
On May 26, 2004, at 1:59 PM, Tom Jacobs wrote:
Is there a way of expressing "delete the last char of myString" using  
dot syntax?

Thanks,
Tom
--  
~~
Tom Jacobs-InterVision
--- 

(541) 343-7993   http://www.intervisionmedia.com
~~
[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: Open a specific page within a pdf

2004-06-16 Thread Jeremy Aker
I believe you can do it with the PDF Xtra 
(http://www.integrationnewmedia.com/products/pdfdirector/)

Jeremy Aker
mailto:[EMAIL PROTECTED]
On Jun 16, 2004, at 9:02 AM, Tim Welford wrote:
I had this problem too,
The only way I could find was to open the pdf with buddyapi
wait for the ok that it opened properly (maybe add a short delay for 
slower machines)
Then use baSendKeys to send key presses to the pdf.

as I remember, Ctrl+N to open the page number dialog, then the entry 
box is already selected, so send the page number you want to go to, 
then send the enter key as a 3rd command.  Its a bit messy I know, but 
the only time we have trouble is if we don't leave a big enough delay 
for the pdf viewer \ application to open.

hope you can do something with it, I'll be watching closely to see if 
a better solution presents itself

Tim
-Original Message-
From: Daniel Nelson [mailto:[EMAIL PROTECTED]
Sent: 16 June 2004 13:48
To: [EMAIL PROTECTED]
Subject: Re:  Open a specific page within a pdf
There's always Impressario.
-Daniel
Is there any way of opening a particular page in a pdf, not just
baOpenFile("pdf file", "Normal") but more like baOpenFile("pdf file",
"page 500", "Normal")?  Can this somehow be done with a [Windows] 
shell
command?


This message was sent using IMP, the Internet Messaging Program.
[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: Text question

2004-06-28 Thread Jeremy Aker
Yes, but it usually results in quite a performance hit.
-Jeremy Aker
On Jun 28, 2004, at 1:16 PM, Matt Wells wrote:
In a editable text member, can you edit the format on a word or words
while the movie is playing? So, in the statement (Hello, World) 
changing
the word Hello to a different color and font size. 
[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 Lingo.  Thanks!]


Re: All those DLLs

2004-07-15 Thread Jeremy Aker
The DLL files mentioned are for creating a "Fast Start Projector" (see  
http://www.macromedia.com/support/director/ts/documents/d8_fast- 
start_stub_proj.htm or search TechNote #14431) in which the DLL's are  
included as external files instead of being packaged into the  
projector. As I recall, this goes back to D5 or D6, but wasn't  
documented by MACR until D7.

Jeremy Aker
On Jul 15, 2004, at 11:12 AM, Stephen Ingrum wrote:
ummm what dll files? I've never included those dll's with any  
project before- is this a MX 2004 thing?

   Thank you,
   Stephen Ingrum
   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
   www.LeagueofDesign.com <http://www.leagueofdesign.com>
[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 Lingo.  Thanks!]


Re: Hyperlinks in LDM and stage bleed through

2004-07-26 Thread Jeremy Aker
I think what you want to do is change the cursor not change the cursor 
of the sprite.

-- Set to pointer
cursor = 0
-- Set to finger cursor
cursor = 280
-Jeremy
On Jul 26, 2004, at 11:28 AM, Baker, Geoff wrote:
Situation:
Text member on stage with a hyperlink which opens an LDM with a 
hyperlink
text member.

Once the LDM is overtop of the stage text member, the stage's hyperlink
bleed's through the LDM (shows the hand cursor)AND the LDM hyperlink 
fails
to show the bloody cursor.

The relevant code:
on mouseWithin me
-- find if word pointed to is part of a link
-- get word number
tWord = pSprite.pointToWord(the mouseLoc)
-- Kick out if invalid number
if tWord < 1 then exit
-- get hyperlink
tLink = pSprite.member.word[ tWord ].hyperlink
-- Kick out if not a link
if tLink = "" then
  -- Set to pointer
  if pSprite.cursor <> 0 then
pSprite.cursor = 0
  end if
  exit
end if
-- Set to finger cursor
if pSprite.cursor <> 280 then
  pSprite.cursor = 280
end if
end
My goal is to have both text members play nice and show the finger 
cursor
when over a valid hyperlink and not get confused as to which hyperlink 
has
focus. Note that the actual hyperlinks work just fine. It's the 
cursor's
that are not behaving.

In the LDM I've tried putting a dontpassevent in the background 
graphic for
mouseEnter, leave, within etc.

Does anyone have the mojo workaround in order to make hyperlinks work 
in
LDM's?

___
Geoffrey S. Baker
Programmer
Accelera
300 E. Lombard Street
Baltimore, MD 21202
__
[EMAIL PROTECTED] 
tel:  443-451-3800
fax: 443-451-3810
CONFIDENTIALITY NOTICE: The information contained in this email message
(including any attachments) may be confidential, proprietary, 
copyrighted
and/or legally privileged, and is intended only for the named 
addressee(s).
If you are not the intended recipient, or the person responsible for
delivering email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, 
forwarding,
printing or copying of this email is strictly prohibited.   If you have
received this communication in error, please immediately notify the 
sender
and delete the original message in its entirety.
[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


File Properties

2004-08-03 Thread Jeremy Aker
Does anyone know of a way to read file's properties, such as a file's 
title, subject, and author?

Jeremy Aker
mailto:[EMAIL PROTECTED]
[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 Lingo.  Thanks!]


Re: File Properties

2004-08-03 Thread Jeremy Aker
Specifically Microsoft Word and Adobe Acrobat files on Windows.
Jeremy Aker
mailto:[EMAIL PROTECTED]
On Aug 3, 2004, at 11:32 AM, Chuck Neal wrote:
What kind of file? :)  You can get things like "read only" and other
attributes using Buddy API. If you mean documents like RTF or word, you
would need to parse the file or use an Xtra like VB Script Xtra to 
open the
doc and request that info from the application.

-Chuck
--
Chuck Neal
CEO, MediaMacros, Inc.
[EMAIL PROTECTED]
http://www.mediamacros.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Aker
Sent: Tuesday, August 03, 2004 10:54 AM
To: Lingo-L
Subject:  File Properties
Does anyone know of a way to read file's properties, such as a file's
title, subject, and author?
Jeremy Aker
mailto:[EMAIL PROTECTED]
[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 Lingo.  Thanks!]


[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Re: Detecting Media Player Version with Lingo

2004-08-26 Thread Jeremy Aker
Uh.. according to Director TechNote #19172, it's 
_system.environmentPropList.directXversion

-Jeremy Aker
On Aug 26, 2004, at 1:34 PM, Tom Richardson wrote:
Hello,
Does anybody know how we can detect what version of Media Player a
computer has installed?
Buddy API doesn't seem to do this?
I'm need to play WMV files in director and need to be as compatible as
possible with win98.
It would be great to be-able to test the OS for media player 7.0 or
higher before playing the file.
Any help would be appreciated
Thank you
Tom
http://www.datausa.com/
[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]


Opening Word

2004-09-29 Thread Jeremy Aker
Hello LINGO-Lers,
Anyone know if it is possible to open a Microsoft Word document to a 
specific line, anchor, or page via LINGO? I'm concerned mostly with 
doing this on the Windows platform.

-Jeremy Aker
[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 Lingo.  Thanks!]


Re: Flash Bitmap Problem

2004-10-01 Thread Jeremy Aker
When I see a jerk, I usually try one of the following: turn off the 
Presidential Debate, Leave the boss' office, or stop talking to my ex.

Seriously, can you provide more detail. What version of Director? What 
Flash file export version? Can you describe this "jerk" in more detail?

-Jeremy Aker
On Oct 1, 2004, at 9:10 AM, Anand Ravi wrote:
Hi List,
I've embedded some jpgs in a Flash movie and am importing the Flash 
file
into Director. When this happens, there is a jerk that is visible only 
in
Director. I remember reading about this problem and a fix was posted 
for
this. Am however, unable to locate the relevant info.

I was wondering if someone on this list can point me in the right 
direction.

Thanks and Regards,
Anand Ravi

[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 Lingo.  Thanks!]

[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 Lingo.  Thanks!]