import utils.Util; Fails

Avatar

Avatar

PigFoxeria

Avatar

PigFoxeria

PigFoxeria

29-05-2008

Going through the book Adobe Flex 3 training from the source.

The code is as follows:



import flash.net.FileReference;

import mx.rpc.events.ResultEvent;

import utils.Util; //Fails here:



Severity and Description Path Resource Location Creation Time
Id

1172: Definition utils:Util could not be found.
FlexGrocer/src DataEntry.mxml line 19 1212105457255 257



The accompanying code on the cd is the same.

My environment seems fine, everything else has worked up
until now.

Any clue?

Replies

Avatar

Avatar

Greg_Lafrance

Avatar

Greg_Lafrance

Greg_Lafrance

12-06-2008

Typo in exercise, no utils.Util class.

Avatar

Avatar

dev2727

Avatar

dev2727

dev2727

10-07-2008

I'm having the same problem. So I replaced import utils.Util;
with import mx.utils;(from code hinting) similar result.:

'1172:Definition mx:utils could not be found.'



Thanks, JD