-
I don't get it...
Hello Flash Gurus,
I am having trouble understanding what this means
Scene=MAIN, Layer=actions, Frame=5: Line 2: Operator '=' must be followed by an operand
if (_framesloaded = = doneLoading) {
I get this message in an output window whenever I test the movie, this is originally What I wrote in the action script for the loading bar
var doneloading = _totalframes;
if (_framesloaded = = doneLoading) {
gottoAndPlay("start");
}else {
gotoAndPlay("load");
}
thanxs
-
FK's Wave Pimp
It's because you have a space between = and =
Try (_framesloaded == doneLoading) instead of (_framesloaded = = doneLoading)
-
try this:
var doneloading = _totalframes;
onClipEvent(enterFrame){
if (_framesloaded = = doneLoading) {
gottoAndPlay("start");
}else {
gotoAndPlay("load");
}
}
something like that, do an event thingy or a on(blah blah) thingy. maybe thats teh prob
-
FK's Wave Pimp
Originally posted by skillswitprops
try this:
var doneloading = _totalframes;
onClipEvent(enterFrame){
if (_framesloaded = = doneLoading) {
gottoAndPlay("start");
}else {
gotoAndPlay("load");
}
}
something like that, do an event thingy or a on(blah blah) thingy. maybe thats teh prob
The part highlighted in red is wrong. Again, it needs to be ==, not = =
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|