-
Problems controlling Dynamic image
I'm creating a new movie then loading an external JPG into that movie.
I'm trying to create the movie, load the image and then have it fade in hold for 5 seconds then fade out.
Everything I have tried does not work, I can get the movie to start at 0 alpha but that's all everything else comes up with errors. I'm sure it's something simple I have missed. This is the code I'm using for creating the movie.
//create container for dynamic image
var depth = o;
createEmptyMovieClip("imageHolder1", depth);
imageHolder1.loadMovie("images/page1/image01.jpg");
//end
Simple and basic but I think that is where my problem is starting. I'm going about loading it wrong in the first place. Any thoughts??
Thanks!!
KrasH
[swf width=300 height=40 background="#ffffff"] [url]http://www.deadenddesigns.com/images/ded_footer.swf[/swf]
-
general rule bender
from what you've shown there, theres nothing wrong with what you did. You may try using
imageHolder1.onData = function() {}
to make sure that the image is loaded properly, because even if you are viewing your movie on your computer, the image will not load instantaneously.
-
it's loading, that part is working. I can't control the fade in and out of the movie though.
[swf width=300 height=40 background="#ffffff"] [url]http://www.deadenddesigns.com/images/ded_footer.swf[/swf]
-
Ok let me see if I can make this a little clearer...
Creating empty movie clip, no problem
Loading image in Empty Clip, no problem
Fading image in then holding alpha at 100% for a few seconds then fading out image.
Can't get it to work....
Clip creates and closes fine I can even get the alpha to come up something other than 100% but I can not get it to fade.
Any help?
Thanks
[swf width=300 height=40 background="#ffffff"] [url]http://www.deadenddesigns.com/images/ded_footer.swf[/swf]
-
I figured out the answer to my question...Thanks
[swf width=300 height=40 background="#ffffff"] [url]http://www.deadenddesigns.com/images/ded_footer.swf[/swf]
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
|