Re: OOP and ancestor access

2001-08-18 Thread Rob Romanek
Brennan Young wrote: > "Al Hospers" <[EMAIL PROTECTED]> wrote > > > so a slider function should only be passing the current slider knob > > location as a % of the slide. thus it could be used for anything that > > would use a slider, not just QT! OK, that's good. > > Perhaps not even a percentage

Re: OOP and ancestor access

2001-08-17 Thread Rob Romanek
Al Hospers wrote: > 3 - make it accessible via an accessor method > thus we are left with item #3 which alllows the object to control the > format of the data being accessed and while not perfect, is certainly > the lesser of 3 "evils." > what do you think? I'm jumping into this discussion a b

Re: Problem with floaint points

2001-07-23 Thread Rob Romanek
Hey Jason, go to the archives and read this earlier message at: [EMAIL PROTECTED]/msg10744.html that should answer your question. later, Rob Jason Whiting wrote: > Reading about how Director handles floating point calculations it seems like > the issues are only when displaying numbers not

Re: Looking for alternative sprite addressing schemes (also, my first post)

2001-07-17 Thread Rob Romanek
Hi Michelle, I also use a scheme for addressing sprites by name instead of channel number. I wrote an article on it for DOUG and you can find it at: http://www.director-online.com/accessArticle.cfm?id=843 Briefly, instead of using sendallsprite I drop a behavior on each sprite that I want to

Re: mouseEnter in an external movie

2001-07-11 Thread Rob Romanek
Hi Nicolas, Are you talking about linked director movies? It sounds like it. If so checkout an article I've written, it discusses this problem and others http://www.director-online.com/accessArticle.cfm?id=439 HTH, Rob "Nicolas S.-Roy" wrote: > Is there a way to successfully use mouseEnter

Re: Math problem

2001-06-12 Thread Rob Romanek
Rodrigo Peres wrote: > > I think the problem is getting bigger :-( > > look this > > put 30*(1+(50/100)) > -- 0 > > How can I make director calculates 50/100 for example??? > I'm not sure how you get 0 from your put expression. It should give you 30 The problems you are having are confusing

Re: Comunicating with linked dir's

2001-05-30 Thread Rob Romanek
I wrote an introductory article on the subject a while back.. still working on the next one :-) Check it out at: http://www.director-online.com/accessArticle.cfm?id=439 There are a lot of issues with LDMs but they are a lot of fun! Good luck, Rob Stevon Ritchie wrote: > Hi all, > > A student

Re: Using a variable as a string

2001-05-16 Thread Rob Romanek
Check out Zac's article at director-online. All about using the value command to evaluate strings. http://www.director-online.com/accessArticle.cfm?id=884 HTH, Rob Gene Fritzinger wrote: > Could someone possibly suggest a method for using a variable as a string in a >command. The problem i

Re: text lists from database

2001-05-04 Thread Rob Romanek
Kerry Thompson wrote: > > I see--you're replacing the text each time through the loop, rather than > adding to it. Assuming "display" is a text member, try this: > > repeat with 1 to mainlist.sub1.teams.count > team=getaprop(mainlist.sub1.teams, mainlist.sub1.teams.getpropAt(i)) > put t

Re: Lingo equivalent to eval()

2001-01-06 Thread Rob Romanek
Slava Paperno wrote: > I'm looking for a Lingo equivalent to the eval() or evaluate() function > that exists in some other languages. It returns a pointer to the variable > whose name is passed to it as a parameter. > Check out http://www.director-online.com/accessArticle.cfm?id=884 for a detail

Re: Please help - time computation based on frame

2000-11-07 Thread Rob Romanek
off the top of my head this might work, instead of using a fixed frame rate this works out the rate on the fly, so if you movie isn't running at exactly 10fps you will get a true time remaining track elapsed time by noting the time your sequence started and subtracting that from the current time t

Re: Odp: Stop linked movie, in shockwave

