tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/283-problem-using-viewmapmaptype-to-map-a-component-that-is-already-on-stageRobotlegs: Discussion 2013-04-28T10:26:08Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/29941262010-09-16T23:14:53Z2010-09-16T23:14:53ZProblem: Using viewMap.mapType, to map a Component that is already on stage.<div><p>How are you triggering the init() method in your view component? Have you tried this:</p>
<pre>
[PostConstruct]
public function init():void
{
trace(strings);
}
</pre></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/29941262010-09-17T03:30:45Z2010-09-17T03:30:45ZProblem: Using viewMap.mapType, to map a Component that is already on stage.<div><p>Wicked that did it :) Thanks for the kick ass framework dude!</p>
<p>On Thu, Sep 16, 2010 at 5:16 PM, Shaun Smith <<br />
<a href="mailto:tender+d2a553a5c68b31441779dc8dbfd9152062360f6e0@tenderapp.com">tender+d2a553a5c68b31441779dc8dbfd9152062360f6e0@tenderapp.com</a><<a href="mailto:tender%2Bd2a553a5c68b31441779dc8dbfd9152062360f6e0@tenderapp.com">tender%2Bd2a553a5c68b31441779dc8dbfd9152062360f6e0@tenderapp.com</a>><br />
</p>
<blockquote><p>wrote:</p></blockquote></div>Shawn Blaistag:robotlegs.tenderapp.com,2009-10-18:Comment/29941262010-09-17T04:02:12Z2010-09-17T04:02:12ZProblem: Using viewMap.mapType, to map a Component that is already on stage.<div><p>No probs! I've gotta say: that's a pretty damn slick website you have (<a href="http://shawnblais.com/">http://shawnblais.com/</a> ), nice.</p></div>Shaun Smith