4 Replies Latest reply on Mar 16, 2011 1:29 AM by Kumar Pratik

    How do i pass a parameter from a flex component to a view

    chriswillis100 Level 1

      Hey guys,


      I've got a program that has a main file and views. The mains file says "firstView = draw.mxml", and therefore it runs the first view.

      Within draw.mxml (the firstView file) i have an mxml component which is a titlewindow.

      In that titlewindow is an inputbox and a button.

      When that button is pressed i need the text from the inputbox to be passed to a parameter in the draw.mxml file and i also need it to run a function in the draw.mxml file


      What is the simplest way of doing this