2000-10-29 Thread Rob Romanek
Jake Sapirstein wrote: > > If you want to simply pause and resume playback... > > to pause linked movie: > > tell sprite 1 to pause First off, pinch me I must be dreaming, someone from Macromedia actually acknowledging the use of "tell sprite" in a public forum :-) This method is sure a lot sim

Re: Odp: Stop linked movie, in shockwave

2000-10-29 Thread Rob Romanek
Okay this answer goes out to those polish guys working with director. (My mother was born in Poland and while I managed to decifer what you have written I won't dare to try to write back because I'm sure I wouldn't get any of it right :-) I haven't actually tried doing what you are asking but her

Re: Ancestor script MouseEvents

2000-10-23 Thread Rob Romanek
> > >And, there are actually two different 'sets' of mouse events. > >MouseUp, MouseDown, and MouseUpOutside seem to be independent of > >MouseEnter, MouseLeave, MouseWithin. > > > > > >roymeo I'll add confirmation to the 2 different mouse event 'sets'. In all my LDM work mouseUp/Down work just f

Re: MouseWord Equivalent

2000-10-17 Thread Rob Romanek
Hey Irv, off the top of my head I believe you need pointToWord(sprite spriteNumber, whichPoint) this gives you the number of the word in the text of the sprite you then have to get the word from the text member by using textMember.word[whichWord] HTH, Rob > Today, I just want to find out wha

Re: Commands not working

2000-10-13 Thread Rob Romanek
Colin Holgate wrote: > The movies are D7 movies, and I've only used LDMs in D7. I just tried > the movies in D8, and sure enough it fails (even on my Mac). I did > try the movies with D7 under SoftWindows 95, and it worked ok. So, it > looks like a D8 bug. Kinda makes me happy that we're shippi

Re: Commands not working

2000-10-13 Thread Rob Romanek
Kerry Thompson wrote: > However, I haven't found any problems on either platform yet > (*yet*) with setPlayList and LDMs. So I would guess it's more likely the > handling of the sound channel. > > >Actually here's a thought, do you have the sound file residing in the main > >movie as well as th

Re: Commands not working

2000-10-13 Thread Rob Romanek
Hey Colin, All I hear is the faster tone of m1 no m2 sound at all, neither in the browser or in D8. If I go into m2 and move the sound to member 3 and have channel one pointing to member 3 and also have a copy of the sound in member 3 of m1 then it will play alright. m2's sound channels are talk

Re: Commands not working

2000-10-13 Thread Rob Romanek
Okay I put the sound file in the main movie and everything works. Once again shows that certain elements of LDMs are not unique but need to talk to the stage. The sound channels and the sound object actually reference the stage and not the LDM, much like the problems seen in mouseEnter/Leave. th

Re: Commands not working

2000-10-13 Thread Rob Romanek
Kerry Thompson wrote: > >I just put a quick movie together, a sound file in channel one, plays fine > >in the > >LDM as standalone but once it becomes linked... no sound. > > Hmmm... are you sure the linked movie & sound are loaded? You might try > looping on the mediaReady of your sound member

Re: Commands not working

2000-10-13 Thread Rob Romanek
Colin Holgate wrote: > I have the sound in a sound channel of the LDM, and I don't script > anything, it just works. Kerry Thompson wrote: > > Personally, I use neither. I like the new sound objects, and use > setPlayList(). I haven't had any problems with setPlayList in LDMS, but I > haven't

Re: Commands not working

2000-10-13 Thread Rob Romanek
Colin Holgate wrote: > > > >Tempos, transitions, sound all have to occur at the level of the stage. > > Sounds in the score of the LDM will play ok. How are you playing the sounds? Are you using puppet sound? In my experience sounds in the sound channels do not work. I use puppet sound in LDMS

Re: Commands not working

2000-10-13 Thread Rob Romanek
Colby Dodson wrote: > I have a linked movie playing inside another. All my mouseDown and > mouseEnter commands are working but I am using wait commands in the tempo > channel and I am also you markers to tell the playback head where to go. > The trick with LDMs is figuring out what can happen in