cofactor
asked on
movie is not loading while button click
movie is not loading while button click. i called action like loadMovie("C:\folder1\fold er2\folder 3\movie.sw f","1"); but movie did not open. i want button will be replced by a static image as soon as i click button. whats wrong ?in fact my movie is just a simple image.
loadMovie("C:\folder1\fold er2\folder 3\movie.sw f","1");
uncomment "1"
uncomment "1"
I meant removoe quotaions of 1
btnClicked.loadMovie("C:\f older1\fol der2\folde r3\movie.s wf");
You need to take out the "1" altogether...it's supposed to be either "GET" or "POST" if you do use it, but you don't need it in this case.
btnClicked is the name of your button, or where you want the movie to be loaded.
You need to take out the "1" altogether...it's supposed to be either "GET" or "POST" if you do use it, but you don't need it in this case.
btnClicked is the name of your button, or where you want the movie to be loaded.
Excuse me...I made a slight mistake: the third parameter is the method, where it would be "GET" or "POST"
The second parameter, where you have "1" should be the name of the movie clip you want to load into. You do leave the quotations on, although I'm not sure they're required.
loadMovie("C:\folder1\fold er2\folder 3\movie.sw f","btnCli cked");
The second parameter, where you have "1" should be the name of the movie clip you want to load into. You do leave the quotations on, although I'm not sure they're required.
loadMovie("C:\folder1\fold
ASKER
hi...... none of the suggestions worked.
what i want >>
i want a small button . As soon as the user click on the button it will be replaced by a JPG image.
what i did >>
i first made my JPG image a movie (static movie ) having .swf extension. then i tried to load this .swf movie as the button click action.
can you tell why it is not working ?
The sucess i have got till now >>
i have been able to get the button correctly bcoz as i am rolling mouse its color changing for 'over' ,'on' and 'down' conditions but as soon as i click on the button nothing is happening .....why ? whats wrong ?
N.B > actually , this button will be highlighted on a map...as soon as you click on the button it would be replaced by a separate JPG image ...thats what i am trying to do.
in fact its just map zooming by selecting individual city(buttons) using individual maps ( JPG images ).
plz help
thanks
what i want >>
i want a small button . As soon as the user click on the button it will be replaced by a JPG image.
what i did >>
i first made my JPG image a movie (static movie ) having .swf extension. then i tried to load this .swf movie as the button click action.
can you tell why it is not working ?
The sucess i have got till now >>
i have been able to get the button correctly bcoz as i am rolling mouse its color changing for 'over' ,'on' and 'down' conditions but as soon as i click on the button nothing is happening .....why ? whats wrong ?
N.B > actually , this button will be highlighted on a map...as soon as you click on the button it would be replaced by a separate JPG image ...thats what i am trying to do.
in fact its just map zooming by selecting individual city(buttons) using individual maps ( JPG images ).
plz help
thanks
ASKER
here are the error reports. i tried different way but no sucesses ....here 4 trials that i tried.
.......
trial 1
---------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
B.loadMovie("C:\folder1\fo lder2\fold er3\movie. swf",1);
trial 2
--------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
loadMovie("C:\folder1\fold er2\folder 3\movie.sw f",1);
trial 3
-------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
loadMovie("C:\folder1\fold er2\folder 3\movie.sw f","B");
trial 4
-------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
B.loadMovie("C:\folder1\fo lder2\fold er3\movie. swf");
.......
trial 1
---------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
B.loadMovie("C:\folder1\fo
trial 2
--------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
loadMovie("C:\folder1\fold
trial 3
-------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
loadMovie("C:\folder1\fold
trial 4
-------
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
B.loadMovie("C:\folder1\fo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER