-
loadMovie?
Well, I try and keep everything simple. In fact, I haven't really used loadMovie that much before this. However, due to the huge file size that is created by a photo gallery that I have created in a flash website for the Georgia Coalition of Physical Therapy Educators, I need to use it. I have gone through this process too many times to not be able to figure this out, so I don't know what the problem is. Here is the script:
Code:
onClipEvent (enterFrame) {
this.loadMovie("Photos.swf");
}
Is there anything wrong with that? It's attached to an empty movie clip on the _root timeline. The movie that it's referring to is located in the same directory. I haven't actually tried this while it's on the internet, if that should make any difference, which I don't think it should. Any suggestions?
-
FK'n_dog
use onClipEvent (load) rather than onClipEvent (enterFrame)
even better, give the empty clip an instance name - picLoader
add code to the root timeline, in the same frame as the clip
picLoader.loadMovie("Photos.swf");
-
Thanks
Thank you so much. This actually reveals to me a number or reasons why previous endeavors turned out badly.
-
FK'n_dog
you're welcome
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
|