In any behavior that is attached to the sprite (or create a new one if there aren't any), if you just decleare the property "spriteNum", it will automatically be given the number of the channel where the sprite is located. For example, you could add a behavior like this:
property spriteNum
on beginSprite me put "My sprite number is:" && spriteNum end
And it will report the correct sprite number no matter what channel the Flash sprite (or any sprite) is in. You can then write code to use the variable "spriteNum" to do whatever you want.
Irv
At 5:12 PM +0100 11/11/03, Roland Blaettler wrote:
Hello all
Within Director I can have an object like <offspring "Video_loc" 2 c4bcd44> and I am able to get the spriteNum rather easy.
Now I have imported a few flash films and again the objects in the list has this format e.g <FlashObject e8b8840> e.g <FlashObject e8d6504>
Would anybody be able to tell me how I can extract all properties of this flash object within a loop? Or, how can I extract sprite numbers (in director) of these flash object?
Many thanks for any hints
Roland
[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!]
--
Multimedia Wrangler. [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!]