How to link Powerpoint Presentation in to Flash Animation?

nuwa1

Member
Oct 22, 2007
5,682
40
0
iN mY BoDy
Guys..

having a big problem. i want to link powerpoint file to flash animation. so when click the button in the flash animation that powerpoint presentation should started. so does anyone knows how to do it??
really important...:( pls help me out..

thanks :)
 

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
Hey bro, I think you might need "Action Script" to do this!

Try this code in your flash movie if you can... I don't know whether there's any other easier way..

Export all your slides as JPEG or GIF and put them in the same folder... change the file names in the array accordingly!

Code:
arrayImages=["pic0.jpg","pic1.jpg","pice2.jpg", "pic3.jpg","pic4.jpg","pic5.jpg","pic6.jpg"]
currentIndex=0;

for(i=0;i<myImages.length;i++){ 
 mcHolder.loadMovie(arrayImages[i]); 
}

function mcLoader(){ 
 mcHolder.loadMovie(arrayImages[currentIndex]); 
 currentIndex++;

	if(currentIndex>arrayImages.length-1){ 
 	currentIndex=0; 
 	} 
} 

nInterval=setInterval(mcLoader, 1000);

Read this link too if you have time
 

nuwa1

Member
Oct 22, 2007
5,682
40
0
iN mY BoDy
Thanks Sri..
I wanna know is there a way to run powerpoint slide show in it's default application.. i mean from powerpoint.

anyone???
 

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
Thanks Sri..
I wanna know is there a way to run powerpoint slide show in it's default application.. i mean from powerpoint.

anyone???


You mean.. automatically change the slides after you start the slide show?

Yes there should be a menu for "Animations" in the power point itself where you can adjust the timing, effects and stuff!
 

nuwa1

Member
Oct 22, 2007
5,682
40
0
iN mY BoDy
You mean.. automatically change the slides after you start the slide show?

Yes there should be a menu for "Animations" in the power point itself where you can adjust the timing, effects and stuff!
ne machan..
mage flash animation eke button ekakin mata powerpoint file ekak open karaganna ona. echcharai ban.. :(
 

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
ne machan..
mage flash animation eke button ekakin mata powerpoint file ekak open karaganna ona. echcharai ban.. :(

Ok in your flash animation, I mean in your .fla file... press F9 to open the action script window and copy paste this command..

Code:
on (release) {
fscommand ("exec", "yourpowerpoint.ppt");
}

Rename "yourpowerpoint.ppt" with your powerpoint file name!

See if that works!
 

nuwa1

Member
Oct 22, 2007
5,682
40
0
iN mY BoDy
Ok in your flash animation, I mean in your .fla file... press F9 to open the action script window and copy paste this command..

Code:
on (release) {
fscommand ("exec", "yourpowerpoint.ppt");
}
Rename "yourpowerpoint.ppt" with your powerpoint file name!

See if that works!
ok i'll try this... :)
and let u know.. thanks buddy..
 

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
:( it doesn't working machan... :( ei ban meka karaganna widiyak thiyenna ona ban..

Ok I got it to work... its your lucky day buddy! :lol:

Download this example >>

Take a look at the directory structure / .fla file and edit the "start.bat" file to suit your ppt file name, and please check whether its ppt or pptx, I was pulling my hair out just now.. juat because I forgot to check the proper extension! :lol: