RE: OOP and ancestor access

2001-08-17 Thread Ken Prat
> 1 - directly manipulate the data > > 2 - make the data public by making it a global variable > > 3 - make it accessible via an accessor method Maybe the problem is a conceptual one. The 'idea' of an accessor method ties you into the 'idea' that "here is my data -- do with it what you will". Pe

RE: External casts?????

2001-08-05 Thread Ken Prat
> Now it is a pain in the a*@ to open all the movies of a major project that > has say 40 or 50 movies all linking to those castlibs.. So the option > is to use Xtras -> Update Movies and -> Update which has a similar > effect as doing a save and compact on the files, you will still have > to clic

RE: physical path to "My Documents" folder for the logon user in Windows 2000

2001-08-01 Thread Ken Prat
If you have the Buddy API Xtra then the function baSysFolder("personal") should do it... > is there a way to find out the path to the "my documents" folder > for the current logon user? > [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.

RE: SaveMovie

2001-08-01 Thread Ken Prat
You can save a cast library using 'save castlib', though... it'll work with protected casts, but not shocked casts. > > Does anyone know how to save a protected movie or cast from > > lingo? I tried savemovie but it does not work. > that's because it doesn't work. [To remove yourself from thi

RE: message window question

2001-07-26 Thread Ken Prat
> I use it in 8.5 with no problem--at least on Windows. Haven't > tried the Mac yet. > > the debugPlaybackEnabled does need to be set to true for 8.5. My > projector is called "Get Set.exe" and I have a > "Get Set.ini" file with this line in it: > > MessageWindow=1 > > Then I put this in my prepar

RE: Life span of properties

2001-07-01 Thread Ken Prat
> Suppose we have a sprite that takes up frames 1 through 5. The > frame has a behavior attached to it. The behavior has some > properties. What happens to those properties once the > playback head reaches frame 6? > > Please mark the correct answer by circling the letter of one of the > following

RE: ?Passing command line parameters to projectors?

2001-06-28 Thread Ken Prat
See Pims OpenDocument Xtra... http://www.pimz.com/xtras/ > The Macintosh OS doesn't use command lines, so passing arguments to a > projector on startup is more difficult. > > Right now I'm looking for a solution to that problem myself; I'd be > interested in hearing how other people have done

RE: Language settings

2001-06-26 Thread Ken Prat
Have you tried using this? put the environment -- [#shockMachine: 0, #shockMachineVersion: "", #platform: "Windows,32", #runMode: "Author", #colorDepth: 16, #internetConnected: #online, #uiLanguage: "Japanese", #osLanguage: "Chinese", #productBuildVersion: "321", #productVersion: "8.5", #osVersio

RE: QuitMsg Xtra for Mac?

2001-06-18 Thread Ken Prat
I remember seeing a script where someone trapped a keyup outside the stage and hit tested the close box on Mac. But it might have been a dream > It bothers me no end that when I set exitLock to true (in order > to prevent > an accidental quitting when Esc is pressed) and provide a Quit > menu

RE: Saving user selections to disk- FileIO or baWriteIni

2001-06-15 Thread Ken Prat
> 1. If I want to make a Mac version, I can use similar code on > both platforms. The mac version of Buddy includes 'baWriteIni'.. > 2. It is easier to delete preferences files (or tell users to) if > the files are external rather than simply registry entries. Actually 'baWriteIni' writes old s

RE: Saving user selections to disk- FileIO or baWriteIni

2001-06-14 Thread Ken Prat
> > Last time I checked it > > seemed to have an upper limit on the size of any particular > > pref. (~256 characters) > > for some reason I seem to remember that may be a limit on INF/INI > files Yeah, a throwback to the old Windows SDK when everyone used ini files... [To remove yourself from

RE: Saving user selections to disk- FileIO or baWriteIni

2001-06-14 Thread Ken Prat
I've been using it for years. It works famously. Last time I checked it seemed to have an upper limit on the size of any particular pref. (~256 characters) > Hello List, > I'm working on an app that needs to save user selections to disk. > In the past, I have use FileIO to do this sort of thing,

RE: XML through TCP Socket

2001-06-12 Thread Ken Prat
Another gambit might be to exploit the XML Socket fucntionality of a Flash 5 Asset... -Original Message- Anyone know of any xtras or code that allows Director to communicate asynchronously through a TCP socket?I can't use the multiuser server so that's not an option. [To remove you

RE: Property Access error ??

2001-05-29 Thread Ken Prat
The 'getPropertyDescriptionList' handler is trying to draw a dialog that is bigger than your display. You will have to increase your display resolution or change the handler. > "an unexpected error has occurred. > Propery Access error: Argument out of range > excuse"Window exceeds monitor Boundar

RE: Crosspost: drag and drop?

2001-04-30 Thread Ken Prat
See Pim's OpenDocument Xtra (Mac) and the dropfile Xtra (Win). You can locate these from http://www.updatestage.com/products.html. > Hey all - is there a drag and drop solution for mac/pc projectors? I feel > like I can kludge something with buddy, but is there a specific xtra for > this? [To

RE: Marker deletion by lingo?

2001-04-16 Thread Ken Prat
Try this: repeat with i = 1 to the lastframe go i if the framelabel = "" then the framelabel = 0 end if end repeat > I need a script which finds those markers in my movie > that are marked in the score but have no name. I would then like to > have lingo delete them. Is this

RE: Printing html from director

2001-03-07 Thread Ken Prat
> ---BUT how does it work with tables in that html? It won't retain the > formatting, right? Yeah, this would be a pain. You would probably have to switch to a monospace font for tables and do some old time stdout-style formatting. [To remove yourself from this list, or to change to digest mode

RE: Printing html from director

2001-03-07 Thread Ken Prat
> #text members are printed as bitmaps by POM - but I have had > decent results. > > Problem comes if your #text member runs longer than a page since POM > can't break up the bitmap We did a job some time back where we ran a script that duplicated all of the #text as #field. POM prints #fields as

RE: Quicktime movie sound track stutters only on certain systems

2001-03-06 Thread Ken Prat
I am assuming you are having problems with Windows boxes. I think the prevailing wisdom here is to ask these users to use 'waveOut' for the sound out device, rather than the default 'DirectX' (Control Panels->QuickTime). > Hello List, > > We've begun limited distribution on a recent CD-ROM proje

RE: Simple ASP code for my page

2001-02-06 Thread Ken Prat
Try this: background="hr_site2/page_properties/bg1.gif" <% Elseif hour(now) >= 18 then %> background="hr_site2/page_properties/bg1.gif" <% else %> background="hr_site2/page_properties/bg1.gif" <% end if %> bgcolor="#FF"> (I assume you reali

RE: Killing de Kursor

2000-11-17 Thread Ken Prat
In addition to all these great suggestions, I have found that you can edit the cursor resources in dirapi.dll on Windows before you make a projector. I used this to get rid of the ugly finger cursor in 7.02. I used VC++ to open the DLL as resources. [To remove yourself from this list, or to c

RE: Shockwave in IE

2000-09-28 Thread Ken Prat
None of this will work on the Mac. Perhaps if you gave us a few more clues on what you are trying to do? > If you are just using JavaScript then IE won't capture the externalEvent. > You will need to write a VBScript routine to capture the externalEvent and > then call your JavaScript externalEve

RE: did you know this shortcut?

2000-09-18 Thread Ken Prat
It works for me. It will only find handlers in movie scripts or in the same script -- not scripts referencing behaviors or parent scripts... > Must be a mc thing - cos it doesn't happen on my PC - unless it is a > director 8 thing. [To remove yourself from this list, or to change to digest mode

RE: opening files by doubleclicking on a MAC

2000-09-17 Thread Ken Prat
Checkout Pim's OpenDocument Xtra at http://www.updatestage.com/products_table.html > My application makes files that can open the application by doubleclicking > on them. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post mess

RE: Find duplicates in a list

2000-09-08 Thread Ken Prat
Another variation on a theme... on removeDuplicates vlist sort vlist repeat with i = count(vlist) down to 2 if vlist[i] = vlist[i-1] then vlist.deleteAt(i) end repeat end [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cg

RE: cursor my cursor

2000-09-06 Thread Ken Prat
put the cursor of sprite 0 > is there a way for me to detect what the current cursor is...without > looking at the screen... [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Pro

RE: a more question--from leo

2000-08-30 Thread Ken Prat
> how can i list the properties , methods and evens of activeX in > director, like the result of show interface(xtra "...")? Double click the control icon in the cast. This will bring up a dialog with all of the properties and methods of the control. [To remove yourself from this list, or to ch