Component collection property
i want able use parameters tab add array of objects label , data properties, list component does. how do that? when select collection in component definitions, doesn't seem anything, , when come reverts whatever had before that.
still haven't figured out. :(
use case:
in as1/2, create lightweight psuedo-components, create movieclip logic code on frame 1. pass in instance level variables , references in onclipevent(load) on instances themself. had many advantages on components, @ least workflow.
in as3 flash cs3/cs4, i've not been able find equivalent workflow. ability attach code directly movieclip has been removed completely, afaik way attach in ide make component parameter definitions, that's i'm trying do, never did in as2 (other academically). fortunately, though ide component creation still pretty clunky, minimum overhead components in as3 little less obtrusive as2, far seems can pass in via parameters tab extremely limited. can't pass in object references (the best can pass in strings , resolve them @ runtime, doesn't work because of inaccessible objects can't referenced name 1 reason or another), , haven't figured out how pass in simple user defined collections, such label/data string pairs. know can done, can't figure out. if has advice regarding said, i'll take it. :)
i'm aware can programatically set properties @ runtime, gives me more flexibility in value type (and as possible), not address major workflow issue @ all.
thanks.
use case:
in as1/2, create lightweight psuedo-components, create movieclip logic code on frame 1. pass in instance level variables , references in onclipevent(load) on instances themself. had many advantages on components, @ least workflow.
in as3 flash cs3/cs4, i've not been able find equivalent workflow. ability attach code directly movieclip has been removed completely, afaik way attach in ide make component parameter definitions, that's i'm trying do, never did in as2 (other academically). fortunately, though ide component creation still pretty clunky, minimum overhead components in as3 little less obtrusive as2, far seems can pass in via parameters tab extremely limited. can't pass in object references (the best can pass in strings , resolve them @ runtime, doesn't work because of inaccessible objects can't referenced name 1 reason or another), , haven't figured out how pass in simple user defined collections, such label/data string pairs. know can done, can't figure out. if has advice regarding said, i'll take it. :)
i'm aware can programatically set properties @ runtime, gives me more flexibility in value type (and as possible), not address major workflow issue @ all.
thanks.
More discussions in ActionScript 3
adobe
Comments
Post a Comment