PDA

View Full Version : Assign actions for a mc created dinamically?



barrueta8
March 31st, 2005, 09:55 PM
...

dayglowdave
March 31st, 2005, 10:18 PM
maybe absolute pathing? like: _root.mcthatisholdingimages.mcimage

if I understood you correctly there are no errors being generated, but nothing responds to button presses etc? When that happens to me it usually has something to do with pathing. Of course I'm kind of a neophyte so that might not be it at all. Hope that helps :)

frost_oni
March 31st, 2005, 10:21 PM
how about using the thatCertainMc.onPress = function(){} etc.?

frost_oni
April 1st, 2005, 12:19 AM
how about adding an invisible button?


on(press){
_root.item.doAmazinglyCoolThing;
}


also, try using eval(...) instead of _root.item.