er - what is the error exactly? invalid parameter? w/ flash sprites, i just set flash variables (using the setVariable() method) and let actionscript do the rest of the work (not using tellTarget,gotoFrame, and endTellTarget). I'm assuming you're expecting tellTarget,gotoFrame,and endTellTarget to command the internal flash time line? afaik (and that's a big afaik), that's not what those methods are there for - they control miaw's and ldm's. go figure if it works for you though.
if i were you, i'd try to just use the message window and try the methods you're using straight out (tellTarget,etc,) w/ nothing else going on in the stage - isolate the problem as much as possible. if it works through the message window, then the methods you're using are correct and something's wrong w/ variables (you seemed to have ruled that out) or the order of execution. -evan g r i m m w e r k s wrote: > Ok, I'm using some flash 5 members in an 8.5 project. Basically this flash > sprite is being used as scrollbars, turning them off/on based on the amount > of text to display. Nothing fabulous or anything, simple. It does this by > flipping different scrollbar movieclips on and off. It gets it's directions > to flip these from a sprite one channel higher, a text sprite. > > Both sprites set themselves on beginsprite as to the channel, etc > > on beginsprite me > pBox =sprite(me.spritenum) > end > > And that's fine, nothing more there. Besides the first sprite is set before > the higher one is... > > Now in one case I get a function error, and that's when we jump to this > frame with a bunch of text in memory to display. On the flash sprite I've > got: > > on setScrollButtons me, whichBut, whichWay > put whichBut && whichWay && pBox && pBox.member.type && ilk(whichBut) > pBox.tellTarget(whichBut) > pBox.gotoFrame(whichWay) > pBox.endTellTarget() > end scrollButtons me > > > and the text member does > beginsprite > finds the text to display. > sets its text > then tells the flash sprite to flip the movieclips by doing sendsprite. > > > When it does the setScrollButtons call I'm getting a function error, yet in > the moviewindow/debugger: > > > --"scrollUpMc off (sprite 10) flash string" > > > pBox is sprite 10 (correct) > pBox.member.type = #flash (correct) > "scrollUpMC" = movieclip to tell target (correct) > "off" = frame to go to (correct). > > It's almost as if the flash movie (INTERNAL by the way), although set as a > sprite's member, seen as flash, etc, isn't seeing it's own movieclips / > ability to tell target at the very beginning of it's existence? > > [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!] > > -- ............................................................................................................... m u t a n t m e d i a > solutions for success Evan Adelman | 917.916.7378 | 598 Broadway NY NY 10012 [EMAIL PROTECTED] | www.mutantmedia.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!]
