Today I discovered that Flash CS3 JSFL reference doesn’t mention that grouped MovieClips and TextFields can be detected throught Flash Javascript API.
Documentation only says that there’s only shape.isGroup property; if true, the shape is a group.
The surprising thing is that not only shapes have the “isGroup” property but other Elements too.
For example, create TextField and group it; then create MovieClip and group it: you can easy make sure that it is possible to detect the isGroup property correctly for both of these objects!
But JSAPI documentation doesn’t say it, it only describes the isGroup property for shapes, not for any other type of stage Element.
So, you can use isGroup property for any Element JSFL object! This is very important when you doing enumeration of each elements in Documents using Flash JavaScript. Whoa!
Last Modified : August 9th, 2007 Filed under : JSAPI, JSFL, extensions, flash, flashcs3 Navigate : Previous post / Next post Tecnhorati tags: JSAPI JSFL extensions flash flashcs3
Thank you for posting it. Now I can enumerate each item in my FLAs.
BTW, how to edit the selected group contents if you detected the isGroup property set to true?
JustinDo / August 13th, 2007, 2:50 pm / #
Name (required)
Mail (will not be published) (required)
Website
Comment
Comments (One comment)
Post a comment