Trace keyword/property
Thomas J McGrath III
3mcgrath at adelphia.net
Fri Dec 5 13:05:05 EST 2003
Jan,
Although send "openStack" to this stack worked I still don't know why
it won't work as in the script below.
I want to see the script run as the stack is opening and not after it
has opened by doing this. I am not getting a true representation of
what is really happening when the script opens.
I am afraid that I have OpenCard in the stack and in the card and
somehow they are overriding each other. I want to see this as it is
happening to be sure.
Any idea why setting a break point does not work the first two ways you
described???
Thanks
tom
On Dec 5, 2003, at 11:19 AM, Jan Schenkel wrote:
> --- Thomas J McGrath III <3mcgrath at adelphia.net>
> wrote:
>> Jan,
>>
>> I tried using the script editor to place a break
>> point in the
>> "preOpenStack" handler and nothing happens. In fact
>> anywhere in the
>> stack script did not work. Only at the card level
>> was I able to get a
>> break point.
>>
>> I tried method two of typing breakpoint and nothing
>> happens either.
>> here is my script:
>>
>> I want to see why the card 1 custom property
>> pBeenVisisted is still
>> true but the other cards pBeenVisited are false. I
>> want the user to
>> hear a voiceover only during the first visit of each
>> card in the stack
>> but when they go back to a card they would not have
>> to hear it again.
>> But if they quit the app and restart it then they
>> would hear the
>> voiceover again. I have a set the pBeenVisited of me
>> to True in a "on
>> closeCard". I would like to track this down but
>> can't get the debugger
>> to work in the openStack or preOpenStack handlers in
>> the main stack??
>>
>> I can't get the breakpoint to work here:
>>
>> on openStack
>> breakpoint
>> put the short name of this stack into
>> lmystackname
>> if lmystackname is "UnityCD" then
>> repeat with c = 1 to the number of cards in
>> stack "UnityCD"
>> set the pBeenVisited of card c of stack
>> "UnityCD" to False
>> end repeat
>> end if
>> end openStack
>>
>>
>> Thanks
>>
>> Tom
>>
>
> Hi Tom,
>
> Have you tried using the messge box to
> send "openStack" to this stack
> If it does respond to that, something else is grabbing
> the openSTack and not passing it to your stack.
>
> Hope this helped,
>
> Jan Schenkel.
>
> =====
> "As we grow older, we grow both wiser and more foolish at the same
> time." (La Rochefoucauld)
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
2.1.2
Advanced Media Group
Thomas J McGrath III • 2003 • 3mcgrath at adelphia.net
220 Drake Road, Bethel Park, PA 15102
More information about the use-livecode
mailing list