Groups | Blog | Home
all groups > flash (macromedia) > october 2005 >

flash (macromedia) : error



dan mode
10/31/2005 2:12:28 PM
whatever you are trying to load or into where ever, Flash doesn't find it.


--

Dan Mode

*Must Read* http://www.smithmediafusion.com/blog
__
[quoted text, click to view]
Base="_level0"

dan mode
10/31/2005 3:52:54 PM
what actionscript are you using on your page?

[quoted text, click to view]
i got it

Motion Maker
10/31/2005 6:06:02 PM
Usually the error message should point you to the layer, frame (object) and
line number. Then post that line of code with the error message.



--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
repost: what does this error mean? Target not found: Target="undefined"
Base="_level0"

Motion Maker
10/31/2005 6:25:09 PM
Still not sure which line the error is pointing to but looking through the
code posted the tellTarget mighht be the source. I have read about
tellTarget but not used and it dates to Flash 5 or earlier days.

Looking at the documentation there needs to be a string in the argument.

tellTarget ("_root.loader") {

As well loader must by a movie clip on the root timeline.

To upgrade the code use

_root.loader.gotoAndStop(_root.percentbytes);

instead of

tellTarget ("_root.loader") {
gotoAndStop(_root.percentbytes);
}


--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
Frame 1 -
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
percentbytes = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop(_root.percentbytes);
}

Frame 2 -
if (loadedbytes == totalbytes) {
gotoAndStop(3);
} else {
gotoAndPlay(1);
}

Frame 3 -
stop();

The reason I think its the code is because i removed it and i didnt get the
error. and instead of the code i put a component preloader that came with
flash
7 and im still getting it. When I open the swf through flash the movie
automatically starts off at like frame 30 which has a tweened object and i
dont
understand why it would stop there.

Bnuessler86
10/31/2005 9:02:06 PM
Bnuessler86
10/31/2005 10:48:06 PM
Bnuessler86
10/31/2005 11:13:17 PM
Frame 1 -
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
percentbytes = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop(_root.percentbytes);
}

Frame 2 -
if (loadedbytes == totalbytes) {
gotoAndStop(3);
} else {
gotoAndPlay(1);
}

Frame 3 -
stop();

The reason I think its the code is because i removed it and i didnt get the
error. and instead of the code i put a component preloader that came with flash
7 and im still getting it. When I open the swf through flash the movie
automatically starts off at like frame 30 which has a tweened object and i dont
understand why it would stop there.


Bnuessler86
11/3/2005 12:00:00 AM
Bnuessler86
11/3/2005 12:00:00 AM
Bnuessler86
11/3/2005 12:00:00 AM
Bnuessler86
11/3/2005 12:00:00 AM
Motion Maker
11/3/2005 12:00:00 AM
Super!

--=20
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
Thank you Motion Maker, you solved my problem, it works now, thank you =
AddThis Social Bookmark Button