error : A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be ext

A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be externally visible, please put the definition in a package.

and

Unable to locate specified base class 'org.osflash.arp.samples.pizza.flex2.view.OrderFormClass' for component class 'OrderForm'

Reason: You have not updated your ActionScript class to use the new package keyword. In ActionScript 3, you define a classes' package separately, not in the class signature.

Solution: Use the package keyword to define the package for your class -- package org.osflash.arp.samples.pizza.flex2.view { public class OrderForm { //... } }.

 

你可能感兴趣的:(File,ext,Class,actionscript)