--->FLASH GENIOUS NEEDED
- Started
- Last post
- 28 Responses
- steadyvibe
Ok, i have this problem. i have this code:
--------------------
on (release) {
_level0.gotoAndPlay("cereb");
loadMovieNum("files/PressRelease... 100);
ifFrameLoaded (60) {
_level0.whereToGo = "Paul";
}
}------------------
and im trying to make it so that it will wait til the pressreleases.sef is loaded before it goes to it because it gets screwed up otherwise. You can see waht i mean at: http://netpub.cstudies.ubc.ca/te…if you click on the face of "paul" its supposed to fully load the press realeases page but as you can see it only loaded a bit of it. but the second time if you refresh it its ok? what am i doing wrong???
- bostonflash0
you have to load it into a movie clip to do a loader I think, you are loading it into a level (100)
- steadyvibe0
yeah its loading into level 100 so it can replace waht is already in level 100
- bostonflash0
i usually create an empty movieclip, call it "holder" or something and load external clips into "target, holder". Then you can write your look logic if (holder.framesloaded==holder.tot... everytime you load a clip into "holder" it will unload the what's there.
not sure if that's an answer and I can't really remember as, but though i'd stir the soup
- steadyvibe0
hmm. im not sure if that would work for what i am doing...
- steadyvibe0
does anyone else have any ideas???
- steadyvibe0
PLEASE HELP ME!!!
- SaintWalker0
try this:
if _level100.FrameLoaded (60) {
whereToGo = "Paul";
}...you might just have to target the right level. if that doesn't work I'll look into it further.
- Bluejam0
Why don't you just attach the action...
_level0.whereToGo="paul"
onto a frame in the PressRelease.swf. That way you don't need the 'if frame is loaded' command.
- lvl_130
well you could just use a empty movieclip with script that makes the movie "pause" for x seconds.
- dehryll0
whats going on in pressreleases.swf that is not loading properly? are you loading in text from text file? you should probably put a preloader into pressreleases.swf and base it on _root.getBytesTotal() and _root.getBytesLoaded() instead of ifFrameLoaded.
"ifFrameLoaded" is a less reliable method than the "getBytes" method from my experience.
- vu0
Hey don't you need to activate a continuous looping action when the button clicked to check for the "ifFrameLoaded"'s current value?
Right now your on release event
only runs one time so the action you have under your ifFrame... might never get excecuted. Your Iframe...'s value could be at 10,30, 50...when the button clicked. know what I mean?
- lvl_130
check your inbox
- dehryll0
why should i check it?
did you send me another "penis enlargement" email?
- lvl_130
:)
yeah I sent you another one. I also sent steadyvibe an fla that my help him out.
- steadyvibe0
i ddnt gert an fla. and im a girl!!
- lvl_130
"i ddnt gert an fla. and im a girl!! "
very sorry. I guess I read your name as stephen not steph. again sorry about that :)
I'll send it again.
- dehryll0
like "steadyvibe" is a girl's name.
whateva'
- steadyvibe0
hah whatever!
- kerus0
---> CAPS LOCK KEY NEEDED
- lvl_130
just in case you don't get it in your email again here is a link to the files:
http://www.levelthirteen.com/dev…
and the html page it reads the text from here:
http://www.levelthirteen.com/dev…