that binding source worked not sure why i cant do the same with actionscript?
--- In flexcoders@yahoogroups.com, atifarooq <a...@...> wrote: > > > hi, > > you may set > breakfast_img_item2.source = fast_img_item1.source after the complete event > is dispatched on fast_img_item1 or use something similar > > <mx:Binding source="fast_img_item1.source" > destination="breakfast_img_item2.source"/> > > > aot2002 wrote: > > > > I have an image source property which i want to pass to another image on a > > different display? Is there something special to passing image sources? > > > > > > TypeError: Error #1009: Cannot access a property or method of a null > > object reference. > > > > > > breakfast_img_item2.source = fast_img_item1.source; > > > > <mx:Image id="brfast_img_item1" source=""/> > > > > <mx:Image id="fast_img_item1" source="100.jpg"/> > > > > > > > > -- > View this message in context: > http://www.nabble.com/reuse-image-source-property-causes-1009---tp23351700p23354554.html > Sent from the FlexCoders mailing list archive at Nabble.com. >