-
Display a jpg on Rolloveer.
Hi,
New to flash, starting having a play with KoolMoves that we had lying around yesterday after being requested to create a banner in flash.
I've uploads what i have done so far at wf1.nsclients.co.uk.
What I want to do next is have a jpg picture popup when the mouse is over the car on the left and dissapear when they move the mouse off.
I have been reading a number of posts on hear and well it seems to go over my head.
I added in another Frame with the left had car in and set button to yes in properties.
Then Set Action to ActionScript.
I added a piece of code from the manaul:
Code:
on (rollover) {
loadMovieNum(“images/Lightbox_example.jpg”, 1);
}
I assumed tha path would have to be where I placed it in the Website.
Also I cannot see how this will dissapear when they Roll the Mouse Off.
I think most of u may use Adobe or other apps. but if it helps me I am happy to upload the source KoolMoves Source file.
Thanks in advance.
John.
-
I cannot speak for KoolMoves, as never heard of let alone used, but if its any help the as2 method would be.
Test 1 being the Car
Test 2 being a holder for where the image is being called in
Code:
test1.onRollOver = function(){
test2.loadMovie("images/Lightbox_example.jpg");
}
test1.onRollOut = function(){
test2.unloadMovie();
}
CFR
If all is good mark resolved
Trust my code, and not my english.
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
|