08-26-2009 05:11 AM
i am trying to access flash files with the help of activex container.i have selected movie property of shockwave flash to load the flash file.but when filw path is provided to this property it is having extension".fla"
so after running the VI i am unable to see the animation.
i have also changed the extension to ".swf"but still not getting the animated picture after running the vi...
there is no error as vi can be in running mode
can anyone help me to find out why the flash file is not getting loaded .....
Solved! Go to Solution.
08-26-2009 06:07 AM - edited 08-26-2009 06:13 AM
I think you are looking for this vi.
Try running it with the swf file attached
Be sure you have shockwave flash runtime installed.(Flash Player Pro)
Renaming .fla to .swf wont work. Both are two completely different formats.
.fla would be files which would open only in Flash (Not Flash Player) since they are project files. They dont play or execute.
.swf are files which are exported from .fla files for end users.
Cheers!
08-26-2009 06:16 AM
i have done the same thing in my program along with the pause n back option...
but still my problem is not solved.
how to get ".swf" animated file to give as a file path?
08-26-2009 06:19 AM
can you post your code?
08-26-2009 06:22 AM
thanks...now i can play the animation.
can you tell me how to stop that animation once the vi is closed.beacuse in my case it goes on playing even if i stop the vi..
andwhen next time i run the vi it does not start from initial frame...
how to start the animation from beginning when i run the vi again?
08-26-2009 06:26 AM
Open the .fla with Macromedia Flash (not flash player)
Goto file> export movie> export to .swf
You can ask any flash developer to do that
08-26-2009 06:28 AM
Hi,
Why dont you try Gotoframe Invoke node at the start of the program ? Intitalize it to 0th frame so each time when you will run Vi it will start from begining.
Best of luck
08-26-2009 06:29 AM
Hi parag ,
Will u please tell me what that will do?
08-26-2009 06:32 AM
Hi shruti G,
For stopping animation at the end of the program use STOP PLAY invoke node. Try this and tell me. Always try to search options.
Best of luck