Bonjour André,

You think as an HyperCard man ;-)
Backgrounds act slightly differently with Revolution:
Regarding to coding, a background is placed, as it was with HC, between the card and the stack in the message path. But, as you know it, you can place multiples backgrounds (groups) on the same card.
So, regarding to objects relations, you can't say last cd of bg "frame2"
But only group "frame2" of last cd (or any card where this group is placed)

I assume you want to go to the last card where a group has been placed?
Here is a fast workaround:

  unmarl all cds
  mark cds where there is a grp "frame2"
  go last marked cd

But actually, I think you should probably revise your architecture to be more "Rev" compliant ;-)

Best Regards from Paris,
Eric Chatonet

Le 13 oct. 06 à 11:33, André.Bisseret a écrit :

Hello,
In a stack I have two groups behaving like backgrounds.
For one of them, if I script "go to last cd of bg "frame2" nothing happens.

In the message box if I ask :
there is bg "frame2"
--I get  "true"
If I ask :
there is last cd of bg "frame2"
--I get "false"
If I ask :
the number of cd of bg "frame2"
-- I get "0" ; In fact I have more than a hundred cd with this bg ?

(for the first bg all is OK)

I am lost ; please, could someone help me

Best regards from Grenoble
André

------------------------------------------------------------------------ ----------------------
http://www.sosmartsoftware.com/    [EMAIL PROTECTED]/


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to