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

Avatar

Avatar
Level 1
PigFoxeria
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
PigFoxeria
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
PigFoxeria
Level 1

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
Boost 5
Level 3
Greg_Lafrance
Level 3

Likes

15 likes

Total Posts

71 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 3
Greg_Lafrance
Level 3

Likes

15 likes

Total Posts

71 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
Greg_Lafrance
Level 3

12-06-2008

Typo in exercise, no utils.Util class.

Avatar

Avatar
Level 1
dev2727
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
dev2727
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
dev2727
Level 1

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