Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

import utils.Util; Fails

PigFoxeria
Level 1
Level 1
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?
2 Replies
dev2727
Level 1
Level 1
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