3 Replies Latest reply on Jan 22, 2007 3:13 AM by Hugo_Core

    Share data

    kruse Level 1
      I have got the following data value object:

      package vo
      public class MealVO
      public var mealId : int;

      public function MealVO() {


      In a module I create a meal object like this.


      private function getMealDetails(mealId:String):void {
      var mealVO : MealVO = new MealVO();
      mealVO.mealId = 12;

      But in the module MealDetails.mxml I’ cannot find out how to read the mealVO object that I created in the Meal.mxml module.

      How can I retrive the mealId 12 in my module MealDetails.mxml?