lingo-l New Comer : Introduction first posting

2004-04-08 Thread Viktor Iwan
Hello People in lingo-l,
My name is Viktor and i'm new in lingo scripting, last time i'm using
director was 2 years ago (in Director 8).. but now i would like to know much
deeper about director. Within this 2 years i learn a lot about web and i do
learn a lot about Flash MX Actionscript.. so no wonder when i want to get
used with Lingo again..my mind is framed with a lot of Flash Method which is
unable (or i still don't know) on how to implement my idea.

Ok, right now i have an idea(which also a problem for now). I want to create
an engine(back office) based on php-mysql to supply data for all
Multimedia-CD that we're going to produce.

The method was.. all the data need are process via php-mysql... than all the
data required for Multimedia CD is made by generating static XML file. Then
XML file wil parsed on event prepareMovie.

There are problem with this method:
i already parsed the XML with parseString() method. for example , the main
navigation. by XML, i create the list data required for the button. but the
problem are:

1. How the method i have to learn to generate the buttons on-the fly ? When
i do it manually, I create a button..then  i put some instances on different
chanels in Sprite.. buat when i try to change the text for the button :
sprite(1).member(thebutton).text , all the instance suddenly change ...
how to create a copy of a member in a cast with different name then put the
instance on the movie  ?   (it's like an equall of
attachedMovieClip/duplicateMovieClip in Action Script)

2. Do you have any better idea to create a system like point no.1 ? or you
think FlashMX-DirectorMX Integration will do the job easier ?


Thanks for any input !
Viktor Iwan Kristanda
Doxadigital


[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: lingo-l New Comer : Introduction first posting

2004-04-08 Thread Daniel Nelson
deeper about director. Within this 2 years i learn a lot about web and 
i do
learn a lot about Flash MX Actionscript.. so no wonder when i want to 
get
used with Lingo again..my mind is framed with a lot of Flash Method 
which is
unable (or i still don't know) on how to implement my idea.
Hi Viktor,

If you have spent a lot of time recently on Actionscript, you might 
find the new JavaScript syntax in Director MX 2004 to be more to your 
liking.
1. How the method i have to learn to generate the buttons on-the fly ? 
When
i do it manually, I create a button..then  i put some instances on 
different
chanels in Sprite.. buat when i try to change the text for the button :
sprite(1).member(thebutton).text , all the instance suddenly change 
...
how to create a copy of a member in a cast with different name then 
put the
instance on the movie  ?   (it's like an equall of
attachedMovieClip/duplicateMovieClip in Action Script
Did you try sprite(1).text =?

2. Do you have any better idea to create a system like point no.1 ? or 
you
think FlashMX-DirectorMX Integration will do the job easier ?
Depends on your goals.  For system standard buttons, OSControl Xtra 
buttons are a snap.  Using the behavior that comes with OSControls, you 
can set the text of individual sprite instances of the same member. 
http://xtras.openspark.com/index.php?page=OSC_home

For custom bitmap, vector shape, or text member buttons, I use my own 
custom button code; in those cases, changing the member affects all 
instances of the same button, so I would create as many as I need and 
work with them, just to keep it simple.  You can use the new member 
command, but I try to avoid that when possible because the 
documentation recommends against deleting members during run-time 
(although, with a global, dynamic member object, they can be cleared 
and recycled, so it is workable).

Regards,

Daniel

[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: lingo-l unable to load movie playlist (on Mac OS X)

2004-04-08 Thread Ken Hubbell
We had a case recently, that if an individual folder name is longer than 27
chars (or something close) that this would cause problems on the Mac as
well.
Ken

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Slava Paperno
Sent: Thursday, April 08, 2004 12:04 AM
To: [EMAIL PROTECTED]
Subject: lingo-l unable to load movie playlist (on Mac OS X)


Thanks for writing, Ken, but the cause must lie elsewhere. I found numerous
posts about this error being caused by long paths on Windows, and none on
the Mac. Besides, on my Mac, all paths are below 60 chars long, let alone
126.

Gratefully,

Slava

At 12:51 AM 4/8/04 -0400, you wrote:
The file causing the error is nested too deep in a file path.  If the path
to your executable is more than 127 characters (on the PC, not sure the
full
count on the MAC) the error you are experiencing will occur.  This path
INCLUDES the name of the executable.  I filed this bug several months ago
with Macromedia (before they shipped the MX2004) but apparently it has not
been fixed.

Ken

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Slava Paperno
Sent: Wednesday, April 07, 2004 10:38 PM
To: [EMAIL PROTECTED]
Subject: lingo-l unable to load movie playlist (on Mac OS X)


This is on a OS X machine.  A Director MX (9.0) stub projector displays
this error message when I attempt to start it, and quits:

Unable to load the movie playlist. Does the INI file exist? It must contain
a section [Movies] with an entry 'Movie01=pathname.dir'

I confess that even though an INI file named the same as the projector
exists in the same folder, it does not contain section [Movies], but I tend
to think that the problem is elsewhere. I found a technote about this very
error message at the MM site, but that note is about Windows and a long
path, which is not the case here.

The reason I think the message is frivolous is that I have two identical
partitions on this Mac, with identical contents. The same projector runs
fine in one of them, but aborts with this error message in the other. The
only difference between the two is that this stub projector was created in
the partition where it runs successfully.

The projector was made as described in the technote on fast-start
projectors, last updated in 2004. The four library files are in the Xtras
folder. There's 90 MB of free space on the partition. The projector is in
the root folder of the partition.

What am I doing wrong? What else should I check?

Gratefully,

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: lingo-l unable to load movie playlist (on Mac OS X)

2004-04-08 Thread Rob Wingate
Search the Lingo-L and Direct-L archives on this one. The problem has been
around since D7. But there are some recent postings on it, at least one of
which was mine. It happens on Windows too.

http://www.mail-archive.com/[EMAIL PROTECTED]/
http://www.mcli.dist.maricopa.edu/director/digest/index.html

HTH
Rob

[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!]


lingo-l Problems making Mac Classic projectors from OSX

2004-04-08 Thread Charlie Fiskeaux II
I've never been able to create Mac Classic projectors with third party Xtras
from OSX Dir MX, so whenever I've needed to, I've gone back to Dir 8.5 on a
Classic machine to make them. But I know other people must do it from OSX,
so it's very frustrating. This issue is a major roadblock to me upgrading to
MX2004, because it's not backwards compatible with 8.5 like MX is.

The Xtras I'm dealing with are Impressario and V12 DBE. The V12 DBE package
automatically comes with separate folders for the Carbon Xtra and PPC Xtra
(which one is for Classic? Carbon?), but the Impressario package doesn't.
There are two Impressario packages, one for OSX and one for Classic, so I
unzipped them both and put them both under the Xtras folder. I can create an
OSX projector with Xtras packaged into the projector, and it works fine, but
I can't for Classic. When trying to make the Classic projector, it adds
Macromedia's Xtras fine, but when it tries to add Impressario and V12 DBE,
it give me an error of -50 Can't write the file (paraphrase). I tried not
packaging the Xtras, and just placing the Xtras folder under the projector
(which is how I normally do things), but then more things break. With this
non-packaged Xtras method, the OSX projector loads all the Xtras except the
V12 DBE successfully, but the Classic projector can't load any of the Xtras,
even Macromedia's.

What's the secret here?

Charlie Fiskeaux II
Interactive Media Developer
Cre8tive Group
cre8tivegroup.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!]


lingo-l 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 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: lingo-l director-bug: contains() and offset() mix up chars

2004-04-08 Thread Colin Holgate
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
That is odd, but not as disturbing as the fact 
that you can't do option-u u (to get a ü) in 
Director now.

[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: lingo-l director-bug: contains() and offset() mix up chars

2004-04-08 Thread Daniel Nelson
Hi Valentin,

I reported something similar in DMX a few weeks before the DMX2004 
release.  It had to do with i and some higher range character.  
However, with that one, there was further weirdness in that 
aList.findPos(i) returned TRUE for a list with that higher range char 
as a property, but i = higher range char returned FALSE.  It was 
confirmed as a bug.

In this case, is it possible that these two characters (138 and 154) 
are lower and upper case versions of one another?

Regards,

Daniel

On Apr 8, 2004, at 7:56 PM, Valentin Schmidt wrote:

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)
[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: lingo-l New Comer : Introduction first posting

2004-04-08 Thread Viktor Iwan
Hello Daniel,
Thanks for your input !

 Hi Viktor,

 If you have spent a lot of time recently on Actionscript, you might
 find the new JavaScript syntax in Director MX 2004 to be more to your
 liking.

For me, the problem about JavaScript syntax is reference... there still few
reference on Internet from people using JavaScript Syntax.. if had to
'convert' everything i read about Director related material to JavaScript
Syntax it will consume time... also i had reference in my bookshelf
(Director 8 Demystified, SE using director 8) which still use the old
verbose syntax..and that's sometimes already made me confuse..

btw about lingo in DirectorMX and DirectorMX 2004 .. is there much different
? i spend time on Amazon.com but only find few reference about director
(only 1 or 2).

  (it's like an equall of
  attachedMovieClip/duplicateMovieClip in Action Script

 Did you try sprite(1).text =?

yes. it returned Property Not Found.. it still gives me error. Using Flash
mindset..there is a way to gives value on instance.. like
_root.mc_name.var_text.text =content ... is it possible to do it in
director ?


 For custom bitmap, vector shape, or text member buttons, I use my own
 custom button code; in those cases, changing the member affects all
 instances of the same button, so I would create as many as I need and
 work with them, just to keep it simple.

how about using OOP ? have you tried.. i'm still exploring OOP in DirectorMX



 Daniel


THanks for sharing, Danie

Regards,
Victor

[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!]


lingo-l Shape Projector

2004-04-08 Thread Viktor Iwan
Hello,
This is a quick question... in creating Projector (i'm using Windows), which
one is the best XTRA to create a shape-like projector (the one like Windows
Media Player 9 or When running WinOnCD).. i'm sure there's plenty.. but may
i know what yours and why ?

Thx.
Victor

[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: lingo-l 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, 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!]